Additional GNIC-II Compile Problems
Chris Worley
cworley@altatech.com
Fri Aug 6 20:22:49 1999
s-sumi@trc.rwcp.or.jp wrote:
>
> Hi.
>
> > gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes
> > -I/usr/src/linux/net/inet
> > -O6 -o hamachi.o -c hamachi.c
>
> > /usr/include/asm/current.h:4: global register variable follows a
> > function
> > definition
> > /usr/include/asm/current.h:4: warning: call-clobbered register used for
> > global register variable
>
> Add option -ffixed-8
>
Don't forget -mno_fp_regs; On an Alpha, the kernel doesn't swap FP regs,
so you can't allow GCC to think it can use the FP regs as temporary
regs. It may compile without this switch, but during execution,
programs running will abort randomly with fp errors.
Chris
| To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
| body of the mail, include only the text:
| unsubscribe this-list-name youraddress@wherever.org
| You will be unsubscribed as speedily as possible.