Re: /usr/src/sys/dev/aic7xxx errors when compiling

From: Roop Nanuwa <roop_at_hqst.com>
Date: Wed, 11 Feb 2004 13:02:39 -0800
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_at_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
>>>_at_/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
>>>_at_/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
Received on Wed Feb 11 2004 - 12:02:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:42 UTC