Bug 1390738 - Add riscv64 support to binutils
Summary: Add riscv64 support to binutils
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Fedora
Classification: Fedora
Component: binutils
Version: rawhide
Hardware: riscv64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Clifton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-01 19:05 UTC by Richard W.M. Jones
Modified: 2016-11-04 16:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 20:10:14 UTC
Type: Bug


Attachments (Terms of Use)

Description Richard W.M. Jones 2016-11-01 19:05:06 UTC
Description of problem:

binutils has gained RISC-V architecture support upstream.  Fedora
supports RISC-V at the moment through a forked binutils package.
It would be nice to have the Fedora binutils package support RISC-V
so we don't need the forked package.

The two commits required are:
6d91379408b87b6d0c1cd4bc2880b530cc4ec721
e23eba971dd409b999dd83d8df0f842680c1c642

Version-Release number of selected component (if applicable):

binutils 2.27

(I'm testing a patched binutils, will write more when I get it working)

Comment 1 Richard W.M. Jones 2016-11-01 19:41:08 UTC
This is the package I am testing:
http://koji.fedoraproject.org/koji/taskinfo?taskID=16275615
(This is the non-riscv64 build, I am concurrently building it on riscv64)

Comment 2 Richard W.M. Jones 2016-11-01 23:49:56 UTC
Logs from the riscv64 build:
https://fedorapeople.org/groups/risc-v/logs/binutils/2.27-10.fc26/

Comment 3 Richard W.M. Jones 2016-11-03 20:10:14 UTC
I'm going to defer this one because it's a little more complex
than I anticipated, and in any case RISC-V support will appear
automatically when the next version of binutils is released.

Comment 4 Nick Clifton 2016-11-04 15:49:55 UTC
Hi Richard,

  Even when the Fedora binutils package is updated with the next FSF binutils release it will not officially support the RISC-V architecture, since this is not a primary target.  (Unofficially of course it will).  You might be interested in contacting the maintainer of the Fedora cross-binutils package[1] however, so that RISC-V could be added there.

Cheers
  Nick

[1] https://apps.fedoraproject.org/packages/cross-binutils

Comment 5 Richard W.M. Jones 2016-11-04 16:14:42 UTC
Right - we're going to build it ourselves from the Fedora source
package when the change appears there.  We're not cross-building
packages, they are built in the RISC-V full system environment.
However for people who do want cross-building then yes it will be
a good idea to request that the arch is added to cross-binutils.


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