Anton Korobeynikov
2012-Apr-02 07:00 UTC
[LLVMdev] TEXTREL usr/lib/llvm/libLLVM-3.0.so on PPC
Hello> I posted my result on the gentoo PR. > https://bugs.gentoo.org/show_bug.cgi?id=403519#c12 > https://bugs.gentoo.org/show_bug.cgi?id=403519#c13 > https://bugs.gentoo.org/show_bug.cgi?id=403519#c14I commented there. You need to declare function like extern "C" { static void* LLVM_ATTRIBUTE_USED PPCCompilationCallbackC <everything else goes here> }; -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Hi,> You need to declare function like > > extern "C" { > static void* LLVM_ATTRIBUTE_USED > PPCCompilationCallbackC > <everything else goes here> > };revised patch is filed and it works fine. https://bugs.gentoo.org/show_bug.cgi?id=403519#c16 https://bugs.gentoo.org/show_bug.cgi?id=403519#c17 so now this revised patch can be merged into ToT? Thanks,
Possibly Parallel Threads
- [LLVMdev] TEXTREL usr/lib/llvm/libLLVM-3.0.so on PPC
- [LLVMdev] TEXTREL usr/lib/llvm/libLLVM-3.0.so on PPC
- [LLVMdev] TEXTREL usr/lib/llvm/libLLVM-3.0.so on PPC
- [LLVMdev] TEXTREL usr/lib/llvm/libLLVM-3.0.so on PPC
- [LLVMdev] TEXTREL usr/lib/llvm/libLLVM-3.0.so on PPC