#11083: PolyBoRi fails to build on OpenSolaris with gcc-4.6.0
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby                                
 
       Type:  defect    |      Status:  new                                     
 
   Priority:  major     |   Milestone:  sage-4.7                                
 
  Component:  solaris   |    Keywords:                                          
 
     Author:            |    Upstream:  Reported upstream. Little or no 
feedback.
   Reviewer:            |      Merged:                                          
 
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by AlexanderDreyer):

 Meanwhile. please try out this hack:
 {{{
 diff -r 7bb357180e7b SConstruct
 --- a/SConstruct        Sun Mar 13 22:34:17 2011 +0100
 +++ b/SConstruct        Wed Mar 30 10:05:01 2011 +0200
 @@ -276,6 +276,9 @@


  env = Environment(ENV = getenv, options = opts, tools = tools, toolpath =
 '.')
 +if (env['PLATFORM'] == "sunos") and ('gcc' in env['TOOLS']):
 +    if '-KPIC' in  env['SHCCFLAGS']:
 +      env['SHCCFLAGS'].remove('-KPIC')

  if 'dump' in COMMAND_LINE_TARGETS:
    print env.Dump()
 }}}

 If the problem persists, please add replace {{{scons}}} by {{{scons
 dump}}} and post the output.

 My best,
   Alexander

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