public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5124] rs6000: Remove LINK_OS_EXTRA_SPEC{32, 64} from --with-advance-toolchain
@ 2021-11-10 14:35 Segher Boessenkool
0 siblings, 0 replies; only message in thread
From: Segher Boessenkool @ 2021-11-10 14:35 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:9598134a055e9426fa283e51dac178d11af2c668
commit r12-5124-g9598134a055e9426fa283e51dac178d11af2c668
Author: Lucas A. M. Magalhaes <lamm@linux.ibm.com>
Date: Wed Nov 10 11:21:26 2021 -0300
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.
Diff:
---
gcc/config.gcc | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/gcc/config.gcc b/gcc/config.gcc
index b1082cdbab1..edd12655c4a 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -5088,16 +5088,6 @@ case "${target}" in
(at="/opt/$with_advance_toolchain"
echo "/* Use Advance Toolchain $at */"
echo
- echo "#undef LINK_OS_EXTRA_SPEC32"
- echo "#define LINK_OS_EXTRA_SPEC32" \
- "\"%(link_os_new_dtags)" \
- "-rpath $prefix/lib -rpath $at/lib\""
- echo
- echo "#undef LINK_OS_EXTRA_SPEC64"
- echo "#define LINK_OS_EXTRA_SPEC64" \
- "\"%(link_os_new_dtags)" \
- "-rpath $prefix/lib64 -rpath $at/lib64\""
- echo
echo "#undef LINK_OS_NEW_DTAGS_SPEC"
echo "#define LINK_OS_NEW_DTAGS_SPEC" \
"\"--enable-new-dtags\""
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-10 14:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 14:35 [gcc r12-5124] rs6000: Remove LINK_OS_EXTRA_SPEC{32, 64} from --with-advance-toolchain Segher Boessenkool
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).