[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/26869] New: ld: assertion fail ../../bfd/elflink.c:14806 on i686
From: |
mliska at suse dot cz |
Subject: |
[Bug ld/26869] New: ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu |
Date: |
Thu, 12 Nov 2020 09:11:12 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26869
Bug ID: 26869
Summary: ld: assertion fail ../../bfd/elflink.c:14806 on
i686-linux-gnu
Product: binutils
Version: 2.35.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: mliska at suse dot cz
Target Milestone: ---
I hit the following assert:
void
elf_append_rel (bfd *abfd, asection *s, Elf_Internal_Rela *rel)
{
const struct elf_backend_data *bed = get_elf_backend_data (abfd);
bfd_byte *loc = s->contents + (s->reloc_count++ * bed->s->sizeof_rel);
BFD_ASSERT (loc + bed->s->sizeof_rel <= s->contents + s->size);
bed->s->swap_reloc_out (abfd, rel, loc);
}
I use tip of 2.35-branch and it happens when I link
../../lib/libQt5WebEngineCore.so.5.12.10 on i686 with LTO enabled.
It's related to .rel.got section and it contains ~2000 reloc_count and it
really writes one after s->reloc_count * bed->s->sizeof_rel.
Any hint on how to debug that?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/26869] New: ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu,
mliska at suse dot cz <=
- [Bug ld/26869] ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu, mliska at suse dot cz, 2020/11/12
- [Bug ld/26869] ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu, address@hidden, 2020/11/12
- [Bug ld/26869] ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu, mliska at suse dot cz, 2020/11/12
- [Bug ld/26869] ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu since 382aae06322799a25ea52fe61b243cbca4db8d66, mliska at suse dot cz, 2020/11/12
- [Bug ld/26869] ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu since 382aae06322799a25ea52fe61b243cbca4db8d66, hjl.tools at gmail dot com, 2020/11/12
- [Bug ld/26869] ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu since 382aae06322799a25ea52fe61b243cbca4db8d66, hjl.tools at gmail dot com, 2020/11/12
- [Bug ld/26869] ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu since 382aae06322799a25ea52fe61b243cbca4db8d66, cvs-commit at gcc dot gnu.org, 2020/11/13
- [Bug ld/26869] ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu since 382aae06322799a25ea52fe61b243cbca4db8d66, hjl.tools at gmail dot com, 2020/11/13
- [Bug ld/26869] ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu since 382aae06322799a25ea52fe61b243cbca4db8d66, mliska at suse dot cz, 2020/11/14
- [Bug ld/26869] ld: assertion fail ../../bfd/elflink.c:14806 on i686-linux-gnu since 382aae06322799a25ea52fe61b243cbca4db8d66, cvs-commit at gcc dot gnu.org, 2020/11/16