https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101966
--- Comment #5 from frans at fransdb dot nl --- On 8/18/21 10:09 PM, sch...@linux-m68k.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101966 > > --- Comment #2 from Andreas Schwab <sch...@linux-m68k.org> --- > Why are you overriding CC_FOR_TARGET? > > All build modules need to be executable on the build system, so host=build is > correct. > > Where does -mtune=cortex-a53 come from? > Overriding CC_FOR_TARGET: just to make sure that the right cross compiler - build in the first phase - is used and not the compiler from the build system. This is the second phase where I compile gcc into an aarch64 native compiler. So, host is not equal build system in this (second) phase. -mtune-core-a53: from CFLAGS, just to make sure that no code is generated for the cortex-a72. --- Frans.