From owner-freebsd-questions@FreeBSD.ORG Sun Mar 22 15:57:29 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 E8B2E106566C for ; Sun, 22 Mar 2009 15:57:29 +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 5F08E8FC0A for ; Sun, 22 Mar 2009 15:57:29 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id C14ABEB533F; Sun, 22 Mar 2009 17:57:27 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id B046A4509B; Sun, 22 Mar 2009 17:57:27 +0200 (EET) 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 o9YTNdf1jqSn; Sun, 22 Mar 2009 17:57:27 +0200 (EET) Received: from kobe.laptop (adsl38-146.kln.forthnet.gr [77.49.165.146]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 7C48E4503F; Sun, 22 Mar 2009 17:57:27 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n2MFvR7Z014097; Sun, 22 Mar 2009 17:57:27 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n2MFvQjS014096; Sun, 22 Mar 2009 17:57:26 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: "\"Remorque\"" References: <991123400903220753o6909d0ban5ef235bacf2b3ab1@mail.gmail.com> Date: Sun, 22 Mar 2009 17:57:26 +0200 In-Reply-To: <991123400903220753o6909d0ban5ef235bacf2b3ab1@mail.gmail.com> (Remorque's message of "Sun, 22 Mar 2009 17:53:00 +0300") Message-ID: <87ljqxlfdl.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "freebsd-questions@freebsd.org" Subject: Re: Kernel compile fails 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, 22 Mar 2009 15:57:30 -0000 On Sun, 22 Mar 2009 17:53:00 +0300, "\"Remorque\"" wrote: > I have installed 7.1-RELEASE on a hardware with AMD processor. I have > successfully buildworld, and now doing the "make kernel" thing.The kernel > config file is pretty GENERIC, I only removed the option to build a DEBUG > kernel.I have csup-ped today. > However, my compilation fails, viz: > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -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 -mcmodel=kernel -mno-red-zone > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -Werror > /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/FS. > *** Error code 1 This snippet does not include *any* compiler warning or error line. Are you building with a high -j option? If yes, can you try removing the already built stuff from `/usr/obj/*' and rebuilding without any -jXXX option in the buildworld/buildkernel command-line?