Subject: Re: CVS commit: src/lib/libc
To: None <tnozaki@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: source-changes
Date: 04/17/2006 00:16:00
In article <20060415153434.6FE202DA27@cvs.netbsd.org>
tnozaki@NetBSD.org wrote:
> Module Name: src
> Committed By: tnozaki
> Date: Sat Apr 15 15:34:34 UTC 2006
>
> Modified Files:
> src/lib/libc/include: namespace.h
> src/lib/libc/locale: wcstod.3 wcstod.c
>
> Log Message:
> wcstod(3) is conform to ISO C90 Ammendant1 (FreeBSD's manpage is incorrect...).
> don't __weak_alias'ize it and fix manpage.
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
:
---
Izumi Tsutsui