diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-07-25 09:49:13 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-07-25 09:49:13 +0200 |
commit | 96ad2fd3c0c0414110fe58ed4ee511f49768fa3d (patch) | |
tree | 6eb3f4e6341855931ea0b04e022e350fb9987645 /libctf/testsuite/libctf-writable | |
parent | 626987854890e7a0b7479e5b33f1c24459b219cd (diff) | |
download | binutils-96ad2fd3c0c0414110fe58ed4ee511f49768fa3d.zip binutils-96ad2fd3c0c0414110fe58ed4ee511f49768fa3d.tar.gz binutils-96ad2fd3c0c0414110fe58ed4ee511f49768fa3d.tar.bz2 |
ld: Force SHELL=/bin/bash in ld for Solaris [PR32580]
As described in PR ld/32580, when using SHELL=/bin/sh or /bin/ksh on
Solaris, the generated linker scripts get corrupted. So far, the only
workaround is to enforce /bin/bash instead.
This is a major nuisance for developers and users alike, so this patch
automates this by overriding SHELL in ld/configure.ac.
Tested on amd64-pc-solaris2.11 in three configurations:
* CONFIG_SHELL unset
* CONFIG_SHELL=/bin/ksh
* CONFIG_SHELL='/bin/bash --norc'
In the first two cases, SHELL was set to /bin/bash as desired, while in
the third it was left unchanged.
2025-07-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
ld:
PR ld/32580
* configure.ac <*-*-solaris2*>: Enforce SHELL=/bin/bash.
* configure: Regenerate.
Diffstat (limited to 'libctf/testsuite/libctf-writable')
0 files changed, 0 insertions, 0 deletions