https://sourceware.org/bugzilla/show_bug.cgi?id=31182
Bug ID: 31182
Summary: /usr/bin/ld.gold: internal error in
try_fix_erratum_843419_optimized, at
../../gold/aarch64.cc:2114
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: behrooze at gmail dot com
CC: ian at airs dot com
Target Milestone: ---
I appear to be hitting an internal assertion in the gold linker causing linking
to fail. It is 100% reproducible for a particular build target. A slight change
in the source code can get rid of the issue, which I assume is by chance the
problematic assembly sequence is not generated.
I was able to reproduce this on binutils 2.41 as well as on 2.34
I can work around this by downgrading the optimization level to `-O1`. I also
found that I can work around this by disabling the errata fix via
`--no-fix-cortex-a53-843419` option. However, I do not want to disable it given
that it is meant to work around a hardware erratum.
If needed, I can provide more information about my build environment.
--
You are receiving this mail because:
You are on the CC list for the bug.