On Mon, May 25, 2009 at 01:17:45PM +0100, David Chisnall wrote: > This still looks like an LLVM bug. Can you try applying the patch > linked to in the README file and see if it makes any difference?
The patch breaks the build for me: make[2]: Entering directory `/home/thebeing/Dokumente/devel/llvm/tools/lto' llvm[2]: Linking Debug Shared Library LTO.so /usr/bin/ld: /home/thebeing/Dokumente//devel/llvm/Debug/lib/LLVMX86CodeGen.o: relocation R_X86_64_PC32 against symbol `X86CompilationCallback2' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status Strangly, there is position indepent code generated: thebe...@kassandra:~/Dokumente/devel/llvm$ file Debug/lib/LLVMX86CodeGen.o Debug/lib/LLVMX86CodeGen.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped I also tried to reconfigure with --enable-pic, but to no avail. Niels _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
