ld segfaulting for crisv32

Hans-Peter Nilsson hp@axis.com
Mon Sep 7 21:47:21 GMT 2020
> From: Waldemar Brodkorb <wbx@openadk.org>
> Date: Mon, 7 Sep 2020 10:01:47 +0200

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

Thank you for the report!  I assume you refer to ld configured for the
crisv32-linux target (canonically crisv32-axis-linux-gnu).

Though, as H.J. mentioned, the preferred form for a bug-report is a
bugzilla entry.
See https://sourceware.org/bugzilla/show_bug.cgi?id=26578 for an
example of a recent entry.

> commit e01c16a83893b03433c8edf4ccae536d9b9f4831
[...]
>            * testsuite/ld-cris/weakhiddso.d: Update and remove R_CRIS_NONE.
> Anything can be done to fix that?

If you could help by constructing a reproducer, preferably in the form
of a test-case for the binutils test-suite (see e.g. the referenced
test-case) that now SEGV's but was supposed to work, and attach it to
the (new) bugzilla entry, that'd help a lot, likely up to the point of
whether the bug be fixed or not.

Also, please beware that crisv32-* (all subtargets, including
crisv32-linux, and all cris*-linux) are "obsoleted" in gcc-10 and
removed in gcc-11 (leaving just cris-elf).

brgds, H-P


More information about the Binutils mailing list