On Wed, 2023-03-15 at 19:06 +0000, Jonathan Wakely via Gcc-help wrote: > On Wed, 15 Mar 2023, 18:17 Alejandro Colomar via Gcc-help, < > gcc-help@xxxxxxxxxxx> wrote: > > > Hi, > > > > I'm getting this error while building GCC from the master branch: > > > > alx@debian:~/src/gnu/gcc/.tmp$ make 'BOOT_CFLAGS=-march=native' bootstrap /* snip */ > --disable-werror should work around it. FWIW if you are altering BOOT_CFLAGS, it will be more likely you'll need --disable-werror than a "plain" build. And it seems you are altering BOOT_CFLAGS in a wrong way. AFAIK you need 'BOOT_CFLAGS="-march=native -O2"' or you are removing the default - O2 flag. The result will be slower. -- Xi Ruoyao <xry111@xxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University