mailing list of musl libc
 help / color / mirror / code / Atom feed
From: John Spencer <maillist-musl@barfooze.de>
To: dave+gmane@wuertele.com
Cc: musl@lists.openwall.com
Subject: Re: arm softfp compatibility arch/fpu in gcc-4.8.2
Date: Thu, 07 Nov 2013 23:21:33 +0100	[thread overview]
Message-ID: <527C126D.5000903@barfooze.de> (raw)
In-Reply-To: <loom.20131107T205158-572@post.gmane.org>

David Wuertele wrote:
> Just starting with musl, http://wiki.musl-libc.org/wiki/Getting_started said
> for my Tegra 3 to use
> 
> --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16
> 
> This works fine except for one thing -- I have some libraries built with a
> soft-float toolchain that I need to link against.  The VFP register seems to be
> the problem:
> 
> arm-linux-musleabihf/4.8.2/../../../../arm-linux-musleabihf/bin/ld: error: sign
> uses VFP register arguments, lib/armeabi/libXXX.a(YYY.o) does not

"does not" is not really a helpful error message.

> arm-linux-musleabihf/4.8.2/../../../../arm-linux-musleabihf/bin/ld: failed to
> merge target specific data of file lib/armeabi/libXXX.a(YYY.o)
> 
> What arch/fpu should I use to build a toolchain that can link against this
> library?

if you need to link to proprietary softfloat modules, you have to use 
"softfp" float mode. that one is compatible to soft, but makes full use 
of the FPU.




  reply	other threads:[~2013-11-07 22:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 20:12 David Wuertele
2013-11-07 22:21 ` John Spencer [this message]
2013-11-07 22:26   ` Rich Felker
2013-11-07 22:35   ` David Wuertele
2013-11-07 22:46     ` John Spencer
2013-11-07 23:16       ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527C126D.5000903@barfooze.de \
    --to=maillist-musl@barfooze.de \
    --cc=dave+gmane@wuertele.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).