[OpenAFS] OpenAFS for ppc64le
Benjamin Kaduk
kaduk@MIT.EDU
Fri, 22 Apr 2016 00:09:25 -0400 (EDT)
Well, those errors are from the kernel module build, and so would be
avoided with --disable-kernel-module to configure.
But it looks like the in-tree powerpc support is for big-endian, so you
probably want to copy src/config/param.ppc64_linux26.h to
src/config/param.ppc64le_linux26.h and change AFSBIG_ENDIAN to
AFSLITTLE_ENDIAN, at least for a short-term workaround.
Longer-term, a new block of sysname numbers should be assigned for
ppc64le_linux26, and used in src/config/afs_sysnames.h, but that requires
getting an assignment from the AFS-3 numbers registrar.
-Ben
On Thu, 21 Apr 2016, Shadrach Smith wrote:
> When I try compiling for ppc64_linux26 I'm getting this far into make:
> (looks like the ABI error has a lot of google hits related to ppc64le)
>
> LD [M] /root/openafs-1.6.17/src/libafs/MODLOAD-3.19.0-58-generic-MP/libafs.o
> ld: /root/openafs-1.6.17/src/libafs/MODLOAD-3.19.0-58-generic-MP/osi_flush.o: ABI version 1 is not compatible with ABI version 2 output
> ld: failed to merge target specific data of file /root/openafs-1.6.17/src/libafs/MODLOAD-3.19.0-58-generic-MP/osi_flush.o
> make[6]: *** [/root/openafs-1.6.17/src/libafs/MODLOAD-3.19.0-58-generic-MP/libafs.o] Error 1
> make[5]: *** [_module_/root/openafs-1.6.17/src/libafs/MODLOAD-3.19.0-58-generic-MP] Error 2
> make[5]: Leaving directory `/usr/src/linux-headers-3.19.0-58-generic'
> FAILURE: make exit code 2
> make[4]: *** [libafs.ko] Error 1
> make[4]: Leaving directory `/root/openafs-1.6.17/src/libafs/MODLOAD-3.19.0-58-generic-MP'
> make[3]: *** [linux_compdirs] Error 2
> make[3]: Leaving directory `/root/openafs-1.6.17/src/libafs'
> make[2]: *** [libafs] Error 2
> make[2]: Leaving directory `/root/openafs-1.6.17'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/root/openafs-1.6.17'
> make: *** [all] Error 2
> root@afs1:~/openafs-1.6.17# uname -a
> Linux afs1 3.19.0-58-generic #64~14.04.1-Ubuntu SMP Fri Mar 18 19:05:01 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
>
> Shadrach Smith
> PowerCore Technology Corporation_______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>