#7031: singular believes the Sun C++ compiler is broken.
----------------------+-----------------------------------------------------
 Reporter:  drkirkby  |       Owner:  tbd       
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-4.1.2
Component:  solaris   |    Keywords:            
 Reviewer:            |      Author:            
   Merged:            |  
----------------------+-----------------------------------------------------
 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 compler, and CXX to the Sun C++ compiler. The
 singular configure script does not believe the Sun C++ compiler can create
 executables. This is the same sort of error as seen in quaddouble-2.2.p9
 #7030.

 This time the problem is easy to diagnose. The test is used adds the
 option -fPIC when trying to test the C++ compiler. But -fPIC is a GNU-
 specific option - it is not acceptable to the Sun C++ compiler. Instead
 -xcode=pic32, -KPIC or -PIC would work, but not -fPIC.

 It's clearly dumb to send a GNU specific option to test a C++ compiler
 unless you are 100% sure the C++ compiler is the GNU C++ compiler.

 {{{
 checking for c++... /opt/xxxsunstudio12.1/bin/CC
 checking whether the C++ compiler (/opt/xxxsunstudio12.1/bin/CC  -O3 -g
 -fPIC ) works... no
 }}}

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