This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix s_finitel.c on ppc/ppc64


Jakub Jelinek wrote:
>Hi!
>
>While comparing ppc{,64} and s390{,64} abilist differences between
>older DFmode only long double capable glibc with current CVS glibc,
>I noticed we are now only exporting {__,}finitel@GLIBC_2.{1,0}
>and not also {__,}finitel@@GLIBC_2.4.  Fixed thusly:
>  

Thanks for finding this and the libio-ldbl.h problem. I have hit this
trying a full biarch toolchain build. But it looks there are simular
problems with sprintf and __strtold_internal. I am hitting this in the
powerpc glibc install for -msecure-plt bootstrap.

/opt/biarch/gcc41-ld/bin/powerpc-secure-gcc   -o
/home/sjmunroe/toolchain/build/glibc32/malloc/memusagestat
/home/sjmunroe/toolchain/build/glibc32/malloc/memusagestat.o  -lgd -lpng
-lz -lm
/opt/biarch/gcc41-ld/lib/gcc/powerpc-linux/4.1.0/../../../../lib/libm.so:
undefined reference to `finitel@GLIBC_2.4'
/opt/biarch/gcc41-ld/lib/gcc/powerpc-linux/4.1.0/../../../../lib/libm.so:
undefined reference to `sprintf@GLIBC_2.4'
/opt/biarch/gcc41-ld/lib/gcc/powerpc-linux/4.1.0/../../../../lib/libm.so:
undefined reference to `__strtold_internal@GLIBC_2.4'
collect2: ld returned 1 exit status

Will the fix be simular to finitel?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]