From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5959 invoked by alias); 20 Nov 2012 00:16:14 -0000 Received: (qmail 5062 invoked by uid 55); 20 Nov 2012 00:15:44 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug pch/55399] pch tests fail on mips-mti-linux-gnu target Date: Tue, 20 Nov 2012 00:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: pch X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-11/txt/msg01861.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55399 --- Comment #3 from joseph at codesourcery dot com 2012-11-20 00:15:42 UTC --- Well, you need to start by looking at how it "fails", e.g. segfault, macros found to be predefined not the same as those predefined when the PCH was created, other test for when PCH file can be included failing. And then track things from there. If stdc-predef.h is in your glibc sources, it should also have been installed in the usr/include directory of your glibc installation, and the point at which state is saved should be the point after stdc-predef.h is included (so its macros are considered predefined, and so that PCH files can be included after the implicit stdc-predef.h include without failing the test for consistency of predefined macros).