From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17712 invoked by alias); 10 May 2010 21:25:57 -0000 Received: (qmail 17702 invoked by uid 22791); 10 May 2010 21:25:56 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from aussmtpmrkpc120.us.dell.com (HELO aussmtpmrkpc120.us.dell.com) (143.166.82.159) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 May 2010 21:25:53 +0000 X-Loopcount0: from 12.110.134.31 Received: from unknown (HELO M31.equallogic.com) ([12.110.134.31]) by aussmtpmrkpc120.us.dell.com with SMTP; 10 May 2010 16:25:51 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [RFC] Make string printing work on NetBSD (iconv issue) Date: Mon, 10 May 2010 21:25:00 -0000 Message-ID: In-Reply-To: References: <19424.30941.651367.946330@pkoning-laptop.equallogic.com> From: "Paul Koning" To: Cc: X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-05/txt/msg00232.txt.bz2 > Paul> It clearly can't make matters worse, because any platform that > doesn't > Paul> have the codeset name "wchar_t" currently doesn't work at all. >=20 > I think it is worse in one sense, which is that the results can be > incorrect with no warning. In particular I believe this could happen > on > Solaris in some locales. >=20 > I do see your point though. Completely failing is terrible. >=20 > Paul> NetBSD clearly is using UCS-4 for wchar_t, but it does not define > that > Paul> symbol. >=20 > Bummer. >=20 > Yet another idea would be host-specific overrides for > INTERMEDIATE_ENCODING. That would also have the advantage of working right in cross builds. I think I'll rewrite the patch to do that, and make it specifically override for NetBSD where the right answer is known. That way people familiar with other hosts can supply the corresponding override for those systems. paul