[LLVMdev] Shared libs?

Cyrille Berger cberger at cberger.net
Wed Jun 11 13:58:11 PDT 2008

On Monday 09 June 2008, Albert Graef wrote:
> Unfortunately, that approach doesn't work on x86-64 with LLVM 2.2,
> since some parts of the LLVM JIT apparently contain non-relocatable
> code; I hope that this will be fixed in the forthcoming LLVM 2.3.

Unfortunately it's not fixed in 2.3 :( I made a patch ([1]) for 2.2 and gave 
it to one of the developer, I guess he forgot about it, unfortunately it 
doesn't apply on 2.3. Once I have the time (and a 64bits linux under the 
hand), I will make a patch for 2.3 and submit it to llvm's bug system (unless 
someone else want to do it before that ;) )

[1] http://www.opengtl.org/download/X86JITInfo.cpp.pic.patch
Cyrille Berger

More information about the llvm-dev mailing list