Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc



hi,

> FYI build fails on arm target (though it works for m68k etc.):
> ---
>  :
> rm -f libc.so.12.139
> /usr/tools/arm/bin/arm--netbsdelf-gcc -Wl,-nostdlib -B/usr/lib/ -B/usr/lib/ \
> -Wl,-rpath-link,/lib:/usr/lib  -R/lib  -L/lib  -Wl,-x \
> -shared -Wl,-soname,libc.so.12   -o libc.so.12.139  -Wl,--whole-archive \
> libc_pic.a  -Wl,--no-whole-archive   -L/usr/lib
> libc_pic.a(wcstod.so): In function `wcstold':
> wcstod.c:(.text+0x0): multiple definition of `_wcstold'
> libc_pic.a(wcstold.so):wcstold.c:(.text+0x0): first defined here
> collect2: ld returned 1 exit status
> 
> *** Failed target:  libc.so.12.139
>  :

I'm sorry, this problems may occur architecture that
doesn't define __HAVE_LONG_DOUBLE in math.h.

temporaryly, I had removed wcstod -> wcstold weak ref.
# to reduce libc binary size(like strtold does),
# i have to work with src/libc/arch/*/locale/Makefile.inc...

very truly yours.
--
Takehiko NOZAKI <tnozaki%NetBSD.org@localhost>



Home | Main Index | Thread Index | Old Index