OpenVZ Forum


Home » Mailing lists » Devel » PPC64 Kernel 2.6.18 + RPM packages
Re: PPC64 Kernel 2.6.18 + RPM packages [message #13219 is a reply to message #13201] Wed, 23 May 2007 12:51 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Christian Kaiser2 wrote:
> It seems to be that there is a mixture of 32 and 64 bit binaries and libs.
>

vzctl should be compiled with -m64 flag to gcc. There is a code in
configure.ac for that:

if test x$build_cpu = xppc64; then
CFLAGS="${CFLAGS} -m64"
fi

So it looks like in your case $build_cpu is set to something different
than 'ppc64' -- can you tell us its value so we can fix this
configure.ac code accordingly?

As a workaround, you may do
CFLAGS="-m64" ./configure
make clean
make

> See that output of /usr/sbin:
>
> [root@s10b10-0 sbin]# file vz*
> vzcalc: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1
> (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for
> GNU/Linux 2.6.4, not stripped
> vzcfgvalidate: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1
> (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for
> GNU/Linux 2.6.4, not stripped
> vzcpucheck: Bourne-Again shell script text executable
> vzctl: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1
> (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for
> GNU/Linux 2.6.4, not stripped
>
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: listhelp.h
Next Topic: [PATCH -mm] Fix /proc/slab_allocators re seq_list_next() conversion
Goto Forum:
  


Current Time: Sun Sep 14 22:54:51 GMT 2025

Total time taken to generate the page: 0.84243 seconds