pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gcc-aux



Module Name:    pkgsrc
Committed By:   marino
Date:           Fri May  9 09:50:47 UTC 2014

Modified Files:
        pkgsrc/lang/gcc-aux: Makefile distinfo options.mk
        pkgsrc/lang/gcc-aux/files: diff-ada diff-core diff-cxx

Log Message:
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
installed.

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.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/gcc-aux/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/gcc-aux/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/gcc-aux/options.mk
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/gcc-aux/files/diff-ada \
    pkgsrc/lang/gcc-aux/files/diff-core
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/gcc-aux/files/diff-cxx

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index