#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: blocker
| Milestone: sage-4.7.2
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
Author: Leif Leonhardy
| Merged: sage-4.7.2.alpha4
Dependencies:
|
-------------------------------------------------------------------------------------------------+
Comment(by jdemeyer):
This '''fails''' to build on Itanium:
{{{
mpir-2.1.3.p5
Machine:
Linux iras 2.6.16.46-0.12-default #1 SMP Thu May 17 14:00:09 UTC 2007 ia64
ia64 ia64 GNU/Linux
Deleting directories from past builds of previous/current versions of
mpir-2.1.3.p5
Extracting package
/home/buildbot/build/sage/iras-1/iras_full/build/sage-4.7.2.alpha4/spkg/standard/mpir-2.1.3.p5.spkg
...
-rw-r--r-- 1 buildbot sage 3759395 2011-10-04 22:36
/home/buildbot/build/sage/iras-1/iras_full/build/sage-4.7.2.alpha4/spkg/standard/mpir-2.1.3.p5.spkg
Finished extraction
****************************************************
Host system
uname -a:
Linux iras 2.6.16.46-0.12-default #1 SMP Thu May 17 14:00:09 UTC 2007 ia64
ia64 ia64 GNU/Linux
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.6.1/ia64-Linux-suse/libexec/gcc/ia64
-unknown-linux-gnu/4.6.1/lto-wrapper
Target: ia64-unknown-linux-gnu
Configured with: /usr/local/gcc-4.6.1/src/gcc-4.6.1/configure --enable-
languages=c,c++,fortran --with-gnu-as --with-
as=/usr/local/binutils-2.21/ia64-Linux-suse-gcc-4.5.1/bin/as --with-gnu-ld
--with-ld=/usr/local/binutils-2.21/ia64-Linux-suse-gcc-4.5.1/bin/ld
--with-gmp=/usr/local/mpir-2.4.0/ia64-Linux-suse-gcc-4.6.0 --with-
mpfr=/usr/local/mpfr-3.0.1/ia64-Linux-suse-mpir-2.4.0-gcc-4.6.0 --with-
mpc=/usr/local/mpc-0.9/ia64-Linux-suse-mpir-2.4.0-mpfr-3.0.1-gcc-4.6.0
--prefix=/usr/local/gcc-4.6.1/ia64-Linux-suse
Thread model: posix
gcc version 4.6.1 (GCC)
****************************************************
Warning: Building MPIR with SAGE_DEBUG=yes disables optimization.
Building a 32-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: -g -O0
LDFLAGS: -Wl,-z,noexecstack
ABI: 32
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 -O0
CPPFLAGS=
CXX=g++
CXXFLAGS=
LDFLAGS= -Wl,-z,noexecstack
ABI=32
(These settings may still get overridden by 'configure' or Makefiles.)
Configuring MPIR with the following options:
--prefix="/home/buildbot/build/sage/iras-1/iras_full/build/sage-4.7.2.alpha4/local"
--enable-shared --enable-static --enable-gmpcompat --enable-cxx=yes
You can set MPIR_EXTRA_OPTS to pass additional parameters.
checking build system type... ia64-unknown-linux-gnu
checking host system type... ia64-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 -j4 sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: error: ABI=32 is not among the following valid choices: 64
Error configuring MPIR. (See above for the options passed to it.)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11896#comment:10>
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.