Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* ftape weirdies...
@ 2019-01-14 23:23 Jeff DeMaagd
  0 siblings, 0 replies; only message in thread
From: Jeff DeMaagd @ 2019-01-14 23:23 UTC (permalink / raw)
  To: axp-list


I have a little trouble with ftape-4.02.  It doesn't get past compiling
the first file.  My kernel is 2.2.0-pre7, egcs-1.1.1, RH5.2.

The errors say 'call clobbered register', and I looked at the file
current.c, it had a register name $8 involved.  Is this proper?  What can
I do?  This looks more like kernel source problem versus an ftape driver
problem, but I guess it could be anything.

I haven't tried any other versions of ftape yet, I only read that 4.x+ was
said to best support AXP.

TIA

JRDM

Below is the compile command and the errors follow:

gcc -Wall -Wstrict-prototypes -O2 -mcpu=ev56 -fomit-frame-pointer
-fno-strength-reduce -DTHE_FTAPE_MAINTAINER=\"heine@math1.rwth-aachen.de\"
-DBROKEN_FLOPPY_DRIVER -DCONFIG_FT_PROC_FS -DCONFIG_FT_FDC_BASE_1=0x370
-DCONFIG_FT_FDC_IRQ_1=7 -DCONFIG_FT_FDC_DMA_1=3 -DCONFIG_FT_NR_BUFFERS=3
-DCONFIG_FT_INT_1=1   -DCONFIG_FTAPE_MODULE -DCONFIG_FT_INTERNAL_MODULE
-DCONFIG_FT_TRAKKER_MODULE -DCONFIG_FT_BPCK_MODULE -DCONFIG_ZFTAPE_MODULE
-DCONFIG_ZFT_COMPRESSOR_MODULE -DMODULE -D__KERNEL__ -I. -I../../include
-I/usr/src/linux/include  -DEXPORT_SYMTAB -c ftape_syms.c
In file included from /usr/src/linux/include/linux/sched.h:446,
                 from ../../include/linux/ftape.h:38,
                 from ftape_syms.c:32:
/usr/src/linux/include/asm/current.h:4: global register variable follows a
function definition
/usr/src/linux/include/asm/current.h:4: warning: call-clobbered register
used for global register variable
make[2]: *** [ftape_syms.o] Error 1
make[2]: Leaving directory `/usr/src/ftape-4.02/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/ftape-4.02/ftape'
make: *** [all] Error 2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-01-15  4:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-14 23:23 ftape weirdies Jeff DeMaagd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox