bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/25501] New: STT_GNU_IFUNC causes assertion on 64-bit RISC-V


From: aurelien at aurel32 dot net
Subject: [Bug ld/25501] New: STT_GNU_IFUNC causes assertion on 64-bit RISC-V
Date: Tue, 04 Feb 2020 12:21:13 +0000

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

            Bug ID: 25501
           Summary: STT_GNU_IFUNC causes assertion on 64-bit RISC-V
           Product: binutils
           Version: 2.34
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: aurelien at aurel32 dot net
  Target Milestone: ---

Created attachment 12250
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12250&action=edit
Script to reproduce the issue

Starting with GNU libc 2.30, the testsuite includes some IFUNC related tests
even if only the assembler and the linker supports that feature (as opposed to
compiler, assembler and linker before). Some of the tests can not be linked as
they trigger an assertion in LD:

/usr/bin/ld: BFD (GNU Binutils for Debian) 2.34 assertion fail
../../bfd/elfnn-riscv.c:2507
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.34 assertion fail
../../bfd/elfnn-riscv.c:2508
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.34 assertion fail
../../bfd/elfnn-riscv.c:2507
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.34 assertion fail
../../bfd/elfnn-riscv.c:2507
collect2: error: ld returned 1 exit status

I have added a reproducer script with sources extracted from the GNU libc as an
attachment.

-- 
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]