[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Clue 0.6
- From: Sean Conner <sean@...>
- Date: Fri, 15 Mar 2013 03:58:45 -0400
It was thus said that the Great David Given once stated:
> After being prodded to finally fix the bit rot that was preventing Clue
> 0.5 from working, I've just released version 0.6 of my C to Lua,
> Javascript, Java and Perl compiler.
Okay, I tried it and failed.
First off, the version of sparse you use, 0.4.1, isn't readily available
at the link you provide, only 0.4.4. I had to clone the git repository
(git://git.kernel.org/pub/scm/devel/sparse/sparse.git) to get (or
"checkout") 0.4.1. I then applied the given patch from clue-0.6, then built
sparse and then clue.
Then it failed on test/helloworld.c (-mlua51) with the following:
#0 0x0804b690 in declare_symbol (sym=0xb7ef050c) at src/clue/compile.c:235
235 if (sym->ctype.base_type->type == SYM_FN)
I then added a few calls to assert() just before the problematic line and:
[spc]lucy:~/apps/clue-0.6>./bin/clue -mlua51 test/helloworld.c
clue: src/clue/compile.c:237: declare_symbol: Assertion `sym->ctype.base_type != ((void *)0)' failed.
Aborted (core dumped)
I'm running CentOS release 4.4 (yes, it's old---I rarely upgrade) Linux
2.6.9, 32-bit system.
Any ideas?
-spc