Commit graph

13 commits

Author SHA1 Message Date
John Marino
2ba2db697e lang/gcc-aux: Bring in latest diffs-*
I should have done this when I bumped the port port earlier.  A few
of the changes to the diff-* files directly affect FreeBSD although
most are results of other platforms (NetBSD, OpenBSD mainly)

The most invasive change was exchanging strcpy and printf for their
"n" versions.  It was to make OpenBSD happy but the code is better
for it.
2014-05-13 21:19:35 +00:00
John Marino
f107703159 lang/gcc-aux + gnatdroid-armv7: Update to 16 April prerelease 2014-04-18 10:36:22 +00:00
John Marino
71f4c0a48a lang/gnatdroid-armv7 (&gcc-aux): Fix socket support and gnat.dg testsuite
The socket support on Gnatdroid was broken, and it had to be fixed at
lang/gcc-aux.

Until now, the dejagnu testsuite did not work on remote targets.  To fix
this, support files had to be installed at ${LOCALBASE}/share/dejagnu.
Dejagnu was not made a run dependency, conditional or otherwise.  The
test targets for gnatdroid are really maintainer targets.

Running the gnat.dg testsuite confirms that everything works in the
cross-compiler except stack checking (there's no support in gcc for this
just yet).
2014-04-12 22:04:15 +00:00
John Marino
10f6790534 lang/gcc-aux: significantly reduce c++ testsuite diff file size
The majority of the 234k c++ testsuite patch can be eliminated with
REINPLACE_CMD at the post-extract phase.  Now it's 1/100th the size
at 2.3k.  No revbump necessary; the testsuite isn't even a default
option.  The same treatment can be done to lang/gcc47-aux later.
2014-04-10 13:35:53 +00:00
John Marino
d6fcd55b06 lang/gcc-aux: Upgrade from 30 March snapshot to 6 April
Since the April 6 snapshot, a lot of work has entered the GCC tree to
fix the arm-android GNAT port.  Currently it passes everything except
stack checking.

A lot of the additional lines in diff-ada will be removed with the
next snapshot.  Future plans also include significantly reducing the
size of the diff-cxx-testsuite file too.
2014-04-09 13:52:50 +00:00
John Marino
2db84a163b lang/gcc-aux: Fix parallel jobs build (GCC bug)
The cause for the build errors are due to a GCC makefile bug.
C++ is now required to build gnattools, but libstdc++ was not listed
as a dependency.  The fix for this bug will be posted to GCC's bugzilla
shortly.  While here, bump gcc-aux to the latest snapshot (16 March).
Now gcc-aux passes Redports 8x.

Reported by: pkg-fallout
2014-03-22 12:31:11 +00:00
John Marino
bc7ac57a74 lang/gcc-aux: Upgrade from gcc-4.7.3 to gcc49-20140302 snapshot
GCC4.9 hasn't been released yet, but the Ada portion of it is pretty
stable and perfectly passes ACATS and gnat.dg testsuites.  The only
trick was to change the unwind mechanism on i386 away from KERN_PS_STRINGS
because it will not work with 32-bit compatability mode on AMD64.  This
is because on AMD64, the signal trampoline is located on a random area
on a shared page rather than a fixed location before KERN_PS_STRINGS.  To
support both true i386 and AMD64-32 compatibility mode, unwind now looks
for frame pattern in all cases.  Apparently stack checking has been broken
on AMD64-32 until now.

It is important to get the Ada Framework in ports to be based on gcc49
because this compiler supports the full Ada-2012 standard implementation,
and in fact some new programs require this already.

This port will stay on snapshots until 4.9.0 is released, then it will
return to be based on releases.

The Ada and C++ options have been removed.  These are now always built.
In fact, GCC now requires C++ to build, so new bootstraps had to be
created.  FreeBSD8 has its own bootstrap, and FreeBSD 9+ uses a pure
static bootstrap (including GNAT tools) which should last a long time.
Additionally a "Bootstrap" option was added, but this overrides all
other options to create new bootstraps. It is not intended for general
use.

Most of the Ada Framework in ports has been pretested and adjusted to
work with gcc49 out of the box, but some ports will need to be updated
immediately, which will happen right after this one.  The update to
lang/gnat_util had to be synchronized with lang/gcc-aux because they
share version information and the PORTREVISION needed to be reset.
2014-03-14 08:36:05 +00:00
John Marino
fabaf4ff02 lang/gcc-aux: Update diff-ada, diff-core for Android
The majority of these changes affect the android cross-compiler builds.
The only build change for the host compiler is builds convert_addresses
within a separate file rather than as part of adaint.c.  Given that this
does not represent a functional change in any way, I just don't see the
need to bump PORTREVISION as a result.
2014-01-23 18:59:49 +00:00
John Marino
bf5878162e lang/gcc-aux: Support iconv update in DragonFly master branch
This update affects dragonfly only, and supports the updated ctypes
in the DragonFly master branch.
2013-09-24 10:35:33 +00:00
John Marino
e753d5da3f lang/gcc-aux: bug fixes
This change covers:
  1) portlint cleanup
  2) Support for bootstrapping on DragonFly 3.5+
  3) Removal of uneeded shared library version specifications
  4) USES+= gmake
  5) Splits out version to separate makefile for Ada framework
  6) Fixes typo that caused DragonFly to use mktemp
  7) Adds aggregate array index fix from gcc 4.8
  8) NetBSD lstdc++ fixes were pulled in from diff reneration
  9) c++ testsuite diff was corrected (how it was committed wrong is unknown)

Approved by:	bapt (mentor)
2013-07-21 13:00:46 +00:00
Baptiste Daroussin
e2328653a6 Update to gcc 4.7.3
Convert to new options framework
Use binutils from ports on FreeBSD 8

PR:		ports/178143
Submitted by:	John Marino <draco@marino.st>
2013-04-30 11:38:19 +00:00
Frederic Culot
4cc1f55bc3 - Update diff-core patch to allow faster symbol matching on FreeBSD>=9
- Fix shared libraries issues by automatically adding rpath to generated
  binaries
- Bump portrevision

PR:		ports/170439
Submitted by:	John Marino <draco@marino.st> (maintainer)
2012-08-09 06:29:42 +00:00
Frederic Culot
63ae642bd6 gcc-aux is the successor to the gcc-4.6-based lang/gnat-aux. Originally it
was planned for lang/gnat-aux to upgrade to version 4.7, then 4.8, etc.
However, some cross-compilers are based on it and there are some significant
differences between gcc 4.6 and 4.7. lang/gnat-aux also installs with a
${LOCALBASE} of /usr/local which has a high potential of file conflicts with
other lang/ compilers. Another reason for keeping them separate is just about
every Ada program will need to be patched for it due to new binding
interpretations stemming from Ada-2012 work. Simply updating gnat-aux would
break them all instantly.

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 the AUX
compiler.

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.

The AUX GNAT compiler implements the full Ada-83, Ada-95, Ada-2005 standard and
provides a partial implementation of Ada-2012.

WWW: http://www.dragonlace.net/

PR:		ports/169951
Submitted by:	John Marino <draco@marino.st>
2012-07-31 17:35:29 +00:00