tech-toolchain archive

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

-current sparc build failure with MKDEBUG=yes/COPTS=-g



Hi,

I finally got time to dig into -current NetBSD/sparc build failure
with MKDEBUG=yes && COPTS=-g.

The problem lies in miniroot.fs build :

     create  miniroot/miniroot.fs
nbmakefs: `work'size of 8527872 is larger than the maxsize of 8388608.
--- miniroot.fs ---
*** [miniroot.fs] Error code 1

Some files in usr/mdec have indeed larger size with COPTS=-g

-r--r--r--  1 njoly  users  78230 Nov 17 13:02 bootjs.net
-r--r--r--  1 njoly  users  92392 Nov 17 13:02 ofwboot
-r--r--r--  1 njoly  users  92392 Nov 17 13:02 ofwboot.net

-r--r--r--  1 njoly  users  310196 Nov 17 14:34 bootjs.net
-r--r--r--  1 njoly  users  370643 Nov 17 14:34 ofwboot
-r--r--r--  1 njoly  users  370643 Nov 17 14:34 ofwboot.net

Is the attached patch, which clear COPTS, correct ?

Thanks.

-- 
Nicolas Joly

Projects and Developments in Bioinformatics
Institut Pasteur, Paris.
Index: sys/arch/sparc/stand/Makefile.inc
===================================================================
RCS file: /cvsroot/src/sys/arch/sparc/stand/Makefile.inc,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile.inc
--- sys/arch/sparc/stand/Makefile.inc   11 Dec 2005 12:19:08 -0000      1.10
+++ sys/arch/sparc/stand/Makefile.inc   17 Nov 2011 22:28:11 -0000
@@ -7,6 +7,7 @@ BINDIR=         /usr/mdec
 
 CPPFLAGS+=     -DSTANDALONE -I.
 CFLAGS+=       -msoft-float -ffreestanding
+COPTS=
 
 .if ${MACHINE} == "sparc64"
 CPPFLAGS+=     -DSUN4U


Home | Main Index | Thread Index | Old Index