-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
Aarch64 broken with gcc not supporting --fix-cortex-a53-843419 linker flag #161486
Copy link
Copy link
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}Issue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.regression-untriagedUntriaged performance or correctness regression.Untriaged performance or correctness regression.
Description
Activity
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}Issue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.regression-untriagedUntriaged performance or correctness regression.Untriaged performance or correctness regression.
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