[OpenAFS] compiling openafs 1.4.7 on PPC64

Derrick Brashear shadow@gmail.com
Wed, 8 Apr 2009 16:28:44 -0400


On Wed, Apr 8, 2009 at 2:58 PM, prashant sodhiya <psodhiya@gmail.com> wrote=
:
> Hi,
>
> I want to generate 64 bit server binaries of my openAFS(1.4.7) server
> on a PPC64 (POWER5) machine on =A0RHEL5.2.

good luck. we don't currently support it with our build system. if you
get working patches for the build system we'd gladly accept them.

also, 1.4.7 is old. you probably want 1.4.10.

>
> # file root.server/usr/afs/bin/fileserver
> root.server/usr/afs/bin/fileserver: ELF 32-bit MSB executable, PowerPC
> or cisco 4500, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically
> linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
>
> I tried export CFLAGS=3D -m64 before ./configure and make, but still my
> fileserver bins are 32 bit binaries.
>
> # uname -a
> Linux partch 2.6.18-92.el5 #1 SMP Tue Apr 29 13:21:29 EDT 2008 ppc64
> ppc64 ppc64 GNU/Linux
>
>
> # file /usr/bin/gcc
> /usr/bin/gcc: ELF 32-bit MSB executable, PowerPC or cisco 4500,
> version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared
> libs), for GNU/Linux 2.6.9, stripped
>
> # rpm -qf /usr/bin/gcc
> gcc-4.1.2-42.el5
>
> Any suggestions on this will be appreciable.