WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
132838
[GTK] Unable to do a static build of WebKitGTK+
https://bugs.webkit.org/show_bug.cgi?id=132838
Summary
[GTK] Unable to do a static build of WebKitGTK+
Carlos Alberto Lopez Perez
Reported
2014-05-12 14:48:49 PDT
Hi, I'm trying to produce a static build of WebKitGTK+ (AMD64) but I'm unable to do it. I tried to do it both using the last stable release, as well as using the last trunk. For the stable release I did this: $ ./configure --enable-static $ make I got the following error: [....] CXX Source/JavaScriptCore/yarr/libjavascriptcoregtk_3_0_la-YarrCanonicalizeUCS2.lo CXX Source/JavaScriptCore/yarr/libjavascriptcoregtk_3_0_la-YarrInterpreter.lo CXX Source/JavaScriptCore/yarr/libjavascriptcoregtk_3_0_la-YarrJIT.lo CXX Source/JavaScriptCore/yarr/libjavascriptcoregtk_3_0_la-YarrPattern.lo CXX Source/JavaScriptCore/yarr/libjavascriptcoregtk_3_0_la-YarrSyntaxChecker.lo CXX DerivedSources/JavaScriptCore/libjavascriptcoregtk_3_0_la-InspectorJSBackendDispatchers.lo CXX DerivedSources/JavaScriptCore/libjavascriptcoregtk_3_0_la-InspectorJSFrontendDispatchers.lo CXX DerivedSources/JavaScriptCore/libjavascriptcoregtk_3_0_la-InspectorJSTypeBuilders.lo CXXLD libjavascriptcoregtk-3.0.la ar: `x' cannot be used on thin archives. make[1]: *** [libjavascriptcoregtk-3.0.la] Error 1 make[1]: Leaving directory `/home/gardener/WebKit-2.4.2/webkitgtk-2.4.2' make: *** [all] Error 2 For trunk (
r168621
) I applied this patch:
http://sprunge.us/eLjf
and build WebKitGTK+ as: $ ./Tools/Scripts/build-webkit --gtk --cmakeargs="-DBUILD_STATIC=ON" And I got thousands of linking errors...
http://sprunge.us/EbhC
shows only the last 1000 lines.
Attachments
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2014-05-13 03:54:28 PDT
Do you have the AR_FLAGS env var set? If so unset it and try again
Carlos Alberto Lopez Perez
Comment 2
2014-05-13 04:46:50 PDT
(In reply to
comment #1
)
> Do you have the AR_FLAGS env var set? If so unset it and try again
I don't have this variable on my environment.
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