[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
Thu Jul 10 16:25:20 PDT 2014


Bryce Harrington <b.harrington at samsung.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Bryce Harrington <b.harrington at samsung.com> ---
commit b384e86c6a2b15d26908ede73cb29098afe5e809
Author: Bryce Harrington <b.harrington at samsung.com>
Date:   Tue Jul 8 15:53:41 2014 -0700

    configure.ac: Fix broken build for Qt backend

    When --enable-qt is specified, the build will break due to missing

      CCLD     cairo-test-suite
undefined reference to symbol '__gxx_personality_v0@@CX$
    //usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO
missing from command line
    collect2: error: ld returned 1 exit status

    When using g++ to compile and link code, g++ automatically links
    libstdc++.  However, in cairo we're using g++ only to compile, so need
    to explicitly link against libstdc++ for backends that need iostream,
    stl, or other stdc++ features.

    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=59038
    Signed-off-by: Bryce Harrington <b.harrington at samsung.com>
    Reviewed-by: Uli Schlachter <psychon at znc.in>

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/20140710/b29c8f9d/attachment.html>

More information about the cairo-bugs mailing list