From owner-freebsd-questions@FreeBSD.ORG Sun Mar 22 15:23:58 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 189BF1065673 for ; Sun, 22 Mar 2009 15:23:58 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [66.119.213.2]) by mx1.freebsd.org (Postfix) with ESMTP id AA4928FC0A for ; Sun, 22 Mar 2009 15:23:57 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from kstewart2.owt.com (kstewart2.owt.com [64.146.237.228]) (authenticated bits=0) by smtp.owt.com (8.13.8/8.13.8) with ESMTP id n2MFNudt010673; Sun, 22 Mar 2009 08:23:56 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=owt.com; s=default; t=1237735437; bh=5Jw15EWv9rpOFVfk0jZMJ32/iEQKZCEtkoF2SxJB1nk=; h=From:To:Subject:Date:Cc:References:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id; b=HKP+fMGLPYvqG h40FFxr0zNvFxwMV2UhiJ6a3sQIltbEDeL017KkZJXbsjmatKHHINewFiswEt8U/wUw QAw/6ESoJwTzvSKz7FBx6tpA5M8vVjrQe4DIwX8DfI7n4k/wP/3nb0opMCm5cmnh+5O hl07S78Qp8l5cMq06qhShFfU= From: Kent Stewart To: freebsd-questions@freebsd.org Date: Sun, 22 Mar 2009 08:23:56 -0700 User-Agent: KMail/1.9.10 References: <991123400903220753o6909d0ban5ef235bacf2b3ab1@mail.gmail.com> In-Reply-To: <991123400903220753o6909d0ban5ef235bacf2b3ab1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903220823.56243.kstewart@owt.com> Cc: "\"Remorque\"" 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:23:58 -0000 On Sunday 22 March 2009 07:53:00 am "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 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > > I can go ahead and comment out all ath_* from the configuration, since I > wouldn't really need them at this juncture, but I believe it should not be > failing anyway. Do I just wait to csup again tomorrow and hope this gets > fixed? :) You have optimization options on the compile line that I don't have on my system. From this, I would guess that you have a cflags statment in /etc/make.conf and it is bitting you. Kent -- kent Stewart Richland, WA http://users.owt.com/kstewart/index.html