missing libffi.so master link

Riccardo Mottola rmottola at opencsw.org
Sun Mar 8 21:00:35 CET 2015


Hi,

Laurent Blume wrote:
> Le 2015/03/08 14:59 +0100, Dagobert Michelsen a écrit:
>>    BUILD64 = 1
> Only this one is enough IMO.
I falsely understood I could remove that. Since this is a library only, 
I think you are right.

I get an error however when enabling BUILD64

This on unstable10x:
libtool: link: /opt/csw/bin/gcc-4.9 -shared  -fPIC -DPIC -Wl,-z -Wl,text 
-Wl,-h -Wl,libffi.so.6 -o .libs/libffi.so.6.0.4 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 -L/opt/csw/lib/64  -O2 -m64 
-march=opteron -m64 -march=opteron -m64 -march=opteron
ld: fatal: file src/x86/.libs/unix64.o: section [5].eh_frame: section 
type is SHT_PROGBITS: expected SHT_AMD64_UNWIND
collect2: error: ld returned 1 exit status
Makefile:1165: recipe for target 'libffi.la' failed

however on unstable10s it works!
http://buildfarm.opencsw.org/pkgdb/srv4/5a8ccc56778c96c5cba0d1876767ff92/

but I don't see differentiated 32bit and 64bit libraries, are you sure 
this is correct and I did not just a 64bit only

On unstable9x:
gmake[1]: Entering directory `/home/rmottola/opencsw/libffi/trunk'
/home/rmottola/opencsw/.buildsys/v2/gar//gar.conf.mk:502: *** The ISA 
'amd64' can not be build on this kernel with the arch 'i386'. Stop.
gmake[1]: Leaving directory `/home/rmottola/opencsw/libffi/trunk'

this is even worse, isn't 9x 64bit capable too?? perhaps 64BIT is not 
doing the correct thing.

Unstable9s instead seems to work like unstable10s, that is a single 
package can't say if it is 32 and/or 64 bit

http://buildfarm.opencsw.org/pkgdb/srv4/bd99bdeb7f90280e05a5e3640a4856b8/


that is,  have trouble only on intel.. of which I don't know much. Help!

Riccardo

Riccardo


More information about the maintainers mailing list