#6399: [with patch, needs review] Allow ATLAS to build on Solaris with Sun or 
GNU
linker
----------------------+-----------------------------------------------------
 Reporter:  drkirkby  |       Owner:  drkirkby            
     Type:  defect    |      Status:  new                 
 Priority:  major     |   Milestone:  sage-4.1.1          
Component:  solaris   |    Keywords:  solaris atlas GNUism
 Reviewer:            |      Author:  David Kirkby        
   Merged:            |  
----------------------+-----------------------------------------------------

Comment(by drkirkby):

 I'm confused, this appears to have been incorporated in atlas-3.8.3.p5, so
 I think this can be classed as fixed.

 Here's the relavent bits of SPKG.txt

 == ChangeLog ==

 === atlas-3.8.3.p5 (David Kirkby, June 24th 2009) ===
  * Made a backup of ATLAS-build/lib/Makefile to ATLAS-
 build/lib/Makefile.orig
  * Alter the flags in ATLAS-build/lib/Makefile with those that will work
 if the linker
    used is the Sun linker. The default Makefile makes use of the GNU
 linker's
    flags, such as "-shared" which is not acceptable to the Sun linker.

    The patch is only applied if the operating system is Solaris, and the
    linker is not the GNU linker. The flags charged are:
    -shared ==> -G
    -soname ==> -h
    --whole-archive ==>  -z allextract
    --no-whole-archive ==> -z defaultextract

     NOTES:
     1) Sun have a tool which accepts gcc flags, but calls the Sun
 compiler.
     This patch might mess things up if that is used. Having never used the
 tool
     it's impossible to be 100% sure of this. Anyway, that will be some
 time in
     the future, so this patch can be removed.

     2) The fact the linker flags are GNU specific has been reported to the
 ATLAS
     maintainer, so they may fix this problem. In which case the patch
 could be
     removed at a later date.
   * Fixed a minor spelling mistake in this file

 === atlas-3.8.3.p4 (David Kirkby, June 16th 2009) ===
  * Change GuessSmallNB() in src/tune/blas/gemm/mmsearch.c
    as suggested by Clint Whaley to return 28
    on Solaris. This is ONLY A TEMPORARY FIX and once the real problem
    in the function is sorted out, this fix will need to be removed. But
    for now it permits ATLAS to build on a Sun T5240 with gcc-4.4.0.

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