Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2016 21:25:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212804] devel/arm-none-eabi-gcc492: Fix build with libc++ 3.9.0
Message-ID:  <bug-212804-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212804

            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@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: ian@FreeBSD.org
             Flags: maintainer-feedback?(ian@FreeBSD.org)

Created attachment 174934
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174934&action=
=3Dedit
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-c=
ommon.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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212804-13>