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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 30 20:28:23 PST 2016


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

--- Comment #7 from john.frankish at outlook.com ---
I double-checked and found that with "bt full" I got this:

(gdb) bt full
#0  0x00007fffeae1fbb4 in raise () from /lib/libc.so.6
No symbol table info available.

I usually compile with "-g" removed and -flto, but if I leave "-g" in place and compile webkitgtk with "-DCMAKE_BUILD_TYPE=RelWithDebInfo", it fails with this the error below (see also CMakeError.log attached)

If I remove "-g" then webkitgtk compiles with "-DCMAKE_BUILD_TYPE=RelWithDebInfo" without problems, but I guess I need "-g" to get the symbol table info.

----------

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 -DUSE_SYSTEM_MALLOC=ON -DENABLE_GLES2=ON -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' {} \;

time make CC="gcc -flto -fuse-linker-plugin" CXX="g++ -flto -fuse-linker-plugin" -j5
...
collect2: error: ld returned 1 exit status
make[2]: *** [Source/WebKit2/CMakeFiles/WebKit2.dir/build.make:19447: lib/libwebkit2gtk-4.0.so.37.14.9] Error 1
make[2]: Leaving directory '/usr/src/webkitgtk-2.14.2/build'
make[1]: *** [CMakeFiles/Makefile2:1460: Source/WebKit2/CMakeFiles/WebKit2.dir/all] Error 2
make[1]: Leaving directory '/usr/src/webkitgtk-2.14.2/build'
make: *** [Makefile:150: all] Error 2
Command exited with non-zero status 2

-- 
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/20161201/86a95d18/attachment-0001.html>


More information about the webkit-unassigned mailing list