ld segfaulting for crisv32
Waldemar Brodkorb
wbx@openadk.org
Mon Sep 7 08:01:47 GMT 2020
Hi,
when building a uClibc toolchain for crisv32 ld is segfaulting.
I git bisected binutils and the faulty commit is:
Binutils 2.29.1 is the last workinng released version.
commit e01c16a83893b03433c8edf4ccae536d9b9f4831
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Sat Oct 14 11:09:29 2017 -0700
cris: Check UNDEFWEAK_NO_DYNAMIC_RELOC
Don't generate dynamic relocation against weak undefined symbol if it
is resolved to zero. FIXME: UNDEFWEAK_NO_DYNAMIC_RELOC may need to be
checked in more places.
bfd/
PR ld/22269
* elf32-cris.c (cris_elf_relocate_section): Don't generate
dynamic relocation if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
(cris_elf_check_relocs): Don't allocate dynamic relocation
if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
ld/
PR ld/22269
* testsuite/ld-cris/weakhiddso.d: Update and remove R_CRIS_NONE.
Anything can be done to fix that?
best regards
Waldemar
More information about the Binutils
mailing list