On Fri, Apr 9, 2021 at 12:09 PM Jonathan Wakely via Gcc-help < gcc-help@xxxxxxxxxxx> wrote: > On Fri, 9 Apr 2021 at 19:57, Jonathan Brandmeyer wrote: > > > > We're using GCC v9.3.0 on a newer laptop, as packaged by Ubuntu for > > 20.04 LTS. Our build for host-native tools naturally enables > > cpu-specific optimization with `-march=native`. The gcc driver is > > passing -march=tigerlake down to cc1 (or cc1plus). The driver > > program's auto-detection is correct in that this is tiger lake > > hardware. However, it is not supported in this release of GCC. > > How have you got a gcc driver that disagrees with cc1 about what is > supported? They're supposed to come from the same release. > Looks like a bug in gcc-9. tigerlake was added to gcc/config/i386/driver-i386.c but not to the arch_names_table in i386.c. I would suggest filing a bug report. I don't think there is a way to workaround this. It needs to be fixed in the gcc source tree. Jim