WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
44609
[EFL] Add linker script to export less symbols
https://bugs.webkit.org/show_bug.cgi?id=44609
Summary
[EFL] Add linker script to export less symbols
Lucas De Marchi
Reported
2010-08-25 07:02:50 PDT
[EFL] Add linker script to export less symbols
Attachments
Patch
(4.14 KB, patch)
2010-08-25 07:13 PDT
,
Lucas De Marchi
no flags
Details
Formatted Diff
Diff
Patch
(3.11 KB, patch)
2010-09-03 05:12 PDT
,
Lucas De Marchi
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Lucas De Marchi
Comment 1
2010-08-25 07:13:50 PDT
Created
attachment 65414
[details]
Patch
Lucas De Marchi
Comment 2
2010-08-25 07:22:22 PDT
Some numbers about the exported symbols (nm -D WebKit/libewebkit.so | wc -l): | SHARED_CORE=ON | SHARED_CORE=OFF ======================================================= linker script | 716 | 959 no linker script | 1110 | 1073
Lucas De Marchi
Comment 3
2010-08-26 12:20:47 PDT
CCing the gtk guys who did the linker script for autotools. Why aren't you using the 'extern "C++" { };' in your script?
Holger Freyther
Comment 4
2010-08-26 19:05:12 PDT
Maybe you should stop using internal WebCore types first and then worry about exporting symbols? Regarding the 'extern "C++" {}'. I didn't know it, gcc on debian had a bug that it made the new/delete operator have external linkage and we solved it by filtering out _Z*.
Lucas De Marchi
Comment 5
2010-08-27 07:42:47 PDT
(In reply to
comment #4
)
> Maybe you should stop using internal WebCore types first and then worry about exporting symbols?
At a first look, I thought it would be harder than it is. So I sent this patch first. It turned out that it's not that hard. I'm preparing a patch to fix that and after I'll send a new patch on this bug
> > Regarding the 'extern "C++" {}'. I didn't know it, gcc on debian had a bug that it made the new/delete operator have external linkage and we solved it by filtering out _Z*.
These one I think it's ok, because it's the way you differentiate C++ from C. But I was talking about the exceptions for fastRealloc, fastMalloc etc. IMHO, those would be nicer if they were demangled by linker.
Lucas De Marchi
Comment 6
2010-08-27 07:43:35 PDT
Comment on
attachment 65414
[details]
Patch Not good. Clearing flags.
Lucas De Marchi
Comment 7
2010-09-03 05:12:44 PDT
Created
attachment 66483
[details]
Patch
Eric Seidel (no email)
Comment 8
2010-12-03 13:14:04 PST
Comment on
attachment 66483
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=66483&action=review
Seems OK otherwise.
> ChangeLog:5 > + [EFL] Add linker script to export less symbols
fewer, not less.
WebKit Commit Bot
Comment 9
2010-12-14 03:38:57 PST
The commit-queue encountered the following flaky tests while processing
attachment 66483
[details]
: transitions/transition-end-event-transform.html
bug 51024
(authors:
dino@apple.com
,
ojan@chromium.org
, and
pol@apple.com
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 10
2010-12-14 03:40:22 PST
Comment on
attachment 66483
[details]
Patch Clearing flags on attachment: 66483 Committed
r74012
: <
http://trac.webkit.org/changeset/74012
>
WebKit Commit Bot
Comment 11
2010-12-14 03:40:29 PST
All reviewed patches have been landed. Closing bug.
Lucas De Marchi
Comment 12
2010-12-14 05:20:31 PST
(In reply to
comment #11
)
> All reviewed patches have been landed. Closing bug.
Eric, did you see this bug depended on other open bugs? Now that this patch is in, I'll let it like this. I'll have to partially revert this one when the other patches make it.
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