Bug 17816
Summary: | libWebCoreSQLite3.a is 2-architecture Universal Binary (not 4-architecture) | ||
---|---|---|---|
Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
Component: | WebCore Misc. | Assignee: | Mark Rowe (bdash) <mrowe> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | arahn |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 |
Brent Fulgham
When attempting to build a 64-bit WebKit, I discovered that the copy of libWebCoreSQLite3.a installed with 'update-webkit' is missing 64-bit architectures:
cd /Users/brent/Projects/WebKit/WebCore
/Developer/usr/bin/g++-4.0 -arch x86_64 -dynamiclib -L/Users/brent/Projects/WebKit/WebKitBuild/Release -F/Users/brent/Projects/WebKit/WebKitBuild/Release -F/System/Library/Frameworks/Carbon.framework/Frameworks -F/System/Library/Frameworks/ApplicationServices.framework/Frameworks -filelist /Users/brent/Projects/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/WebCore.LinkFileList -Wl,--no-demangle -exported_symbols_list /Users/brent/Projects/WebKit/WebKitBuild/Release/DerivedSources/WebCore/WebCore.LP64.exp -install_name /Users/brent/Projects/WebKit/WebKitBuild/Release/WebCore.framework/Versions/A/WebCore -mmacosx-version-min=10.5 -Wl,-dead_strip -lWebCoreSQLite3 -lobjc -sub_library libobjc -umbrella WebKit -framework ApplicationServices -framework Carbon -framework Cocoa -framework JavaScriptCore -framework QuartzCore -licucore -lobjc -lxml2 -Wl,-single_module -compatibility_version 1 -current_version 526.1 -o /Users/brent/Projects/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/WebCore
ld warning: in /Users/brent/Projects/WebKit/WebKitBuild/Release/libWebCoreSQLite3.a, missing required architecture x86_64 in file
This can be easily verified with the 'file' command:
Link:WebKitLibraries brent$ file libWebCoreSQLite3.a
libWebCoreSQLite3.a: Mach-O universal binary with 2 architectures
libWebCoreSQLite3.a (for architecture ppc): current ar archive random library
libWebCoreSQLite3.a (for architecture i386): current ar archive random library
Link:WebKitLibraries brent$
Request that link library be updated with full four-way universal binary to allow 64-bit builds on all architectures.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
*** Bug 17951 has been marked as a duplicate of this bug. ***
Mark Rowe (bdash)
Fixed in r31158.