From owner-freebsd-questions@FreeBSD.ORG Wed Feb 11 13:55:20 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 9A8B916A4CF for ; Wed, 11 Feb 2004 13:55:20 -0800 (PST) Received: from ux.rednet.ru (ux.rednet.ru [194.105.216.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB22D43D1F for ; Wed, 11 Feb 2004 13:55:19 -0800 (PST) (envelope-from moreau@myrealbox.com) Received: from sinet.spb.ru (ns.smolenka.rednet.ru [81.222.240.129]) by ux.rednet.ru (8.9.3p2/8.9.3/C08) with ESMTP id AAA16515; Thu, 12 Feb 2004 00:55:17 +0300 (MSK) Received: from myrealbox.com (cm-76.smolenka.rednet.ru [81.222.241.76]) by sinet.spb.ru (8.12.10/8.12.10/SC14) with ESMTP id i1BLtFHi038469; Thu, 12 Feb 2004 00:55:16 +0300 (MSK) (envelope-from moreau@myrealbox.com) Message-ID: <402AA4C4.1090009@myrealbox.com> Date: Thu, 12 Feb 2004 00:55:16 +0300 From: den User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Didier Wiroth , freebsd-questions@freebsd.org 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 X-Spam-Score: -4.9 BAYES_00 X-Spam-Status: No, hits=-4.9, required=5 X-Scanned-By: MIMEDefang 2.39 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:55:20 -0000 This is your mistake :) I have had the same problem when I compile my kernel with such options. It is undesirable to use strong optimization in compiling kernel, although usually it does not lead to problem. But this is the case when problem is appeared. Optimization with CFLAGS = -O3 cause this warnings and compiler enter in infinit loop. My decision of this problem was : # make 1>out 2>&1 & # tail -f out when you will see that compiler enter in loop - break off compiling. Open in editor file "out" and find string when compiler start compiling usr/src/sys/dev/aic7xxx. Cut all warnings to the end of file and stay only this line. change option in compiler from "-O3" to "-O2" Go to directory pointed in compiling string and place your file there. # chmod 0777 out #./out This will compile needed module with option "-O2". Then come back into your kernel compile directory and type # make this will proceed compilation of your kernel. Actually it is will not be a single case when compiler enter to infinit loop. Such cases will be around of four. In each case you should repeat this steps with problem module. Another and simple sloution : change CFLAGS= -O3 -pipe to CFLAGS= -O2 -pipe 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? >>> >>> >>>_______________________________________________ >>>freebsd-questions@freebsd.org mailing list >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>To unsubscribe, send any mail to "freebsd-questions- >>> >>> >>unsubscribe@freebsd.org"> >> >> >>> >>> >>> >>> >> >> >> > > > >