<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] [2.14.0] _cairo_surface_has_snapshots (surface)' failed"
href="https://bugs.webkit.org/show_bug.cgi?id=162497#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] [2.14.0] _cairo_surface_has_snapshots (surface)' failed"
href="https://bugs.webkit.org/show_bug.cgi?id=162497">bug 162497</a>
from <span class="vcard"><a class="email" href="mailto:john.frankish@outlook.com" title="john.frankish@outlook.com">john.frankish@outlook.com</a>
</span></b>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>