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

C locales on NetBSD



[ No bug submitted yet - I wanted to discuss this here first ]

The following changelog entry appears to be the cause of recent
breakages in GCC on the netbsd-i386 port:

gcc-3.2 (1:3.2.1ds5-0pre6) unstable; urgency=medium

  * Always configure with --enable-clocale=gnu. The autobuilders do have
    locales installed, but not generated the "de_DE" locale needed for
    the autoconf test in libstdcc++-v3/aclocal.m4.

Unfortunately, --enable-clocale=gnu causes the system to attempt to use
types that are not defined except on GNU libc systems (such as __locale_t),
which makes this inherently unportable, and completely breaks building on
any of the non-glibc based ports (such as all current NetBSD ports).

For that matter, depending on 'locales' is, for the moment, invalid on
NetBSD systems, as well (though locales are provided by the NetBSD libc
package, libc12). I can try to dig up information on how to ensure the
de_DE locale is present, if needed...

Thoughts?
-- 
Joel Baker <fenton@debian.org>

Attachment: pgpKWPMHpgg40.pgp
Description: PGP signature


Reply to: