Bugzilla – Bug 83908
#pragma GCC visibility isn't properly handled for builtin functions
Last modified: 2007-07-27 06:38:16 UTC
I just want to document the currently failing mozilla-nspr build here. Please have a look at /work/built/info/failed/x86_64/mozilla-nspr As all objects are built with -fPIC this can't be the reason. I suspect that it is caused by toolchain issues. It works with toolchain on 9.3 and before.
this could be http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20297
So it's a gcc bug. http://gcc.gnu.org/ml/gcc-patches/2005-03/msg00248.html
mozilla-nspr has been changed to workaround this bug but anyway it might be good to have this fixed.
upcoming Firefox, Thunderbird, Xulrunner versions suffers the same problem :-(
Created attachment 55157 [details] workaround: turn off visibilty pragma in mozilla configure script I'm attaching the workaround patch to get mozilla applications to build here, this is against mozilla.org's "1.8" branch and useable for all of firefox/thunderbird/seamonkey/... Everyone actively working on this subject, forget this patch again, it just turns visibilty pragma off by force. The patch is just to help people compiling mozilla.org source on (open)SUSE 10.0 As a note, the Mozilla project plans to integrate a configure check to do that automatically when needed in https://bugzilla.mozilla.org/show_bug.cgi?id=307168
Fixed in later gcc versions, won't be fixed for 10.0. Hmm, let's close it as FIXED anyway.