NetBSD-Bugs archive

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

PR/60839 CVS commit: src/sys/arch/zaurus/conf



The following reply was made to PR kern/60839; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60839 CVS commit: src/sys/arch/zaurus/conf
Date: Tue, 6 Oct 2026 13:08:56 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Tue Oct  6 13:08:56 UTC 2026
 
 Modified Files:
 	src/sys/arch/zaurus/conf: GENERIC INSTALL
 
 Log Message:
 zaurus: MOve COPTS="-Os" from INSTALL to GENERIC.
 
 INSTALL includes GENERIC, so no change to INSTALL.  But the reason
 for -Os (a size limitation of the bootloader, checked at build-time)
 appears to apply just as well to any kernel, not just INSTALL, and
 the recent change to flip on -ftrivial-auto-var-init bumped GENERIC
 over the limit too:
 
 Checking kernel size...
 Fatal: kernel size must be less than 5MB.
 Fatal: kernel size: 5247920, max kernel size: 5242880
 --- netbsd ---
 
 *** Failed target: netbsd
 *** In directory: /home/builds/ab/HEAD/zaurus/20261006081837Z-obj/home/source/ab/HEAD/src/sys/arch/zaurus/compile/GENERIC
 
 Setting COPTS="-Os" both tells the compiler to make smaller code, and
 turns off the -ftrivial-auto-var-init logic in Makefile.kern.inc,
 which with any luck should help fix the zaurus build.
 
 PR kern/60839: use -ftrivial-auto-var-init
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.97 -r1.98 src/sys/arch/zaurus/conf/GENERIC
 cvs rdiff -u -r1.41 -r1.42 src/sys/arch/zaurus/conf/INSTALL
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index