Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <527C126D.5000903@barfooze.de>
Date: Thu, 07 Nov 2013 23:21:33 +0100
From: John Spencer <maillist-musl@...fooze.de>
To:  dave+gmane@...rtele.com
CC:  musl@...ts.openwall.com
Subject: Re: arm softfp compatibility arch/fpu in gcc-4.8.2

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.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.