From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 31 20:49:13 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7FC41065674 for ; Thu, 31 Jul 2008 20:49:13 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from service1.sh.cvut.cz (service1.sh.cvut.cz [147.32.127.214]) by mx1.freebsd.org (Postfix) with ESMTP id 5FF558FC27 for ; Thu, 31 Jul 2008 20:49:13 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service1.sh.cvut.cz (Postfix) with ESMTP id 22DF412370E; Thu, 31 Jul 2008 22:21:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at service1.sh.cvut.cz X-Spam-Score: -51.174 X-Spam-Level: X-Spam-Status: No, score=-51.174 tagged_above=-255 required=5 tests=[ALL_TRUSTED=-1.44, AWL=51.077, CRM114_HAM_00=, MISSING_HEADERS=0.189, SMTPAUTH_SHDOMAIN=-100] Received: from service1.sh.cvut.cz ([127.0.0.1]) by localhost (service1.sh.cvut.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jlThuVtCuM-P; Thu, 31 Jul 2008 22:21:34 +0200 (CEST) Received: from [192.168.1.2] (r4v24.net.upc.cz [84.42.149.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: v.haisman@sh.cvut.cz) by service1.sh.cvut.cz (Postfix) with ESMTP id B874312371D; Thu, 31 Jul 2008 22:21:34 +0200 (CEST) Message-ID: <48921EC7.70102@sh.cvut.cz> Date: Thu, 31 Jul 2008 22:21:27 +0200 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 CC: freebsd-hackers@freebsd.org References: <4890B595.5060103@sh.cvut.cz> <4890E215.2020304@sh.cvut.cz> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig690367562705E394938F247A" Subject: Re: Locale woes. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2008 20:49:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig690367562705E394938F247A Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Marcin Wisnicki wrote, On 31.7.2008 15:23: > On Wed, 30 Jul 2008 23:50:13 +0200, V=C3=A1clav Haisman wrote: >=20 >> V=C3=A1clav Haisman wrote, On 30.7.2008 20:40: >>> Hi, >>> I have some problem with locales on FreeBSD 6.3. The attached test ca= se >>> fails with uncaught std::runtime_error exception: >> [...] >> I am able to run the test case successfuly when I compile it with >> STLport. So it seems there is something odd going on with just the >> libstdc++ that ships with GCC. On the other hand, it works fine with G= CC >> 4.1.2 on Gentoo/Linux. >=20 > Yes it is somewhat known problem that libstdc++ on FreeBSD does not=20 > support locales. I've seen some discussions about this in the past on=20 > freebsd lists. You can try searching archives, but AFAIR there was no=20 > solution except hints how to implement it. >=20 This is like...ugh!...totally unexpected. C locales seem to work and so d= o=20 STLport's so I thought it was just some sort misconfiguration. (I had reb= uilt=20 the world more than once in past.) I have found some posts in -stable about it. It seems like it would be qu= ite=20 a lot of work to implement it, both, either implementing the required POS= IX=20 functionality or implementing it atop the existing. Sounds like nice GSoC= =20 task for somebody with more zeal than I have. -- VH --------------enig690367562705E394938F247A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) iFYEAREIAAYFAkiSHs4ACgkQhQBMvHf/WHk3FADgn9xjidJ4XP72/GGAqO4vxoMV 6BLBwTx8YOjj3gDgoxOm8IEB/IAOj5hmXDi1LXhvYteG6dRYzHOJkA== =siGQ -----END PGP SIGNATURE----- --------------enig690367562705E394938F247A--