From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107528 invoked by alias); 3 May 2015 08:16:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 107496 invoked by uid 48); 3 May 2015 08:16:41 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/65988] Trying to compile GCC 5.1 in my (customized) Solaris 10/x86-64 fails with GMP errors Date: Sun, 03 May 2015 08:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-05/txt/msg00116.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65988 --- Comment #1 from Marc Glisse --- Yes, there is (was?) a bug in ISL where they are missing extern "C" in isl/val_gmp.h, which was hacked around in a buggy way in graphite-isl-ast-to-gimple.c by including that file inside extern "C". I think it should include system.h (or at least gmp.h) before doing that hack, to minimize the number of headers recursively affected.