toolchain/60567: netbsd-11 "build.sh tools" fails on GCC 15 hosts

"Izumi Tsutsui via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
>Number:         60567
>Category:       toolchain
>Synopsis:       netbsd-11 "build.sh tools" fails on GCC 15 hosts
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 10 00:40:00 +0000 2026
>Originator:     Izumi Tsutsui
>Release:        NetBSD 11.0
>Organization:
>Environment:
System: NetBSD mirage 11.0 NetBSD 11.0 (GENERIC) #0: Thu Jul 30 15:23:12 UTC 2026 [email protected]:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386 (and all)
Machine: i386 (and all)
>Description:
build.sh on GCC 15 hosts (ubuntu 26.04 etc.) fails in src/tools/texinfo:
 https://mail-index.netbsd.org/current-users/2025/11/28/msg047068.html
due to -Werror=incompatible-pointer-types caused by -std=gnu23
(default on gcc15).

build.sh on GCC 14 hosts (debian 13 etc.) works.

>How-To-Repeat:
Fetch netbsd-11 src sets and
"sh build.sh -U -m amd64 tools"
on GCC 15 hosts.

>Fix:
Pull the following commit to HEAD?
 https://mail-index.netbsd.org/source-changes/2025/12/31/msg159803.html

(Maybe we should have daily build tests on non-NetBSD hosts?)
---
Izumi Tsutsui
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.