Arnie Stender wrote:
Hello,
OK, I have been having all kinds of problems getting Thunderbird to compile on my pure 64 build of CLFS running on AMD64. Right now I am getting a lot of errors during the final ld of .so libs. The message typically looks like this:

/usr/bin/ld: nsCOMPtr.o: relocation R_X86_64_PC32 against `nsGetServiceByContractIDWithError::operator()(nsID const&, void**) const' can not be used when making a shared object;

I am not a programmer so I don't know exactly what the loader is trying to do here but this same type of thing is in many of the so builds. I did a google on this error and the only thing I found was a post to netbsd complaining about this error during his building of Firefox. Well I built Firefox on this same system and it is running fine. I got none of these errors. There HAS to be some sort of difference between the configuration of Firefox and what I'm using for Thunderbird, I just can't find it. So to all you programmers out there, here's a challenge. What is the loader trying to do and what kind of enable or disable would I want to use to turn that functionality on or off or maybe do it a different way so the loader won't barf? In case you want to look at the code it's thunderbird-1.5.0.4

Arnie

You said that you got Firefox to build. Did you have to add the ac_cv_visibility_pragma=no line to the .mozconfig? I haven't tried 1.5.0.4 so I don't know if that has been fixed. If you didn't add that line for Thunderbird, you should try it. With Thunderbird 1.5.0.2, that is the only change I had to make to install on my x86_64 system. It fixed and error that looked like that (relocation R_X86_64_PC32). I don't remember if the error was at that same exact spot or not. Hope this helps.
Joel
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to