WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
19912
stl::* symbols unexpectedly exported
https://bugs.webkit.org/show_bug.cgi?id=19912
Summary
stl::* symbols unexpectedly exported
Mike Hommey
Reported
2008-07-06 05:14:21 PDT
Because of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36022
, a lot of std::* weak symbols are exported for STL templates, which is not really something wanted (especially since the set of symbols is different depending on the optimization level).
Attachments
patch
(801 bytes, patch)
2008-07-06 05:15 PDT
,
Mike Hommey
zecke
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mike Hommey
Comment 1
2008-07-06 05:15:12 PDT
Created
attachment 22106
[details]
patch This is the work-around I came up with for Debian.
Mike Hommey
Comment 2
2008-07-10 12:16:57 PDT
Note that ARM gcc has an interesting bug that makes all vtables and vtts to be exported despite being defined visibility hidden. For the moment, I replaced _ZSt*; _ZNSt*; with _Z*; on Debian.
Holger Freyther
Comment 3
2008-07-17 09:41:27 PDT
Comment on
attachment 22106
[details]
patch Okay. We don't have a coding style for these kind of files but wouldn't it be more obvious if _ZSt*; and _ZNSt*; would be in the same line as local? or at least indented? What do you think about the following (less conservative) change? global: webkit_*; local: *; besides I wonder if people use WebKit without the GNU or sun linker.
Jan Alonzo
Comment 4
2008-08-06 05:02:07 PDT
(In reply to
comment #3
)
> (From update of
attachment 22106
[details]
[edit]) > Okay. We don't have a coding style for these kind of files but wouldn't it be > more obvious if _ZSt*; and _ZNSt*; would be in the same line as local? or at > least indented? > > What do you think about the following (less conservative) change? > > global: webkit_*; > local: *; > > besides I wonder if people use WebKit without the GNU or sun linker.
Holger, Mike: Before committing, Is it ok to move symbols.filter in (srcdir)/WebKit/gtk rather than in the top-level srcdir?
Holger Freyther
Comment 5
2008-08-27 18:24:33 PDT
Landed in
r35957
. We can move the symbols file now if we want to.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug