#11896: MPIR 2.x may fail to build on 32-bit operating systems
-------------------------------------------------------------------------------------------------+
Reporter: Nathann Cohen, Dan Drake, Steven Trogdon
| Owner: leif
Type: defect
| Status: closed
Priority: critical
| Milestone: sage-4.7.3
Component: packages
| Resolution: fixed
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: Steven Trogdon, Jeroen Demeyer, Leif
Leonhardy
Author: Leif Leonhardy, Jeroen Demeyer
| Merged: sage-4.7.3.alpha0
Dependencies:
|
-------------------------------------------------------------------------------------------------+
Comment(by jhpalmieri):
For what it's worth, this fails to build on the skynet machine silius. I
get the same error message with p5 and p6:
{{{
Building a 64-bit version of MPIR
Checking what CFLAGS MPIR would use if they were empty...
Settings required to properly build MPIR, taking into account SAGE_DEBUG
etc.:
CFLAGS:
LDFLAGS: -Wl,-z,noexecstack
ABI: 64
Settings from the "global" environment:
CC: gcc
CFLAGS:
(CPPFLAGS, CXX and CXXFLAGS are listed below; these don't get modified.)
Using the spkg's (i.e. Sage's) default (plus mandatory) settings.
Finally using the following settings:
CC=gcc
CFLAGS= -g -O3
CPPFLAGS=
CXX=g++
CXXFLAGS=
LDFLAGS= -Wl,-z,noexecstack
ABI=64
(These settings may still get overridden by 'configure' or Makefiles.)
Configuring MPIR with the following options:
--prefix="/home/palmieri/silius/sage-4.7.2.alpha4/local" --enable-
shared --enable-static --ena\
ble-gmpcompat --enable-cxx=yes
You can set MPIR_EXTRA_OPTS to pass additional parameters.
checking build system type... power7-unknown-linux-gnu
checking host system type... power7-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make -j12 sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: error: ABI=64 is not among the following valid choices: mode64
mode32 32
Error configuring MPIR. (See above for the options passed to it.)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11896#comment:26>
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.