From owner-freebsd-stable@FreeBSD.ORG Sat Feb 4 18:43:31 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 9879C106566C for ; Sat, 4 Feb 2012 18:43:31 +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 3A5568FC1A for ; Sat, 4 Feb 2012 18:43:30 +0000 (UTC) Received: by iaeo4 with SMTP id o4so9817787iae.13 for ; Sat, 04 Feb 2012 10:43:30 -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=wOTzGr9h9S1AHjbGN/yFjcqwQCj1GDyg92VKdfEPiwo=; b=DU5RxMTtSPbLwQmEFOoydlqkWCp2pyMSbMn3gsgWmZSXi7/GhUuC9D3DU5Te/HuUdG 5B3MmXgVw9WFthXHo2vCzhFKlUCGsAqHwyK9pktMqURLIwim8vyiPF4ltfkCgiQtoAlH z+FF2N2E5xz2Dic4q3boNRBzUsyRMhJm1VVqE= Received: by 10.50.41.131 with SMTP id f3mr3370997igl.28.1328381010493; Sat, 04 Feb 2012 10:43:30 -0800 (PST) Received: from DataIX.net ([99.181.135.57]) by mx.google.com with ESMTPS id xu6sm13483434igb.7.2012.02.04.10.43.28 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Feb 2012 10:43:29 -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 q14IhPIX026515 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Feb 2012 13:43:25 -0500 (EST) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q14IhPYv026486; Sat, 4 Feb 2012 13:43:25 -0500 (EST) (envelope-from jhell@DataIX.net) Date: Sat, 4 Feb 2012 13:43:24 -0500 From: Jason Hellenthal To: Warren Block Message-ID: <20120204184324.GA37724@DataIX.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-stable@freebsd.org 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 18:43:31 -0000 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=prescott -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror vers.c > linking kernel.debug > ld: kernel.debug: Not enough room for program headers (allocated 5, need 6) > ld: final link failed: Bad value > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > > > Use (or not) of ccache doesn't change the error. > > The kernel config file is > > include GENERIC > nocpu I486_CPU > ident LIGHTNING > > nooptions INET6 > nooptions WITNESS > nooptions INVARIANTS > > nodevice eisa > > nodevice fdc > > device ahci > #options ATA_CAM > ... > (followed by a lot of nodevice and nooption entries to disable unneeded > stuff from GENERIC). Not sure if this has anything to do with it but (/usr/local/libexec/ccache/world/cc) My last kernel build completed perfectly (...completed on Sat Feb 4 11:18:21 EST 2012) You might have to clean your cache. -- ;s =;