From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7429 invoked by alias); 1 Jun 2009 13:27:40 -0000 Received: (qmail 7420 invoked by uid 22791); 1 Jun 2009 13:27:39 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.physik.uni-muenchen.de (HELO mail.physik.uni-muenchen.de) (192.54.42.129) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Jun 2009 13:27:34 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id E30B627E13; Mon, 1 Jun 2009 15:27:31 +0200 (CEST) Received: from mail.physik.uni-muenchen.de ([127.0.0.1]) by localhost (mail.physik.uni-muenchen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id k4v1qcLGDExn; Mon, 1 Jun 2009 15:27:31 +0200 (CEST) Received: from tobias-schluters-computer.local (e181004057.adsl.alicedsl.de [85.181.4.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id 9F0AF27E05; Mon, 1 Jun 2009 15:27:31 +0200 (CEST) Message-ID: <4A23D731.7000702@physik.uni-muenchen.de> Date: Mon, 01 Jun 2009 13:27:00 -0000 From: =?ISO-8859-1?Q?Tobias_Schl=FCter?= User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: "Joseph S. Myers" CC: gcc@gcc.gnu.org Subject: Re: Bootstrap broken on darwin / fink References: <4A23A87C.6080609@physik.uni-muenchen.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00007.txt.bz2 Joseph S. Myers wrote: > On Mon, 1 Jun 2009, Tobias Schl=FCter wrote: >=20 >> The complaint is about: >> ICONV_CONST char *inbuf =3D CONST_CAST (char *, ident); >> [...snip...] >> iconv_ret =3D iconv (cd, &inbuf, &inbytesleft, >> &outbuf, &outbytesleft); >=20 > The types are exactly the same as in the corresponding code in=20 > libcpp/charset.c. >=20 > ICONV_CONST char *inbuf; > iconv (cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); >=20 > You'll need to work out what's different on your system between gcc and=20 > libcpp to make it work in one place only. Note that iconv.m4 comes from= =20 > gettext; it's possible the configure support has since been refined=20 > upstream and should be updated. >=20 In gcc/auto-host.h I have #define HAVE_ICONV_H, whereas in libcpp/ I=20 haven't. From PR31932, I presume that HAVE_ICONV_H should never be=20 defined. The check is explicitly made in AC_CHECK_HEADERS in=20 gcc/configure.ac. I can't see what happens if I remove the check as=20 fink symlinks autoconf-2.59 to autoconf which in turn is a symlink to=20 autoconf-2.63. Cheers, - Tobi