The NetBSD Project

CVS log for pkgsrc/lang/gcc-aux/Makefile

[BACK] Up to [] / pkgsrc / lang / gcc-aux

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jun 28 11:34:10 2022 UTC (14 months, 4 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, HEAD
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

*: recursive bump for perl 5.36

Revision 1.39 / (download) - annotate - [select for diffs], Thu Mar 10 16:40:30 2022 UTC (18 months, 2 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.38: +4 -1 lines
Diff to previous 1.38 (colored)

gcc*-aux: disable hardening for ada compilers

Revision 1.38 / (download) - annotate - [select for diffs], Mon May 24 19:52:30 2021 UTC (2 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

*: recursive bump for perl 5.34

Revision 1.37 / (download) - annotate - [select for diffs], Mon Aug 31 18:09:48 2020 UTC (3 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

*: bump PKGREVISION for perl-5.32.

Revision 1.36 / (download) - annotate - [select for diffs], Sun May 3 17:43:19 2020 UTC (3 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

lang/gcc-aux: fix shell portability

Revision 1.35 / (download) - annotate - [select for diffs], Wed Apr 29 20:33:28 2020 UTC (3 years, 4 months ago) by maya
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

gcc*-aux: avoid future issues and accept NetBSD-10 as a version.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Nov 3 19:03:57 2019 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.33: +33 -33 lines
Diff to previous 1.33 (colored)

lang: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Sep 8 09:24:04 2019 UTC (4 years ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.32: +5 -1 lines
Diff to previous 1.32 (colored)

gcc-aux: amend fixincludes in the bootstrap compiler on NetBSD

Prior to GCC 9, they were exceptionally fragile, and happened to break with
NetBSD 9.x.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Aug 11 13:21:19 2019 UTC (4 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Bump PKGREVISIONs for perl 5.30.0

Revision 1.31 / (download) - annotate - [select for diffs], Wed Aug 22 09:45:19 2018 UTC (5 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Recursive bump for perl5-5.28.0

Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 2 09:30:06 2018 UTC (5 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.29: +2 -3 lines
Diff to previous 1.29 (colored)

*: reset maintainer for marino on his request

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jan 28 16:24:10 2018 UTC (5 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

recursive bump after mpfr shlib major bump

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 10 00:21:31 2017 UTC (6 years, 2 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

Always stop libstdc++ from using PCH, not just on bootstrap.

the configure test hangs on netbsd, and people who have looked at the PCH
implementation blame it rather than the OS.


Revision 1.27 / (download) - annotate - [select for diffs], Thu Jan 19 18:52:13 2017 UTC (6 years, 8 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \

style continuation lines to be simple repeated


lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jul 9 06:38:24 2016 UTC (7 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jun 15 18:22:55 2015 UTC (8 years, 3 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

lang/gcc-aux: Fix build on NetBSD 7.0-Beta

Like lang/gcc5-aux, gcc-aux was failing to build on NetBSD 7.0-beta
due to a "operation not permitted" error emitted by pkgsrc gold linker.

The root cause isn't known (problem with NetBSD 7 full-stop?  problem
with binutils, but only NetBSD7?).  However, the base binutils which
is version 2.23 is sufficient (barely) for gcc 4.9.

The build failure is solved by using base binutils for NetBSD 7*.
No revbump required because there is no change for platforms on which
gcc-aux has already potentially been built.

NOTE: As noted on gcc5-aux, stack-checks that passed on NetBSD 5 and 6
are now failing on GNAT on NetBSD 7.  This is because the signal
trampoline has apparently changed and the pattern the unwinder was
looking for is never found, resulting in a segfault instead of a frame
unwind.  The fix would be to determine the new signal trampoline
pattern and have it switch based on param.h version (or something like

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jun 14 19:46:51 2015 UTC (8 years, 3 months ago) by marino
Branch: MAIN
Changes since 1.23: +45 -46 lines
Diff to previous 1.23 (colored)

lang/gcc-aux: various fixes, remove NLS option

This update is a by-product of working on new package, gcc5-aux, and
applying those concepts here.  Several changes were made, including:

- Version date was not updated when version changed from 4.9.0 => 4.9.2
  (revbump occurred instead).  Remove revbump and fix date
- Remove DragonFly-i386 from permitted platforms.  This platform will be
  completely unsupported when DragonFly 4.2 is released (very soon)
- Remove references to OpenBSD and MirBSD.  Support was never activated
  due to technical issues and likely will not happen.
- Reindent (cosmetic)
- It is seemingly impossible to work around NetBSD's binary compatibility
  scheme (e.g. __socket30, __nanosleep50).  These weak symbols are simply
  ignored by Ada's pragma Import and no c-tricks seem to avoid conflicts.
  (Why can't NetBSD use symbol versioning???)  Anyway, having NetBSD-
  specific copies of source files to handle a couple of symbol differences
  is simply not sustainable, so move to a new scheme where these are
  replaced on the fly.  By the way, this problem basically means that I
  cannot fix GNAT upstream, even if I found somebody to sponsor getting
  the NUMEROUS non-ada patches upstream.  GCC devs would laugh at me if I
  describe why I want to introduce so many new but similar files to
  support NetBSD.  So it's very likely never going to happen.
- Disable libitm and libcilkrts by default.  They are out of scope and not
  worth building / fixing.
- Apparently NLS support doesn't build on NetBSD 6.1?  Nobody reported
  this to me, but there are linking issues.  I'm just removing the option
  (which was on by default) until further notice.  Having NLS support on
  by default was questionable anyway.
- Remove exetim mods, this was wrong (for all BSD platforms)
- Android support leaked in, but it's not used here
- The diff-ada file dropped about 150k in size, and could have been more
  had the android osinte file been masked too.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jun 12 10:50:15 2015 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Dec 7 10:45:32 2014 UTC (8 years, 9 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.21: +7 -3 lines
Diff to previous 1.21 (colored)


* Switch to GCC 4.9.2 based.
* binutils of NetBSD 7.99 is modern enough, and use binutils in base.
  Fix build under NetBSD/amd64 7.99.1 with this workaround.

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 29 23:36:42 2014 UTC (9 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

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.

Revision 1.20 / (download) - annotate - [select for diffs], Thu May 15 09:50:44 2014 UTC (9 years, 4 months ago) by marino
Branch: MAIN
Changes since 1.19: +11 -6 lines
Diff to previous 1.19 (colored)

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.

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 13 08:18:04 2014 UTC (9 years, 4 months ago) by marino
Branch: MAIN
Changes since 1.18: +34 -12 lines
Diff to previous 1.18 (colored)

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.

Revision 1.18 / (download) - annotate - [select for diffs], Fri May 9 09:50:47 2014 UTC (9 years, 4 months ago) by marino
Branch: MAIN
Changes since 1.17: +57 -31 lines
Diff to previous 1.17 (colored)

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 -RpP" for
portability reasons.

Revision 1.17 / (download) - annotate - [select for diffs], Fri May 2 15:54:16 2014 UTC (9 years, 4 months ago) by marino
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

lang/gcc-aux: Fix build target (affects FreeBSD and future OpenBSD)

GCC never uses "amd64" in the triplet, it always must be x86_64.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 30 16:24:39 2014 UTC (9 years, 4 months ago) by marino
Branch: MAIN
Changes since 1.15: +119 -177 lines
Diff to previous 1.15 (colored)

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:

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:


Revision 1.15 / (download) - annotate - [select for diffs], Tue Jan 7 02:30:11 2014 UTC (9 years, 8 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

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.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 7 02:26:25 2014 UTC (9 years, 8 months ago) by marino
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

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.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Dec 30 01:34:43 2013 UTC (9 years, 8 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.12: +5 -4 lines
Diff to previous 1.12 (colored)

lang/gcc-aux: Keep original bootstrap for NetBSD/i386

The last change to the Makefile was created months ago, and at the time
it was intended that new bootstraps would be made for both x86_64 and
i386 platforms.  The latter bootstrap was never created, so the previous
commit broke the build on i386.

Until a new bootstrap compiler is created, continue to use the old one.
It will continue to build on gcc-based NetBSD, but I do not expect it to
build on NetBSD-6.99/i386 with clang and no gcc libraries.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 29 19:16:53 2013 UTC (9 years, 8 months ago) by marino
Branch: MAIN
Changes since 1.11: +14 -16 lines
Diff to previous 1.11 (colored)

lang/gcc-aux: Fix build for pure NetBSD/clang amd64 system

A new bootstrap was necesssary to allow gcc-aux to build on a NetBSD
system that has no gcc files on the system.  Other changes include:

* Remove support for NetBSD 5.99
* Remove defunct mirror site
* Restore action install stripped binaries (gcc bug fixed)

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 20 19:47:19 2013 UTC (10 years, 2 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

lang/gcc-aux: bug fix

This commit achieves the following:
  1) Fix specific case of falsely identified aggregate array index
     duplicates.  Fix taken from gcc 4.8 source, it apparently will
     never be backported.
  2) Fix typo that caused mktemp to be used in DragonFly
  3) Incorporate NetBSD libstdc++ fixes into gcc-aux repository
     (which is a parallel fork) and regenerate diff-cxx.  This
     enables patches to be removed.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 7 08:57:03 2013 UTC (10 years, 2 months ago) by marino
Branch: MAIN
Changes since 1.9: +6 -1 lines
Diff to previous 1.9 (colored)

lang/gcc-aux: Fix build for PKGSRC_COMPILER=clang

The Link-Time Optimizer requires a couple of functions from the math
library.  For gcc, it appears there are built-in versions that
satisfy the requirement, but building with clang requires an explicit
linkage to libm.

This additional LDFLAG may be required on all platforms when clang is
used for pkgsrc, but until this is confirmed let's limit it to NetBSD.
Fix tested on NetBSD 6.1 amd64 with CLANGBASE=${LOCALBASE}

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 31 12:41:10 2013 UTC (10 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Apr 12 15:40:54 2013 UTC (10 years, 5 months ago) by marino
Branch: MAIN
Changes since 1.7: +3 -4 lines
Diff to previous 1.7 (colored)

lang/gcc-aux: Update to gcc 4.7.3 (version 20130411)

This is a bug fix release.
The official change page is
According to it, 119 bugs have been resolved since version 4.7.2 was
released (3 P1 bugs, 27 P2 bugs).

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jan 31 23:01:56 2013 UTC (10 years, 7 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

lang/gcc-aux: Fix DragonFly iostream bug

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 3 21:56:18 2012 UTC (10 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 2 20:11:40 2012 UTC (10 years, 11 months ago) by asau
Branch: MAIN
Changes since 1.4: +1 -3 lines
Diff to previous 1.4 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 1 17:26:52 2012 UTC (10 years, 11 months ago) by marino
Branch: MAIN
Changes since 1.3: +7 -5 lines
Diff to previous 1.3 (colored)

lang/gcc-aux 4.7.1: Upgrade to version 4.7.2

The GCC projected released version 4.7.2 on 20 September.  There were few
diff changes (only core and ada) between it and version 4.7.1, so it's a
straightforward update.

Release announcement:

Notable Excerpts:
GCC 4.7.2 is the first bug-fix release containing important fixes for
regressions and serious bugs in GCC 4.7.1 with over 70 bugs fixed since
the previous release

A notable change in GCC 4.7.2 compared to 4.7.1 are ABI bug fixes
related to some C++11 templates (std::list and std::pair).  As a result,
code using those templates in C++11 mode is again ABI compatible with
code in C++03/C++98 mode or C++11 mode of GCC 4.6 and earlier, but might
be ABI incompatible with code compiled by GCC 4.7.1 or 4.7.0 in C++11

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 3 08:53:57 2012 UTC (11 years, 1 month ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.2: +15 -13 lines
Diff to previous 1.2 (colored)

lang/gcc-aux: add gcc-aux/lib runpath to LINK_SPEC

The libraries of gcc-aux are not located on standard search paths for
the runtime linker to find.  Moreover, libraries from other versions
of gcc may be and in that case rtld will link the wrong library.  To
fix this, an rpath to ${PREFIX}/gcc-aux/lib will be inserted into every
dynamic binary created by gcc-aux.

Other changes include:
1) simpler and more robust detection of an existing gcc-aux compiler to
   be used rather than the older bootstrap compiler.
2) Fixed FreeBSD support.  FreeBSD bootstraps are available but not yet
   listed due to lack of testing (however, it should work out of the box)
3) Fixed some c++ testsuite directives for dejagnu

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 14 21:53:05 2012 UTC (11 years, 2 months ago) by marino
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

lang/gcc-aux: Fix c/c++ precision on FreeBSD/DragonFly

Until now, GCC builders had to choose between Ada and C/C++ on the
following platforms:


On these platforms, depending on the value of the configuration macro
TARGET_96_ROUND_53_LONG_DOUBLE, either Ada precision or C/C++ long
double precision was broken.  The reason is that the floating point unit
of these platforms round off real-time calculations to 53-bit mantissas.
GCC will adjust accordingly to compensate.  Since a common backend is used
for all languages, one had to choice which language they wanted correct.

The solution is to break out the object file responsible for this from
the common backend library.  Ada now receives an altered version of
insn-modes.o, one that instructs the FPU not to round off the results.
This is all handled by patched Makefiles.

Other changes:
  - Configure DragonFly to add ".note.GNU-stack" section to assembly files
    to determine if program needs executable stacks
  - Skip 2 subtests of Wconversion-real on i386 FreeBSD and DragonFly.
    Due to the rounding behavior mentioned above, they fail to produce
    error messages as expected.  It's not possible to set target with
    xfail, and every target && target seems not work work.  So we will
    assume all gcc-aux platform targets are long-double capabile and
    just set xfail for x86 FreeBSD and DragonFly.
  - Rework Fortran large real test 2 to skip on x86_64 *BSD.  This test
    should pass on x86 machines.
  - Rework Fortran large real test 3 to be skipped when compiles with -O0
    only x86_64 machines.  All other combinations will pass.
  - Rename C format test typedef from quad_t to quad2_t.  DragonFly
    has a standard type called quad_t and the type conflict causes a
    large number of gcc tests to fail.
  - Add dummy dg-error line to avoid an assembly comparison tests on
    large files not built (test was marked as UNSUPPORTED but dejagnu is
    too dumb to know not to check for the tests' products.)
  - Reorder path passed during build when using an already-built gcc-aux
    compiler to build new compiler.  If gnat-aux is also installed, it
    would use the gnat* tools from that compiler rather than gcc-aux
    which results in build failure (different versions of tools are
    getting used together resulting in build failure).

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 8 19:30:38 2012 UTC (11 years, 2 months ago) by marino
Branch: MAIN

Import lang/gcc-aux based on gcc-4.7.1

The primary difference between this compiler package and lang/gcc47 is
that lang/gcc-aux supports the Ada language.  Additionally, it is
intended that the USE_LANGUAGES makefile variable whill be extended to
recognize "ada" as a valid language, and that specifying it will cause
lang/gcc-aux to be used to build the package.

All current Ada-based packages will be modified to build with
USE_LANGUAGES+= ada rather than specifying a dependency on lang/gnat-aux,
the other Ada-capable compiler in pkgsrc based on gcc-4.6.3.

lang/gcc-aux supports C, C++, Objective-C, Fortran, and Ada by default,
but the latter four languages can be disabled via the options framework.
The three non-default options are "nls", "testsuite" and "static" which
enable Native Language Support, languages tests, and building the compiler

The "static" option is unalterably enabled for NetBSD in order to use dl_iterate_phdr error handling on NetBSD 6.  On the NetBSD 6 beta builds,
exceptions won't unwind properly with the libgcc_s shared library, and
the issue seems to be external to gcc-aux.  It's hoped the libgcc_s
exception handling works on NetBSD 5.x series as dl_iterate_phdr isn't
supported by rtld there, but gcc-aux hasn't been tested on 5.x yet.

lang/gcc-aux can be built by 5 platforms currently:  NetBSD i386/x86_64,
DragonFly i386/x86_64, and OpenSolaris i386.  New platform support
requires new bootstraps.  FreeBSD i386/x86_64 could be added easily as
bootstrap compilers are available for FreeBSD ports lang/gnat-aux.
OpenBSD bootstrap compilers have been built but never used, but further
patches are on a couple of gcc's configuration files are needed as well
as testing to provide OpenBSD support.

All five platforms pass all tests (over 3200) in the Ada testsuite.


for more information about improvements over the GCC 4.6 series.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>