From owner-freebsd-questions@FreeBSD.ORG Wed Feb 11 13:02:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9271F16A4CE; Wed, 11 Feb 2004 13:02:34 -0800 (PST) Received: from mout.perfora.net (mout.perfora.net [217.160.230.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BD0B43D31; Wed, 11 Feb 2004 13:02:34 -0800 (PST) (envelope-from roop@hqst.com) Received: from [217.160.230.51] (helo=smtp.perfora.net) by mout.perfora.net with esmtp (Exim 3.35 #1) id 1Ar1VA-0006Rl-00; Wed, 11 Feb 2004 16:02:32 -0500 Received: from [24.82.165.92] (helo=hqst.com) by smtp.perfora.net with asmtp (Exim 3.35 #1) id 1Ar1V9-0002T1-00; Wed, 11 Feb 2004 16:02:32 -0500 Message-ID: <402A986F.4010703@hqst.com> Date: Wed, 11 Feb 2004 13:02:39 -0800 From: Roop Nanuwa User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Didier Wiroth References: <175d01534a.1534a175d0@etat.lu> In-Reply-To: <175d01534a.1534a175d0@etat.lu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-current@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: /usr/src/sys/dev/aic7xxx errors when compiling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 21:02:34 -0000 Didier Wiroth wrote: >Hi, thanks for answering >I'm using this in make.conf >COPTFLAGS= -O2 -pipe -funroll-loops >CFLAGS= -O3 -pipe -funroll-loops > > > >---- Messages d´origine ---- >De: den >Date: mercredi, février 11, 2004 6:56 pm >Objet: Re: /usr/src/sys/dev/aic7xxx errors when compiling > > >>What options you use for compiling your kernel ? >>In other words - post your /etc/make.conf >> >>Didier WIROTH wrote: >> >> >> >>>Hi, >>>(error on 5.2 and 5.2.1-rc) >>>When compiling the kernel I get 100... of errors like this: >>>/usr/src/sys/dev/aic7xxx/aic7xxx.c:147: warning: called from here >>>@/dev/aic7xxx/aic7xxx_inline.h:141: warning: inlining failed in >>> >>> >>call to >> >> >>>'ahc_release_untagged_queues' >>> >>>/usr/src/sys/dev/aic7xxx/aic7xxx.c:5118: warning: called from here >>>@/dev/aic7xxx/aic7xxx_inline.h:570: warning: inlining failed in >>> >>> >>call to >> >> >>>'ahc_release_untagged_queues'etc... >>> >>> >>>I've removed every scsi device in my custom kernel file as I >>> >>> >>don't use scsi >> >> >>>and usbmass devices. >>> >>>Are other users experiencing this problem? >>> >>> >>> >>> This is because using -O3 adds the option -finline-functions. You should only use -O when compiling the kernel and that's all that is actually supported. --roop