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 1317509

Summary: Add support for 64-bit MIPS
Product: [Fedora] Fedora Reporter: Michal Toman <michal.toman>
Component: libatomic_opsAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dan, praiskup, rdieter
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: mips64   
OS: Linux   
Whiteboard:
Fixed In Version: libatomic_ops-7.4.2-9.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-02 15:55:43 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:    
Bug Blocks: 1242747    
Attachments:
Description Flags
Add-support-for-64-bit-MIPS.patch none

Description Michal Toman 2016-03-14 12:31:51 UTC
Created attachment 1136138 [details]
Add-support-for-64-bit-MIPS.patch

Description of problem:
We are trying to bring Fedora to MIPS platform and this requires adding support for 64-bit MIPS to libatomic_ops.

Actual results:
64-bit MIPS uses 32-bit assembly, tests hang.

Expected results:
64-bit MIPS uses 64-bit assembly, tests pass.

Additional info:
Attaching dist-git patch. It would be great if this could also be applied to F24.

Comment 1 Rex Dieter 2016-03-14 12:34:26 UTC
Does upstream know about these needed fixes for mips-64?  If not, mind sending it to them?

Comment 2 Michal Toman 2016-03-14 12:47:37 UTC
This has been upstream for more than a year:

https://github.com/ivmai/libatomic_ops/commit/54d1da56809b892d2fc521fea0fd41ea8c23e4f2

Comment 3 Rex Dieter 2016-03-14 12:55:22 UTC
excellent, thanks.

Comment 4 Rex Dieter 2016-03-28 13:31:21 UTC
%changelog
* Mon Mar 28 2016 Rex Dieter <rdieter> - 7.4.2-8
- pull in upstream (7.4 branch) fixes
- Add support for 64-bit MIPS (#1317509)
- use %%license

Comment 5 Fedora Update System 2016-03-28 14:03:10 UTC
libatomic_ops-7.4.2-9.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7c84bec82f

Comment 6 Fedora Update System 2016-03-28 20:54:53 UTC
libatomic_ops-7.4.2-9.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7c84bec82f

Comment 7 Fedora Update System 2016-04-02 15:55:36 UTC
libatomic_ops-7.4.2-9.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.