[Webkit-unassigned] [Bug 187701] [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
Sun Jul 22 10:23:41 PDT 2018


--- Comment #17 from karogyoker2+webkit at gmail.com ---
OK, the problem was -DCMAKE_BUILD_TYPE=RelWithDebInfo.
It should be -DCMAKE_BUILD_TYPE=Release
This way it is possible to compile it on 32 bit systems.

So the steps are:
1. Go to https://webkitgtk.org/releases/
2. download the newest stable, extract, go into extracted folder
3. cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-march=pentium3 -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -g0 -Os" -DCMAKE_CXX_FLAGS="-march=pentium3 -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -g0 -Os" -DUSE_WOFF2=OFF -DUSE_LD_GOLD=OFF -DENABLE_MINIBROWSER=OFF -DENABLE_JIT=OFF -GNinja
4. ninja
5. sudo make install

Maybe it could work with GOLD too without the reduce memory overheads stuffs.

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/20180722/2a7b0f82/attachment.html>

More information about the webkit-unassigned mailing list