[Webkit-unassigned] [Bug 187701] New: [GTK][BUILD] FAILED: lib/libwebkit2gtk-4.0.so.37.31.0 collect2: error: ld returned 1 exit status

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 16 10:05:09 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=187701

            Bug ID: 187701
           Summary: [GTK][BUILD] FAILED: lib/libwebkit2gtk-4.0.so.37.31.0
                    collect2: error: ld returned 1 exit status
           Product: WebKit
           Version: WebKit Local Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karogyoker2+webkit at gmail.com
                CC: bugs-noreply at webkitgtk.org

Created attachment 345097

  --> https://bugs.webkit.org/attachment.cgi?id=345097&action=review

console output

Hello,

I cannot build WebKit.
This is what I've done:
1. I got a snapshot on June 30 (or 29) from the link mentioned here: https://webkit.org/getting-the-code/
2. tar jxvf WebKit-SVN-source.tar.bz2
3. cd webkit
4. $ Tools/gtk/install-dependencies
5. $ Tools/Scripts/update-webkitgtk-libs
6. cd WebKitBuild
7. cmake .. -DPORT=GTK -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_FLAGS="-march=native" -DCMAKE_CXX_FLAGS="-march=native" -DUSE_WOFF2=OFF -DENABLE_MINIBROWSER=ON -GNinja
8. ninja -j1

Output:
[4/68] Linking CXX shared library lib/libwebkit2gtk-4.0.so.37.31.0
FAILED: lib/libwebkit2gtk-4.0.so.37.31.0 
: && /usr/bin/c++ -fPIC -fdiagnostics-color=always -Wno-expansion-to-defined -Wno-attributes -Wno-noexcept-type -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -march=native -fno-strict-aliasing -fno-exceptions -fno-rtti -std=c++17 -O2 -g -DNDEBUG  -fuse-ld=gold -Wl,--disable-new-dtags -fuse-ld=gold -Wl,--disable-new-dtags   -Wl,--version-script,/home/oldboi/Downloads/webkit/Source/WebKit/webkitglib-symbols.map -shared -Wl,-soname,libwebkit2gtk-4.0.so.37 -o lib/libwebkit2gtk-4.0.so.37.31.0 Source/WebKit/CMakeFiles/WebKit.dir/NetworkProcess/NetworkActivityTracker.cpp.o Source/WebKit/CMakeFiles/WebKit.dir/NetworkProcess/NetworkCORSPreflightChecker.cpp.o Source/WebKit/CMakeFiles/WebKit.dir/NetworkProcess/NetworkConnectionToWebProcess.cpp.o Source/WebKit/CMakeFiles/WebKit.dir/NetworkProcess/NetworkContentRuleListManager.cpp.o Source/WebKit/CMakeFiles/WebKit.dir
.
.
.
[TRUNCATED, see attachment]
.
.
.
/i386-linux-gnu/libXdamage.so /usr/lib/i386-linux-gnu/libXrender.so /usr/lib/i386-linux-gnu/libXt.so /usr/lib/i386-linux-gnu/libz.so -lwayland-server -lwayland-egl -lwayland-client && :
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Is there any way to know more about why the linker failed?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180716/98f57a50/attachment.html>


More information about the webkit-unassigned mailing list