Commit graph

2 commits

Author SHA1 Message Date
Gerald Pfeifer
a543cb90ac Update to the GCC 5.5 release. This brings more than 250 final bug
fixes compared to GCC 5.4 and is the last release planned on the GCC 5
branch which is now closed.

files/patch-aarch64-support, files/patch-disable-armvhf-config.gcc,
files/patch-libgcc-config-arm-unwind-arm, and files/patch-x86-64-fix-m16
all have been merged upstream in between GCC 5.4 and 5.5 and can thus
be removed; the same is the case for most of files/patch-libc++.

Finally, the tarball is now compressed using xz instead of bzip2.

PR:		216266
2017-10-11 14:35:28 +00:00
Dimitry Andric
54e90b862c Similar to bug 212465, lang/gcc5 doesn't compile with recent versions of
libc++, because it attempts to redefine abort():

In file included from /wrkdirs/usr/ports/lang/gcc5/work/gcc-5.4.0/gcc/auto-profile.c:25:
In file included from /usr/include/c++/v1/map:446:
/usr/include/c++/v1/functional:1398:2: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'?
        _VSTD::abort();
        ^~~~~~~
/usr/include/c++/v1/__config:383:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
              ^

Patch this in the same way as the other gcc ports, by including <new> in
gcc/system.h, and moving a few includes to before "system.h".

Approved by:	gerald (maintainer)
PR:		216266
MFH:		2017Q1
2017-01-31 21:25:30 +00:00