#9007: iconv not building properly on OpenSolaris
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby  
       Type:  defect    |      Status:  new       
   Priority:  major     |   Milestone:  sage-4.4.3
  Component:  solaris   |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------
 The following problem is observed with Sage 4.4.2

 {{{
 /bin/sh ../libtool --mode=link gcc  -m64 -fvisibility=hidden -o
 libiconv.la -rpath /export/home/drkirkby/sage-4.4.2/local/lib -version-
 info 7:0:5 -no-undefined iconv.lo localcharset.lo relocatable.lo
 libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,libiconv.so.2 -o
 .libs/libiconv.so.2.5.0  .libs/iconv.o .libs/localcharset.o
 .libs/relocatable.o   -lc  -m64
 Text relocation remains                         referenced
     against symbol                  offset      in file
 aliases_lookup                      0x1b818     .libs/iconv.o
 aliases_lookup                      0x1b9be     .libs/iconv.o
 aliases_lookup                      0x1bec7     .libs/iconv.o
 aliases_lookup                      0x1c06d     .libs/iconv.o
 aliases_lookup                      0x1c932     .libs/iconv.o
 ld: fatal: relocations remain against allocatable but non-writable
 sections
 collect2: ld returned 1 exit status
 make[3]: *** [libiconv.la] Error 1
 make[3]: Leaving directory
 `/export/home/drkirkby/sage-4.4.2/spkg/build/iconv-1.13.1.p2/src/lib'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/export/home/drkirkby/sage-4.4.2/spkg/build/iconv-1.13.1.p2/src'
 Error making iconv

 real    0m11.098s
 user    0m5.345s
 sys     0m4.733s
 sage: An error occurred while installing iconv-1.13.1.p2
 }}}

 I've tried building the source outside of Sage, both 32 and 64-bit, and
 neither work. A Google shows using the GNU linker will probably solve it,
 but that is not an acceptable solution, as the GNU linker will create its
 own set of problems in other packages. It is better that the issue is
 resolved properly.

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