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 245456
Summary: | please add arm support to the gmp package | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lennert Buytenhek <buytenh> |
Component: | gmp | Assignee: | Ivana Varekova <varekova> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | Keywords: | Reopened |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | arm9 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-08-07 14:08:39 UTC | Type: | --- |
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: | 245418 | ||
Attachments: |
Description
Lennert Buytenhek
2007-06-23 15:23:19 UTC
Created attachment 157684 [details]
Spec file patch to set basearch to 'arm' on arm platforms.
Created attachment 157685 [details]
Patch against gmp.h to include arm support.
Created attachment 157686 [details]
Patch against gmp-mparam.h to include arm support.
Created attachment 157687 [details]
Patch for gmp to fix ARM fp word order (no longer needed for gmp 4.2.)
To understand this patch, note that there are three different
'double' formats on ARM systems:
1. Big-endian ARM systems, both old-ABI and EABI: big endian byte
order, big endian word order.
2. Little-endian old-ABI ARM systems: little endian byte order,
big endian word order.
3. Little-endian EABI ARM systems: little endian byte order, little
endian word order.
Hello, now the actual version of gmp in Fedora is 4.2.1 so the second problem is fixed. However the first part of this bug (including arm in ifdef parts) should be fixed in the upstream version so everyone (not only FC users) could use it. Could you please sent this patch to upstream maintainers (http://gmplib.org)? If there is any problem please write here a comment. Hello, gmp.h and gmp-mparam.h are Fedora additions, not part of upstream gmp. Also, the gmp.spec spec file that I submitted a patch for lives in Fedora CVS only, and is not part of the upstream gmp distribution. From gmp.h: /* * This gmp.h is a wrapper include file for the original gmp.h, which has been * renamed to gmp-<arch>.h. There are conflicts for the original gmp.h on * multilib systems, which result from arch-specific configuration options. * Please do not use the arch-specific file directly. * * Copyright (C) 2006 Red Hat, Inc. * Thomas Woerner <twoerner@@redhat.com> */ Ops sorry, you are right. Fixed in gmp-4.2.1-2.fc8. |