From owner-freebsd-stable@FreeBSD.ORG Sat Feb 4 23:03:39 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24A23106566C for ; Sat, 4 Feb 2012 23:03:38 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9789A8FC08 for ; Sat, 4 Feb 2012 23:03:38 +0000 (UTC) Received: by iaeo4 with SMTP id o4so10111518iae.13 for ; Sat, 04 Feb 2012 15:03:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=+vJlnaW4Cv6vk7LfA+evWN11xciYpLpdsEmoDlx2ghc=; b=I2q7b30T3QVhaFbtPiWhCTwPnIIo94TsgZDQtC0DLQX1nKc0HdPA4L+mE5A1JV6bRD X7KabXQH7Uk+fQTZpmbSbWifbFX2aVqxeMaKx8QInA/df7/Qjmhm008ZuZ8JwCClad1+ 48ocix3KmCoyGxiKW0szTDDdGuW2KdncODy/8= Received: by 10.43.49.66 with SMTP id uz2mr11814468icb.38.1328396617950; Sat, 04 Feb 2012 15:03:37 -0800 (PST) Received: from DataIX.net (adsl-99-181-135-57.dsl.klmzmi.sbcglobal.net. [99.181.135.57]) by mx.google.com with ESMTPS id ey5sm667801igb.4.2012.02.04.15.03.35 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Feb 2012 15:03:36 -0800 (PST) Sender: Jason Hellenthal Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q14N3Wtj013872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Feb 2012 18:03:33 -0500 (EST) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q14N3WHm013436; Sat, 4 Feb 2012 18:03:32 -0500 (EST) (envelope-from jhell@DataIX.net) Date: Sat, 4 Feb 2012 18:03:32 -0500 From: Jason Hellenthal To: Warren Block Message-ID: <20120204230332.GA582@DataIX.net> References: <20120204184816.GA52504@icarus.home.lan> <20120204190702.GC37724@DataIX.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: Cc: freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: ld: kernel.debug: Not enough room for program headers X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 23:03:39 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 04, 2012 at 12:54:58PM -0700, Warren Block wrote: > On Sat, 4 Feb 2012, Jason Hellenthal wrote: >=20 > > 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: > >>> > >>> /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, n= eed 6) > >>> ld: final link failed: Bad value > >>> *** Error code 1 > >>> 1 error > >>> *** Error code 2 > >>> 1 error > >>> *** Error code 2 > >>> 1 error > >> > >> 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. > >> > >> http://lists.freebsd.org/pipermail/freebsd-stable/2012-February/thread= =2Ehtml > >> > >> Start from the bottom and search upwards for the string: > >> "[releng_8 tinderbox] failure on i386/i386" > >> > >> Point being: the problem is not you. > >> > > > > 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 > But it still does (did) not build here with NOCCACHE set, so it's not=20 > a ccache problem. I have seen ccache before run anyway even though .if statements are within make.conf to prevent it. It was something to do with make and friends built from world with ccache and after it would continue to use ccache regardless. This can be verified by watching the cache hits and misses during a compile with NOCCACHE set. Its tough to revert from this but involves removing ccache/distcc from the system. --=20 ;s =3D; --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJPLblDAAoJEJBXh4mJ2FR+aMUH/jrmYRawa4qoKsUD7/e7GWsq jlOY1y+MyY0U6qKuawxzxBRvnLZEvB6AUNnpD8ywLFy1Bwa8eMmhCOveqc0fGjK6 LFEPXaGZ3qFD9R53Y2wvZTEjr4fO2yVzQ9g6y8znMVBI3i+2veiCpodB3yrfFEkS J3f6M4lTbAEJ/MtyJ168qnVub0Tq0KHi+OmBBjQiBc1N+Tj/g61Lryy3lFQdbeZI YzihVZcF5ixvkMRVjnBYp1R+NGOyAgcsHN2eWdz7CsbnCTCle0TK5u2b7ZDStWfk eF+Ne3mBOv8qqziVbJDWm/GbsW3nco5AHmtuGU9HbhTriSmGUfTr67lO5SbOSMM= =gmST -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--