Bug 1477747 - Add support for building openbios on s390x
Add support for building openbios on s390x
Status: NEW
Product: Fedora EPEL
Classification: Fedora
Component: qemu (Show other bugs)
epel7
s390x Linux
unspecified Severity high
: ---
: ---
Assigned To: Lubomir Rintel
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-02 15:40 EDT by Neale Ferguson
Modified: 2017-08-02 15:40 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Neale Ferguson 2017-08-02 15:40:57 EDT
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.