Bug 716388 - kexec-tools doesn't compile on ARM
Summary: kexec-tools doesn't compile on ARM
Alias: None
Product: Fedora
Classification: Fedora
Component: kexec-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Américo Wang
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
Reported: 2011-06-24 09:28 UTC by Peter Robinson
Modified: 2012-01-28 17:43 UTC (History)
3 users (show)

Fixed In Version: kexec-tools-2.0.2-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-01-28 17:43:16 UTC

Attachments (Terms of Use)

Description Peter Robinson 2011-06-24 09:28:31 UTC
The package fails to build on arm


gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv5te -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/arm/include  -c -MD -o kexec/arch/arm/kexec-elf-rel-arm.o kexec/arch/arm/kexec-elf-rel-arm.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv5te -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/arm/include  -c -MD -o kexec/arch/arm/kexec-zImage-arm.o kexec/arch/arm/kexec-zImage-arm.c
kexec/arch/arm/kexec-zImage-arm.c:14:22: fatal error: asm/page.h: No such file or directory
compilation terminated.
make: *** [kexec/arch/arm/kexec-zImage-arm.o] Error 1

Comment 1 Neil Horman 2011-06-24 19:28:47 UTC
I've updated rawhide to kexec-tools-2.0.2, which has arm arch support.  i don't have build infrastructure to test it out though.

Comment 2 Peter Robinson 2011-06-24 23:22:40 UTC
You can test it with "arm-koji build dist-f14 git:// url to mainline build" (we don't have F-16 just yet.... soon). Any chance of getting this in F-15/F14 as well?

Comment 3 Neil Horman 2011-06-27 11:43:57 UTC
I'd like to see some functional kexec testing in rawhide before I backport a new version to avoid regression.  I'll do a build test today.  If you've got any systems running rawhide that you can test the new kexec on, that would be a good step to looking at a f15 backport

Comment 4 Neil Horman 2011-06-27 14:06:02 UTC
hm, build seems to be failing, but not (yet) for any code compilation issue.  Any idea whats going on here:

Comment 5 Peter Robinson 2011-06-27 14:19:01 UTC
Its an issue with a perl dep (see the root.log) that I just fixed in the repository. It should be OK in around 30 mins when the build repo has regenerated.

Comment 6 Peter Robinson 2011-06-29 09:54:45 UTC
I resubmitted this as http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=107105

Comment 7 Fedora Admin XMLRPC Client 2011-07-15 15:01:50 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Peter Robinson 2012-01-28 17:43:16 UTC
compiles fine with latest rawhide release

Note You need to log in before you can comment on or make changes to this bug.