From owner-freebsd-questions@FreeBSD.ORG  Sun Sep 20 15:15:18 2009
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
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 D8EFE1065672
	for <freebsd-questions@freebsd.org>;
	Sun, 20 Sep 2009 15:15:18 +0000 (UTC) (envelope-from mrkvrg@acm.org)
Received: from xena.bway.net (xena.bway.net [216.220.96.26])
	by mx1.freebsd.org (Postfix) with ESMTP id 7B5298FC21
	for <freebsd-questions@freebsd.org>;
	Sun, 20 Sep 2009 15:15:18 +0000 (UTC)
Received: (qmail 23126 invoked by uid 0); 20 Sep 2009 15:15:17 -0000
Received: from unknown (HELO gecko3.bs.net) (216.220.115.34)
	by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP;
	20 Sep 2009 15:15:17 -0000
From: mfv <mrkvrg@acm.org>
To: FreeBSD Questions <freebsd-questions@freebsd.org>
Date: Sun, 20 Sep 2009 11:15:15 -0400
User-Agent: KMail/1.12.1 (FreeBSD/7.2-STABLE; KDE/4.3.1; i386; ; )
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200909201115.15669.mrkvrg@acm.org>
Subject: Not able to compile GENERIC kernel
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Sep 2009 15:15:18 -0000

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

Stop in /usr/src/sys/modules/acpi/acpi.
*** Error code 1

Stop in /usr/src/sys/modules/acpi.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

[root] /usr/src #