Commit graph

6 commits

Author SHA1 Message Date
marino
0002a34ba0 lang/gcc5-aux: Fix getchar functionality on NetBSD 2016-12-10 00:22:39 +00:00
marino
322a5c6f15 lang/gcc5-aux: Fix runpath on NetBSD x86-64
The runpath issue only affected the x86-64 arch on NetBSD.  The
spec change was only effective on i386, so relocating the change
enables the RUNPATH tag in the gcc libraries on the amd64 platform.
2016-12-08 19:32:10 +00:00
marino
96887cac12 lang/gcc5-aux: Fix runpath, at least for non-NetBSD platforms
NetBSD doesn't seem to be honoring -rpath, at least not with binutils
from base.  Using binutils from pkgsrc doesn't work either because it
uses the gold linker (for an unknown reason) which fails with an
"unsupported operation".  As a result, gcc5-aux was limited to base
binutils for NetBSD 7 and later.  The issue was never resolved.
2016-12-08 03:31:27 +00:00
marino
383a57f661 lang/gcc5-aux: fix allstages logic and set gcc-aux paths => gcc5-aux
The disable bootstrap logic was reversed, and there were several
references to gcc-aux that needed to change to gcc5-aux.
2016-11-26 16:12:18 +00:00
marino
3c5eef98bd lang/gcc5-aux: Upgrade version 20150422 => 20160603 (GCC 5.1 => 5.4)
The signal trampoline detection for NetBSD 7 and later is still broken.
Support for NetBSD 6.99 has been removed along with supporte for
32-bit DragonFly.  The modifications to the testsuite were misguided and
have also been removed.
2016-08-28 17:59:36 +00:00
marino
25a442dca2 Import lang/gcc5-aux based on gcc-5.1
This compiler package is not like the lang/gcc4* packages, but rather
the lang/gcc-aux package which exists to bring GNAT, the Ada language
compiler.  The lang/gcc-aux package is based on gcc-4.9, and this
package is based on gcc-5.  This is the first gcc5 package in pkgsrc,
and it does support C, C++, ObjC, and Fortran in addition to Ada thus
it is very useful, but it does have a different purpose than other
gcc ports.

This port has had minimal testing.  I verified GNAT passes 100% of the
testsuite on NetBSD 6.1/amd64, but it has not been tested on any
NetBSD 5, 7.0 or 7.99 platform yet.  I don't have any hardware, so it
will require using a VM or having others report failure/success.  Due
to similarity with lang/gcc-aux, chances are good that it will build
and function properly on other platforms.

See http://gcc.gnu.org/gcc-5/changes.html for more information about
improvements over the gcc-4.9 series.
2015-06-15 09:46:27 +00:00