mailing list of musl libc
 help / color / mirror / code / Atom feed
From: meres5@alpha.tmit.bme.hu
To: musl@lists.openwall.com
Subject: vfprintf.c:(.text+0xc6c): undefined reference to `__signbitl'
Date: Mon, 8 Apr 2013 21:39:19 +0200	[thread overview]
Message-ID: <3be4bde4515370b19e34c578d4ebfe3e.squirrel@alpha.tmit.bme.hu> (raw)

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

and got

meres5@alpha:~/tmp$ ld -o stdhello.static lib/crt1.o lib/crti.o stdhello.o
lib/libc.a lib/libgcc.a lib/crtn.o
lib/libc.a(vfprintf.o): In function `printf_core':
vfprintf.c:(.text+0xc6c): undefined reference to `__signbitl'
vfprintf.c:(.text+0xccc): undefined reference to `__fpclassifyl'

by linking static against musl a Hello sample.
I think this is not good. . .

I push on gcc with theese:

int __signbitl( long double x ) { return 0;}
int __fpclassifyl( long double x ) { return 0;}

then it worked fine - for this simple Hello :-)

Someone might have a look at math.h, and implement these
for this arch. . .

Regards
M5




             reply	other threads:[~2013-04-08 19:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-08 19:39 meres5 [this message]
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
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=3be4bde4515370b19e34c578d4ebfe3e.squirrel@alpha.tmit.bme.hu \
    --to=meres5@alpha.tmit.bme.hu \
    --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).