Subject: toolchain/19182: X86 -current build failure
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dokas@cs.umn.edu>
List: netbsd-bugs
Date: 11/26/2002 14:15:45
>Number: 19182
>Category: toolchain
>Synopsis: -current on X86 does not build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 26 12:16:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Paul Dokas
>Release: NetBSD 1.6K as of 11/26/2002
>Organization:
Department of Computer Science
University of Minnesota
>Environment:
System: NetBSD csci.cs.umn.edu 1.6K NetBSD 1.6K (CSCI) #4: Mon Nov 25 09:11:26 CST 2002 root@csci.cs.umn.edu:/usr/src/sys/arch/i386/compile/CSCI i386
Architecture: i386
Machine: i386
>Description:
I get the following error when I attempt to rebuild an X86 machine with -current
as of today (11/26/2002). The build of a new kernel worked just fine and it booted
without any problem. But when I did this:
cd /usr/src
./build -T /usr/tools -O /usr/obj
I get this:
-------------------------------------SNIP-SNIP-------------------------------------
.
.
.
/usr/tools/bin/i386--netbsdelf-gcc -O2 -DALL_STATE -DUSG_COMPAT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow -Werror -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -nostdinc -isystem /usr/include -c -D_I18N_DYNAMIC -fPIC -DPIC /usr/src/lib/libc/yp/ypprot_err.c -o ypprot_err.so
building standard c library
/usr/tools/bin/i386--netbsdelf-ranlib libc.a
building profiled c library
/usr/tools/bin/i386--netbsdelf-ranlib libc_p.a
building shared object c library
/usr/tools/bin/i386--netbsdelf-ranlib libc_pic.a
building shared c library (version 12.89)
/usr/tools/bin/i386--netbsdelf-ld -nostdlib -x -shared -soname libc.so.12 -o libc.so.12.89 /usr/lib/crti.o /usr/lib/crtbeginS.o --whole-archive libc_pic.a --no-whole-archive -L/lib -L/usr/lib -R/lib -R/usr/lib /usr/lib/crtendS.o /usr/lib/crtn.o
ln -sf libc.so.12.89 libc.so.12.tmp
mv -f libc.so.12.tmp libc.so.12
ln -sf libc.so.12.89 libc.so.tmp
mv -f libc.so.tmp libc.so
building llib-lc.ln
Lint pass2:
sed -e 's/mdX/md2/g' -e 's/MDX/MD2/g' /usr/src/lib/libc/md/mdX.3 > md2.3
cat /usr/src/lib/libc/md/md2.copyright >> md2.3
sed -e 's/mdX/md4/g' -e 's/MDX/MD4/g' /usr/src/lib/libc/md/mdX.3 > md4.3
cat /usr/src/lib/libc/md/md4.copyright >> md4.3
sed -e 's/mdX/md5/g' -e 's/MDX/MD5/g' /usr/src/lib/libc/md/mdX.3 > md5.3
cat /usr/src/lib/libc/md/md5.copyright >> md5.3
PATH=/usr/tools/lib/groff:${PATH} /usr/tools/bin/nbgroff -Tascii -mtty-char -mandoc /usr/src/lib/libc/db/man/btree.3 > btree.cat3.tmp && mv btree.cat3.tmp btree.cat3
/usr/tools/bin/nbgroff: can't find `DESC' file
/usr/tools/bin/nbgroff:fatal error: invalid device `ascii'
Abort trap - core dumped
*** Error code 134
Stop.
nbmake: stopped in /usr/src/lib/libc
*** Error code 1
Stop.
nbmake: stopped in /usr/src/lib/libc
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: failed to make build
*** BUILD ABORTED ***
-------------------------------------SNIP-SNIP-------------------------------------
The only relevant thing that I've got in /etc/mk.conf is this:
TOOLDIR=/usr/tools
The toolchain appears to have built just fine. And /usr/tools/share/groff/font/devascii/ is there
and appears to be fully populated:
csci# pwd
/usr/tools/share/groff/font/devascii
csci# ls -la
total 11
drwxr-xr-x 2 root wheel 512 Nov 26 11:42 ./
drwxr-xr-x 14 root wheel 512 Jan 21 2002 ../
-rw-r--r-- 1 root wheel 1517 Nov 26 11:42 B
-rw-r--r-- 1 root wheel 1518 Nov 26 11:42 BI
-rw-r--r-- 1 root wheel 88 Nov 26 11:42 DESC
-rw-r--r-- 1 root wheel 1517 Nov 26 11:42 I
-rw-r--r-- 1 root wheel 1502 Nov 26 11:42 R
>How-To-Repeat:
Build a new kernel with today's -current, reboot with it and then attempt to rebuild the world.
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: