WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
81838
WTF::MetaAllocator has a weak vtable (discovered when building wtf as a static library)
https://bugs.webkit.org/show_bug.cgi?id=81838
Summary
WTF::MetaAllocator has a weak vtable (discovered when building wtf as a stati...
Eric Seidel (no email)
Reported
2012-03-21 15:26:54 PDT
WTF::MetaAllocator has a weak vtable (discovered when building wtf as a static library)
Attachments
Patch
(2.86 KB, patch)
2012-03-21 15:30 PDT
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
Patch for landing
(3.00 KB, patch)
2012-03-21 16:04 PDT
,
Eric Seidel (no email)
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2012-03-21 15:30:43 PDT
Created
attachment 133127
[details]
Patch
Geoffrey Garen
Comment 2
2012-03-21 15:32:22 PDT
Comment on
attachment 133127
[details]
Patch r=me
Eric Seidel (no email)
Comment 3
2012-03-21 15:32:56 PDT
(This patch won't actually apply to trunk, since it is on top of a local commit with the WTF files already moved to their new location.)
WebKit Review Bot
Comment 4
2012-03-21 15:36:01 PDT
Comment on
attachment 133127
[details]
Patch Rejecting
attachment 133127
[details]
from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: file Source/WTF/ChangeLog patching file Source/WTF/wtf/MetaAllocator.cpp Hunk #1 FAILED at 33. 1 out of 1 hunk FAILED -- saving rejects to file Source/WTF/wtf/MetaAllocator.cpp.rej patching file Source/WTF/wtf/MetaAllocator.h Hunk #1 FAILED at 196. 1 out of 1 hunk FAILED -- saving rejects to file Source/WTF/wtf/MetaAllocator.h.rej Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Geoffrey G..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Full output:
http://queues.webkit.org/results/12072618
Eric Seidel (no email)
Comment 5
2012-03-21 16:04:49 PDT
Created
attachment 133134
[details]
Patch for landing
WebKit Review Bot
Comment 6
2012-03-21 17:22:21 PDT
Comment on
attachment 133134
[details]
Patch for landing Rejecting
attachment 133134
[details]
from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: hing file Source/JavaScriptCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/JavaScriptCore/wtf/MetaAllocator.cpp Hunk #1 succeeded at 47 with fuzz 2 (offset 14 lines). patching file Source/JavaScriptCore/wtf/MetaAllocator.h Hunk #1 FAILED at 196. 1 out of 1 hunk FAILED -- saving rejects to file Source/JavaScriptCore/wtf/MetaAllocator.h.rej Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Full output:
http://queues.webkit.org/results/12066681
Eric Seidel (no email)
Comment 7
2012-03-21 17:31:24 PDT
Landed in
http://trac.webkit.org/changeset/111617
.
mitz
Comment 8
2012-03-21 17:42:46 PDT
(In reply to
comment #7
)
> Landed in
http://trac.webkit.org/changeset/111617
.
This change broke the TestWebKitAPI build. Two symbols are no longer exported: WTF::MetaAllocator::~MetaAllocator() and typeinfo for WTF::MetaAllocator I can export the former by adding WTF_EXPORT_PRIVATE before its declaration in the header, but I don’t know how to export the latter.
Eric Seidel (no email)
Comment 9
2012-03-21 17:43:51 PDT
(In reply to
comment #8
)
> (In reply to
comment #7
) > > Landed in
http://trac.webkit.org/changeset/111617
. > > This change broke the TestWebKitAPI build. Two symbols are no longer exported: > > WTF::MetaAllocator::~MetaAllocator() > > and > > typeinfo for WTF::MetaAllocator > > I can export the former by adding WTF_EXPORT_PRIVATE before its declaration in the header, but I don’t know how to export the latter.
Probably WTF_EXPORTCLASS? I dont' actually know.
Eric Seidel (no email)
Comment 10
2012-03-21 17:44:45 PDT
The WTF/JSC exports are really a mistery to me, I'm currently runnig into issues tryign to bring up the JSC build after moving WTF locally due to our current export config.
Eric Seidel (no email)
Comment 11
2012-03-21 17:45:10 PDT
(In reply to
comment #8
)
> (In reply to
comment #7
) > > Landed in
http://trac.webkit.org/changeset/111617
. > > This change broke the TestWebKitAPI build. Two symbols are no longer exported:
I assume I can test this locally on mac using "make"?
mitz
Comment 12
2012-03-21 17:49:43 PDT
(In reply to
comment #11
)
> (In reply to
comment #8
) > > (In reply to
comment #7
) > > > Landed in
http://trac.webkit.org/changeset/111617
. > > > > This change broke the TestWebKitAPI build. Two symbols are no longer exported: > > I assume I can test this locally on mac using "make"?
Yes. If you can’t find out how to fix this soon, please revert
r111617
, so that tests can run again.
Eric Seidel (no email)
Comment 13
2012-03-21 17:52:55 PDT
(In reply to
comment #12
)
> (In reply to
comment #11
) > > (In reply to
comment #8
) > > > (In reply to
comment #7
) > > > > Landed in
http://trac.webkit.org/changeset/111617
. > > > > > > This change broke the TestWebKitAPI build. Two symbols are no longer exported: > > > > I assume I can test this locally on mac using "make"? > > Yes. If you can’t find out how to fix this soon, please revert
r111617
, so that tests can run again.
Certainly. I'm running "make" now.
Eric Seidel (no email)
Comment 14
2012-03-21 18:00:17 PDT
(In reply to
comment #11
)
> (In reply to
comment #8
) > > (In reply to
comment #7
) > > > Landed in
http://trac.webkit.org/changeset/111617
. > > > > This change broke the TestWebKitAPI build. Two symbols are no longer exported: > > I assume I can test this locally on mac using "make"?
Hmm. "make" resulted in: ** BUILD SUCCEEDED ** for me. I guess I"ll try again with a clean build?
Mark Rowe (bdash)
Comment 15
2012-03-21 18:14:12 PDT
I fixed the problems in
r111634
.
Eric Seidel (no email)
Comment 16
2012-03-21 18:14:56 PDT
Thank you. I just got a reproduction. :)
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