Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2012 14:07:02 -0500
From:      Jason Hellenthal <jhell@DataIX.net>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        Warren Block <wblock@wonkity.com>, freebsd-stable@freebsd.org
Subject:   Re: ld: kernel.debug: Not enough room for program headers
Message-ID:  <20120204190702.GC37724@DataIX.net>
In-Reply-To: <20120204184816.GA52504@icarus.home.lan>
References:  <alpine.BSF.2.00.1202041035400.59919@wonkity.com> <20120204184816.GA52504@icarus.home.lan>

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

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



On Sat, Feb 04, 2012 at 10:48:16AM -0800, Jeremy Chadwick wrote:
> On Sat, Feb 04, 2012 at 10:57:40AM -0700, Warren Block wrote:
> > Trying to build 8-stable i386 for the last couple of days gives this
> > error when building the kernel:
> >=20
> > /usr/local/libexec/ccache/world/cc -c -O -pipe -march=3Dprescott -std=
=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wm=
issing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointe=
r-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/con=
trib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno=
-common -finline-limit=3D8000 --param inline-unit-growth=3D100 --param larg=
e-function-growth=3D1000  -mno-align-long-strings -mpreferred-stack-boundar=
y=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fst=
ack-protector -Werror  vers.c
> > linking kernel.debug
> > ld: kernel.debug: Not enough room for program headers (allocated 5, nee=
d 6)
> > ld: final link failed: Bad value
> > *** Error code 1
> > 1 error
> > *** Error code 2
> > 1 error
> > *** Error code 2
> > 1 error
>=20
> The freebsd-stable mailing list has been filled with tinderbox failures
> for this exact problem with the LINT kernel, and it appears to be
> specific to RELENG_8 on i386.
>=20
> http://lists.freebsd.org/pipermail/freebsd-stable/2012-February/thread.ht=
ml
>=20
> Start from the bottom and search upwards for the string:
> "[releng_8 tinderbox] failure on i386/i386"
>=20
> Point being: the problem is not you.
>=20

This is why I don't like ccache. Technically the problem is there but
also coexists within the source itself. For whatever reason I would
believe a cached copy of already built source is having some collisions.
As already stated "NO CCACHE" the kernel can be built with what I
posted on three different machines.

--=20
;s =3D;

--gKMricLos+KVdGMg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJPLYHVAAoJEJBXh4mJ2FR+9V0H/jXTOQO8JjIDOe8qJvAbEXKu
Im9rdogmcbqQ5TzUcvlCp9DFmIyF/OWrceLau99rCGKEvPYUDI8MgmKk+wTeeZrJ
SokuYe1q4PJXqrAX3ktDFfymg5C8MRFefByc722Qkl9G1bQNxoNIDN39VoJZIQsD
5P8kcXeQTUwSuDaZBxYpnuUGx2WJcXgGggu2vUBRAEq+1Zy6Q2217RfFtBWv7Ozs
dRf6W56D2/IqF1eud47tJY1W5OLTwz4ljJqyMzLIkgLmZklcGLKVTLFQem3BRLIW
65hepADHpIDxaJ9fM6m9mUZGRhroSp1ksLprwkrPUeET5zKDsxuDY3v/9rY9fgk=
=ara/
-----END PGP SIGNATURE-----

--gKMricLos+KVdGMg--



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