WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
32753
REGRESSION(52325) Chromium build broken due to link failure
https://bugs.webkit.org/show_bug.cgi?id=32753
Summary
REGRESSION(52325) Chromium build broken due to link failure
Eric Seidel (no email)
Reported
2009-12-18 16:08:22 PST
REGRESSION(52325) Chromium build broken due to link failure
http://build.chromium.org/buildbot/waterfall.fyi/builders/Webkit%20Mac%20(webkit.org)/builds/11702/steps/compile/logs/stdio
Ld /b/slave/webkit-rel-mac-webkit-org/build/src/webkit/tools/test_shell/../../../xcodebuild/Release/test_shell_tests normal i386 cd /b/slave/webkit-rel-mac-webkit-org/build/src/webkit/tools/test_shell setenv MACOSX_DEPLOYMENT_TARGET 10.5 /Developer/usr/bin/g++-4.2 -arch i386 [snip] Undefined symbols: "_wkNoteOpenPanelFiles", referenced from: _wkNoteOpenPanelFiles$non_lazy_ptr in libwebcore.a(WebSystemInterface.o) "_WKNoteOpenPanelFiles", referenced from: _WKNoteOpenPanelFiles$non_lazy_ptr in libwebcore.a(WebSystemInterface.o) ld: symbol(s) not found The failure does not occur on the webkit.org builders yet, because it doesn't link against anything yet. The solution is to include platform.h from WebSystemInterface.m to make sure that we get the right symbol on Leopard. I'm going to make a quick-and-dirty include platform.h fix. Eventually we might wish to use a config.h wrapper around platform.h instead.
Attachments
Patch
(1.38 KB, patch)
2009-12-18 16:25 PST
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
Now with moar betr smelling
(1.38 KB, patch)
2009-12-18 16:28 PST
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
I should re-enroll in 3rd grade, clearly.
(1.39 KB, patch)
2009-12-18 16:30 PST
,
Eric Seidel (no email)
abarth
: review+
abarth
: commit-queue+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Peter Kasting
Comment 1
2009-12-18 16:12:38 PST
Edited IRC log for posterity: <pkasting> othermaciej mentioned the idea of adding a config.h for this section of the project and just having it #include Platform.h <othermaciej> WebCore and JavaScriptCore have a rule that config.h must be the first include in every file <othermaciej> it seems reasonable to me to do that for WebKit too <eseidel> sounds like othermaciej's idea is a good one, as usual :) <eseidel> I think the utility of a non-PCH build has not at least historically been well understood <eseidel> with XCode eventually moving to distcc 3, everyone will want a non-PCH build eventually <pkasting> So is the resolution here that we should, in fact, add a config.h to WebKit, have it #include Platform.h, and add #include config.h to all the source files? <eseidel> I would just add it to the files you need to un-break the build <eseidel> and we can let webkit.org bake on that policy for a while <eseidel> I think it's important to un-break the build, but we can figure out what the final full-scale policy change looks like later
Eric Seidel (no email)
Comment 2
2009-12-18 16:25:39 PST
Created
attachment 45202
[details]
Patch
Adam Barth
Comment 3
2009-12-18 16:26:24 PST
Comment on
attachment 45202
[details]
Patch ok
Peter Kasting
Comment 4
2009-12-18 16:26:59 PST
Comment on
attachment 45202
[details]
Patch
> +// Neded builds not using PCH to expose BUILDING_ macros, see
bug 32753
.
"Neded" -> "Needed for"
Eric Seidel (no email)
Comment 5
2009-12-18 16:28:07 PST
Created
attachment 45204
[details]
Now with moar betr smelling
Eric Seidel (no email)
Comment 6
2009-12-18 16:30:27 PST
Created
attachment 45205
[details]
I should re-enroll in 3rd grade, clearly.
Adam Barth
Comment 7
2009-12-18 16:32:07 PST
Comment on
attachment 45205
[details]
I should re-enroll in 3rd grade, clearly. ok. I spelt goood to
Eric Seidel (no email)
Comment 8
2009-12-18 16:33:44 PST
Committed
r52356
: <
http://trac.webkit.org/changeset/52356
>
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