Created attachment 519812 [details]
This patch fixes FTBFS issue
Description of problem:
Build on ppc arch fails due to multiple definiction of '__lshrdi3' function. This was introduced by kexec-tools-2.0.2 upstream tarball that adds purgatory/arch/ppc/crt.S file. The file contains mentioned duplicity.
I've attached patch that fixes this issue (removes '__lshrdi3' from crt.S).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. build kexec-tools-2.0.2-26.fc16.src.rpm on pppc arch
build is done
1. ppc64 works fine
2. !!!WARNING!!! There is incorrect path in 'Source0' definition of spec file (kexec-tools -> kexec).
Karsten, I noticed that you checked in a different patch. Is the patch from Jiri still needed?
I didn't know (and check) that there was a bugzilla open for this when IBM asked me for the latest kexec-tools so I just went ahead and fixed it. My patch does the same, and removes the duplicate __lshrdi3 from the PPC assember files.
As kexec-tools builds now, I'll close this bz.