[Bug 216303] lang/gcc7-devel: Fix build with libc++ 4.0.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 19 22:50:11 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216303

            Bug ID: 216303
           Summary: lang/gcc7-devel: Fix build with libc++ 4.0.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald at FreeBSD.org
          Reporter: dim at FreeBSD.org
          Assignee: gerald at FreeBSD.org
             Flags: maintainer-feedback?(gerald at FreeBSD.org)

Created attachment 179118
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179118&action=edit
Fix system includes in lang/gcc7-devel

Similar to bug 212465 and bug 216266, lang/gcc7-devel doesn't compile with
libc++ 4.0.0, due to clashes between the redefined abort macro and standard C++
headers.

In gcc7 they seem to have realized this issue, and are now using system.h to
pull in C++ standard headers, when INCLUDE_xxx is defined, where xxx is
ALGORITHM, VECTOR, and so on.

In this case only gcov.c needs to be fixed.  This should probably be committed
upstream too.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list