Bug 733282

Summary: FTBFS: multiple definition of `__lshrdi3' on ppc
Product: [Fedora] Fedora Reporter: Jiri Skala <jskala>
Component: kexec-toolsAssignee: Karsten Hopp <karsten>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: aglotov, caiqian, nhorman, xiyou.wangcong
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-11 11:18:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
This patch fixes FTBFS issue none

Description Jiri Skala 2011-08-25 11:14:26 UTC
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):


How reproducible:
always

Steps to Reproduce:
1. build kexec-tools-2.0.2-26.fc16.src.rpm on pppc arch
2.
3.
  
Actual results:
fails

Expected results:
build is done

Additional info:
1. ppc64 works fine
2. !!!WARNING!!! There is incorrect path in 'Source0' definition of spec file (kexec-tools -> kexec).

Comment 1 Américo Wang 2011-11-11 06:58:57 UTC
Karsten, I noticed that you checked in a different patch. Is the patch from Jiri still needed?

Thanks.

Comment 2 Karsten Hopp 2011-11-11 11:18:21 UTC
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.