#7034: PolyBoRi pass GNU specific options to the Sun compiler
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.7
Component: solaris | Keywords: SCons Solaris
Work_issues: | Upstream: Reported upstream. Little or no
feedback.
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
Description changed by ltw:
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, and CXX to the Sun C++ compiler,
>
> It would appear that Using PolyBoRi correctly uses the value of CXX as
> the C++ compiler, but will pass GNU specific options to that compiler.
>
> {{{
> polybori-0.6.3-20090827/.hgignore
> 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
> ****************************************************
> mkdir: Failed to make directory "src/boost_1_34_1.cropped"; File exists
> Starting build...
> Removing old PolyBoRi install...
> Done removing old PolyBoRi install.
> Running build_polybori...
> scons: Reading SConscript files ...
> Sun linker detected.
> Checking for C header file gd.h... no
> Checking for C++ header file unordered_map... no
> Checking for C++ header file tr1/unordered_map... no
> Checking for C++ header file ext/hash_map... no
> Warning: No LaTeX to html converter found, Tutorial will not be installed
> Checking for C library m4ri... no
> Checking for C header file gd.h... no
> Symlinking to M4RI/m4ri ...
> no python extension
> scons: done reading SConscript files.
> scons: Building targets ...
> /opt/xxxsunstudio12.1/bin/CC -o polybori/src/BoolePolyRing.o -c -O3 -Wno-
> long-long -Wreturn-type -g -fPIC -ftemplate-depth-100 -g -fPIC -O3 -Wno-
> long-long -Wreturn-type -g -fPIC -DNDEBUG -DPACKED -DHAVE_M4RI
> -DHAVE_IEEE_754 -DBSD
> -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/build/polybori-0.6.3-20090827/src/boost_1_34_1.cropped
> -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
> -Ipolybori/include -IM4RI -ICudd/obj -ICudd/util -ICudd/cudd -ICudd/mtr
> -ICudd/st -ICudd/epd polybori/src/BoolePolyRing.cc
> CC: Warning: Option -Wno-long-long passed to ld, if ld is invoked,
> ignored otherwise
> CC: Warning: Option -Wreturn-type passed to ld, if ld is invoked, ignored
> otherwise
> CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored
> otherwise
> CC: Warning: Option -ftemplate-depth-100 passed to ld, if ld is invoked,
> ignored otherwise
> CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored
> otherwise
> CC: Warning: Option -Wno-long-long passed to ld, if ld is invoked,
> ignored otherwise
> CC: Warning: Option -Wreturn-type passed to ld, if ld is invoked, ignored
> otherwise
> CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored
> otherwise
> "polybori/include/CDDManager.h", line 103: Warning: Last line in file
> "polybori/include/cacheopts.h" is not terminated with a newline.
> "polybori/include/CCuddZDD.h", line 308: Warning (Anachronism): Formal
> argument func of type DdNode*(*)(DdManager*,DdNode*,int) in call to
> polybori::CCuddDDBase<polybori::CCuddZDD>::apply(DdNode*(*)(DdManager*,DdNode*,int),
> int) const is being passed extern "C" DdNode*(*)(DdManager*,DdNode*,int).
> "polybori/include/CCuddZDD.h", line 308: Warning (Anachronism): Formal
> argument func of type DdNode*(*)(DdManager*,DdNode*,int) in call to
> polybori::CCuddDDBase<polybori::CCuddZDD>::apply(DdNode*(*)(DdManager*,DdNode*,int),
> int) const is being passed extern "C" DdNode*(*)(DdManager*,DdNode*,int).
> "polybori/include/CCuddZDD.h", line 308: Warning (Anachronism): Formal
> argument func of type DdNode*(*)(DdManager*,DdNode*,int) in call to
> polybori::CCuddDDBase<polybori::CCuddZDD>::apply(DdNode*(*)(DdManager*,DdNode*,int),
> int) const is being passed extern "C" DdNode*(*)(DdManager*,DdNode*,int).
> }}}
>
> PolyBoRi uses SCons, and the use of SCons in Sage seems to cause
> countless problems.
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, and CXX to the Sun C++ compiler,
It would appear that Using PolyBoRi correctly uses the value of CXX as the
C++ compiler, but will pass GNU specific options to that compiler.
{{{
polybori-0.6.3-20090827/.hgignore
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
****************************************************
mkdir: Failed to make directory "src/boost_1_34_1.cropped"; File exists
Starting build...
Removing old PolyBoRi install...
Done removing old PolyBoRi install.
Running build_polybori...
scons: Reading SConscript files ...
Sun linker detected.
Checking for C header file gd.h... no
Checking for C++ header file unordered_map... no
Checking for C++ header file tr1/unordered_map... no
Checking for C++ header file ext/hash_map... no
Warning: No LaTeX to html converter found, Tutorial will not be installed
Checking for C library m4ri... no
Checking for C header file gd.h... no
Symlinking to M4RI/m4ri ...
no python extension
scons: done reading SConscript files.
scons: Building targets ...
/opt/xxxsunstudio12.1/bin/CC -o polybori/src/BoolePolyRing.o -c -O3 -Wno-
long-long -Wreturn-type -g -fPIC -ftemplate-depth-100 -g -fPIC -O3 -Wno-
long-long -Wreturn-type -g -fPIC -DNDEBUG -DPACKED -DHAVE_M4RI
-DHAVE_IEEE_754 -DBSD
-I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/build/polybori-0.6.3-20090827/src/boost_1_34_1.cropped
-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
-Ipolybori/include -IM4RI -ICudd/obj -ICudd/util -ICudd/cudd -ICudd/mtr
-ICudd/st -ICudd/epd polybori/src/BoolePolyRing.cc
CC: Warning: Option -Wno-long-long passed to ld, if ld is invoked, ignored
otherwise
CC: Warning: Option -Wreturn-type passed to ld, if ld is invoked, ignored
otherwise
CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored
otherwise
CC: Warning: Option -ftemplate-depth-100 passed to ld, if ld is invoked,
ignored otherwise
CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored
otherwise
CC: Warning: Option -Wno-long-long passed to ld, if ld is invoked, ignored
otherwise
CC: Warning: Option -Wreturn-type passed to ld, if ld is invoked, ignored
otherwise
CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored
otherwise
"polybori/include/CDDManager.h", line 103: Warning: Last line in file
"polybori/include/cacheopts.h" is not terminated with a newline.
"polybori/include/CCuddZDD.h", line 308: Warning (Anachronism): Formal
argument func of type DdNode*(*)(DdManager*,DdNode*,int) in call to
polybori::CCuddDDBase<polybori::CCuddZDD>::apply(DdNode*(*)(DdManager*,DdNode*,int),
int) const is being passed extern "C" DdNode*(*)(DdManager*,DdNode*,int).
"polybori/include/CCuddZDD.h", line 308: Warning (Anachronism): Formal
argument func of type DdNode*(*)(DdManager*,DdNode*,int) in call to
polybori::CCuddDDBase<polybori::CCuddZDD>::apply(DdNode*(*)(DdManager*,DdNode*,int),
int) const is being passed extern "C" DdNode*(*)(DdManager*,DdNode*,int).
"polybori/include/CCuddZDD.h", line 308: Warning (Anachronism): Formal
argument func of type DdNode*(*)(DdManager*,DdNode*,int) in call to
polybori::CCuddDDBase<polybori::CCuddZDD>::apply(DdNode*(*)(DdManager*,DdNode*,int),
int) const is being passed extern "C" DdNode*(*)(DdManager*,DdNode*,int).
}}}
PolyBoRi uses SCons, and the use of SCons in Sage seems to cause countless
problems.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7034#comment:6>
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.