summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2014-05-09 09:50:47 +0000
committermarino <marino@pkgsrc.org>2014-05-09 09:50:47 +0000
commit9b9cf3418a191fdd75b71677432caf497ddeb7e1 (patch)
tree5ff6e9bb8a2ff3b42ba22ae26fb78f9134a1db80 /www
parentc7af062d9c2c69f4214d8035294bdda7c4217b85 (diff)
downloadpkgsrc-9b9cf3418a191fdd75b71677432caf497ddeb7e1.tar.gz
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.
Diffstat (limited to 'www')
0 files changed, 0 insertions, 0 deletions