[OpenAFS] compiling openafs 1.4.7 on PPC64

prashant sodhiya psodhiya@gmail.com
Thu, 9 Apr 2009 00:28:27 +0530


Hi,

I want to generate 64 bit server binaries of my openAFS(1.4.7) server
on a PPC64 (POWER5) machine on  RHEL5.2.

# 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= -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.

thanks
Prashant