Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 8 Apr 2013 21:39:19 +0200
Subject: vfprintf.c:(.text+0xc6c): undefined reference to `__signbitl'

Hi out there,

I build the latest musl under

meres5@...ha:~/tmp$ uname -a
Linux alpha 2.6.32-5-powerpc64 #1 SMP Mon Oct 3 07:59:38 UTC 2011 ppc64

and got

meres5@...ha:~/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. . .


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.