#7040: Code actually in Sage (not other project) ignores CC and uses gcc.
------------------------+---------------------------------------------------
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:
------------------------+---------------------------------------------------
Changes (by ltw):
* upstream: => N/A
Old description:
> 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
>
> CC was set to the Sun C compiler. The code in the Sage (probalby
>
> ./spkg/standard/sage-4.1.2.alpha2.spkg ) is using gcc and ignoring CC.
>
> {{{
> make[1]: Entering directory
> `/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg'
> sage-spkg sage-4.1.2.alpha2
> You must set the SAGE_ROOT environment variable or
> run this script from the SAGE_ROOT or
> SAGE_ROOT/local/bin/ directory.
> sage-4.1.2.alpha2
> Machine:
> SunOS swan 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000
> Deleting directories from past builds of previous/current versions of
> sage-4.1.2.alpha2
> Extracting package
> /export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/standard/sage-4.1.2.alpha2.spkg
> ...
> -rw-r--r-- 1 drkirkby other 39522776 Sep 21 23:28
> /export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/standard/sage-4.1.2.alpha2.spkg
> sage-4.1.2.alpha2/
> sage-4.1.2.alpha2/doc/
> <SNIP>
> sage-4.1.2.alpha2/sage/symbolic/callable.py
> sage-4.1.2.alpha2/spkg-install
> sage-4.1.2.alpha2/README.txt
> 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
> ****************************************************
> mv: cannot access
> /export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/devel/sage-main
> gcc -o src/convert.pic.o -c -fPIC
> -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/python2.6
> -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/NTL
> -Iinclude src/convert.c
> }}}
New description:
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
CC was set to the Sun C compiler. The code in the Sage (probably
{{{./spkg/standard/sage-4.1.2.alpha2.spkg}}}) is using gcc and ignoring
CC.
{{{
make[1]: Entering directory
`/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg'
sage-spkg sage-4.1.2.alpha2
You must set the SAGE_ROOT environment variable or
run this script from the SAGE_ROOT or
SAGE_ROOT/local/bin/ directory.
sage-4.1.2.alpha2
Machine:
SunOS swan 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000
Deleting directories from past builds of previous/current versions of
sage-4.1.2.alpha2
Extracting package
/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/standard/sage-4.1.2.alpha2.spkg
...
-rw-r--r-- 1 drkirkby other 39522776 Sep 21 23:28
/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/standard/sage-4.1.2.alpha2.spkg
sage-4.1.2.alpha2/
sage-4.1.2.alpha2/doc/
<SNIP>
sage-4.1.2.alpha2/sage/symbolic/callable.py
sage-4.1.2.alpha2/spkg-install
sage-4.1.2.alpha2/README.txt
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
****************************************************
mv: cannot access /export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/devel
/sage-main
gcc -o src/convert.pic.o -c -fPIC
-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/python2.6
-I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/NTL
-Iinclude src/convert.c
}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7040#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.