/gcc-aux, GNAT Ada compiler based on GCC 4.9
20140422nb3, Package name:
gcc-aux-20140422nb3, Maintainer: draco
The AUX compiler supports several languages: Ada, C, C++, Fortran and
Objective-C. Since Ada support must be built by an Ada-capable compiler,
only platforms for which a bootstrap compiler is available can build it.
The AUX compiler is based on release versions of the Free Software
Foundation's GNU Compiler Collection. It carries with it the GMGPL license,
the modified version of the GPL that exempts generic instantiation from
resulting in a GPL-licensed executable. It also carries the GCC Runtime
Library Exception, so the resulting binaries have no licensing requirements.
Binaries produced by the AUX compiler should be legally handled the same as
binaries produced by any FSF compiler.
This compiler implements the full Ada-83, Ada-95, Ada-2005 and Ada-2012
Required to run:
] Package options
: fortran, nls, objc
Master sites: (Expand)
Version history: (Expand)
- (2014-05-30) Updated to version: gcc-aux-20140422nb3
- (2014-05-13) Updated to version: gcc-aux-20140422nb2
- (2014-05-09) Updated to version: gcc-aux-20140422nb1
- (2014-04-30) Updated to version: gcc-aux-20140422
- (2014-01-07) Updated to version: gcc-aux-20130411nb4
- (2013-12-30) Updated to version: gcc-aux-20130411nb3
CVS history: (Expand)
| 2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049) |
Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
| 2014-05-15 11:50:44 by John Marino | Files touched by this commit (1) |
lang/gcc-aux: Save work on OpenBSD - work suspended
gcc-aux builds on OpenBSD, but the default posix thread handling for Ada
tasking no longer works. All tasks get stuck in a "Thread Sleep" sleep
state. The gcc4.8.2-based egcc in OpenBSD ports supports Ada and passes
all tests. There is no difference in the configuration between that and
gcc-aux. To fix, it probably requires tasking support unique to OpenBSD
and that's out of scope for me at the moment, especially considering the
lack of a suitable development machine.
As such, I'm suspending my work on OpenBSD. This commit captures some
minor bug fixes. The addition of "--enable-checking" configuration switch
should be the default so there's no need bump gcc-aux again.
| 2014-05-13 10:18:05 by John Marino | Files touched by this commit (4) |
lang/gcc-aux: Enable dl_iterate_phdr and link with gold
These changes are for NetBSD only although non-functional OpenBSD support
continues to be added. The biggest change is configuring the compiler to
use the gold linker from binutils 2.24 instead of the system linker. The
ld.bfd linker from binutils 2.24 is buggy on NetBSD and OpenBSD; it cannot
properly produce/recognize PIC files in every case, which is why gcc-aux
had been limited to the system linker. The system linker was too old for
gcc-aux and devel/gps failed to link because of it.
At the same time, the dormant dl_iterate_phdr support has been activated
for NetBSD. It seems to work; the Ada testsuite still passes perfectly.
Due to lack of testing, gold is restricted from building on NetBSD 5,
which means lang/gcc-aux will fail to build as a result. If someone
verifies gold builds on NetBSD 5, then the restriction on binutils can
be removed and lang/gcc-aux will be able to build on NetBSD 5 again.
| 2014-05-09 11:50:47 by John Marino | Files touched by this commit (6) |
lang/gcc-aux: Primarily add Solaris i386 and x86_64 targets
I was never able to build gcc-aux with multilib support when it was
based on gcc 4.7. It turns out that this is because Ada support for
multilib was broken per GCC's bugzilla. It's been fixed since. After
some significant effort and many hours, I finally produced a multilib
bootstrap for Solaris. It can produce other multilib compilers (x86-64)
and it can produce 32-bit only compilers (i386). This was tested on a
stock OmniOS x86-64 installation and the Joyent dev area (i386).
Solaris has not supported static linking since Solaris 9, so it is not
possible to create a static bootstrap like the BSDs have, nor is it
possible to build the compiler statically, so that option is disabled.
That means it is unlikely that the bootstrap will run on Solaris 10 or
Solaris 11, but this theory has not been tested.
Much of the changes to the diff-* patchsets are a result of OpenBSD work.
An OpenBSD static bootstrap has been created against devel/binutils, and
as a result it fails to find system libraries such as libc and libm. That
is a side note explaining the OpenBSD additions. There are some DragonFly
and NetBSD changes in the diff-* patches though.
The bootstrap target was significantly modified, mainly to capture the
special needs of creating a Solaris bootstrap. The creation of the
bootstrap tarball was put in it's own target. The zlib and math libraries
were connected to the bootstrap option. It's not a good idea to use
system zlib on Illumos because the zlib header is not guaranteed to be
The feature to rebuild the compiler with the installed gcc-aux was fixed;
it should use it's own c++ compiler instead of the system c++ compiler.
OpenBSD 5.5 does not support "cp -a", so this was changed to "cp \
| 2014-05-02 17:54:16 by John Marino | Files touched by this commit (1) |
lang/gcc-aux: Fix build target (affects FreeBSD and future OpenBSD)
GCC never uses "amd64" in the triplet, it always must be x86_64.
| 2014-04-30 18:24:39 by John Marino | Files touched by this commit (16) |
lang/gcc-aux: Change base of gcc 4.7.3 to gcc 4.9.0
It appears that gcc-aux is the first gcc 4.9.0 in pkgsrc. It's purpose
is to build the Ada packages in pkgsrc, but it also supports C, C++,
Objective-C, and Fortran languages by default. GCC 4.9 was released on
22 April 2014.
Of note, GCC 4.9 fully supports the new Ada-2012 standard. The rest of
the changes since GCC 4.8.2 are too numerous to mention, but a decent
summary can be found here: http://gcc.gnu.org/gcc-4.9/changes.html
FreeBSD support was added, but SunOS support was temporarily disabled.
This is due to all new bootstraps being provided, but the SunOS
bootstrap is not yet ready. Currently supported platforms are
* NetBSD i386 and x86-64
* DragonFly i386 and x86-64
* FreeBSD i386 and x86-64
All platform fully pass the Ada testsuite:
| 2014-01-07 03:30:11 by John Marino | Files touched by this commit (1) |
lang/gcc-aux: when in doubt, revbump
Previous commit changed dynamic linking behavior, it should have been
revbumped because gcc-aux built, even though it didn't work.
| 2014-01-07 03:26:25 by John Marino | Files touched by this commit (1) |
lang/gcc-aux: Establish RPATH for binaries
This should fix the Ada compiler on NetBSD 6.99 / pure clang and
allow the Ada packages to build on Joerg's bulk runs.