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

--- Comment #15 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alan Modra <[email protected]>:

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

commit 17883a4c42c6a210e758836040e3bca5ea55fcff
Author: Alan Modra <[email protected]>
Date:   Sat Dec 20 14:14:47 2025 +1030

    more solaris config tidies

    This patch is primarily about making ld and bfd config match for
    solaris targets.  In commit 3677b7296185 I made the bfd config match
    the ld config, which resulted in PR 27666.  This goes the other way,
    changing the ld config to match bfd.  The current mismatch results in
    failures like:
    ..ld-new: target elf32-i386 not found
    FAIL: Build libgot-1-i386.so
    The problem is that even though the elf32-i386 target is compiled in
    to bfd, it is excluded from the list of targets supported by bfd.
    ld -V says it is there, but can't use it..

    Secondarily, remove "want64" from the 32-bit x86 and sparc solaris
    targets in config.bfd, and arrange for ld/configure.tgt to match that
    by using targ64_extra_emuls.  This means that on a 32-bit host you
    won't get the 64-bit solaris target support by default.  Setting
    "want64" forces use of 64-bit bfd_vma on such hosts, which usually
    isn't needed for a 32-bit target, and when "want64" is true it is a
    little odd to see targ64_selvecs used.  Also, some nonsense has crept
    in to ld/configure.tgt regarding targ_extra_libpath.  Any target
    mentioned in targ_extra_libpath does not need to be mentioned in
    targ_extra_emuls.  So tidy that for solaris.

    Finally, matching of solaris targets has been simplified.  This does
    not change target triple matching, except with --enable-obsolete.
    Without --enable-obsolete, you will still need to specify solaris2.10
    or solaris2.11 as the operating system part of the target triple, and
    this is expected to become permanent after the next binutils release.

            PR 27666
    bfd/
            * config.bfd: Simplify solaris target matching.  Remove
            "want64" from x86 and 32-bit sparc solaris targets.
    ld/
            * configure.tgt: Remove non-solaris targets from the x86 and
            32-bit sparc solaris targets, and use targ64 variables to add
            conditional 64-bit targets.  Don't unnecessarily add targets
            to targ_extra_emuls that appear in targ_extra_libpatch.
            Simplify solaris target matching.

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

Reply via email to