[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: |
matz at suse dot de |
Subject: |
[Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247 |
Date: |
Thu, 10 Oct 2024 16:29:23 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32260
--- Comment #1 from Michael Matz <matz at suse dot de> ---
Welcome back big testcase :-)
> XXX bfdtab->count=1751 table->nbuckets=524288
> XXX bfdtab->count=1752 table->nbuckets=0
So, something between those two wants to reallocate the hash table to have
more buckets than can fit into an uint. Like in that other bug report, maybe
also print the sizes of sections or the number of presumed entries that it
wants to maximally add to get a feel for how much this is overestimating stuff.
(E.g. in sec_merge_maybe_resize to print the 'added' param from inside the
if condition there; or sec->size in the sole caller of that function)
It may be that this is again a too aggressive overestimation. But it may also
be real, in which case we really need to audit the code paths that are supposed
to handle the cannot-enlarge-hashtable-anymore case (what essentially is
supposed
to happen is that these overly large input sections simply aren't deduplicated
but pasted into the output as is; obviously something goes wrong for that to
happen).
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/32260] New: regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, jonny.weir at clearpool dot io, 2024/10/10
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, sam at gentoo dot org, 2024/10/10
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, sam at gentoo dot org, 2024/10/10
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247,
matz at suse dot de <=
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, jonny.weir at clearpool dot io, 2024/10/10
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, amodra at gmail dot com, 2024/10/10
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, jonny.weir at clearpool dot io, 2024/10/11
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, amodra at gmail dot com, 2024/10/11
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, matz at suse dot de, 2024/10/14
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, matz at suse dot de, 2024/10/15
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, matz at suse dot de, 2024/10/15
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, matz at suse dot de, 2024/10/15
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, jonny.weir at clearpool dot io, 2024/10/15
- [Bug ld/32260] regression: /bin/ld: BFD (GNU Binutils for Debian) 2.43.1 assertion fail ../../bfd/merge.c:247, cvs-commit at gcc dot gnu.org, 2024/10/17