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:           Sun Jul  8 19:30:38 UTC 2012

Added Files:
        pkgsrc/lang/gcc-aux: DESCR Makefile buildlink3.mk distinfo options.mk
        pkgsrc/lang/gcc-aux/files: diff-ada diff-ada-testsuite diff-core
            diff-cxx diff-cxx-testsuite diff-fortran diff-fortran-testsuite
            diff-gcc-testsuite diff-static-version

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

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.

See http://gcc.gnu.org/gcc-4.7/changes.html

for more information about improvements over the GCC 4.6 series.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gcc-aux/DESCR pkgsrc/lang/gcc-aux/Makefile \
    pkgsrc/lang/gcc-aux/buildlink3.mk pkgsrc/lang/gcc-aux/distinfo \
    pkgsrc/lang/gcc-aux/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gcc-aux/files/diff-ada \
    pkgsrc/lang/gcc-aux/files/diff-ada-testsuite \
    pkgsrc/lang/gcc-aux/files/diff-core pkgsrc/lang/gcc-aux/files/diff-cxx \
    pkgsrc/lang/gcc-aux/files/diff-cxx-testsuite \
    pkgsrc/lang/gcc-aux/files/diff-fortran \
    pkgsrc/lang/gcc-aux/files/diff-fortran-testsuite \
    pkgsrc/lang/gcc-aux/files/diff-gcc-testsuite \
    pkgsrc/lang/gcc-aux/files/diff-static-version

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