Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 101848

Summary: kexec-tools missing keywords for ppc/ppc64
Product: Gentoo Linux Reporter: Marcin Kurek <morgoth6>
Component: [OLD] Core systemAssignee: PPC Porters <ppc>
Severity: enhancement CC: ppc64
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Marcin Kurek 2005-08-09 05:08:50 UTC
kexec-tools are marked ~x86 only but recent version should work on ppc/ppc64/
alpha/i386. The incoming 2.6.13 kernel has kexec merged and it is good idea to 
modify keywords to make it available not only for i386.

Reproducible: Always
Steps to Reproduce:
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2005-08-09 05:39:39 UTC
trying to compile kexec-tools-1.101 on ppc64:

configure: error: unsupported architecture powerpc64
Comment 2 Marcin Kurek 2005-08-09 07:21:11 UTC
But anyway it seems I create this report too soon :) Ech ... stupid me.

The PPC is supported for GameCube only. Support for other ppc archs required 
some additional work (kexec/arch/ppc/kexec-ppc.c:36) It seems this "should" work 
without additional work. I would test it as soon as 2.6.13 is released.
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2006-01-21 07:42:29 UTC
There is still no luck with 2.6.15:

powerpc-unknown-linux-gnu-gcc -Wall -g -fno-strict-aliasing -I./include -I./util_lib/include -DVERSION='"1.101"' -DRELEASE_DATE='"15 February 2005"' -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ZLIB_H=1   -Ikexec/arch/ppc/include -o /var/tmp/portage/kexec-tools-1.101-r1/work/kexec-tools-1.101/objdir-powerpc-unknown-linux-gnu/kexec/arch/ppc/kexec-ppc.o -c kexec/arch/ppc/kexec-ppc.c
kexec/arch/ppc/kexec-ppc.c:36:2: #error Please, fix this for your platform
kexec/arch/ppc/kexec-ppc.c: In function `arch_process_options':
kexec/arch/ppc/kexec-ppc.c:107: warning: unused variable `value'
kexec/arch/ppc/kexec-ppc.c:108: warning: unused variable `end'
kexec/arch/ppc/kexec-ppc.c: At top level:
kexec/arch/ppc/kexec-ppc.c:97: warning: 'arch_options' defined but not used
make: *** [/var/tmp/portage/kexec-tools-1.101-r1/work/kexec-tools-1.101/objdir-powerpc-unknown-linux-gnu/kexec/arch/ppc/kexec-ppc.o] Error 1
make: *** Waiting for unfinished jobs....
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2006-04-30 20:27:31 UTC
Please file a new bug once this works on ppc aside from gamecube. :)