It seams that rustc since 1.98 has hard coded pre-link-args like this, that breaks building with ld.bfd of gcc 4.9.4
"pre-link-args": {
"gcc": [
"-Wl,--fix-cortex-a53-843419"
]
}
It is not possible to get rid of this error with -mno-fix-cortex-a53-843419.
This regression comes from #155453
Code
I tried this code:
I expected to see this happen: regular linking
Instead, this happened: aarch64-unknown-linux-gnueabi/bin/ld.bfd: unrecognized option '--fix-cortex-a53-843419'
Version it worked on
It most recently worked on: 1.97.1
Version with regression
rustc --version --verbose:
Backtrace
Backtrace
It seams that rustc since 1.98 has hard coded pre-link-args like this, that breaks building with ld.bfd of gcc 4.9.4
It is not possible to get rid of this error with
-mno-fix-cortex-a53-843419.This regression comes from #155453
Code
I tried this code:
<code>I expected to see this happen: regular linking
Instead, this happened:
aarch64-unknown-linux-gnueabi/bin/ld.bfd: unrecognized option '--fix-cortex-a53-843419'Version it worked on
It most recently worked on: 1.97.1
Version with regression
rustc --version --verbose:Backtrace
Backtrace