From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 332 invoked by alias); 22 Sep 2010 20:57:35 -0000 Received: (qmail 323 invoked by uid 22791); 22 Sep 2010 20:57:34 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Sep 2010 20:57:30 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o8MKvNYD016637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Sep 2010 16:57:24 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o8MKvNsj010559; Wed, 22 Sep 2010 16:57:23 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o8MKvKmL004392; Wed, 22 Sep 2010 16:57:22 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 49AB0378875; Wed, 22 Sep 2010 14:57:19 -0600 (MDT) From: Tom Tromey To: "Pierre Muller" Cc: Subject: Re: Your INTERMEDIATE_ENCODING patch for Solaris References: <20100731162500.32FAE5664F4@henry1.codesourcery.com> <20100818101406.GA2903@adacore.com> <15264.6257346079$1282142643@news.gmane.org> <004b01cb3faf$b07ed580$117c8080$@muller@ics-cnrs.unistra.fr> <001b01cb48ee$6b8425f0$428c71d0$@muller@ics-cnrs.unistra.fr> <44796.6229789474$1283326243@news.gmane.org> <000301cb4aa0$7c44fd70$74cef850$@muller@ics-cnrs.unistra.fr> <001f01cb5574$78252a60$686f7f20$@muller@ics-cnrs.unistra.fr> <20078.2261243605$1284672670@news.gmane.org> <001101cb5663$f6011c10$e2035430$@muller@ics-cnrs.unistra.fr> Date: Thu, 23 Sep 2010 13:00:00 -0000 In-Reply-To: <001101cb5663$f6011c10$e2035430$@muller@ics-cnrs.unistra.fr> (Pierre Muller's message of "Fri, 17 Sep 2010 14:29:23 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-09/txt/msg00399.txt.bz2 >>>>> "Pierre" == Pierre Muller writes: Pierre> I found the libiconv version 1.5 Pierre> installed it on a x86 Open Solaris machine, Pierre> modified gdb_wchar.h to use _LIBICONV_VERSION >= 0x105 Pierre> and got an gdb executable linked to libiconv version 1.5, Pierre> using --with-libiconv-prefix=/usr/local/src/test32 Pierre> (the installation prefix I used for 1.5 libiconv). Pierre> I tested charset.exp result on that executable, Pierre> and got a lot of failures: [...] Pierre> But I was wondering if the problem is not coming from the Pierre> fact that for 1.5 libiconv find_charset_names function Pierre> directly calls 'iconv -l' (because iconvlist is not present Pierre> in this version of the library). Ouch. Pierre> I also downloaded version 1.8 of libiconv, Pierre> and checked GDB linked to that version: Pierre> the results of charset.exp are the same as 1.13.1 (2 FAILs) Yeah, how about we make x0108 the minimal acceptable version? It was released in 2002, that seems plenty old to me. If you agree, I will make the change. Pierre> PS: Support of libc iconv for Solaris could probably be Pierre> enhanced by a better parsing of 'iconv -l' output... I think there isn't much reason to do it, since we're planning to avoid Solaris iconv completely. If somebody wants to make the effort, though, it is fine by me. Tom