Bug 83908 - #pragma GCC visibility isn't properly handled for builtin functions
Summary: #pragma GCC visibility isn't properly handled for builtin functions
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: Other SUSE Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Michael Matz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-15 11:27 UTC by Wolfgang Rosenauer
Modified: 2007-07-27 06:38 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
workaround: turn off visibilty pragma in mozilla configure script (1009 bytes, patch)
2005-10-22 16:42 UTC, Robert Kaiser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Rosenauer 2005-05-15 11:27:04 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.
Comment 1 Wolfgang Rosenauer 2005-05-17 05:37:43 UTC
this could be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20297
Comment 2 Andreas Schwab 2005-05-17 08:13:13 UTC
So it's a gcc bug. 
 
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg00248.html 
Comment 3 Wolfgang Rosenauer 2005-05-20 14:25:41 UTC
mozilla-nspr has been changed to workaround this bug but anyway it might be good
to have this fixed.
Comment 4 Wolfgang Rosenauer 2005-06-06 06:56:25 UTC
upcoming Firefox, Thunderbird, Xulrunner versions suffers the same problem :-(
Comment 5 Robert Kaiser 2005-10-22 16:42:04 UTC
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
Comment 6 Michael Matz 2007-07-27 06:38:16 UTC
Fixed in later gcc versions, won't be fixed for 10.0.  Hmm, let's close it
as FIXED anyway.