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 <[EMAIL PROTECTED]>
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
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to