helpGnuTLS - Support: sr #108806, Cross build of GnuTLS for ARM...

 
 

sr #108806: Cross build of GnuTLS for ARM links against build system libraries

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:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 23 Apr 2015 07:12:16 PM UTC, comment #4: 

I asked where did you find a link to this issue tracker. The new issue tracker is at gitlab. Please use that one or mail.

Nikos Mavrogiannopoulos <nmav>
Project Administrator
Thu 23 Apr 2015 05:47:35 PM UTC, comment #3: 

Nikos,

I didn't "find" this issue.  After looking for related issues and finding none, I created a new one, and then posted a follow-up comment to it.

And when I look at https://gitlab.com/groups/gnutls/issues, I don't see anything related there either.

Anonymous
Thu 23 Apr 2015 05:00:09 PM UTC, comment #2: 

Hello, how did you find this issue tracker? We have moved it at:
https://gitlab.com/groups/gnutls/issues

Nikos Mavrogiannopoulos <nmav>
Project Administrator
Thu 23 Apr 2015 04:52:01 PM UTC, comment #1: 

I forgot to mention...The CC environment variable points to my cross compiler.

Scotty

Anonymous
Thu 23 Apr 2015 04:14:56 PM UTC, original submission:  

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nmav (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-04-23 nmav Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.7