https://sourceware.org/bugzilla/show_bug.cgi?id=32580

--- Comment #22 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <r...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=96ad2fd3c0c0414110fe58ed4ee511f49768fa3d

commit 96ad2fd3c0c0414110fe58ed4ee511f49768fa3d
Author: Rainer Orth <r...@cebitec.uni-bielefeld.de>
Date:   Fri Jul 25 09:49:13 2025 +0200

    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  <r...@cebitec.uni-bielefeld.de>

            ld:
            PR ld/32580
            * configure.ac <*-*-solaris2*>: Enforce SHELL=/bin/bash.
            * configure: Regenerate.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to