Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2004 13:02:39 -0800
From:      Roop Nanuwa <roop@hqst.com>
To:        Didier Wiroth <didier.wiroth@mcesr.etat.lu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /usr/src/sys/dev/aic7xxx errors when compiling
Message-ID:  <402A986F.4010703@hqst.com>
In-Reply-To: <175d01534a.1534a175d0@etat.lu>
References:  <175d01534a.1534a175d0@etat.lu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <moreau@myrealbox.com>
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?402A986F.4010703>