Bug 1600939

Summary: Add riscv32 to cross-gcc
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: cross-gccAssignee: David Howells <dhowells>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dan, dhowells, lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-13 13:47:15 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: 1600938    
Bug Blocks:    

Description Richard W.M. Jones 2018-07-13 12:42:10 UTC
Description of problem:

Please add riscv32 to cross-gcc.  This is useful for a couple
of targets:

(1) PicoRV32: I have confirmed that a self-compiled cross-gcc can
build working binaries for this target.

(2) Embedded firmware: Most planned RV64 machines will include
extra RV32 cores for various power management and I/O tasks.
The firmware for these is open source, but we don't have a way
to compile it.

My suggested patch is here, but basically all I did was add
extra lines matching the riscv64 ones.

https://bugzilla.redhat.com/show_bug.cgi?id=1492341#c5