Date: Tue, 20 Mar 2012 11:11:07 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Ken Smith <kensmith@freebsd.org> Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-8@freebsd.org Subject: Re: svn commit: r233211 - stable/8/sys/conf Message-ID: <20120320091107.GG2358@deviant.kiev.zoral.com.ua> In-Reply-To: <201203192220.q2JMKmuk088963@svn.freebsd.org> References: <201203192220.q2JMKmuk088963@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--sLx0z+5FKKtIVDwd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 19, 2012 at 10:20:48PM +0000, Ken Smith wrote: > Author: kensmith > Date: Mon Mar 19 22:20:47 2012 > New Revision: 233211 > URL: http://svn.freebsd.org/changeset/base/233211 >=20 > Log: > We seem to be having issues with a bug in the loader that causes it to s/loader/linker/ > estimate the program header size for the kernel wrong. It can result > in the kernel build failing with the message: > =20 > ld: kernel.debug: Not enough room for program headers (allocated 5, nee= d 6) > ld: final link failed: Bad value > =20 > Tinderbox builds were failing with this message a short time ago, and > I encountered it while preparing the i386 build machine for the 8.3-RC2 > builds. > =20 > Konstantin has looked at it and believes the issue was fixed in recent > versions of binutils. It is a bit too late in the release process to > be messing around with the loader and/or binutils. This workaround > seems to take care of the problem for now. > =20 > Reviewed by: kib >=20 > Modified: > stable/8/sys/conf/ldscript.i386 >=20 > Modified: stable/8/sys/conf/ldscript.i386 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- stable/8/sys/conf/ldscript.i386 Mon Mar 19 22:08:13 2012 (r233210) > +++ stable/8/sys/conf/ldscript.i386 Mon Mar 19 22:20:47 2012 (r233211) > @@ -6,7 +6,7 @@ SEARCH_DIR(/usr/lib); > SECTIONS > { > /* Read-only sections, merged into text segment: */ > - . =3D kernbase + kernload + SIZEOF_HEADERS; > + . =3D kernbase + kernload + 256; > .interp : { *(.interp) } > .hash : { *(.hash) } > .dynsym : { *(.dynsym) } --sLx0z+5FKKtIVDwd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEUEARECAAYFAk9oSasACgkQC3+MBN1Mb4hFMQCYh0a2QesJJcRbyheL07GIizAs YwCggeGklaNJb6IyI6XCGOLJV61hTgM= =IyqL -----END PGP SIGNATURE----- --sLx0z+5FKKtIVDwd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120320091107.GG2358>