#14172: mpir-2.6.0.p0 fails to build on 32-bit architecure
------------------------+---------------------------------------------------
   Reporter:  tmonteil  |             Owner:  GeorgSWeber
       Type:  defect    |            Status:  new        
   Priority:  major     |         Milestone:  sage-5.8   
  Component:  build     |          Keywords:  mpir, spkg 
Work issues:            |   Report Upstream:  N/A        
  Reviewers:            |           Authors:             
  Merged in:            |      Dependencies:             
   Stopgaps:            |  
------------------------+---------------------------------------------------
 The build of sage 5.7 stops during the build of the mpir-2.6.0.p0 package.

 spkg/logs/mpir-2.6.0.p0.log is pasted at http://paste.debian.net/237529/

 The problem seems related to some 32-bit architecture:
 {{{
 Building a 32-bit version of MPIR.
 Building MPIR with the C++ interface and (also) static libraries.
 ** Building with "fat binary" support for 32-bit CPUs **
 [...]
 configure: error: ABI=32 is not among the following valid choices:
 standard
 Error configuring MPIR (with CFLAGS unset).
 }}}

 The machine is running Debian wheezy, Linux 3.2.0-4-686-pae #1 SMP Debian
 3.2.35-2 i686 GNU/Linux

 I used the following sage variables :
 - SAGE_FAT_BINARY='yes'
 - SAGE_BINARY_BUILD='yes'
 - SAGE_CHECK="yes"
 - MAKE="make -j2"

 I had no problem building sage-5.6 on the same machine with the same
 configuration.

 Exporting ABI='standard' globally (see
 http://ask.sagemath.org/question/1713/error-installing-package-mpir-240p6)
 allows the mpir spkg to be built but then gap-4.5.7.p3 cannot be built
 since it also uses the ABI variable for which the value 'standard' does
 not make sense (it only accepts ABI=32 or ABI=64).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14172>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to