lfs/chapter06
Xi Ruoyao 6e6641f9b7
binutils: Add --enable-new-dtags
This option makes ld use DT_RUNPATH instead of DT_RPATH.  DT_RPATH is
generally considered bad because it takes precedence over
LD_LIBRARY_PATH.  For example, eog is linked with -rpath /usr/lib/eog,
and with DT_RPATH if an old eog is already installed we are basically
impossible to debug a new eog build w/o overwriting the system
installation first or explicitly using "ld.so --inhibit-rpath" to
invoke it.

This "new" actually means "new in 2000," it's 24 years ago and all other
distros has enabled it.  Thus I guess some unexplainable "test suite
uses installed library instead of the just built one" issues in BLFS are
actually caused by this difference: the package author just assumes
everyone is using DT_RUNPATH thus they just set LD_LIBRARY_PATH and
consider it enough to test with the just built libraries, but DT_RPATH
breaks this expectation.

Let's eliminate the difference as it seems not doing anything good and
doing so just takes one switch.
2024-07-18 11:13:20 +08:00
..
bash.xml Package updates. 2024-05-11 15:17:56 -05:00
binutils-pass2.xml binutils: Add --enable-new-dtags 2024-07-18 11:13:20 +08:00
chapter06.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
coreutils.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
diffutils.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
file.xml Fix punctuation in quotes, and quote signs 2024-01-26 18:28:53 +01:00
findutils.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
gawk.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
gcc-pass2.xml gcc-pass2: Don't ambigiously use "previously" 2024-05-22 16:22:14 +08:00
grep.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
gzip.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
introduction.xml Move punctuation/comma into quotes for <xref>s 2024-06-22 11:43:31 +08:00
m4.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
make.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
ncurses.xml ncurses: Remove explicit --enable-widec in chapter 6 like chapter 8 2024-05-01 15:49:51 +08:00
patch.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
sed.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
tar.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
xz.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00