From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23260 invoked by alias); 8 Jul 2004 04:47:37 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 23130 invoked from network); 8 Jul 2004 04:47:36 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.5) by sourceware.org with SMTP; 8 Jul 2004 04:47:36 -0000 Received: (qmail 10045 invoked from network); 8 Jul 2004 04:47:35 -0000 Received: from localhost (HELO codesourcery.com) (mitchell@127.0.0.1) by mail.codesourcery.com with SMTP; 8 Jul 2004 04:47:35 -0000 Message-ID: <40ECD1E4.3040200@codesourcery.com> Date: Thu, 08 Jul 2004 05:56:00 -0000 From: Mark Mitchell Organization: CodeSourcery, LLC User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 MIME-Version: 1.0 To: John David Anglin CC: geoffk@geoffk.org, gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Fix PR target/16344 References: <200407072029.i67KTulq011810@hiauly1.hia.nrc.ca> In-Reply-To: <200407072029.i67KTulq011810@hiauly1.hia.nrc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00721.txt.bz2 John David Anglin wrote: >>The problem is the PLT is moving from one invocation of cc1plus to >>another. I'm not sure why. Currently, function descriptors live in >>the PLT. So, if it moves, the PCH is dead even if the text is in the >>same location as it was when the PCH file was written. If this can't >>be fixed, then the only solution is to avoid writing out any function >>pointers. >> >> > >It turns out that the PLT isn't moving. The problem is a Makefile >issue. The runtime libraries are being built with the training compiler >in a profiled build. Then, we use the profiled feedback compiler >when the testsuite is run. As a result, PCH is disabled. > >I am testing the enclosed fix. > That makes sense to me. OK, if it works, and Geoff/others do not object. -- Mark Mitchell CodeSourcery, LLC (916) 791-8304 mark@codesourcery.com