https://sourceware.org/bugzilla/show_bug.cgi?id=32297
Bug ID: 32297
Summary: sframe: bfd assertion with empty main on IBT enabled
system
Product: binutils
Version: 2.43
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: indu.bhagat at oracle dot com
Target Milestone: ---
On an IBT enabled system, a user reported the following failure:
# cat test-noop.c
int main() {}
# gcc -O2 -Wa,-gsframe -o test-noop test-noop.c
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: BFD
(Gentoo 2.43 p1) 2.43.0 assertion fail
/var/tmp/portage/sys-devel/binutils-2.43/work/binutils-2.43/bfd/elfxx-x86.c:1988
The offending line is:
BFD_ASSERT (ectx);
in _bfd_x86_elf_write_sframe_plt ().
--
You are receiving this mail because:
You are on the CC list for the bug.