mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Cc: dave+gmane@wuertele.com
Subject: Re: arm softfp compatibility arch/fpu in gcc-4.8.2
Date: Thu, 7 Nov 2013 17:26:34 -0500	[thread overview]
Message-ID: <20131107222634.GW24286@brightrain.aerifal.cx> (raw)
In-Reply-To: <527C126D.5000903@barfooze.de>

On Thu, Nov 07, 2013 at 11:21:33PM +0100, John Spencer wrote:
> >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.

Yes, the basic issue is that these modules are compiled for the
standard ARM EABI, not the VFP hard-float ABI variant. It's possible
to have both installed in parallel, but if you'll be working with
straight EABI library code, I would just use the "softfp" mode (which
yields ld-musl-arm.so.1 rather than ld-musl-armhf.so.1) for everything
for the sake of simplicity (so that you only have to have one set of
libraries).

I think this issue should be made more clear on the wiki: that there
is a choice between two different ARM ABIs here, and that the choice
of which is appropriate depends on both where you want your code to
run and what existing binary code you might be linking with it.

Rich


  reply	other threads:[~2013-11-07 22:26 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
2013-11-07 22:26   ` Rich Felker [this message]
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=20131107222634.GW24286@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --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).