#7024: Flint ignores CC and CXX.
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |          Owner:  tbd                                  
         
       Type:  defect    |         Status:  needs_review                         
         
   Priority:  major     |      Milestone:  sage-5.0                             
         
  Component:  build     |       Keywords:                                       
         
Work_issues:            |       Upstream:  Reported upstream. Developers 
acknowledge bug.
   Reviewer:            |         Author:  R. Andrew Ohana                      
         
     Merged:            |   Dependencies:                                       
         
------------------------+---------------------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * author:  => R. Andrew Ohana


Old description:

> Flitn 1.3.0.p2 is one of several programs which ignores the settings of
> CC and CXX and users a gcc and g++ that it finds.
>

> {{{
>
> flint-1.3.0.p2/src/profiler.h
> flint-1.3.0.p2/src/mpn_extras-test.c
> 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
> ****************************************************
> Found gcc 4 or later
> Turning off loop unrolling on Solaris/Sparc
> make[2]: Entering directory
> `/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/build/flint-1.3.0.p2/src'
> gcc -std=c99
> -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/
> -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include  -fPIC
> -O2  -DNDEBUG -o zn_mod.o -c zn_poly/src/zn_mod.c
> }}}
>
> This needs fixing to add support for the Sun Studio compilers.

New description:

 Flitn 1.3.0.p2 is one of several programs which ignores the settings of CC
 and CXX and users a gcc and g++ that it finds.


 {{{

 flint-1.3.0.p2/src/profiler.h
 flint-1.3.0.p2/src/mpn_extras-test.c
 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
 ****************************************************
 Found gcc 4 or later
 Turning off loop unrolling on Solaris/Sparc
 make[2]: Entering directory
 
`/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/build/flint-1.3.0.p2/src'
 gcc -std=c99
 -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/
 -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include  -fPIC
 -O2  -DNDEBUG -o zn_mod.o -c zn_poly/src/zn_mod.c
 }}}

 This needs fixing to add support for the Sun Studio compilers.

 '''spkg''':
 [http://wstein.org/home/ohanar/clang-
 port/sage-5.0.beta1-src/spkg/standard/flint-1.5.0.p11.spkg]

--

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