[Webkit-unassigned] [Bug 162497] [GTK] [2.14.0] _cairo_surface_has_snapshots (surface)' failed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 28 09:33:15 PST 2016


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

--- Comment #2 from john.frankish at outlook.com ---
I tried, but the build fails with:

[ 97%] Linking CXX shared library ../../lib/libwebkit2gtk-4.0.so
collect2: error: ld returned 1 exit status
make[2]: *** [Source/WebKit2/CMakeFiles/WebKit2.dir/build.make:19448: lib/libwebkit2gtk-4.0.so.37.14.9] Error 1
make[1]: *** [CMakeFiles/Makefile2:1534: Source/WebKit2/CMakeFiles/WebKit2.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
Command exited with non-zero status 2

Using:

cmake -DCMAKE_C_FLAGS="-mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS="-mtune=generic -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=/usr/local/lib -DCMAKE_INSTALL_LIBEXECDIR=/usr/local/lib -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_SKIP_RPATH=ON -DENABLE_ACCELERATED_2D_CANVAS=OFF -DUSE_LD_GOLD=OFF -DENABLE_MINIBROWSER=ON -DUSE_LIBHYPHEN=OFF -DPORT=GTK -Wno-dev ../

find . -name CMakeCache.txt -type f -exec sed -i 's/-O2//g' {} \;
find . -name CMakeCache.txt -type f -exec sed -i 's/-O3//g' {} \;

CC="gcc -flto -fuse-linker-plugin" CXX="g++ -flto -fuse-linker-plugin" -j5

Note that the same thing, but with -DCMAKE_BUILD_TYPE=Release works

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


More information about the webkit-unassigned mailing list