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:           Tue May 13 08:18:05 UTC 2014

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/gcc-aux/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/gcc-aux/options.mk
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/gcc-aux/files/diff-ada \
    pkgsrc/lang/gcc-aux/files/diff-core

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