Bug 70097 - [GTK] Build is broken with new ld
Summary: [GTK] Build is broken with new ld
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2011-10-14 02:44 PDT by Carlos Garcia Campos
Modified: 2011-10-14 03:14 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.17 KB, patch)
2011-10-14 02:48 PDT, Carlos Garcia Campos
pnormand: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2011-10-14 02:44:17 PDT
I've just upgraded my system and webkit2 unit tests now fail to build:


  CXXLD  Programs/WebKit2APITests/TestWebKitWebContext
  CXXLD  Programs/WebKit2APITests/TestWebKitWebView
  CXXLD  Programs/WebKit2APITests/TestWebKitWebLoaderClient
/usr/bin/ld: ./.libs/libwebkit2gtk-3.0.so: undefined reference to symbol 'WTF::fastFree(void*)'
/usr/bin/ld: note: 'WTF::fastFree(void*)' is defined in DSO ./.libs/libjavascriptcoregtk-3.0.so so try adding it to the linker command line
./.libs/libjavascriptcoregtk-3.0.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Comment 1 Carlos Garcia Campos 2011-10-14 02:48:16 PDT
Created attachment 110987 [details]
Patch

I'm not sure why, but this simple patch fixed the build for me.
Comment 2 Carlos Garcia Campos 2011-10-14 03:14:59 PDT
Committed r97458: <http://trac.webkit.org/changeset/97458>