lfs-ru/chapter05
Poltern 77512d60a7 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-08-06 21:07:39 +05:00
..
binutils-pass1.xml binutils: Add --enable-new-dtags 2024-08-06 21:07:39 +05:00
chapter05.xml Add Chapter 9 and small translate fix 2022-08-13 00:17:03 +05:00
gcc-pass1.xml Typo fix 2023-09-21 11:44:33 +05:00
glibc.xml Fix punctuation in quotes, and quote signs 2024-02-01 22:12:23 +05:00
introduction.xml Add chapter 5 ( Добавлена глава 5) 2022-05-19 23:46:02 +05:00
libstdc++.xml Minor reword 2023-09-21 12:37:44 +05:00
linux-headers.xml Translated page about kernel 2023-06-12 19:09:10 +05:00