On Tue, 11 Jul 2023 at 16:03, matthew green <m...@eterna.com.au> wrote: > > can you try commenting/removing this line (@L44 in -current) in > external/gpl3/gcc/usr.bin/Makefile.inc: > > CXXFLAGS+= -std=gnu++98 > > i started seeing at least the gcc.c failure with GCC 10.5, and it > seems that the upstream build doesn't use this by default now, and > removing it fixed the build for me.
I started with an unmodified tree (i.e., above not applied), it died.. But a pull and re-try built. For reference tip is: commit 54cd507a2324fb39b6955bf3284dfa6d9a92090b (HEAD -> trunk, origin/trunk, origin/HEAD) Author: mrg <m...@netbsd.org> Date: Wed Jul 12 07:35:15 2023 +0000 don't force gnu++98 here. fixes build issues seen with GCC 10.5, as well as hopefully ones reported by Andrew Cagney on current-users. thanks