Subject: toolchain/25408: Build problem in libc for 1.6.2_STABLE
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cwr@nexthop.com>
List: netbsd-bugs
Date: 04/30/2004 18:08:22
>Number: 25408
>Category: toolchain
>Synopsis: libc build failure with build.sh in 1.6 head
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 30 22:09:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Christopher W. Richardson
>Release: NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD achilles 1.6.2 NetBSD 1.6.2 (ACHILLES) #1: Thu Mar 4 18:28:26 EST 2004 cwr@achilles:/usr/src/sys/arch/i386/compile/ACHILLES i386
Architecture: i386
Machine: i386
>Description:
libc fails thusly in make dependall stage using build.sh:
egrep "^ENTRY(.*)|^FUNC(.*)|^SYSCALL(.*)" /dev/null /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/alloca.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/byte_swap_2.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/byte_swap_4.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/fabs.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/modf.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/flt_rounds.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/fpgetmask.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/fpgetround.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/fpgetsticky.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/fpsetmask.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/fpsetround.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/fpsetsticky.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/setjmp.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/__setjmp14.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/_setjmp.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/sigsetjmp.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/__sigsetjmp14.S /usr/
src-1-6_STABLE/lib/libc/arch/i386/gen/divsi3.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/fixdfsi.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/fixunsdfsi.S /usr/src-1-6_STABLE/lib/libc/arch/i386/gen/udivsi3.S /usr/src-1-6_STABLE/lib/libc/arch/i386/stdlib/abs.S /usr/src-1-6_STABLE/lib/libc/arch/i386/stdlib/div.S /usr/src-1-6_STABLE/lib/libc/arch/i386/stdlib/labs.S /usr/src-1-6_STABLE/lib/libc/arch/i386/stdlib/ldiv.S /usr/src-1-6_STABLE/lib/libc/arch/i386/stdlib/llabs.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/bcmp.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/bcopy.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/bzero.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/ffs.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/index.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/memchr.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/memcmp.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/memcpy.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/memmove.S /usr/src-1-6_STABLE/lib/libc
/arch/i386/string/memset.S /usr/src-1-6_STABLE/lib/libc/arch!
/i386/st
ring/rindex.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/strcat.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/strchr.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/strcmp.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/strcpy.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/strlen.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/strncmp.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/strrchr.S /usr/src-1-6_STABLE/lib/libc/arch/i386/string/swab.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/Ovfork.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/__clone.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/__vfork14.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/brk.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/exect.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/fork.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/msgctl.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/pipe.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/ptrace.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/sbrk.S /usr/src-1-6_STABLE/li
b/libc/arch/i386/sys/__semctl.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/setlogin.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/shmat.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/shmctl.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/sigaction.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/sigpending.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/sigprocmask.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/sigreturn.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/__sigreturn14.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/sigsuspend.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/syscall.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/__syscall.S /usr/src-1-6_STABLE/lib/libc/arch/i386/sys/cerror.S accept.S access.S acct.S bind.S chdir.S chflags.S chmod.S chown.S chroot.S clock_getres.S clock_gettime.S close.S connect.S dup.S dup2.S execve.S fchdir.S fchflags.S fchmod.S fchown.S fchroot.S fcntl.S fdatasync.S fhopen.S fhstat.S fhstatfs.S fktrace.S flock.S fpathconf.S __fstat13.S fstatfs.S fsync.S
futimes.S __getcwd.S getdents.S getfh.S getfsstat.S getgrou!
ps.S get
itimer.S __getlogin.S getpeername.S getpgid.S getpgrp.S getpriority.S getrlimit.S getrusage.S getsid.S getsockname.S getsockopt.S gettimeofday.S ioctl.S kill.S ktrace.S lchflags.S lchmod.S lchown.S __lstat13.S lfs_bmapv.S lfs_markv.S lfs_segclean.S lfs_segwait.S link.S listen.S lutimes.S madvise.S mincore.S minherit.S mkdir.S mkfifo.S mknod.S mlock.S mlockall.S mount.S mprotect.S __msgctl13.S msgget.S msgrcv.S msgsnd.S __msync13.S munlock.S munlockall.S munmap.S nanosleep.S nfssvc.S ntp_gettime.S open.S pathconf.S poll.S profil.S quotactl.S read.S readlink.S readv.S reboot.S recvfrom.S recvmsg.S rename.S revoke.S rmdir.S select.S semconfig.S semget.S semop.S ____semctl13.S sendmsg.S sendto.S setegid.S seteuid.S setgid.S setgroups.S setitimer.S setpgid.S setpriority.S setregid.S setreuid.S setrlimit.S setsid.S setsockopt.S setuid.S __shmctl13.S shmdt.S shmget.S shutdown.S __sigaction14.S __sigaltstack14.S __sigpending14.S __sigprocmask14.S __sigsuspend14.S socket.S socketpair.
S __stat13.S statfs.S swapctl.S symlink.S umask.S undelete.S unlink.S unmount.S utimes.S utrace.S vadvise.S wait4.S write.S writev.S __sysctl.S __posix_chown.S __posix_fchown.S __posix_lchown.S __posix_rename.S sysarch.S getegid.S geteuid.S getgid.S getpid.S getppid.S getuid.S issetugid.S sync.S _exit.S | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$/;" >> tags; sort -o tags tags
7118: not found
6787: not found
7032: not found
7138: not found
7089: not found
7166: not found
6904: not found
7023: not found
7069: not found
7091: not found
7119: not found
7159: not found
6315: not found
6556: not found
6890: not found
6982: not found
6985: not found
7046: not found
7125: not found
7146: not found
7140: not found
7148: not found
7128: not found
7138: not found
6979: not found
7036: not found
7103: not found
7162: not found
7169: not found
*** Error code 127
Stop.
nbmake: stopped in /usr/src-1-6_STABLE/lib/libc
*** Error code 1
Stop.
nbmake: stopped in /usr/src-1-6_STABLE/lib/libc
*** Error code 1
Stop.
nbmake: stopped in /usr/src-1-6_STABLE
*** Error code 1
Stop.
nbmake: stopped in /usr/src-1-6_STABLE
*** Error code 1
Stop.
nbmake: stopped in /usr/src-1-6_STABLE
Before following the steps in "How-To-Repeat", I had done a normal cvs up
of the 1-6 branch, rebuilt the 1.6_STABLE kernel (which went fine), and
even booted with it. It was only after building ./build.sh failed with
the above that I started trying to back up to as clean of an environment as
possible. So there were several incantations of .build.sh executed both
with the 1.6.2 and the 1.6_STABLE kernel along the way, but they all
ultimately fail this way.
>How-To-Repeat:
cvs get -Pd src-1-6_STABLE -r netbsd-1-6 src
rm -rf /usr/obj/*
rm -rf /usr/build/*
rm -rf /usr/tools/*
cd src-1-6_STABLE
./build.sh -t -T /usr/tools
./build.sh -d -r -D /usr/build -T /usr/tools
/etc/mk.conf:
ACCEPTABLE_LICENSES+=adobe-acrobat-license
ACCEPTABLE_LICENSES+=fee-based-commercial-use
DESTDIR=/usr/build
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: