NEW 130933
[GTK] WebKit2-4.0.gir build failure with -fuse-ld=gold
https://bugs.webkit.org/show_bug.cgi?id=130933
Summary [GTK] WebKit2-4.0.gir build failure with -fuse-ld=gold
Fryderyk Dziarmagowski
Reported 2014-03-29 13:24:06 PDT
When building with -fuse-ld=gold linking of WebKit-3.0.gir fails complaining about undefined symbol: /home/users/builder/rpm/BUILD/webkitgtk-2.4.0/tmp-introspectyupgf5/.libs/WebKit-3.0: symbol lookup error: /home/users/builder/rpm/BUILD/webkitgtk-2.4.0/tmp-introspectyupgf5/.libs/WebKit-3.0: undefined symbol: webkit_dom_media_controller_get_type Command '['/home/users/builder/rpm/BUILD/webkitgtk-2.4.0/tmp-introspectyupgf5/WebKit-3.0', '--introspect-dump=/home/users/builder/rpm/BUILD/webkitgtk-2.4.0/tmp-introspectyupgf5/functions.txt,/home/users/builder/rpm/BUILD/webkitgtk-2.4.0/tmp-introspectyupgf5/dump.xml']' returned non-zero exit status 127 GNUmakefile:82467: recipe for target 'WebKit-3.0.gir' failed Building with standard ld seems to work fine.
Attachments
CMakeCache.txt (129.85 KB, text/plain)
2015-07-27 12:50 PDT, nick
no flags
build.make (20.37 KB, text/plain)
2015-07-27 12:52 PDT, nick
no flags
nick
Comment 2 2015-07-27 12:40:50 PDT
i got below error with: "-DCMAKE_LINKER=/usr/bin/ld.gold -DUSE_LD_GOLD=ON -DCMAKE_SKIP_RPATH=ON" [ 99%] Generating ../../WebKit2-4.0.gir ERROR: can't resolve libraries to shared libraries: javascriptcoregtk-4.0, webkit2gtk-4.0 Source/WebKit2/CMakeFiles/WebKit2-4-gir.dir/build.make:57: recipe for target 'WebKit2-4.0.gir' failed my distro is archlinux.stock gcc and binutils. default "ld" is "ld.bfd". So /usr/bin/ld = /usr/bin/ld.bfd /usr/bin/ld.gold = gold linker gcc-5.2.0 binutils-2.25.1 gtk-master webkitgtk-2.9.4 i am curious what happening.please help a bit. i attacthed CMakeCache.txt and "Source/WebKit2/CMakeFiles/WebKit2-4-gir.dir/build.make"
nick
Comment 3 2015-07-27 12:50:01 PDT
Created attachment 257583 [details] CMakeCache.txt
nick
Comment 4 2015-07-27 12:52:31 PDT
Created attachment 257584 [details] build.make
nick
Comment 5 2015-07-27 13:01:42 PDT
i have to comment out related lines into 'build.make' file which starting with "cd /home/me/webkitgtk/src/build/Source/WebKit2" to allow finishing to build as you see.
Note You need to log in before you can comment on or make changes to this bug.