<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: cipe on alpha
From: Eoin <eoin,AT,straylight,DOT,eu,DOT,org>
Date: Mon, 20 Nov 2000 16:14:50 +0100

Hi all, 
        with reference to getting (any version of) cipe to run on a dec
alpha (in my case a 21164, RH 6.0 kernel 2.2.5-16), and the resultant:

/usr/src/linux-2.2.5/include/asm/current.h:4: global register variable 
follows a function definition
/usr/src/linux-2.2.5/include/asm/current.h:4: warning: call-clobbered
register used for global register variable

Which, as I understand it, means, that register 8, whihc is normally used
to hold a pointer to the current task, is being used as a normal register.
And therefore being overwritten.

So.. I tried changing the Makefile in
2.2.5-16-alpha-cb

from:
<snip>

KCFLAGS=   -O3 -funroll-loops -Wall -Wstrict-prototypes
-fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing -g -O2

</snip>

to:
<snip>

KCFLAGS=   -O3 -funroll-loops -Wall -Wstrict-prototypes
-fomit-frame-pointer -fn
o-strength-reduce -fno-strict-aliasing -g -O2 -mno-fp-regs -ffixed-8
-mcpu=ev4

</snip>

Which produced a whole load of warnings, but a module none-the-less, the
prob is, that on insterting it, it goes: 

[root@straylight 2.2.5-16-alpha-cb]# insmod cipcb.o
cipcb.o: unresolved symbol init_task_union

Which I do recall seeing somethign about in the mailing list of late,
could someone help shed some light on this?  I at least /think/ I'm
heading in the right direction :)

Eoin.





<< | Thread Index | >> ]    [ << | Date Index | >> ]