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
This will compile needed module with option "-O2".
Then come back into your kernel compile directory and type
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
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 <[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:
(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
/usr/src/sys/dev/aic7xxx/aic7xxx.c:5118: warning: called from here
@/dev/aic7xxx/aic7xxx_inline.h:570: warning: inlining failed in
'ahc_release_untagged_queues'etc...don't use scsi
I've removed every scsi device in my custom kernel file as I
and usbmass devices.[EMAIL PROTECTED]">
Are other users experiencing this problem?
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "freebsd-questions-
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"