#11896: MPIR 2.x may fail to build on 32-bit operating systems
-------------------------------------------------------+--------------------
Reporter: Nathann Cohen, Dan Drake, Steve Trogdon | Owner: leif
Type: defect | Status:
needs_review
Priority: blocker | Milestone:
sage-4.7.2
Component: packages | Keywords: ABI
64-bit CPU processor Linux -m32 MPN_PATH assembler error bad register lshift
Work_issues: | Upstream:
Reported upstream. Little or no feedback.
Reviewer: | Author: Leif
Leonhardy
Merged: | Dependencies:
-------------------------------------------------------+--------------------
Description changed by leif:
Old description:
> MPIR fails to build on '''32-bit''' operating systems running on
> '''64-bit''' processors if `CFLAGS` contain `-m32` and `ABI` is '''not'''
> set.
>
> The simple solution is to set `ABI=32` in this case, which the new spkg
> now does (on Linux, where the issue occurred). It also sets `ABI=64` if
> the operating system supports it, and `ABI` isn't already set, and prints
> according messages.
>
> ----
>
> '''New spkg:'''
> [http://sage.math.washington.edu/home/leif/Sage/spkgs/mpir-2.1.3.p5.spkg]
>
> '''md5sum:''' `7881a45bb797665f4f264e17fdab2aa5`
New description:
MPIR fails to build on '''32-bit''' operating systems running on
'''64-bit''' processors if `CFLAGS` contain `-m32` and `ABI` is '''not'''
set.
The simple solution is to set `ABI=32` in this case, which the new spkg
now does (on Linux, where the issue occurred). It also sets `ABI=64` if
the operating system supports it, and `ABI` isn't already set, and prints
according messages.
----
Upstream report: [http://groups.google.com/group/mpir-
devel/browse_thread/thread/46ccdc5dfc3485cd]
----
'''New spkg:'''
[http://sage.math.washington.edu/home/leif/Sage/spkgs/mpir-2.1.3.p5.spkg]
'''md5sum:''' `7881a45bb797665f4f264e17fdab2aa5`
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11896#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.