From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19168 invoked by alias); 16 May 2003 07:36:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 19142 invoked by uid 71); 16 May 2003 07:36:01 -0000 Date: Fri, 16 May 2003 07:36:00 -0000 Message-ID: <20030516073601.19128.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Geoffrey Keating Subject: Re: other/10757: Adding -fpic/-fPIC causes crash with PCH created without -fpic/-fPIC Reply-To: Geoffrey Keating X-SW-Source: 2003-05/txt/msg01834.txt.bz2 List-Id: The following reply was made to PR other/10757; it has been noted by GNATS. From: Geoffrey Keating To: gcc-prs@gcc.gnu.org, ghazi@caip.rutgers.edu, gcc-bugs@gcc.gnu.org, ljrittle@acm.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: other/10757: Adding -fpic/-fPIC causes crash with PCH created without -fpic/-fPIC Date: Thu, 15 May 2003 21:22:06 -0700 I have a report of a similar bug on Darwin. It's a PCH validation bug; it can't work if you build the PCH without -fpic but try to use it with -fpic, but the validation code doesn't check for this (which is tricky, because the reason it doesn't work is target-dependent, so we need to add some way for the target to save and validate some flags).