On Friday,  5 November 1999 at 14:04:15 -0800, David O'Brien wrote:
> The current show stopper for switching over to GCC 2.95.2 is a problem
> compiling the `ahc' driver:
> 
> cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs
>     -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
>     -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../..
>     -I../../../include  -DKERNEL -include opt_global.h -elf
>     ../../dev/aic7xxx/aic7xxx.c
> ../../dev/aic7xxx/aic7xxx.c: In function `ahc_download_instr':
> machine/bus.h:584: Invalid `asm' statement:
> machine/bus.h:584: fixed or forbidden register 2 (cx) was spilled for class CREG.
> *** Error code 1
> 
> The message is misleading, as the problematic header is
> /sys/i386/include/bus.h not, /usr/include/machine/bus.h.

In the kernel build environment, machine/ points to
../../i386/include.  From the point of view of the compiler, the name
is correct.

Greg
-- 
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to