From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10593 invoked by alias); 28 Oct 2014 13:19:36 -0000 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 Received: (qmail 10418 invoked by uid 89); 28 Oct 2014 13:19:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Oct 2014 13:19:29 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1Xj6gH-0002rh-C9 from joseph_myers@mentor.com ; Tue, 28 Oct 2014 06:19:25 -0700 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-02.mgc.mentorg.com (137.202.0.106) with Microsoft SMTP Server id 14.3.181.6; Tue, 28 Oct 2014 13:19:24 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.82) (envelope-from ) id 1Xj6gF-0003MW-6j; Tue, 28 Oct 2014 13:19:23 +0000 Date: Tue, 28 Oct 2014 13:29:00 -0000 From: "Joseph S. Myers" To: Phil Muldoon CC: Subject: Re: [PATCH 5/5] add libcc1 In-Reply-To: <544E9CE5.602@redhat.com> Message-ID: References: <1400254001-12038-1-git-send-email-tromey@redhat.com> <87oayx4l0x.fsf@fleche.redhat.com> <87bntobp1f.fsf@fleche.redhat.com> <53D9CA7B.3040709@redhat.com> <5436504B.8060902@redhat.com> <54385676.4000004@redhat.com> <5449FC98.1060404@redhat.com> <544A8162.1090107@redhat.com> <544E9CE5.602@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2014-10/txt/msg02952.txt.bz2 I'm seeing a different bootstrap failure from those already discussed: In file included from /scratch/jmyers/fsf/gcc-mainline/libcc1/../gcc/gcc-plugin.h:28:0, from /scratch/jmyers/fsf/gcc-mainline/libcc1/plugin.cc:34: /scratch/jmyers/fsf/gcc-mainline/libcc1/../gcc/system.h:653:17: fatal error: gmp.h: No such file or directory It appears the build is ignoring the --with-gmp option passed to configure. Since is included in system.h, if you include system.h you have to pass the right -I option corresponding to --with-gmp / --with-gmp-include. (There are several other such configure options for MPFR, MPC, CLooG, ISL, libiconv at least - whether they are relevant depends on whether your code ends up including the relevant headers.) -- Joseph S. Myers joseph@codesourcery.com