gcc 14 and netbsd/alpha

matthew green <[email protected]> Mon, 03 Aug 2026 14:04:03 +1000
Newsgroups gmane.os.netbsd.devel.toolchain,gmane.os.netbsd.ports.alpha
Message-ID <[email protected]>
hi folks.


in -current, alpha and m68k are the only port still using gcc 12.
gcc 14 works fine for m68k and we will switch it sometime soon,
but there are at least two issues in alpha that need someone to
have a look at them.

from src/external/gpl3/gcc/README.gcc14:

[11]: alpha needs an -O0 for mopd's file.c to avoid an ICE.
[14]: cc1 crashes by jumping into rodata segment when compiling pkgsrc/pkg=
tools/libnbcompat:
      In file included from glob.c:12:
      __glob13.c: In function 'globextend':
      __glob13.c:800:1: internal compiler error: Illegal instruction
        800 | globextend(path, pglob, limit)
            | ^~~~~~~~~~
[15]: most(?) nfs-related tests timedout. ipf tests fail with incorrect re=
sults.
      some pic_profile variants of tests in usr.bin/c++ crash.

[11] is handled but could be looked at, but [14] and [15] are
serious problems (without workarounds?) yet.


any takers?  thanks.


.mrg.