Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2001 17:14:20 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Mark Zieg <mark@zieg.com>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: i386/29039: boot2 fails to compile on -STABLE
Message-ID:  <20010809171419.C18161@xor.obsecurity.org>
In-Reply-To: <200108011400.f71E04u68667@freefall.freebsd.org>; from mark@zieg.com on Wed, Aug 01, 2001 at 07:00:04AM -0700
References:  <200108011400.f71E04u68667@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZmUaFz6apKcXQszQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 01, 2001 at 07:00:04AM -0700, Mark Zieg wrote:

>  /usr/src/sys/boot/i386/boot2 fails to make.  Gives "elf_load_section: tr=
uncated ELF file", "Abort trab", "Error Code 134".
>  >How-To-Repeat:
>  rearden /usr/src/sys/boot/i386/boot2 [mzieg] $ sudo make
> =20
>  dd if=3D/dev/zero of=3Dboot2.ldr bs=3D512 count=3D1 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

Sounds like a corrupted object file.  Do the following:

rm -rf /usr/obj && cd /usr/src && make cleandir && make cleandir

And try again.

Kris

--ZmUaFz6apKcXQszQ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7cydZWry0BWjoQKURAvb/AKC7+480IQ/DJMBO4b+ZahiEMJ6ZawCgj2Wy
erIyLq62X3Q9tpgvf1jvDAA=
=jFaQ
-----END PGP SIGNATURE-----

--ZmUaFz6apKcXQszQ--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010809171419.C18161>