#7038: ratpoints 2.1.2.p2 ignores CC and uses gcc whatever
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |          Owner:  tbd     
       Type:  defect    |         Status:  new     
   Priority:  major     |      Milestone:  sage-4.7
  Component:  build     |       Keywords:          
Work_issues:            |       Upstream:  N/A     
   Reviewer:  GNUism    |         Author:          
     Merged:            |   Dependencies:          
------------------------+---------------------------------------------------
Changes (by ltw):

  * upstream:  => N/A


Old description:

> I gather ratpoints is causing problems with it wanting a very recent
> version of gcc, where here is another issue. Even if the variable CC is
> set to the Sun compiler, ratpoints ignores that and simply uses gcc
> anyway.
>
> The build of ratpoints was attempted using
>
>     * Solaris 10 update 7 on SPARC
>     * sage-4.1.2.alpha2
>     * Sun Studio 12.1
>     * An updated configure script to allow the Sun compiler to be used
> http://sagetrac.org/sage_trac/ticket/7021
>
> So it seems there are two at least two issues to resolve in ratpoints.
>
> {{{
> ratpoints-2.1.2.p2/src/testdata.h
> Finished extraction
> ****************************************************
> Host system
> uname -a:
> SunOS swan 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000
> ****************************************************
> ****************************************************
> CC Version
> /opt/xxxsunstudio12.1/bin/cc -v
> usage: cc [ options] files.  Use 'cc -flags' for details
> ****************************************************
> make[2]: Entering directory
> `/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/build/ratpoints-2.1.2.p2/src'
> gcc sift.c -c -o sift.o
> -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall
> -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops
> gcc gen_init_sieve_h.c -o gen_init_sieve_h
> -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall
> -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE
> -L/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/lib -lgmp -lm
> ./gen_init_sieve_h > init_sieve.h
> gcc init.c -c -o init.o
> -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall
> -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops -O3
> }}}

New description:

 I gather ratpoints is causing problems with it wanting a very recent
 version of gcc, where here is another issue. Even if the variable CC is
 set to the Sun compiler, ratpoints ignores that and simply uses gcc
 anyway.

 The build of ratpoints was attempted using

     * Solaris 10 update 7 on SPARC
     * sage-4.1.2.alpha2
     * Sun Studio 12.1
     * An updated configure script to allow the Sun compiler to be used
 #7021

 So it seems there are two at least two issues to resolve in ratpoints.

 {{{
 ratpoints-2.1.2.p2/src/testdata.h
 Finished extraction
 ****************************************************
 Host system
 uname -a:
 SunOS swan 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000
 ****************************************************
 ****************************************************
 CC Version
 /opt/xxxsunstudio12.1/bin/cc -v
 usage: cc [ options] files.  Use 'cc -flags' for details
 ****************************************************
 make[2]: Entering directory
 
`/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/build/ratpoints-2.1.2.p2/src'
 gcc sift.c -c -o sift.o
 -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall
 -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops
 gcc gen_init_sieve_h.c -o gen_init_sieve_h
 -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall
 -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE
 -L/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/lib -lgmp -lm
 ./gen_init_sieve_h > init_sieve.h
 gcc init.c -c -o init.o
 -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall
 -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops -O3
 }}}

--

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

Reply via email to