Subject: Re: kern/13353: can not build libc when running a -current kernel
To: None <martin@duskware.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-bugs
Date: 07/01/2001 21:53:24
On Sun, Jul 01, 2001 at 06:51:45PM +0200, martin@duskware.de wrote:
> System: NetBSD setting-sun.duskware.de 1.5W NetBSD 1.5W (GENERIC) #0: Sun Jul 1 15:12:50 MEST 2001 martin@setting-sun.duskware.de:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
> Architecture: sparc64
> Machine: sparc64
> >Description:
> 
> The problem is there for more than a week now, maybe two. I first suspected
> hardware failure, but can rule out that now. Furthermore I suspected pmap
> changes in the sparc64 pmap, but Ken Wellsch sees exactly the same symptoms
> on his alpha.
> 
> So, what happens is this: if I boot a current kernel, goto usr/src/lib/libc,
> do "make cleandir" there and then "make", after that "make install" as root
> (to fasten the test process, I set NOMAN, NOLINT and NOPROFILE) I get:
> 
> install -r  -c  -o root  -g wheel -m 600 libc.a /usr/lib/libc.a
> ranlib -t /usr/lib/libc.a
> chmod 444 /usr/lib/libc.a
> install -r  -c  -o root  -g wheel -m 600 libc_pic.a /usr/lib/libc_pic.a
> ranlib -t /usr/lib/libc_pic.a
> chmod 444 /usr/lib/libc_pic.a
> install -r  -c  -o root  -g wheel -m 444 libc.so.12.76 /usr/lib/libc.so.12.76
> ln -sf libc.so.12.76 /usr/lib/libc.so.12.tmp
> mv -f /usr/lib/libc.so.12.tmp /usr/lib/libc.so.12
> ln -sf libc.so.12.76 /usr/lib/libc.so.tmp
> mv -f /usr/lib/libc.so.tmp /usr/lib/libc.so
> Segmentation fault - core dumped
> install -r  -c   -o root -g wheel -m 444 /usr/src/lib/libc/db/man/btree.3 /usr/share/man/man3/btree.3
> unknown group wheel*** Error code 1

FYI, I have the same problem on my alpha. I've also failures from more.
I've also seen this on my vax a few weeks ago and I didn't investigate further.
I've a new make build running on this machine, I'll see if it fails too.

However restoring the old libc make things work, but installing the new one
again fails with the same error.


--
Manuel Bouyer <bouyer@antioche.eu.org>
--