https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84077
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- -march=native is ambiguous, please run g++ with the given options with additional -v and attach what it emits as cc1plus command line.