This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bug Report: Can not compile libffi on solaris 10 (x86)


Hello,
I'm reporting a bug with libffi. I'm trying to compile the library on
our solaris 10 (x86) server but it had failed with the following
message:

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/ffi64.o src/x86/.libs/unix64.o
src/x86/.libs/ffi.o src/x86/.libs/sysv.o?? -lc
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
make[2]: *** [libffi.la] Error 1
make[2]: Leaving directory `/var/tmp/libffi-3.0.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/libffi-3.0.9'
make: *** [all] Error 2


The compiler I'm using is
*****************************************************************************************************
Reading specs from /opt/local/bin/../lib/gcc/i386-pc-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
******************************************************************************************************
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.497
******************************************************************************************************
GNU Make 3.80
Copyright (C) 2002? Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

*******************************************************************************************************
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.? There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Please let me know if there is any more info you will need. Thanks.


Jiaqing Wang


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]