openafs needs porting for Aarch64

Bug #1370752 reported by Micheal Waltz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro AArch64 cross-distro work
Triaged
Low
Unassigned
openafs (Ubuntu)
New
Undecided
Unassigned

Bug Description

openafs needs porting for Aarch64

Brought the topic up with the OpenAFS devel list and some progress has been made:

https://lists.openafs.org/pipermail/openafs-devel/2014-September/019970.html

Currently upstream lacks Aarch64 hardware although qemu emulator is able to provide a stable development environment.

Tags: patch
Revision history for this message
Riku Voipio (riku-voipio) wrote :

Verified that this indeed needs porting. src/lwp/process.s needs a version for aarch64. This probably needs to be done by someone who actively uses openafs to get it properly tested.

Changed in linaro-aarch64:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Micheal Waltz (ecliptik) wrote :

There's a few additional files that need patching in order for it to build on aarch64. I've attached the latest patch I sent to openafs-devel. This also includes the required changes to the Debian packing.

The latest block is in src/afs/afs_syscall.c which deals with 64-bit/32-bit binaries, which one of the developers stated:

>If linux arm64 does not support running 32-bit executables, you can just
>put in "if (0)". You could probably do so for now even if arm64 does
>support 32-bit executables, with an XXX comment that it needs to be
>revisited. I am not a linux kernel expert, so I don't know how to do this
>"properly" off the top of my head.

I'm going to continue to try and try to work around this and submit the patches to upstream as well as update this bug.

Revision history for this message
Micheal Waltz (ecliptik) wrote :

Attaching initial patch.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch against the 1.6.9 openafs git branch adding initial aarch64 support." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.