RESOLVED FIXED 70596
[Qt] WebKit build does not respect QMAKE_MAC_SDK variable.
https://bugs.webkit.org/show_bug.cgi?id=70596
Summary [Qt] WebKit build does not respect QMAKE_MAC_SDK variable.
Zeno Albisser
Reported 2011-10-21 04:17:04 PDT
This can cause a linking error when building with an Mac SDK that is not of the same version as the host system. Undefined symbols for architecture x86_64: "_kCFWebServicesTypeWebSearch", referenced from: _WKCopyDefaultSearchProviderDisplayName in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "__CFWebServicesCopyProviderInfo", referenced from: _WKCopyDefaultSearchProviderDisplayName in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_kCFWebServicesProviderDefaultDisplayNameKey", referenced from: _WKCopyDefaultSearchProviderDisplayName in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "__NSRecommendedScrollerStyle", referenced from: _WKRecommendedScrollerStyle in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_strndup", referenced from: _WKSandboxExtensionCreateFromSerializedFormat in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_sandbox_release_fs_extension", referenced from: _WKSandboxExtensionInvalidate in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_sandbox_consume_fs_extension", referenced from: _WKSandboxExtensionConsume in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_sandbox_issue_fs_extension", referenced from: _WKSandboxExtensionCreate in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_CFURLRequestSetRequestPriority", referenced from: _WKSetHTTPPipeliningPriority in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_CFURLRequestGetRequestPriority", referenced from: _WKGetHTTPPipeliningPriority in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_CTTypesetterCreateWithUniCharProviderAndOptions", referenced from: _WKCreateCTTypesetterWithUniCharProviderAndOptions in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_CGIOSurfaceContextCreateImage", referenced from: _WKIOSurfaceContextCreateImage in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_CGIOSurfaceContextCreate", referenced from: _WKIOSurfaceContextCreate in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_kMDItemDownloadedDate", referenced from: _WKSetMetadataURL in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) "_SecTrustGetTrustResult", referenced from: _WKCopyNSURLResponseCertificateChain in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o) ld: symbol(s) not found for architecture x86_64
Attachments
patch for review. (2.08 KB, patch)
2011-10-21 05:02 PDT, Zeno Albisser
no flags
Zeno Albisser
Comment 1 2011-10-21 05:02:36 PDT
Created attachment 111945 [details] patch for review.
Noam Rosenthal
Comment 2 2011-10-21 08:04:25 PDT
Comment on attachment 111945 [details] patch for review. Can a user have several SDKs in his developer folder? In that case we would compile with version 9 instead of version 11... maybe we should keep the original reverse order?
Tor Arne Vestbø
Comment 3 2011-10-21 08:44:24 PDT
(In reply to comment #2) > (From update of attachment 111945 [details]) > Can a user have several SDKs in his developer folder? > In that case we would compile with version 9 instead of version 11... maybe we should keep the original reverse order? Hmm, not sure I get what you mean? You would set QMAKE_MAC_SDK only if you wanted a specific SDK? Otherwise we use the platform?
Tor Arne Vestbø
Comment 4 2011-10-21 08:44:42 PDT
Noam?
Noam Rosenthal
Comment 5 2011-10-21 09:13:06 PDT
(In reply to comment #4) > Noam? (In reply to comment #3) > (In reply to comment #2) > > (From update of attachment 111945 [details] [details]) > > Can a user have several SDKs in his developer folder? > > In that case we would compile with version 9 instead of version 11... maybe we should keep the original reverse order? > > Hmm, not sure I get what you mean? You would set QMAKE_MAC_SDK only if you wanted a specific SDK? Otherwise we use the platform? Sorry, misunderstanding. Please ignore.
WebKit Review Bot
Comment 6 2011-10-21 10:54:57 PDT
Comment on attachment 111945 [details] patch for review. Clearing flags on attachment: 111945 Committed r98114: <http://trac.webkit.org/changeset/98114>
WebKit Review Bot
Comment 7 2011-10-21 10:55:01 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.