pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42865: devel/libffi does not compile on Solaris



>Number:         42865
>Category:       pkg
>Synopsis:       devel/libffi does not compile on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 22 16:20:00 +0000 2010
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
SunOS spare4200 5.10 Generic_141445-09 i86pc i386 i86pc

>Description:
compiling devel/libffi with lang/gcc34 on Solaris 10/x86 fails with

libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,libffi.so.5 -o 
.libs/libffi.so.5.0.10  src/.libs/debug.o src/.libs/prep_cif.o 
src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o 
src/.libs/closures.o src/x86/.libs/ffi.o src/x86/.libs/sysv.o   
-L/software/pkgsrc/source/pkgsrc/devel/libffi/work.spare4200/.buildlink/gcc34/bin/../lib/gcc/i386-pc-solaris2.10/3.4.6
 
-L/software/pkgsrc/source/pkgsrc/devel/libffi/work.spare4200/.buildlink/gcc34/bin/../lib
 
-L/software/pkgsrc/source/pkgsrc/devel/libffi/work.spare4200/.buildlink/gcc34/lib
 -L/software/pkgsrc/source/pkgsrc/devel/libffi/work.spare4200/.buildlink/lib 
-lc  -Wl,-R/usr/pkgsrc/20090630/gcc34/lib -Wl,-R/usr/pkgsrc/20090630/lib  
Text relocation remains                         referenced
    against symbol                  offset      in file
ffi_closure_SYSV_inner              0xd2        src/x86/.libs/sysv.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index