https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103420
Bug ID: 103420 Summary: libatomic fails to compile on aarch64 linux with TFLAGS="-mcpu=octeontx2" Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Target: aarch64-linux-gnu I was looking at the GCC patches that OpenEmbedded includes and found this one: https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/gcc/gcc/0037-libatomic-Do-not-enforce-march-on-aarch64.patch Well I decided to figure out how to reproduce the failure and what I found is if I use TFLAGS="-mcpu=octeontx2" I run into the failure.