[cairo-bugs] [Bug 59038] cairo-1.12 fails to build with gold due to underlinking

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 8 15:53:21 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=59038

--- Comment #3 from Bryce Harrington <b.harrington at samsung.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140708/a635139e/attachment.html>


More information about the cairo-bugs mailing list