Subject: apcupsd core dumps - how to build unstripped?
To: None <port-sparc@netbsd.org>
From: D G Teed <donald.teed@gmail.com>
List: port-sparc
Date: 09/09/2007 06:56:47
Periodically, apcupsd dumps core after running for awhile.
I considered making a bug report but I didn't get much out of gdb...
This GDB was configured as "sparc--netbsdelf"...(no debugging symbols found)...
Core was generated by `apcupsd'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libintl.so.0...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libintl.so.0
Reading symbols from /usr/lib/libpthread.so.0...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libpthread.so.0
Reading symbols from /usr/lib/libsparc_v8.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsparc_v8.so.0
Reading symbols from /usr/lib/libc.so.12...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.12
Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols found)...
done.
Loaded symbols for /usr/libexec/ld.elf_so
#0 0x200a02d4 in pthread__errorfunc () from /usr/lib/libpthread.so.0
(gdb) where
#0 0x200a02d4 in pthread__errorfunc () from /usr/lib/libpthread.so.0
#1 0x2009ca00 in pthread_mutex_unlock () from /usr/lib/libpthread.so.0
#2 0x2014237c in fork () from /usr/lib/libc.so.12
#3 0x0001f19c in _init ()
#4 0x00018e50 in _init ()
#5 0x00019104 in _init ()
#6 0x00019528 in _init ()
#7 0x00014934 in _init ()
#8 0x00011f24 in _init ()
#9 0x000117bc in _init ()
This is probably because the daemon is stripped. Is there a standard
way in netbsd to avoid the strip step during the make install?
--Donald