g-wrap-dev
[Top][All Lists]
Advanced

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

Re: g-wrap Compile issues on Solaris 10


From: Ludovic Courtès
Subject: Re: g-wrap Compile issues on Solaris 10
Date: Mon, 19 Jun 2006 10:33:47 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Hi,

Charles Gagnon <address@hidden> writes:

> I tried g-wrap-1.9.6 and I get other errors:
>
> make[4]: Entering directory `/usr/local/src/g-wrap-1.9.6/libffi'
> /bin/bash ./libtool --tag=CC --mode=link gcc -Wall -g -fexceptions
> -g -O2  -L/usr/local/lib -R/usr/local/lib -o libffi.la -rpath
> /usr/local/lib -version-info `grep -v '^#' ./libtool-version`
> src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo
> src/java_raw_api.lo     src/sparc/ffi.lo src/sparc/v8.lo
> src/sparc/v9.lo                
> gcc -shared -Wl,-h -Wl,libffi.so.4 -o .libs/libffi.so.4.0.1
> 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/sparc/.libs/ffi.o
> src/sparc/.libs/v8.o src/sparc/.libs/v9.o  -R/usr/local/lib
> -L/usr/local/lib -lc 
> ld: fatal: relocation error: R_SPARC_32: file src/sparc/.libs/v8.o:
> symbol <unknown>: offset 0xfeed5a8e is non-aligned
> ld: fatal: relocation error: R_SPARC_32: file src/sparc/.libs/v8.o:
> symbol <unknown>: offset 0xfeed73b9 is non-aligned
> ld: fatal: relocation error: R_SPARC_32: file src/sparc/.libs/v8.o:
> symbol <unknown>: offset 0xfeed7b0e is non-aligned
> collect2: ld returned 1 exit status
> make[4]: *** [libffi.la] Error 1
> make[4]: Leaving directory `/usr/local/src/g-wrap-1.9.6/libffi'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/g-wrap-1.9.6/libffi'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/local/src/g-wrap-1.9.6/libffi'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/g-wrap-1.9.6'
> make: *** [all] Error 2
>
> Any ideas?

This is a `libffi' compilation failure.  Is `ld' GNU ld or Sun's?  If
it's Sun's, can you check whether this relates with bugs affecting the
linker versions mentioned in [0]?

Thanks,
Ludovic.

[0] http://gcc.gnu.org/install/specific.html#sparc-sun-solaris27




reply via email to

[Prev in Thread] Current Thread [Next in Thread]