[cairo-bugs] [Bug 96467] New: cairo-trace fails to compile with clang

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 9 21:36:22 UTC 2016


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

            Bug ID: 96467
           Summary: cairo-trace fails to compile with clang
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: fsvm88 at gmail.com
        QA Contact: cairo-bugs at cairographics.org

The cairo-trace program included in the cairo release fails to build when using
clang.
There is a lengthy and quite old bug in the gentoo bugzilla about this:
https://bugs.gentoo.org/show_bug.cgi?id=483408

Can you please merge the following patch?
https://483408.bugs.gentoo.org/attachment.cgi?id=382588

The patch removes the extra libiberty.h include, as both bfd.h and libiberty.h
include ansidecl.h. I'm not sure why clang is so picky about this header and
I'm not sure this is the proper way to fix the issue, but with the patch cairo
builds fine, and the cairo-trace util seems to work properly (not
segfaulting/crashing when invoked).

Additional details:
- The first version that failed for me was 1.12.16, current stable still fails
- When I tested with cairo 1.12.16, clang was version 3.3; current stable
(3.8.0) still fails

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


More information about the cairo-bugs mailing list