CVS commit: [matt-nb5-mips64] src/sys/conf

2010-01-26 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan 27 07:28:09 UTC 2010

Modified Files:
src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc

Log Message:
If we're making a gdb kernel, insert the symtab in that as well.


To generate a diff of this commit:
cvs rdiff -u -r1.118.4.2.4.2 -r1.118.4.2.4.3 src/sys/conf/Makefile.kern.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-09 Thread Jason Thorpe


On Sep 4, 2009, at 9:19 PM, Matt Thomas wrote:



On Sep 4, 2009, at 8:59 PM, Izumi Tsutsui wrote:


Modified Files:
src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc

Log Message:
Don't abort if DBSYM fails.


It was intentionally changed to fatal:
http://cvsweb.NetBSD.org/bsdweb.cgi/src/sys/conf/Makefile.kern.inc#rev1.70

. Make this error a fatal build time error

---
Izumi Tsutsui


I see no reason to make it fatal.  It means that when I build a  
kernel with

DEBUG, my kernel build will fail.  That's stupid.

/u1/netbsd-nb5-mips64/tools/bin/mips64el--netbsd-strip -g -X -o  
netbsd netbsd.gdb

/u1/netbsd-nb5-mips64/tools/bin/mips64el--netbsd-dbsym netbsd
mips64el--netbsd-dbsym: symbol table (6124416 bytes) too big for  
buffer (175000 bytes)

Increase options SYMTAB_SPACE in your kernel config

-rwxr-xr-x  1 matt  staff   9262360 Sep  4 20:28 MALTA64/netbsd
-rwxr-xr-x  1 matt  staff  29851080 Sep  4 20:28 MALTA64/netbsd.gdb


We should figure out a way to make symbols appendable as an ELF  
section.




  textdata bss dec hex filename
2609483  223104  267656 3100243  2f4e53 MALTA64/netbsd
2609483  223104  267656 3100243  2f4e53 MALTA64/netbsd.gdb


-- thorpej



re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-05 Thread matthew green

I see no reason to make it fatal.
   
   Otherwise we cannot detect errors on release build,
   i.e. no ksym(4) supports.
   
It means that when I build a kernel  
with
DEBUG, my kernel build will fail.  That's stupid.
   
   Then disable it only if DEBUG, or keep it only in your local tree.


why can't we make it size for DEBUG builds and not fail anywhere?


.mrg.


Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-05 Thread Simon Burge
matthew green wrote:

 I see no reason to make it fatal.

Otherwise we cannot detect errors on release build,
i.e. no ksym(4) supports.

 It means that when I build a kernel  
 with
 DEBUG, my kernel build will fail.  That's stupid.

Then disable it only if DEBUG, or keep it only in your local tree.
 
 
 why can't we make it size for DEBUG builds and not fail anywhere?

The proper fix would be to dynamically size this somehow, so that no
space is ever wasted.

Cheers,
Simon.


Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-04 Thread Matt Thomas


On Sep 4, 2009, at 8:59 PM, Izumi Tsutsui wrote:


Modified Files:
src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc

Log Message:
Don't abort if DBSYM fails.


It was intentionally changed to fatal:
http://cvsweb.NetBSD.org/bsdweb.cgi/src/sys/conf/Makefile.kern.inc#rev1.70

 . Make this error a fatal build time error

---
Izumi Tsutsui


I see no reason to make it fatal.  It means that when I build a kernel  
with

DEBUG, my kernel build will fail.  That's stupid.

/u1/netbsd-nb5-mips64/tools/bin/mips64el--netbsd-strip -g -X -o netbsd  
netbsd.gdb

/u1/netbsd-nb5-mips64/tools/bin/mips64el--netbsd-dbsym netbsd
mips64el--netbsd-dbsym: symbol table (6124416 bytes) too big for  
buffer (175000 bytes)

Increase options SYMTAB_SPACE in your kernel config

-rwxr-xr-x  1 matt  staff   9262360 Sep  4 20:28 MALTA64/netbsd
-rwxr-xr-x  1 matt  staff  29851080 Sep  4 20:28 MALTA64/netbsd.gdb

   textdata bss dec hex filename
2609483  223104  267656 3100243  2f4e53 MALTA64/netbsd
2609483  223104  267656 3100243  2f4e53 MALTA64/netbsd.gdb