> Please lemme know if it works.It does. Thanks.> I don't know what that is :(I believe that code compiled without -fpic is going into a DSO. This creates text relocations that are not supported on linux/amd64 (http://people.redhat.com/drepper/dsohowto.pdf).> -ChrisRafael
On Fri, 8 Sep 2006, [UTF-8] Rafael Esp?ndola wrote:> I am not sure if it is the correct solution, but the attached patch > fixes the problem.Your solution is correct, in that it will work and follows with the current ifdef approach. I applied this patch though, which doesn't use the ifdefs, hopefully it is more robust: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060904/037632.html Please lemme know if it works.> The build now fails when linking lto: > > relocation R_X86_64_32 against `(anonymous namespace)::EmittedInsts'I don't know what that is :( -Chris -- http://nondot.org/sabre/ http://llvm.org/
On Fri, 8 Sep 2006, [UTF-8] Rafael Esp?ndola wrote:>> Please lemme know if it works. > It does. Thanks.Great!>> I don't know what that is :( > I believe that code compiled without -fpic is going into a DSO. This > creates text relocations that are not supported on linux/amd64 > (http://people.redhat.com/drepper/dsohowto.pdf).Okay, Anton just committed a patch to exclude liblto on non-darwin platforms for the time being. That should fix it. -Chris -- http://nondot.org/sabre/ http://llvm.org/