From owner-freebsd-questions@FreeBSD.ORG Sun Sep 20 16:55:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5AC61065676 for ; Sun, 20 Sep 2009 16:55:46 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 839698FC08 for ; Sun, 20 Sep 2009 16:55:46 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id C1DC5EB4D6C; Sun, 20 Sep 2009 19:55:45 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id B1AA045171; Sun, 20 Sep 2009 19:55:45 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J0sLfJSiKVos; Sun, 20 Sep 2009 19:55:45 +0300 (EEST) Received: from kobe.laptop (adsl71-241.kln.forthnet.gr [77.49.118.241]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 6E75645148; Sun, 20 Sep 2009 19:55:45 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n8KGtiJQ034307 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Sep 2009 19:55:44 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n8KGtiXB034292; Sun, 20 Sep 2009 19:55:44 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: mfv References: <200909201115.15669.mrkvrg@acm.org> Date: Sun, 20 Sep 2009 19:55:44 +0300 In-Reply-To: <200909201115.15669.mrkvrg@acm.org> (mfv's message of "Sun, 20 Sep 2009 11:15:15 -0400") Message-ID: <87vdjdimi7.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: Not able to compile GENERIC kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2009 16:55:46 -0000 On Sun, 20 Sep 2009 11:15:15 -0400, mfv wrote: > Hello, > > After rebuilding FreeBSD for many years I am not able to build a > GENERIC kernel for the last few days. It always stops when compiling > acpi. > > The source code is up to date for 7 -STABLE for i386 on a amd64 cpu. > I have always been able to recompile a GENERIC kernel since release > 5.1 and do not know what I am doing wrong. > > Any help would be greatly appreciated. > > With thanks. > > Marek > > The following is the tail end of "make buildkernel": > > cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 - > nostdinc -I /usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica > -DHAVE_KERNEL_OPTION_ HEADERS -include > /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/a ltq > -finline-limit=8000 --param inline-unit-growth=100 --param large- > function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/GENERIC > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow > -mno-sse -mno-sse2 -mno-sse3 - ffreestanding -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmi ssing-prototypes -Wpointer- > arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -c /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi _machdep.c > @ ->/usr/src/sys > ln: @/sys: Operation not permitted > *** Error code 1 Can you wipe our /usr/obj and start with a clean object tree? You may also have stale build artifacts in /usr/src so something like this might be a good idea: # rm -fr /usr/obj/usr # cd /usr/src # make cleandir ; make cleandir