From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12580 invoked by alias); 21 Dec 2012 19:03:12 -0000 Received: (qmail 12572 invoked by uid 22791); 21 Dec 2012 19:03:11 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-ob0-f182.google.com (HELO mail-ob0-f182.google.com) (209.85.214.182) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Dec 2012 19:03:05 +0000 Received: by mail-ob0-f182.google.com with SMTP id 16so4851102obc.41 for ; Fri, 21 Dec 2012 11:03:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=ocXB/dH5EzuoIYkoN/WY9WhumwcKm5D3nPuKOfiy4gU=; b=o5DuLz5MOxFfgt9bOmvB0SDMeXr64D8iTUNQTOrVfRDpdBV4IlMP7PFB96/v7/1TVq pPmBggtGfS7yPP/+z09gpfGPO9YV0Zetow5sd78b+UEG7tEIuYTLoHeyXwQMCkpZkFvp ybpzH+sR+Xs6LY7jNSZQMwZLWw2PGEnBIYTW8B8kbXwRUED6tYCRiLnWYsy7Wf071Kzr 7HNycGQZfTB+UKEUibS++iKBQJqZsFIBtiUo6baLZUo540PsrTMDKSxl96iVLWDErLZA TzF0andEKb9kTljCbUXR94Ifju7E+qK46+2hAFfdHqtFTUCyNlPvnkoGd3ZvfjBw8KdC iHmg== MIME-Version: 1.0 Received: by 10.182.2.169 with SMTP id 9mr11992037obv.66.1356116584506; Fri, 21 Dec 2012 11:03:04 -0800 (PST) Received: by 10.182.32.200 with HTTP; Fri, 21 Dec 2012 11:03:04 -0800 (PST) In-Reply-To: <20121221162631.46F3A3BE1B@mailhost.lps.ens.fr> References: <20121221162631.46F3A3BE1B@mailhost.lps.ens.fr> Date: Fri, 21 Dec 2012 19:03:00 -0000 Message-ID: Subject: Re: [PATCH] Fix PR54659, include gmp.h from system.h From: Ian Lance Taylor To: Dominique Dhumieres Cc: gcc-patches@gcc.gnu.org, jakub@redhat.com, rguenther@suse.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQn+UeihMDjHmtPxIyR4n+9grL5rUIQzyIdav3f0xPoS9vcx6RloI3xCz4VfNL3FCCz+SXmyuGppmadAj5ClbuO+01Mv9cHLrWOwjgVVtFV/pdxQfb46Es1oQombyo98pTKjFTiP+2oSbtDvjhl9pF13uCceHv0+583naw3KL0fgDXdhkTGBtYUwuElqtJdaNhd9ouzh X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg01338.txt.bz2 On Fri, Dec 21, 2012 at 8:26 AM, Dominique Dhumieres w= rote: > I think revision 194665 breaks bootstrap on at least x86_64-apple-darwin1= 0: > > g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-ta= bles -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-a= ttribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-stri= ngs -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../_clean/gcc -I../= ../_clean/gcc/build -I../../_clean/gcc/../include -I./../intl -I../../_clea= n/gcc/../libcpp/include -I/opt/mp/include -I../../_clean/gcc/../libdecnumb= er -I../../_clean/gcc/../libdecnumber/dpd -I../libdecnumber -I../../_clean/= gcc/../libbacktrace -DCLOOG_INT_GMP -I/opt/mp/include \ > -o build/genconstants.o ../../_clean/gcc/genconstants.c > In file included from ./bconfig.h:3:0, > from ../../_clean/gcc/genconstants.c:28: > ./auto-host.h:1994:16: error: declaration does not declare anything [-fpe= rmissive] > #define rlim_t long That doesn't make much sense. What do the lines around this look like? > In file included from ../../_clean/gcc/genconstants.c:29:0: > ../../_clean/gcc/system.h:502:34: error: declaration of C function 'const= char* strsignal(int)' conflicts with > extern const char *strsignal (int); > ^ > In file included from /opt/gcc/gcc4.8a/include/c++/4.8.0/cstring:44:0, > from ../../_clean/gcc/system.h:207, > from ../../_clean/gcc/genconstants.c:29: > /usr/include/string.h:136:7: error: previous declaration 'char* strsignal= (int)' here > char *strsignal(int sig); > ^ In auto-host.h, what are the values of HAVE_STRSIGNAL and HAVE_DECL_STRSIGN= AL? Ian