#14172: mpir-2.6.0.p0 fails to build on Intel "Core" CPUs
------------------------------------------------------------------+---------
       Reporter:  tmonteil                                        |         
Owner:  GeorgSWeber
           Type:  defect                                          |        
Status:  new        
       Priority:  major                                           |     
Milestone:  sage-5.8   
      Component:  build                                           |    
Resolution:             
       Keywords:  mpir spkg ABI standard Intel Core               |   Work 
issues:             
Report Upstream:  Reported upstream. Developers acknowledge bug.  |     
Reviewers:             
        Authors:                                                  |     Merged 
in:             
   Dependencies:                                                  |      
Stopgaps:             
------------------------------------------------------------------+---------

Old description:

> 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).

New description:

 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"

 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).

--

Comment (by tmonteil):

 The output of running config.guess is indeed core-pc-linux-gnu (as well as
 on the mpir-2.4.0.p6.spkg).

 Now, looking back at the logs of the sage-5.6 build, it seems that i built
 it on a more recent machine (though the live USB key with 32-bit OS was
 the same). Sorry for having missing that (i am currently oscillating
 between two different locations every two weeks).

 Running ./sage -f -s spkg/standard/mpir-2.4.0.p6.spkg on the older machine
 does the same bug.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14172#comment:11>
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