From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: vfprintf.c:(.text+0xc6c): undefined reference to `__signbitl'
Date: Mon, 8 Apr 2013 16:09:21 -0400 [thread overview]
Message-ID: <20130408200921.GR20323@brightrain.aerifal.cx> (raw)
In-Reply-To: <3be4bde4515370b19e34c578d4ebfe3e.squirrel@alpha.tmit.bme.hu>
On Mon, Apr 08, 2013 at 09:39:19PM +0200, meres5@alpha.tmit.bme.hu wrote:
> Hi out there,
>
> I build the latest musl under
>
> meres5@alpha:~/tmp$ uname -a
> Linux alpha 2.6.32-5-powerpc64 #1 SMP Mon Oct 3 07:59:38 UTC 2011 ppc64
> GNU/Linux
On powerpc, musl uses the old long-double ABI where long double is the
same as double. It sounds like your gcc was built for 128-bit long
double, which is completely soft-float. For some reason the GCC and
glibc folks decided this would be a smart thing to do, despite the
fact that it's very slow and forces you to link a lot of soft-float
bloat into every single program (I guess they don't care because they
only do dynamic linking...?).
Anyway, there may be a way to override this on the gcc command line,
but the best solution would be to rebuild your gcc toolchain to use
64-bit long-double (same as double).
Rich
next prev parent reply other threads:[~2013-04-08 20:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 19:39 meres5
2013-04-08 20:05 ` Szabolcs Nagy
2013-04-08 20:41 ` meres5
2013-04-08 21:26 ` Szabolcs Nagy
2013-04-09 20:15 ` meres5
2013-04-09 22:38 ` Szabolcs Nagy
2013-04-10 1:18 ` Rich Felker
2013-04-10 10:55 ` meres5
2013-04-10 8:24 ` John Spencer
2013-04-10 9:47 ` Szabolcs Nagy
2013-04-10 14:14 ` Isaac Dunham
2013-04-10 14:31 ` Rich Felker
2013-08-11 21:30 ` Justin Cormack
2013-04-10 5:14 ` Rob Landley
2013-04-10 6:21 ` Rich Felker
2013-04-08 20:09 ` Rich Felker [this message]
2013-04-08 20:47 ` meres5
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=20130408200921.GR20323@brightrain.aerifal.cx \
--to=dalias@aerifal.cx \
--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).