Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* CIPE on Alpha
@ 1999-07-23  4:00 Kenneth Graves
  1999-07-25  4:00 ` B. James Phillippe
  0 siblings, 1 reply; 4+ messages in thread
From: Kenneth Graves @ 1999-07-23  4:00 UTC (permalink / raw)


Has anyone succeeded in getting CIPE to work on an Alpha?

I'm trying with cipe-1.3.0 (configured with -enable-idea) on RedHat
6.0 (kernel 2.2.5), but I can't get the module to compile.  I could
clean up a few things (multiple definitions of htonl, etc.), but am
stuck on:

gcc -D__KERNEL__ -DMODULE  -I. -I../. -I/usr/src/linux/include -include\
 ./config.h  -funroll-loops -O3 -Wall -Wstrict-prototypes -fomit-frame-pointer\
 -g -O2 -o module.o -c .././module.c
In file included from /usr/src/linux/include/asm/semaphore.h:11,
                 from /usr/src/linux/include/linux/fs.h:163,
                 from /usr/src/linux/include/linux/capability.h:13,
                 from /usr/src/linux/include/linux/binfmts.h:5,
                 from /usr/src/linux/include/linux/sched.h:8,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from /usr/src/linux/include/linux/skbuff.h:132,
                 from /usr/src/linux/include/linux/netdevice.h:131,
                 from ../cipe.h:123,
                 from .././module.c:15:
/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

<asm/current.h> contains:
#ifndef _ALPHA_CURRENT_H
#define _ALPHA_CURRENT_H

register struct task_struct *current __asm__("$8");

#endif /* !(_ALPHA_CURRENT_H) */

Removing the "register" results in a module that hangs the kernel.

Any suggestions welcome.

--kag



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CIPE on Alpha
  1999-07-23  4:00 CIPE on Alpha Kenneth Graves
@ 1999-07-25  4:00 ` B. James Phillippe
  1999-07-26  4:00   ` Brian Candler
  0 siblings, 1 reply; 4+ messages in thread
From: B. James Phillippe @ 1999-07-25  4:00 UTC (permalink / raw)
  To: Kenneth Graves

On 23 Jul 1999, Kenneth Graves wrote:

> Has anyone succeeded in getting CIPE to work on an Alpha?

No, haven't tried.

> gcc -D__KERNEL__ -DMODULE  -I. -I../. -I/usr/src/linux/include -include\
>  ./config.h  -funroll-loops -O3 -Wall -Wstrict-prototypes -fomit-frame-pointer\
...
> /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
...
> Any suggestions welcome.

Sure.  Try adding the following options to your Makefile:

-mno-fp-regs -ffixed-8

-bp
--
# bryan at terran dot org
# http://www.terran.org/~bryan




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CIPE on Alpha
  1999-07-25  4:00 ` B. James Phillippe
@ 1999-07-26  4:00   ` Brian Candler
  1999-07-27  4:00     ` Kenneth Graves
  0 siblings, 1 reply; 4+ messages in thread
From: Brian Candler @ 1999-07-26  4:00 UTC (permalink / raw)


> > Has anyone succeeded in getting CIPE to work on an Alpha?

Yes, just managed to fix it. Patch is at
http://pobox.com/~b.candler/software/patches/cipe-1.3.0-patch.gz

I have tested it between an Alpha and an Intel box, both running RH6.0
kernel-2.2.5-22

Note that you must ./configure --enable-idea

Regards,

Brian Candler.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CIPE on Alpha
  1999-07-26  4:00   ` Brian Candler
@ 1999-07-27  4:00     ` Kenneth Graves
  0 siblings, 0 replies; 4+ messages in thread
From: Kenneth Graves @ 1999-07-27  4:00 UTC (permalink / raw)


In article <379C2C68.BF22850E@pobox.com>, Brian Candler wrote:
>> > Has anyone succeeded in getting CIPE to work on an Alpha?
>
>Yes, just managed to fix it. Patch is at
>http://pobox.com/~b.candler/software/patches/cipe-1.3.0-patch.gz
>
>I have tested it between an Alpha and an Intel box, both running RH6.0
>kernel-2.2.5-22
>
>Note that you must ./configure --enable-idea

Just a note for everyone else: this does seem to be working.
Alpha/Alpha and Alpha/Intel tunnels up and running.

Big thanks to Brian,

--kag



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-07-27  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-23  4:00 CIPE on Alpha Kenneth Graves
1999-07-25  4:00 ` B. James Phillippe
1999-07-26  4:00   ` Brian Candler
1999-07-27  4:00     ` Kenneth Graves

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