mailing list of musl libc
 help / color / mirror / code / Atom feed
* vfprintf.c:(.text+0xc6c): undefined reference to `__signbitl'
@ 2013-04-08 19:39 meres5
  2013-04-08 20:05 ` Szabolcs Nagy
  2013-04-08 20:09 ` Rich Felker
  0 siblings, 2 replies; 17+ messages in thread
From: meres5 @ 2013-04-08 19:39 UTC (permalink / raw)
  To: musl

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




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-08-11 21:30 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-08 19:39 vfprintf.c:(.text+0xc6c): undefined reference to `__signbitl' 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
2013-04-08 20:47   ` meres5

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).