[Bug 212804] devel/arm-none-eabi-gcc492: Fix build with libc++ 3.9.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 18 21:25:54 UTC 2016


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

            Bug ID: 212804
           Summary: devel/arm-none-eabi-gcc492: Fix build with libc++
                    3.9.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ian at FreeBSD.org
          Reporter: dim at FreeBSD.org
          Assignee: ian at FreeBSD.org
             Flags: maintainer-feedback?(ian at FreeBSD.org)

Created attachment 174934
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174934&action=edit
Include <new> in gcc/system.h

During the exp-run for bug 212343, devel/arm-none-eabi-gcc492 encounters a
similar problem as with bug 212465 for lang/gcc49, and bug 212696 for
devel/avr-gcc, namely:

In file included from
/wrkdirs/usr/ports/devel/arm-none-eabi-gcc492/work/gcc-4.9.2/gcc/c/c-objc-common.c:33:
In file included from /usr/include/c++/v1/new:70:
/usr/include/c++/v1/exception:267:5: error: no member named 'fancy_abort' in
namespace 'std::__1'; did you mean simply 'fancy_abort'?
    _VSTD::abort();
    ^~~~~~~

This is because gcc's system.h redefines abort to fancy_abort, and then
includes a number of C++ standard headers.  I propose to fix this with the same
patch as I submitted for bug 212465 and bug 212696.

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


More information about the freebsd-ports-bugs mailing list