Subject: ld.elf_so issue with locale code
To: None <source-changes@netbsd.org>
From: None <itojun@iijlab.net>
List: source-changes
Date: 12/26/2000 08:34:37
	i've found that there's some problem with ld.elf_so and new locale code.
	if we compile ld.elf_so with the new locale code, it can die badly.
	(if ld.elf_so dies, all dynamically-linked programs will die)

	so, i've put workaround like below; if you have similar problem,
	- recover old ld.elf_so from somewhere, to make it posssible to run
	  "make" or "cc"
	- make sure to regenerate libc with the following code
	  (cd lib/libc; make cleandir dependall)
	- build ld.elf_so again and install it

	if the problem is local to my machine, please let me know...

itojun


>Module Name:	basesrc
>Committed By:	itojun
>Date:		Mon Dec 25 23:30:59 UTC 2000
>
>Modified Files:
>	basesrc/lib/libc/locale: Makefile.inc setlocale.c
>Added Files:
>	basesrc/lib/libc/locale: iswctype_sb.c multibyte_sb.c
>
>Log Message:
>byte default, use (non-citrus) singlebyte locale.  if we compile
>ld.elf_so with citrus locale, it bombs.
>XXX this is shortterm workaround.  if you are willing to test citrus locale,
>use RUNE=yes in libc/locale/Makefile.inc.
>
>
>To generate a diff of this commit:
>cvs rdiff -r1.29 -r1.30 basesrc/lib/libc/locale/Makefile.inc
>cvs rdiff -r0 -r1.1 basesrc/lib/libc/locale/iswctype_sb.c \
>    basesrc/lib/libc/locale/multibyte_sb.c
>cvs rdiff -r1.31 -r1.32 basesrc/lib/libc/locale/setlocale.c
>
>Please note that diffs are not public domain; they are subject to the
>copyright notices on the relevant files.
>
>