[LLVMdev] runtime/GC/SemiSpace/semispace.c does not build in release 2.2?

Marc de Kruijf dekruijf at cs.wisc.edu
Fri Mar 7 12:52:22 PST 2008


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



More information about the llvm-dev mailing list