non port: lang/gcc-aux/Makefile.version |
Number of commits found: 21 |
Monday, 30 Nov 2015
|
00:15 marino
Add gnatdroid-x86 (3 new ports), X-compiler to Android-x86
Similar to lang/gnatdroid-armv7, lang/gnatdroid-x86 is a cross-compiler
targetting Android. The former targets ARMv7 processors while the latter
targets Android on x86 (32-bit). The latter also runs on Virtualbox as
a bonus. The new ports are implemented as slaves to the ARMv7 versions.
The GNAT ACATS were run, and it passed every test except CXG2024,
"accuracy of multiplication and division of mixed decimal and binary
fixed point numbers".
subtest 13: expected -51.00 got 50.0
subtest 14: expected 51.0 got 50.0
This is probably a rounding error unique to 32-bit x86. Overall this
version passed better than gnatdroid-armv7 because unwind is supported,
enabling check check support.
Also added:
lang/gnatdroid-sysroot-x86 (KitKat and Lollipop API)
lang/gnatdroid-binutils-x86
Despite the desciption, C++, Fortran and Objective-C should also work
well (in addition to advertised C and Ada frontends).
===
The gnatdroid-x86 port builds a C/Ada cross-compiler based on GCC 4.9
that targets the Android operating system (up to version 5.0, API level
21) running on x86 or x86_64 architecture (version 7). This produces
binaries that run natively on x86-based Android devices.
|
Monday, 19 Oct 2015
|
19:42 marino
gnatdroid-sysroot: Add Android API Level 21 (Lollipop)
The latest Android Native Development Kit (NDK) has API Level 21
in it (but not 20, nor 22 or the latest Level 23). Add this option
to gnatdroid's sysroot port, and change the default API from Jelly Bean 1
(Level 16) to Kitkat (Level 19).
Bump gnatdroid's binutils and gnatdroid itself as a consequence of this
default change. A new patch had to be added to lang/gcc-aux to handle
the CTYPE changes which haven't made to GCC yet.
Gnatdroid has been testing for building on all API's but not for
functionality beyond Level 16 due to lack of hardware. I may soon
install an Android emulator to see if that will suffice.
|
Sunday, 12 Jul 2015
|
11:04 marino
lang/gcc-aux: Upgrade version 20141023 => 20150626 (4.9.2 => 4.9.3)
All the NetBSD/OpenBSD changes were also stripped out, which greatly
reduced the diff patch sizes (among other changes to ada support)
|
Monday, 20 Apr 2015
|
20:00 marino
devel/gps: Restore missing project properties switches
The project properties were missing several tabs in the "switches"
sections, but it wasn't immediately obvious why. It turns out that this
was caused by a missing generated file (gnat_switches.py). Restoring
that file along with having PATH set to the Ada compiler restored the
missing tabs.
The trick is that the generated file needs a texi file that is not present
in the distfile. The texi file was discarded by gnat_util (and its parent
gccX), so the solution is change gnat_util to install the file at its own
DOCDIR. Pregeneration of the gnat_switches.py is a bad idea IMO, so we
stick with the intended generation.
while here, install gps as gps_exe and create a wrapper named "gps" that
will define ADA_PROJECT_PATH and a PATH component to the Ada compiler if
they aren't already defined. GPS malfunctions a bit if it can't find the
compiler or standard library project files. Using a wrapper is nice for
new users that don't realize environmental changes are needed.
I also changed the install scripts to use BSD_INSTALL_* macros which
eliminated the need to use the install-strip INSTALL_TARGET.
Finally -- it seems that the ADAXX trick to pull in gcc-aux's versioning
for the PORTREVISION stopped working recently although the PORTVERSION
still worked. There's a new catch-22 where <pre> was needed to evaluate
USES=ada, but if <pre> is called, PORTREVISION value is frozen. Failure
to use <pre> resulted in an inclusion failure. The only fix available
was to recreate the ada.mk logic. Since gnatdroid is still hardcoded to
gcc-aux, only gnat_util was affected (discovered when poudriere failed
to rebuild it).
|
Monday, 16 Mar 2015
|
15:11 marino
lang/gnat_util, devel/gprbuild: Support gcc5-aux
GPRBuild is too highly tethered to the compiler -- in practical terms
each version of GPRBuild is meant to be built by a specific GPL GNAT,
but we're trying to build it with multiple FSF GNATS that are out of sync.
This patch set does allow GPRBuild to build and apparently work with both
gcc-aux and gcc5-aux. There is no real change for gcc-aux (OpenVMS is
removed from the code but it should be same difference) ang for gcc5-aux,
the previous patches aren't needed but new ones are. Thus, EXTRA_PATCHES
had to be set for each of the two supported compilers.
lang/gnat_utils had to be modified to stop packaging OpenVMS target files
as apparently this target has been removed from gcc5-aux.
|
Friday, 28 Nov 2014
|
12:43 marino
lang/gcc-aux: Fix symbolic trace on FreeBSD
Recent gcc creates debug information in dwarf4 format, something that
the base version of addr2line on FreeBSD cannot understand. When the
compiler requires binutils from ports to build, then ensure the
symbolic tracing code also uses addr2line from the same binutils (which
is already available due to RUN_DEPENDS requirements). Since DragonFly
3.6 and lower are no longer officially supported, this change only
affects FreeBSD, but it affects all supported releases. The conditional
code for DragonFly 3.6 has been removed while here.
Reported by: Natacha Porte
PR: 195465
|
Sunday, 2 Nov 2014
|
01:11 marino
lang/gcc-aux: Update version 20140716 (4.9.1) => 20141023 (4.9.2)
|
Tuesday, 21 Oct 2014
|
14:38 marino
lang/gnat_util: Move PORTREVISION to central location
Many of the ports based on gcc-aux sources have a central location
defining their PORTREVISION to make it easy to reset all them all when
the base version is updated. lang/gnat_util should have had, but did not
and as a result the PORTREVISION didn't get reset at all. Centralize
it for the future.
|
Wednesday, 15 Oct 2014
|
11:25 marino
lang/gcc-aux: Update version 20140422 (4.9.0) => 20140716 (4.9.1)
|
Thursday, 28 Aug 2014
|
11:10 tijl
Add USES=libtool
|
Tuesday, 13 May 2014
|
21:19 marino
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.
|
18:47 marino
lang/gcc-aux: Require latest binutils for DF 3.6 and earlier
Based on observations from pkgsrc and recent failures on Dragonfly 3.6,
it appears that GCC 4.9 requires a linker from binutils 2.23 or later.
DF 3.6 uses binutils 2.22 while the master branch uses 2.24 by default.
This adds the binutils requirement for DF 3.6 and earlier.
|
Saturday, 26 Apr 2014
|
09:57 marino
lang/gcc-aux: Update from RC1 to Release 4.9.0
This should be the last update until Release 4.9.1 - the source tarballs
have been switched from snapshots to releases.
|
Friday, 18 Apr 2014
|
10:36 marino
lang/gcc-aux + gnatdroid-armv7: Update to 16 April prerelease
|
Saturday, 12 Apr 2014
|
22:04 marino
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).
|
Thursday, 10 Apr 2014
|
08:45 marino
lang/gcc-aux: Add binutils requirement for FreeBSD
This patch was previously developed but lost somewhere along the way.
The linker and assembly must be explicitly defined otherwise it is
defined as "ld" and "as" and as such is affected by the value of PATH.
We don't want this, and it actually breaks the gnatdroid cross compilers.
For FreeBSD, use the binutils port like the gcc ports do. DragonFly
has binutils 2.24 in base so let's keep using the base binutils on that
platform.
Also the Makefile.version file now defines the PORTREVISION for all
the ports that use it to make future updating easier.
Binutils patch omission partly detected by jenkins failure (thx swills)
|
Wednesday, 9 Apr 2014
|
13:52 marino
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.
|
Monday, 31 Mar 2014
|
07:31 marino
lang/gcc-aux: Update to latest snapshot, 30 MAR 2014
This may fix some of the shared library building failures seen recently
with the 16 MAR 2014 snapshot.
|
Saturday, 22 Mar 2014
|
12:31 marino
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
|
Friday, 14 Mar 2014
|
08:36 marino
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.
|
Sunday, 21 Jul 2013
|
13:00 marino
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)
|
Number of commits found: 21 |