#6380: [with patch, needs review] Allow NTL to build on Solaris with Sun or GNU
linker
----------------------+-----------------------------------------------------
 Reporter:  drkirkby  |       Owner:  drkirkby                   
     Type:  defect    |      Status:  new                        
 Priority:  major     |   Milestone:  sage-4.1                   
Component:  solaris   |    Keywords:  solaris ntl makefile GNUism
 Reviewer:            |      Author:                             
   Merged:            |  
----------------------+-----------------------------------------------------
 Although the ntl-5.4.2.p7 package would build on Solaris 10 with gcc 4.4.0
 if the gcc was configured to use the GNU linker from binutils, the package
 would not build with the gcc if the compiler was configured to use the Sun
 linker, with the following options:

 --with-ld=/usr/ccs/bin/ld --without-gnu-ld

 The part of the makefile executed when building a shared library would
 fail if the Sun linker was used. The makefile specified the same output
 filename twice, but in a way the Sun linker would not tolerate.

 This patch simply removes a very small bit of code (just
 "-Wl,-soname,lib`cat DIRNAME`.so "), which allows NTL to build properly,
 irrespective of the linker that is being used.

 Please see

 http://sage.math.washington.edu/home/kirkby/Solaris-fixes/ntl/

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