[OpenAFS-devel] Re: Compiling openafs on arm64/aarch64 architecture

Chas Williams (CONTRACTOR) chas@cmf.nrl.navy.mil
Wed, 03 Sep 2014 17:35:02 -0400


In message <54078624.5000802@qualcomm.com>,Micheal Waltz writes:
>On 09/03/14 14:04, Chas Williams (CONTRACTOR) wrote:
>> It looks like setcontext()/getcontext() will work on this system!
>>
>> If Andrew's latest patch he sent doesn't let you build a working lwp
>> then I will see if I can figure out what else is needed if someone else
>> doesn't figure it out first.
>>
>Chas, that's great news about setcontext()/getcontext() on aarch64. It 
>does look like the combination of patches worked and allowed it to 
>compile fully. I responded to Andrews thread with a combined patch file 
>that should work.

Try running src/lwp/rw -- that should print a 'Mary had a little lamb...'
a couple times and exit.

>I did just run into the Debian openafs-modules-dkms that was built from 
>the 1.6.9 Debian source with this patch applied failing on:
>
>checking your AFS sysname... configure: error: An AFS sysname is required
>
>I haven't had time to dig into it much, but this is blocking the 
>compilation of the kernel module.

You have to add that to acinclude.m4 when it is attempting to find an
AFS sysname.

After that you need to add this to src/config/afs_sysnames.h along with
some other stuff that will be obvious.  Follow the pattern for the
other linux arch's.