Bug 30610

Summary: Error code 1 and 2 in make buildworld for 4.3-Release
Product: Base System Reporter: Al Kwan <webmaster>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Al Kwan 2001-09-16 18:02:41 UTC
Running 4.3-Release. Cvsup'd to 4.x-stable, make -j 10 buildworld, make installworld no problems. When I tried to config KERNELNAME though, it came with a crash. As I'd already did the "make installworld" I now:
-cd /usr/src ; rm -rf *
-cd /usr/obj ; chflags -R noschg * ; rm -rf *
-cvsup back to 4.3-release srcs
-cd /usr/src ; make -j 10 buildworld

During the make I get this error:

tils/ld/../../../../contrib/binutils/ld/ldwrite.c
eelf_i386.c: In function `gldelf_i386_check_ld_elf_hints':
eelf_i386.c:175: `_PATH_ELF_HINTS' undeclared (first use in this function)
eelf_i386.c:175: (Each undeclared identifier is reported only once
eelf_i386.c:175: for each function it appears in.)
eelf_i386.c:178: storage size of `hdr' isn't known
eelf_i386.c:181: `ELFHINTS_MAGIC' undeclared (first use in this function)
cc -O -pipe  -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/ld/i386 -I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd/i386 -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include -DDEFAULT_EMULATION=\"elf_i386\" -DTARGET=\"i386-unknown-freebsd\" -DSCRIPTDIR=\"/usr/obj/usr/src/i386/usr/libdata\" -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld -DVERSION=\"2.10.1\" -DBFD_VERSION=\"2.10.1\"   -I/usr/obj/usr/src/i386/usr/include -c /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/lexsup.c
cc -O -pipe  -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/ld/i386 -I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd/i386 -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include -DDEFAULT_EMULATION=\"elf_i386\" -DTARGET=\"i386-unknown-freebsd\" -DSCRIPTDIR=\"/usr/obj/usr/src/i386/usr/libdata\" -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld -DVERSION=\"2.10.1\" -DBFD_VERSION=\"2.10.1\"   -I/usr/obj/usr/src/i386/usr/include -c /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/mri.c
cc -O -pipe  -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/ld/i386 -I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd/i386 -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include -DDEFAULT_EMULATION=\"elf_i386\" -DTARGET=\"i386-unknown-freebsd\" -DSCRIPTDIR=\"/usr/obj/usr/src/i386/usr/libdata\" -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld -DVERSION=\"2.10.1\" -DBFD_VERSION=\"2.10.1\"   -I/usr/obj/usr/src/i386/usr/include -c ldlex.c
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

How-To-Repeat: If I try any kind of make buildworld I get the error again.
Comment 1 al 2001-09-17 01:25:56 UTC
Problem resolved. I removed /usr/src/* and /usr/obj, cvsup'd the 4x-stable 
srcs built and installed world as well as customized and installed kernel 
no problem.

Al Kwan
Comment 2 Peter Pentchev freebsd_committer freebsd_triage 2001-09-17 07:34:24 UTC
State Changed
From-To: open->closed

Submitter reports that the problem was a transient failure.