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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 4 14:38:28 PST 2013


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

          Priority: medium
            Bug ID: 59038
          Keywords: regression
          Assignee: chris at chris-wilson.co.uk
           Summary: cairo-1.12 fails to build with gold due to
                    underlinking
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: chithanh at gentoo.org
          Hardware: Other
            Status: NEW
           Version: 1.12.8
         Component: general
           Product: cairo

Created attachment 72525
  --> https://bugs.freedesktop.org/attachment.cgi?id=72525&action=edit
full build log

Starting with cairo-1.12 (cairo-1.10 builds fine) the build fails on Gentoo
with ld.gold selected as the default linker:

  CCLD   cairo-sphinx
/var/tmp/portage/x11-libs/cairo-1.12.8/work/cairo-1.12.8/src/.libs/libcairo.so:
error: undefined reference to '__gxx_personality_v0'
/var/tmp/portage/x11-libs/cairo-1.12.8/work/cairo-1.12.8/src/.libs/libcairo.so:
error: undefined reference to '__cxa_begin_catch'
/var/tmp/portage/x11-libs/cairo-1.12.8/work/cairo-1.12.8/src/.libs/libcairo.so:
error: undefined reference to '__cxa_end_catch'
/var/tmp/portage/x11-libs/cairo-1.12.8/work/cairo-1.12.8/src/.libs/libcairo.so:
error: undefined reference to '__cxa_rethrow'
/var/tmp/portage/x11-libs/cairo-1.12.8/work/cairo-1.12.8/src/.libs/libcairo.so:
error: undefined reference to 'std::terminate()'
/var/tmp/portage/x11-libs/cairo-1.12.8/work/cairo-1.12.8/src/.libs/libcairo.so:
error: undefined reference to 'typeinfo for std::bad_alloc'
/var/tmp/portage/x11-libs/cairo-1.12.8/temp/cc5T4JaP.ltrans5.ltrans.o:cc5T4JaP.ltrans5.o:function
_cairo_boilerplate_qt_create_surface(char const*, _cairo_content, double,
double, double, double, cairo_boilerplate_mode_t, void**) [clone .3247]: error:
undefined reference to 'operator new(unsigned long)'
/var/tmp/portage/x11-libs/cairo-1.12.8/temp/cc5T4JaP.ltrans5.ltrans.o:cc5T4JaP.ltrans5.o:function
_cairo_boilerplate_qt_create_surface(char const*, _cairo_content, double,
double, double, double, cairo_boilerplate_mode_t, void**) [clone .3247]: error:
undefined reference to 'operator delete(void*)'
collect2: ld returned 1 exit status

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


More information about the cairo-bugs mailing list