Marc de Kruijf
2008-Mar-07 20:52 UTC
[LLVMdev] runtime/GC/SemiSpace/semispace.c does not build in release 2.2?
I just downloaded the source for release 2.2, and when I try to build 'make -C runtime' it fails with the following error: ---- [...] llvm[2]: Compiling semispace.c for Release build (bytecode) semispace.c:107: error: syntax error before 'ShadowStackEntry' semispace.c:107: warning: no semicolon at end of struct or union semispace.c:108: error: syntax error before '*' token semispace.c:108: warning: type defaults to 'int' in declaration of 'Map' semispace.c:108: warning: data definition has no type or storage class semispace.c:110: error: syntax error before '}' token semispace.c:111: error: syntax error before '*' token semispace.c:111: warning: type defaults to 'int' in declaration of 'llvm_gc_root_chain' semispace.c:111: warning: data definition has no type or storage class semispace.c: In function 'llvm_cg_walk_gcroots': semispace.c:114: error: 'StackEntry' undeclared (first use in this function) semispace.c:114: error: (Each undeclared identifier is reported only once semispace.c:114: error: for each function it appears in.) semispace.c:114: error: 'R' undeclared (first use in this function) semispace.c:116: warning: value computed is not used [...] ---- A search through the mailing list shed no light on this issue. Is this a known problem? If so, why is it not documented somewhere? If not, how did it make it into a release? Am I missing something obvious? Marc
Gordon Henriksen
2008-Mar-07 21:20 UTC
[LLVMdev] runtime/GC/SemiSpace/semispace.c does not build in release 2.2?
On Mar 7, 2008, at 15:52, Marc de Kruijf wrote:> I just downloaded the source for release 2.2, and when I try to > build 'make -C runtime' it fails with the following error:Yes, this is unfortunate. Please pull from svn where the example is fixed. — Gordon