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

David Wuertele wrote:
> John Spencer <maillist-musl <at> barfooze.de> writes:
> 
>>> 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.
> 
> Thanks!  That was what I was hoping.
> 
> I see that gcc-4.8.2 supports "--with-float=softfp".  I'm confused about what
> to use for "--with-fpu", if anything.  My choices are:
> 
> 		| vfp | vfp3 | vfpv3 \
> 		| vfpv3-fp16 | vfpv3-d16 | vfpv3-d16-fp16 | vfpv3xd \
> 		| vfpv3xd-fp16 | neon | neon-fp16 | vfpv4 | vfpv4-d16 \
> 		| fpv4-sp-d16 | neon-vfpv4 | fp-arm-v8 | neon-fp-armv8 \
>                 | crypto-neon-fp-armv8)
> 
> If I omit the "--with-fpu", will it just default to use soft float all the time?

not sure what the default is, but afaik vfp is the most compatible one 
(only needed when you want to create binaries that work on way less 
decent arm chips).
if you want the best speed, pick one of the neons - not sure which one 
your chip supports though. cortex A8 already supports neon, so that one 
should definitely work for you while giving decent performance.
in doubt, ask your vendor for the best setting.


  reply	other threads:[~2013-11-07 22:46 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
2013-11-07 22:35   ` David Wuertele
2013-11-07 22:46     ` John Spencer [this message]
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=527C1842.1000300@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).