On Wed, Jul 28, 1999 at 04:59:21PM +0200, Magnus Ahltorp wrote:
> I'm trying to make Arla (a free AFS implementation) work on
> Linux/sparc64. There are some difficulties involved, since Arla
> consists of a kernel module, a user level cache manager daemon, user
> level servers and some user level utilities.
>
> I got the kernel module to load, and from what I can see, it does
> work. However, when trying to talk to the user level cache manager
> daemon, things go wrong. This is expected, since different data types
> have different sizes in 32 bit and 64 bit mode.
Look in sys_sparc32.c and ioctl32.c to see how this can be fixed.
>
> I then tried to compile the user level programs in 64 bit mode to
> solve the above issue, but I don't have any 64 bit libraries. Does
> anyone have a precompiled 64 bit glibc2.1?
I do, but it would not help you much, because the 64bit userland is still in
a state of flux and is changing every few days in binary incompatible
ways.
>
> Also, I tried to compile glibc2.1 with the sparc64 version of egcs,
> but it failed, since it didn't recognize the keyword __const, present
> in the glibc header files.
That's because glibc assumes if it is egcs later than 1.x, then it has
certain features, but egcs64 is a snapshot of egcs from last year which did
not have it. Basically, for sparc64 userland you need gcc-2.96 + a wad of
patches, latest binutils + a few patches, latest glibc 2.1.90, kernel
2.3.4+, etc.
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | [EMAIL PROTECTED] | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/
Linux version 2.2.10 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of the message to [EMAIL PROTECTED]