bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247
Date: Thu, 17 Oct 2024 14:44:44 +0000

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

--- Comment #11 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Michael Matz <matz@sourceware.org>:

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

commit ed3228de9b3335e5c97f738fc22d682f56d42316
Author: Michael Matz <matz@suse.de>
Date:   Tue Oct 15 18:47:15 2024 +0200

    PR32260: Improve error handling on string merging

    if the input sections are near the max supported size (4G)
    we might fail to enlarge the hash table.  The error handling
    for this case didn't quite work.  When this happens we can
    gracefully fall back to just not deduplicate this section
    (and continue with further mergable sections).  We were mixing
    that with the case of not being able to even allocate a small
    structure (in which case we can as well error out completely),
    this disentables both cases.

            bfd/

            PR ld/32260
            * merge.c (sec_merge_maybe_resize): Check overflow in ultimate
            target type.
            (record_section): Return three-state, use new state when unable
            to enlarge hash table.
            (_bfd_merge_sections): Remove current section from merging
            consideration when hashtable can't be enlarged.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]