From nobody@FreeBSD.org  Sun Sep 16 10:01:08 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id DE89537B40A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Sep 2001 10:01:07 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f8GH17i76937;
	Sun, 16 Sep 2001 10:01:07 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200109161701.f8GH17i76937@freefall.freebsd.org>
Date: Sun, 16 Sep 2001 10:01:07 -0700 (PDT)
From: Al Kwan <webmaster@hboss.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Error code 1 and 2 in make buildworld for 4.3-Release
X-Send-Pr-Version: www-1.0

>Number:         30610
>Category:       i386
>Synopsis:       Error code 1 and 2 in make buildworld for 4.3-Release
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 16 10:02:41 PDT 2001
>Closed-Date:    Sun Sep 16 23:34:24 PDT 2001
>Last-Modified:  Sun Sep 16 23:34:56 PDT 2001
>Originator:     Al Kwan
>Release:        4.3-Release
>Organization:
>Environment:
FreeBSD tornado.hboss.net 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Thu Sep 13 09:07:30 MDT 2001     akwan@tornado.hboss.net:/usr/src/sys/compile/TORNADO  i386
>Description:
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.
>Fix:

>Release-Note:
>Audit-Trail:

From: Al Kwan <al@powersurfr.com>
To: freebsd-gnats-submit@FreeBSD.org, webmaster@hboss.net
Cc:  
Subject: Re: i386/30610: Error code 1 and 2 in make buildworld for
  4.3-Release
Date: Sun, 16 Sep 2001 18:25:56 -0600

 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
 
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Sun Sep 16 23:34:24 PDT 2001 
State-Changed-Why:  
Submitter reports that the problem was a transient failure. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30610 
>Unformatted:
