#17806: MPIR fails to build on 32-bit Linux with SAGE_FAT_BINARY=yes
--------------------------------------+------------------------
       Reporter:  vbraun              |        Owner:
           Type:  defect              |       Status:  new
       Priority:  blocker             |    Milestone:  sage-6.6
      Component:  packages: standard  |   Resolution:
       Keywords:                      |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------
Description changed by tmonteil:

Old description:

> Both the arando buildbot binary build as well as the virtual machine
> build of Sage-6.5 failed with
> {{{
> In file included from fat.c:123:0:
> ../cpuid.c: In function '__gmpn_cpu':
> ../cpuid.c:96:47: error: 'CPUSETUP_ivybridge' undeclared (first use in
> this function)
>  #define CPUIS(x) do{TRACE(printf("  "#x"\n"));CPUSETUP_##x;}while(0)
>                                                ^
> ../cpuid.c:174:24: note: in expansion of macro 'CPUIS'
>       if (model == 58){ CPUIS(ivybridge);break;}
>                         ^
> ../cpuid.c:96:47: note: each undeclared identifier is reported only once
> for each function it appears in
>  #define CPUIS(x) do{TRACE(printf("  "#x"\n"));CPUSETUP_##x;}while(0)
>                                                ^
> ../cpuid.c:174:24: note: in expansion of macro 'CPUIS'
>       if (model == 58){ CPUIS(ivybridge);break;}
>                         ^
> ../cpuid.c:96:47: error: 'CPUSETUP_haswell' undeclared (first use in this
> function)
>  #define CPUIS(x) do{TRACE(printf("  "#x"\n"));CPUSETUP_##x;}while(0)
>                                                ^
> ../cpuid.c:175:22: note: in expansion of macro 'CPUIS'
>     if (model == 60){ CPUIS(haswell);break;}
>                       ^
> ../cpuid.c:96:47: error: 'CPUSETUP_piledriver' undeclared (first use in
> this function)
>  #define CPUIS(x) do{TRACE(printf("  "#x"\n"));CPUSETUP_##x;}while(0)
>                                                ^
> ../cpuid.c:230:24: note: in expansion of macro 'CPUIS'
>       if (model == 2) { CPUIS(piledriver); break; }
>                         ^
> make[6]: *** [fat.lo] Error 1
> }}}
>
> Arando MPIR build log
> http://build.sagedev.org/release/builders/Zbin%20%20fast%20Oxford%20arando%20%28Ubuntu%2013.04%20i686%29%20binary/builds/8/steps/compile_2/logs/mpir

New description:

 Both the arando buildbot binary build as well as the virtual machine build
 of Sage-6.5 failed with
 {{{
 In file included from fat.c:123:0:
 ../cpuid.c: In function '__gmpn_cpu':
 ../cpuid.c:96:47: error: 'CPUSETUP_ivybridge' undeclared (first use in
 this function)
  #define CPUIS(x) do{TRACE(printf("  "#x"\n"));CPUSETUP_##x;}while(0)
                                                ^
 ../cpuid.c:174:24: note: in expansion of macro 'CPUIS'
       if (model == 58){ CPUIS(ivybridge);break;}
                         ^
 ../cpuid.c:96:47: note: each undeclared identifier is reported only once
 for each function it appears in
  #define CPUIS(x) do{TRACE(printf("  "#x"\n"));CPUSETUP_##x;}while(0)
                                                ^
 ../cpuid.c:174:24: note: in expansion of macro 'CPUIS'
       if (model == 58){ CPUIS(ivybridge);break;}
                         ^
 ../cpuid.c:96:47: error: 'CPUSETUP_haswell' undeclared (first use in this
 function)
  #define CPUIS(x) do{TRACE(printf("  "#x"\n"));CPUSETUP_##x;}while(0)
                                                ^
 ../cpuid.c:175:22: note: in expansion of macro 'CPUIS'
     if (model == 60){ CPUIS(haswell);break;}
                       ^
 ../cpuid.c:96:47: error: 'CPUSETUP_piledriver' undeclared (first use in
 this function)
  #define CPUIS(x) do{TRACE(printf("  "#x"\n"));CPUSETUP_##x;}while(0)
                                                ^
 ../cpuid.c:230:24: note: in expansion of macro 'CPUIS'
       if (model == 2) { CPUIS(piledriver); break; }
                         ^
 make[6]: *** [fat.lo] Error 1
 }}}

 - Arando
 
[http://build.sagedev.org/release/builders/Zbin%20%20fast%20Oxford%20arando%20%28Ubuntu%2013.04%20i686%29%20binary/builds/8/steps/compile_2/logs/mpir
 MPIR build log]

 - report and discussion [https://groups.google.com/forum/#!topic/mpir-
 devel/3KCc0_wrEh0 on mpir-devel]

--

--
Ticket URL: <http://trac.sagemath.org/ticket/17806#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 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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to