[1047] in arla-drinkers

home help back first fref pref prev next nref lref last post

Arla on Linux/Alpha

daemon@ATHENA.MIT.EDU (Chris Wing)
Thu Aug 5 02:20:15 1999

From owner-arla-drinkers@stacken.kth.se Thu Aug 05 06:20:15 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 10872 invoked from network); 5 Aug 1999 06:20:14 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 5 Aug 1999 06:20:14 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id IAA27388
	for arla-drinkers-list; Thu, 5 Aug 1999 08:14:06 +0200 (MET DST)
Received: from axp1.engin.umich.edu (axp1.engin.umich.edu [141.212.32.122])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id IAA27383
	for <arla-drinkers@stacken.kth.se>; Thu, 5 Aug 1999 08:13:20 +0200 (MET DST)
Received: from localhost (wingc@localhost)
	by axp1.engin.umich.edu (8.9.3/8.9.3) with ESMTP id CAA20536
	for <arla-drinkers@stacken.kth.se>; Thu, 5 Aug 1999 02:13:18 -0400
X-Authentication-Warning: axp1.engin.umich.edu: wingc owned process doing -bs
Date: Thu, 5 Aug 1999 02:13:18 -0400 (EDT)
From: Chris Wing <wingc@engin.umich.edu>
To: arla-drinkers@stacken.kth.se
Subject: Arla on Linux/Alpha
Message-ID: <Pine.LNX.4.10.9908050154310.20502-100000@axp1.engin.umich.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

Hi. I recently installed Linux on an Alpha system and thought I would try
out Arla. I am pleased to note that Arla is working quite flawlessly on
the Alpha so far!

There were a few compiler warnings about casting between pointers and ints
of different size; none look dangerous and I'll go over them in a future
e-mail to the list.

I'm using Red Hat Linux 6.0 on the Alpha, in other words, Linux 2.2.5.
Apparently, Linux (2.2?) on the Alpha uses register 8 to store the current
task pointer, which necessitates using -ffixed-8 when compiling all kernel
code; the following quick hack was needed to get xfs to compile:


diff -uNr arla-0.26.orig/xfs/linux/Makefile.in arla-0.26/xfs/linux/Makefile.in
--- arla-0.26.orig/xfs/linux/Makefile.in	Sat Jan  2 00:46:39 1999
+++ arla-0.26/xfs/linux/Makefile.in	Tue Aug  3 11:36:31 1999
@@ -33,7 +33,7 @@
 		  -I../../include \
 		  -I$(srcdir)/../../include
 INCLUDES	= $(INC) @KRB_INC_FLAGS@
-CFLAGS		= @CFLAGS@ -g -I. $(INCLUDES) -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
+CFLAGS		= @CFLAGS@ -g -I. $(INCLUDES) -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -ffixed-8
 
 MODULE		= xfs.o


(obviously, this should be put into autoconf so that configure adds
-ffixed-8 to CFLAGS for xfs, when compiling on Linux/Alpha-- but I haven't
done that yet, sorry...)

The compiler I'm using is egcs-1.1.2; I'm not sure if -ffixed will work on
others. (but if you are using Linux on the Alpha you are probably using
egcs anyway)

Thanks,

Chris Wing
wingc@engin.umich.edu


home help back first fref pref prev next nref lref last post