pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/binutils



Module Name:    pkgsrc
Committed By:   marino
Date:           Mon May 12 16:33:20 UTC 2014

Modified Files:
        pkgsrc/devel/binutils: Makefile distinfo
Added Files:
        pkgsrc/devel/binutils/patches: patch-gold_options.h

Log Message:
devel/binutils: Change default behavior of gold for NetBSD & OpenBSD

The Gold linker defaults to the use of --new-dtags which uses DT_RUNPATH
instead of DT_RPATH.  In previous version of binutils, --new-dtags would
write set both DT_RUNPATH and DT_PATH, but not anymore.  The problem is
that neither NetBSD nor OpenBSD runtime linkers properly handle it
AFAICT.  Use macros to make DT_RPATH get set when -rpath switch is used
so that linked libraries can get found on these platforms.

Similarly, it appears that DT_INIT_ARRAY tags are also not handled by
rtld, so don't use these tags by default otherwise C++ will not link
on these platforms.

The copy-as-needed attribute has been left at its binutils default of
--no-copy-dt-needed.  This has been the default since binutils 2.22.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/devel/binutils/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/binutils/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/binutils/patches/patch-gold_options.h

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