#8039: [with spkg, needs review] ATLAS libs fail to build on Open Solaris 64 bit
due to wrong LDFLAG -melf_x86_64
----------------------------+-----------------------------------------------
   Reporter:  jsp           |       Owner:  drkirkby                            
    
       Type:  defect        |      Status:  needs_review                        
    
   Priority:  major         |   Milestone:  sage-4.3.4                          
    
  Component:  porting       |    Keywords:  building                            
    
     Author:  Jaap Spies    |    Upstream:  Workaround found; Bug reported 
upstream.
   Reviewer:  David Kirkby  |      Merged:                                      
    
Work_issues:                |  
----------------------------+-----------------------------------------------
Changes (by jsp):

  * status:  needs_work => needs_review
  * work_issues:  Rebase vs. #7827 =>


Old description:

> in src/CONFIG/src/SpewMakeInc.c LDFLAGS are set for inclusion in
> Make.inc. This file is included in all Makefiles.
>
> As a workaround I changed -melf_x86_64 in -64 in Make.inc in the
> directory where the libraries are built.
>
> This is SunOS with SAGE64="yes" only.
>
> An spkg can be found here:
> [http://boxen.math.washington.edu/home/jsp/ports/atlas-3.8.3.p11.spkg]

New description:

 in src/CONFIG/src/SpewMakeInc.c LDFLAGS are set for inclusion in Make.inc.
 This file is included in all Makefiles.

 As a workaround I changed -melf_x86_64 in -64 in Make.inc in the directory
 where the libraries are built.

 This is SunOS with SAGE64="yes" only.

 An spkg can be found here:
 [http://boxen.math.washington.edu/home/jsp/ports/atlas-3.8.3.p12.spkg]

--

Comment:

 Rebased and increased patch level. New spkg:

 [http://boxen.math.washington.edu/home/jsp/ports/atlas-3.8.3.p12.spkg]


 {{{
 make[1]: Leaving directory
 `/export/home/jaap/sage_port/sage-4.3.2.alpha1/spkg/build/atlas-3.8.3.p12
 /ATLAS-build'
 Deleting liblapack.so on Solaris due to bug in numpy/scipy

 real    9m5.693s
 user    7m45.589s
 sys     1m3.860s
 Successfully installed atlas-3.8.3.p12
 You can safely delete the temporary build directory
 /export/home/jaap/sage_port/sage-4.3.2.alpha1/spkg/build/atlas-3.8.3.p12
 Making Sage/Python scripts relocatable...
 Making script relocatable
 Finished installing atlas-3.8.3.p12.spkg
 -bash-3.2$ file local/lib/libatlas.*
 local/lib/libatlas.a:   current ar archive, not a dynamic executable or
 shared object
 local/lib/libatlas.so:  ELF 64-bit LSB dynamic lib AMD64 Version 1,
 dynamically linked, not stripped, no debugging information available

 }}}

 Jaap

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