#6595: 'modified sage library code' fails at c_lib if /opt/SUNWspro/bin/CC can
be
found. (SCons issue)
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: tbd
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.3.1
Component: solaris | Keywords: scons SUNWspro SunStudio
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
------------------------+---------------------------------------------------
Comment(by drkirkby):
A few notes.
* Essentially this boils down to one thing - the library code should be
made to honor the settings of CC and CXX, and not pick compilers at
random. Since I'd not specifically set CC or CXX, then the Sage build
environment will set them to gcc and g++. (I do not know for certain if
this code honors the setting of CC or not, but it certainly does not honor
CXX).
* By default, when Sun Studio is installed, it will create links so cc
and CC are in /usr/bin, and so always in your path. So hacking SCons to
remove /opt/SUNWspro/bin will not work for most installations of Sun
Studio. In any case, that is not the way to right solve the problem.
* There are numerous packages in Sage which do not honor the values of CC
and CXX, but just use gcc and g++. That is annoying, but not a fatal flaw,
as they build as long as the first gcc and g++ in your path are suitable.
This is more serious.
* There is a mixture of Sun (-KPIC) and GNU (-fPIC) compiler flags, but
that should not be a fatal error, as unknown flags are ignored.
* I get the same problem on any SPARC I've tried this on, irrespective of
the version of Sun Studio - other versions are installed in other paths.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6595#comment:7>
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.