Bug 908966

Summary: Enable gold linker for ARM architecture
Product: [Fedora] Fedora Reporter: William Cohen <wcohen>
Component: binutilsAssignee: Nick Clifton <nickc>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: jakub, nickc, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-06 16:13:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 245418    

Description William Cohen 2013-02-07 22:19:49 UTC
Description of problem:

Gold linker in binutils is currently only built for x86 platforms.  Would it be possible to enable building the gold linker for arm?  Some people might like the faster linker.

With a simple test build it appeared that gold linker is buildable in 
binutils-2.23.51.0.1-6.fc18.

Comment 1 William Cohen 2013-03-05 16:59:02 UTC
Just need the following change in the binutils.spec to enable it.


$ diff -u binutils.spec.x binutils.spec
--- binutils.spec.x	2013-03-05 11:55:01.389026867 -0500
+++ binutils.spec	2013-03-05 11:55:17.944308415 -0500
@@ -47,7 +47,7 @@
 
 Provides: bundled(libiberty)
 
-%define gold_arches %ix86 x86_64
+%define gold_arches %ix86 x86_64 %arm
 
 %ifarch %gold_arches
 %define build_gold	both

Comment 2 William Cohen 2013-03-05 20:57:51 UTC
binutils appears to build without problem as a fedora 19 scratch build with gold enabled:

http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=1536253

Comment 3 Nick Clifton 2013-03-06 16:13:39 UTC
binutils-2.23.52.0.1-4.fc19 now contains this patch.