#6443: A GNUism in zn_poly-0.9.p0 causes linking problems wiith Sun's linker
----------------------+-----------------------------------------------------
 Reporter:  drkirkby  |       Owner:  drkirkby                  
     Type:  defect    |      Status:  new                       
 Priority:  major     |   Milestone:  sage-4.1                  
Component:  solaris   |    Keywords:  GNUism linker flags soname
 Reviewer:            |      Author:                            
   Merged:            |  
----------------------+-----------------------------------------------------
 The basic problem is seen below. gcc is called with the -Wl,-soname flag,
 so -soname gets passed to the linker. But if the linker is the Sun linker,
 this breaks.

 gcc -shared -Wl,-soname,libzn_poly-`cat VERSION`.so -o libzn_poly-`cat
 VERSION`.so src/array.o src/invert.o src/ks_support.o src/mulmid.o
 src/mulmid_ks.o src/misc.o src/mpn_mulmid.o src/mul.o src/mul_fft.o
 src/mul_fft_dft.o src/mul_ks.o src/nuss.o src/pack.o src/pmf.o
 src/pmfvec_fft.o src/tuning.o src/zn_mod.o
 -L/export/home/drkirkby/sage/sage-4.1.alpha2/local/lib -lgmp -lm
 ld: warning: option -o appears more than once, first setting taken
 ld: fatal: file libzn_poly-0.9.so: unknown file type

 I should be able to fix this without too many problems.

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