From nobody@FreeBSD.org  Tue Jul 17 07:40:03 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 8E55A37B408
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 17 Jul 2001 07:40:03 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f6HEe3Y20395;
	Tue, 17 Jul 2001 07:40:03 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200107171440.f6HEe3Y20395@freefall.freebsd.org>
Date: Tue, 17 Jul 2001 07:40:03 -0700 (PDT)
From: Craig Hawco <dest@syd.eastlink.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: boot2 fails to compile on -STABLE
X-Send-Pr-Version: www-1.0

>Number:         29039
>Category:       i386
>Synopsis:       boot2 fails to compile on -STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 17 07:50:00 PDT 2001
>Closed-Date:    Wed Jul 25 19:47:15 PDT 2001
>Last-Modified:  Wed Aug  1 07:00:02 PDT 2001
>Originator:     Craig Hawco
>Release:        4.3-RELEASE
>Organization:
>Environment:
FreeBSD process.dhs.org 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49
GMT 2001     jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC  i386
>Description:
When compiling boot2 bootloader during a make buildworld it fails
with the following message:
dd if=/dev/zero of=boot2.ldr bs=512 count=1 2>/dev/null
elf_load_section: truncated ELF file
Abort trap
>How-To-Repeat:
make buildworld on -STABLE or cd /usr/src/sys/boot/i386/boot2 && make
>Fix:

>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@FreeBSD.ORG>
To: Craig Hawco <dest@syd.eastlink.ca>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: i386/29039: boot2 fails to compile on -STABLE
Date: Tue, 17 Jul 2001 18:12:05 +0300

 Not reproduceable on 4.2-STABLE and 4.3-STABLE systems.
 
 
 Cheers,
 -- 
 Ruslan Ermilov		Oracle Developer/DBA,
 ru@sunbay.com		Sunbay Software AG,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.512.251	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Wed Jul 25 19:47:15 PDT 2001 
State-Changed-Why:  
This doesn't appear to be a problem in FreeBSD; perhaps you 
have something local which is getting in the way.  Make sure you 
are building from a clean system (e.g. rm -rf /usr/obj; make cleandir, etc) 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29039 

From: Mark Zieg <mark@zieg.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: RE: i386/29039: boot2 fails to compile on -STABLE
Date: Wed, 1 Aug 2001 06:55:53 -0700 (PDT)

 >Submitter-Id:	net
 >Originator:	Mark Zieg
 >Organization:	Zieg.com
 >Confidential:	no
 >Synopsis:	RE: i386/29039: boot2 fails to compile on -STABLE
 >Severity:	non-critical
 >Priority:	low
 >Category:	i386
 >Class:		sw-bug
 >Release:	4.3-STABLE
 >Environment:	FreeBSD rearden.zieg.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Mon Jul 30 03:20:35 GMT 2001 root@wyatt.zieg.com:/usr/obj/usr/src/sys/GENERIC i386
 >Description:
 /usr/src/sys/boot/i386/boot2 fails to make.  Gives "elf_load_section: truncated ELF file", "Abort trab", "Error Code 134".
 >How-To-Repeat:
 rearden /usr/src/sys/boot/i386/boot2 [mzieg] $ sudo make
 
 dd if=/dev/zero of=boot2.ldr bs=512 count=1 2>/dev/null
 elf_load_section: truncated ELF file
 Abort trap
 *** Error code 134
 Stop in /usr/src/sys/boot/i386/boot2.
 >Fix:
 # cd /usr/src/bin/dd ; make ; make install
>Unformatted:
