Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 908966 - Enable gold linker for ARM architecture
Summary: Enable gold linker for ARM architecture
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: binutils
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Nick Clifton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2013-02-07 22:19 UTC by William Cohen
Modified: 2013-03-06 16:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-06 16:13:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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