]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: Remove LINK_OS_EXTRA_SPEC{32,64} from --with-advance-toolchain
authorLucas A. M. Magalhaes <lamm@linux.ibm.com>
Wed, 10 Nov 2021 14:21:26 +0000 (11:21 -0300)
committerSegher Boessenkool <segher@kernel.crashing.org>
Wed, 10 Nov 2021 14:32:09 +0000 (14:32 +0000)
commit9598134a055e9426fa283e51dac178d11af2c668
treefb2072846e1fcdd003d4f17f24db9b5e33d2e4a7
parenta1ad0d84d7fcbcaa7a697290387b911eb7e1bd46
rs6000: Remove LINK_OS_EXTRA_SPEC{32,64} from --with-advance-toolchain

Historically this was added to fill gaps from ld.so.cache on early AT
releases. This now are just causing errors and rework. Since AT5.0 the
AT's ld.so is using a correctly configured ld.so.cache and sets the
DT_INTERP to AT's ld.so. This two factors are sufficient for an AT
builded program to get the correct libraries.

GCC congured with --with-advance-toolchain has issues building GlibC
releases because it adds DT_RUNPATH to ld.so and that's unsupported.

2021-11-10  Lucas A. M. Magalhães  <lamm@linux.ibm.com>

gcc/
* config.gcc (powerpc*-*-*): Remove -rpath from
--with-advance-toolchain.
gcc/config.gcc