<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><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">59038</a>
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>regression
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>cairo-1.12 fails to build with gold due to underlinking
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>chithanh@gentoo.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.12.8
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=72525" name="attach_72525" title="full build log">attachment 72525</a> <a href="attachment.cgi?id=72525&action=edit" title="full build log">[details]</a></span>
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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>