#7039: zn_poly-0.9 uses gcc, irrespective of setting of CC
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |          Owner:  tbd     
       Type:  defect    |         Status:  new     
   Priority:  major     |      Milestone:  sage-4.7
  Component:  build     |       Keywords:  GNUism  
Work_issues:            |       Upstream:  N/A     
   Reviewer:            |         Author:          
     Merged:            |   Dependencies:          
------------------------+---------------------------------------------------
Description changed by ltw:

Old description:

> Some time ago I sorted out the fact that znpoly failed to build if the
> linker used was the Sun linker, as znpoly used GNU specific flags.
>
> I'm 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
>
> Well it seems there was another defect too, as the setting of CC is
> ignored too.
>
> {{{
> zn_poly-0.9.p1/src/src/ks_support.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
> ****************************************************
> make[2]: Entering directory
> `/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/build/zn_poly-0.9.p1/src'
> gcc -fPIC -O3 -L.
> -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include
> -I./include -DNDEBUG -o src/array.o -c src/array.c
>
> }}}

New description:

 Some time ago I sorted out the fact that znpoly failed to build if the
 linker used was the Sun linker, as znpoly used GNU specific flags.

 I'm 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

 Well it seems there was another defect too, as the setting of CC is
 ignored too.

 {{{
 zn_poly-0.9.p1/src/src/ks_support.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
 ****************************************************
 make[2]: Entering directory
 
`/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/build/zn_poly-0.9.p1/src'
 gcc -fPIC -O3 -L.
 -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include
 -I./include -DNDEBUG -o src/array.o -c src/array.c

 }}}

--

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