NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/59894: Cross build of tools fails on stable branches



>Number:         59894
>Category:       toolchain
>Synopsis:       Cross build of tools fails on stable branches
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 06 22:35:00 +0000 2026
>Originator:     Christoph Lemke
>Release:        netbsd-9, netbsd-10, netbsd-11
>Organization:
>Environment:
Linux zbook 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux
>Description:
Build tools on non NetBSD systems fails because 'lib/libc/stdlib/strtonum.c' was added to 'tools' but the '__RCSID()' macro is not available on non NetBSD systems in <sys/cdefs.h>
>How-To-Repeat:
Checkout 'netbsd-9' | 'netbsd-10' | 'netbsd-11' on a Linux machine and run:
./build.sh -U -m amd64 tools
>Fix:
Fix is already in trunk but missing in stable branches (netbsd-9, netbsd-10, netbsd-11):
https://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strtonum.c.diff?r1=1.7;r2=1.8



Home | Main Index | Thread Index | Old Index