Bug 734315

Summary: [PATCH] libopcodes.a isn't built with -fPIC
Product: [Fedora] Fedora Reporter: Ricky Zhou <rzhou>
Component: binutilsAssignee: Nick Clifton <nickc>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jakub, nickc
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-30 15:30:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ricky Zhou 2011-08-30 05:07:50 UTC
libopcodes.a isn't built with -fPIC, which prevents people from linking it into a shared library (on x86_64, at least).

Here's a patch against the F15 branch which recompiles libopcodes.a with -fPIC, based off of what was done with libbfd.a and libiberty.a.

http://ricky.fedorapeople.org/binutils/0001-Rebuild-libopcodes.a-with-fPIC.patch

Comment 1 Ricky Zhou 2011-09-14 23:29:17 UTC
Ping, any update on this?

Comment 2 Ricky Zhou 2011-09-30 01:16:04 UTC
Ping, does the patch look reasonable?

Comment 3 Nick Clifton 2011-09-30 15:30:37 UTC
Hi Ricky

  Sorry for the very long delay in responding to this issue.  Your patch look reasonable and so I have applied it to the rawhide, F16 and F15 releases.

Cheers
  Nick