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 uses 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
standards.
===> The following configuration options are available for gcc6-aux-20181026,1:
GRAPHITE=off: Support for Graphite loop optimizations
====> Options available for the group STANDARD
FORTRAN=on: Fortran language support
OBJC=on: Objective-C language support
NLS=on: Native Language Support
TESTSUITE=off: Activate test support
ALLSTAGES=off: Build compiler with itself (twice, brings in libcc1)
STATIC=off: Link compilers and drivers statically
====> Create bootstrap compiler (overrides other options)
BOOTSTRAP=off: Create bootstrap compiler (overrides other options)
===> Use 'make config' to modify these settings
lang/gcc6-aux: unbreak with isl-27, cleanup
ISL27 have noved own isl_val_* definition to dedicated header, isl/val.h
Chase it to unbreak build
Make graphite loop optimization optional; off by default to mimics previous
behaviour
Cleanup make environment
PR: 292414
lang/gcc6-aux: update to GCC-6.5.0, regen bootstraps (+)
Original MASTERSITE is dead now and bootstraps is not available anymore.
Update GCC components from 6.4.1 to 6.5.0, latest 6.x release.
Regen all ada boostraps to 6.5.0 release, made all for minimal supportted
FreeBSD release, 13.5.
Point WWW to original jmarino's ada development environment,
https://github.com/jrmarino/draco
PR: 292414
MFH: 2026Q1
lang/gcc6-aux: fix build with libc++ 17
When building relatively recent gcc ports (with C++ in them) against
libc++ 17, you get errors similar to:
In file included from
/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/cp/module.cc:208:
In file included from
/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/system.h:239:
In file included from /usr/include/c++/v1/vector:321:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:20:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:32:
In file included from /usr/include/c++/v1/locale:202:
/usr/include/c++/v1/__locale:546:5: error: '__abi_tag__' attribute only
applies to structs, variables, functions, and namespaces
546 | _LIBCPP_INLINE_VISIBILITY
| ^
/usr/include/c++/v1/__config:813:37: note: expanded from macro
'_LIBCPP_INLINE_VISIBILITY'
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
lang: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alonso Cardenas Marquez <acm@FreeBSD.org>
* Andreas Klemm <andreas@klemm.gtn.com>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrey Zakhvatov
* Anton Berezin <tobez@FreeBSD.org>
* Anton Berezin <tobez@tobez.org>
(Only the first 15 lines of the commit message are shown above )
lang/gcc6-aux: Mark for deprecation
This port is based on a version of GCC five, soon six, generations
behind and years end-of-life, has been unmaintained for a while,
and is broken[1].
PR: 248674 [1]
lang/gcc6-aux: unbreak fetch after 620968a43a5f
=> ada-bootstrap.amd64.freebsd.120.tar.bz2 is not in
/usr/ports/lang/gcc6-aux/distinfo.
=> Either /usr/ports/lang/gcc6-aux/distinfo is out of date, or
=> ada-bootstrap.amd64.freebsd.120.tar.bz2 is spelled incorrectly.
*** Error code 1
Reported by: pkg-fallout
Update to MPC version 1.2.0 with the following changes:
- New functions:
. mpc_sum
. mpc_dot
- Several functions are more robust with a reduced exponent range
(for example corresponding to IEEE 754 binary formats).
- New mpcheck tool for comparison with the native C library (which
is not installed by default).
Bump all directly dependent ports. Do not bump those indirectly
dependent via the lang/gcc* family since their run-time dependencies
and code generated should not be affected.
PR: 249950
Submitted by: wen
lang/gcc6-aux: Canonicalize option names
/!\ gcc6-aux-20180516_1,1: Makefile warnings, please consider fixing /!\
These options name have characters outside of [-_A-Z0-9]:
Bootstrap Standard
Disable the build/use of libssp/gets-chk since FreeBSD 12 and later
do not feature gets() any longer.
PR: 238682
Submitted by: emaste
Approved by: maintainer timeout
Sponsored by: The FreeBSD Foundation
lang/gcc6-aux: Update to 20170802 snapshot [1]
- Make sure gmake can be found during the build when PREFIX is
different from LOCALBASE [1]
- This also fixes fetching the port since the 20170202 snapshot is
gone from a lot of mirrors [2]
PR: 221883 [1, 2], 222133 [2]
Submitted by: frederic.praca@free.fr (based on) [1]
Reported by: mayhem30@gmail.com [2]
MFH: 2017Q4
Always remove headers being created by GCC's fixincludes machinery from
the installation / packaging, not just when bootstrapping GCC (with option
BOOTSTRAP on). This avoids breakage when FreeBSD's headers are changing
after the build.
PR: 221111
Submitted by: David Z. <daz@hyperchronos.org>
Return the ports mistakenly reset to ports@ in r433856 to John Marino.
The mistake was completely on my part, I somehow connected the dots the
wrong way in my head.
The only exceptions (for now) are archivers/zstd and ports-mgmt/synth
which were already picked up by new volunteers in the mean time.
lang/gcc6-aux: Add unwind support to aarch64-freebsd
Together with a gcc devel patch to expmed.c to fix the two GNAT
internal compiler errors seen on the ACATS testsuite, the new signal
frame unwinder the remaining testsuite errors. The Ada compiler on
aarch64-*-freebsd* is now perfect.
Unfortunately the revision bump causes an unnecessary rebuild on x86, but
that can't be avoid.
The unwind support will be pushed upstream to GCC.
lang/gcc6-aux: Fix cross-compiler slave ports (stage QA)
I knew about the version bump but somehow missed implementing it,
resulting in stage failures for those slave ports that have pkg-plist
defined. Bump them all as well.
lang/gcc6-aux: Add support for aarch64-*-freebsd*
The resultant compiler passes all test except:
* The stack-check related ones [1]
* c34005o and c34007i [2]
This should enable the full Ada framework, including Synth, on
FreeBSD/ARM64. I am not yet able to test this myself since I'm not part
of the wheel group on the aarch64 reference machines.
[1] I will look into providing the missing unwind support for aarch64
which would be something to push upstream to gcc
[2] I'll ask Adacore about these GNAT ICE (internal compiler errors) and
open GCC PRs if necessary since they could affect other aarch64
platforms.
lang/gcc6-aux: Upgrade version 20161221 => 20170202 (gcc 6.3 snapshot)
The gcc6-aux compiler is being prepared to support aarch63. The last
release, 6.3.0, is missing backported support for aarch64 in general
and aarch64-*-freebsd* in particularly. Do a rare update the latest
snapshot in order to capture aarch64 support.
gnatcross-aarch64: Fix configuration
There are no target specific configuration arguments for
gnatcross-aarch64, but the ARG_TARGET_SPECIFIC variable still has to be
defined, otherwise ARMv7-specific arguments are used (discovered when
disabled TLS caused an error).
gnatdroid: Prepare for new cross-compiler
The gnatdroid binutils and compiler master ports have been expanded to
support an upcoming FreeBSD/DF -to- FreeBSD-ARM64 cross-compiler. This
backports the gcc7 aarch64-*-freebsd* support to gcc6-aux along with a
customization of mine for the gnat compiler.
This also adds the missing LINK_SPEC replacement and removes a
now-obsolete post-extract directory creation. Apparently the fortran
option has been broken since the rebasing on gcc6-aux, now fixed, but
nobody reported it.
Rename the FORT option to FORTRAN to be aligned with other ports.
(FORTRAN_DESC is predefined in Mk/bsd.options.desc.mk.)
Approved by: marino (maintainer)
lang/gcc6-aux: Remove useless ARMv6 patch
By Makefile restriction, gcc6-aux can only be built on x86-64 and i386.
This restriction is due to a lack of a bootstrap compiler required for
Ada. Thus, the recently added ARMv6 patch has no effect (plus gcc6-aux
is updated by diff-* patchsets and single patches can interfer with
that scheme.)
lang/gcc6-aux: Add forgotten patch (gnatdroid support)
There's no requirement to bump since lang/gcc6-aux doesn't compile
the patched code. The gnatdroid ports will though.
lang/gcc6-aux: Upgrade version 20160306 => 20160313
The real addition is to complete support for the gnatdroid cross
compilers. Rather than to revbump, let's just update to the latest
snapshot instead.
lang/gcc6-aux: install gnatdroid/dejagnu support
Change names of gnatdroid-support dejagnu exp files so that gcc6-aux
can co-exist with gcc-aux. The gnatdroid compilers will be rebased
on gcc6-aux in the future. Technically the resulting package changes
and thus requires a bump, but nothing uses these two new files yet,
so I'm not bumping it.
lang/gcc6-aux: re-enable the -march filter
It did not take long for gcc6-aux to fail again when CPUTYPE is
set (this time to native). Just block this settings by filtering
out -march CFLAGS again to solve the issue permanently.
PR: 207311
lang/gcc6-aux: Update version 20160124 => 20160214
Dewayne G. confirmed that CPUTYPE=core-avx-i works again on the
current snapshot of gcc6. It must have been broken temporarily.
For now, let's remove the -march filter from CFLAGS. If it becomes
a problem again, I'll filter it out permanently.
lang/gcc6-aux: Neutralize CPUTYPE settings
It's been reported that gcc6-aux fails to build when CPUTYPE is set to
haswell and it's not alone. Remove any -march cflags which should
effectively negate the CPUTYPE setting. We can't change CPUTYPE directly
because it is included before the port makefile is.
Add new port lang/gcc6-aux
This will be the successor to lang/gcc5-aux. GCC6 is still in development
although the Ada front end is generally stable. Once gcc6-aux is released,
the lang/gcc-aux port will likely be removed. For that to happen, the
gnatdroid compilers need to move from it to gcc5-aux or gcc6-aux. The
Ada framework will also move to gcc6-aux by default as well.