Bug 1477747 - Add support for building openbios on s390x
Summary: Add support for building openbios on s390x
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: qemu
Version: epel7
Hardware: s390x
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-02 19:40 UTC by Neale Ferguson
Modified: 2017-08-02 19:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to enable building on s390x (1.25 KB, patch)
2017-08-02 19:40 UTC, Neale Ferguson
no flags Details | Diff

Description Neale Ferguson 2017-08-02 19:40:57 UTC
Created attachment 1308446 [details]
Patch to enable building on s390x

Description of problem:
switch-arch script is missing logic for building package under s390x (64-bit big endian)


Version-Release number of selected component (if applicable):
20170311-1.gitf233c3f


How reproducible:
Build on s390x system


Steps to Reproduce:
1. rpmbuild -bb openbios.spec
2.
3.

Actual results:
Segment exception running forthstrap


Expected results:
Clean build


Additional info:
switch arch doesn't recognize s390x so it defaults to big-endian 32-bit. This causes problems in the definition of cell2pointer etc.


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