<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - cairo-1.12 fails to build with gold due to underlinking"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59038#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - cairo-1.12 fails to build with gold due to underlinking"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59038">bug 59038</a>
from <span class="vcard"><a class="email" href="mailto:b.harrington@samsung.com" title="Bryce Harrington <b.harrington@samsung.com>"> <span class="fn">Bryce Harrington</span></a>
</span></b>
<pre>We also have a skia backend which is C++, but that's probably even more
experimental than the qt backend. :-)
Looks like the beos also needs C++, fwiw.
Fwiw, `./configure --enable-qt` appears to result in a successful build on
Ubuntu 12.04. But on Ubuntu 14.04 (gcc 4.8) using libqt4-dev, I see this
error:
CCLD cairo-test-suite
/usr/bin/ld:
../boilerplate/.libs/libcairoboilerplate.a(libcairoboilerplate_cxx_la-cairo-boilerplate-qt.o):
undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3'
//usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing
from command line
collect2: error: ld returned 1 exit status
make[4]: *** [cairo-test-suite] Error 1
This is just saying that the library wasn't included in the linker command
line. So it needs -lstdc++ added someplace, at a minimum. Almost certainly
the cause of the originally reported problem.
I've drummed up a patch that adds -lstdc++ and -lQtGui when --enable-qt is
given, which seems to result in a successful build on 14.04 for me.</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>