[gnutls-devel] [sr #108806] Cross build of GnuTLS for ARM links against build system libraries
anonymous
INVALID.NOREPLY at gnu.org
Thu Apr 23 18:14:58 CEST 2015
URL:
<http://savannah.gnu.org/support/?108806>
Summary: Cross build of GnuTLS for ARM links against build
system libraries
Project: GnuTLS
Submitted by: None
Submitted on: Thu 23 Apr 2015 04:14:56 PM UTC
Category: Core library
Priority: 5 - Normal
Severity: 4 - Important
Status: None
Privacy: Public
Assigned to: None
Originator Email: scotty at a-concepts.com
Open/Closed: Open
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
When attempting to cross build GnuTLS 3.3.14 for ARM, libtool is forcing the
library to link against the build system crti.o and crtbeginS.o:
libtool: link: g++ -fPIC -DPIC -shared -nostdlib
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/crtbeginS.o .libs/libgnutlsxx_la-gnutlsxx.o
-Wl,-rpath -Wl,/home/jhe/lidarcam-base/gnutls-3.3.14/lib/.libs -Wl,-rpath
-Wl,/home/jhe/lidarcam-base/gnutls-3.3.14-build/usr/lib ./.libs/libgnutls.so
-L/usr/lib/gcc/x86_64-linux-gnu/4.8
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu
-L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/x86_64-linux-gnu/4.8/crtendS.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o -O2
-Wl,-soname -Wl,libgnutlsxx.so.28 -o .libs/libgnutlsxx.so.28.1.0
./.libs/libgnutls.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Configure command:
./configure --host=arm-linux-gnueabi --prefix=${GNUTLS_INSTALL}
--exec-prefix=${GNUTLS_INSTALL} --disable-openssl-compatibility --disable-doc
--disable-tests --disable-valgrind-tests --enable-local-libopts
--enable-libopts-install --with-included-libtasn1 --disable-libdane
--disable-guile --without-p11-kit --without-tpm --disable-silent-rules
I have valid crti.o and crtbeginS.o in my target libraries but libtool is
forcing the build system versions to be used.
Any suggestions would be appreciated - I'm shut down on my project
Scotty
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?108806>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
More information about the Gnutls-devel
mailing list