Building -current on Linux ("tools" and "libs") with -V HAVE_GCC=12, I
get this right now:
# compile libcrypt/blake2b.o
/opt/build-netbsd.3673118/tools/bin/vax--netbsdelf-gcc -O2 -fdebug-prefix-map=\$DESTDIR= -fmacro-prefix-map=\$DESTDIR= -fdebug-prefix-map=\$NETBSDSRCDIR=/usr/src -fmacro-prefix-map=\$NETBSDSRCDIR=/usr/src -fdebug-prefix-map=\$X11SRCDIR=/usr/xsrc -fmacro-prefix-map=\$X11SRCDIR=/usr/xsrc -fdebug-regex-map='/usr/src/(.*)/obj$=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj/(.*)=/usr/obj/\1/\2' -fdebug-regex-map='/usr/src/(.*)/obj\..*=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj\..*/(.*)=/usr/obj/\1/\2' -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/opt/build-netbsd.3673118/dest -include /opt/build-netbsd.3673118/src/lib/libcrypt/namespace.h -DHAVE_ARGON2 -DARGON2_NO_THREADS -I/opt/build-netbsd.3673118/src/external/apache2/argon2/dist/phc-winner-argon2/include -Wp,-iremap,/opt/build-netbsd.3673118/dest: -Wp,-fno-canonical-system-headers -Wp,-iremap,/opt/build-netbsd.3673118/src:/usr/src -Wp,-iremap,/usr/xsrc:/usr/xsrc -D_FORTIFY_SOURCE=2 -c -fvisibility=hidden /opt/build-netbsd.3673118/src/external/apache2/argon2/dist/phc-winner-argon2/src/blake2/blake2b.c -o blake2b.o
during RTL pass: postreload
/opt/build-netbsd.3673118/src/external/apache2/argon2/dist/phc-winner-argon2/src/blake2/blake2b.c: In function 'blake2b_compress':
/opt/build-netbsd.3673118/src/external/apache2/argon2/dist/phc-winner-argon2/src/blake2/blake2b.c:222:1: internal compiler error: in cselib_invalidate_regno, at cselib.cc:2490
222 | }
| ^
0x7fda31ff9189 __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7fda31ff9244 __libc_start_main_impl
../csu/libc-start.c:381
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
*** Failed target: blake2b.o
Are there patches on the fly to catch this? Or is this new?