From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21311 invoked by alias); 5 Nov 2010 22:59:24 -0000 Received: (qmail 21262 invoked by uid 22791); 5 Nov 2010 22:59:23 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_EV,TW_VP X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Nov 2010 22:59:20 +0000 From: "davek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: davek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: davek 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 Date: Fri, 05 Nov 2010 22:59:00 -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 X-SW-Source: 2010-11/txt/msg00696.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 --- Comment #3 from Dave Korn 2010-11-05 22:59:04 UTC --- When I tried running these tests in a pre-existing build tree, plugin_default_version_check failed because the datestamps don't match up: (gdb) p gcc_version[0] $5 = {basever = 0x1029fe8 "4.6.0", datestamp = 0x1029fee "20101103", devphase = 0x1029ff7 "experimental", revision = 0x1143f30 "", configuration_arguments = 0xd2d2c0 "/n/10/davek/gcc/gcc/configure --prefix=/n/ 10/davek/gcc --with-mpfr=/opt/cfarm/mpfr-2.4.1 --with-gmp=/opt/cfarm/gmp-4.2.4 - -with-mpc=/opt/cfarm/mpc-0.8 --with-libelf=/n/10/davek/usr --enable-bootstrap ". ..} (gdb) p plugin_version[0] $6 = {basever = 0x7ffff7567d29 "4.6.0", datestamp = 0x7ffff7567d2f "20101105", devphase = 0x7ffff7567d38 "experimental", revision = 0x7ffff7567e28 "", configuration_arguments = 0x7ffff7566720 "/n/10/davek/gcc/gcc/configure --pref ix=/n/10/davek/gcc --with-mpfr=/opt/cfarm/mpfr-2.4.1 --with-gmp=/opt/cfarm/gmp-4 .2.4 --with-mpc=/opt/cfarm/mpc-0.8 --with-libelf=/n/10/davek/usr --enable-bootst rap "...} (gdb) This will happen if $objdir/gcc/plugin-version.h or $objdir/gcc/configargs.h has been regenerated for any reason in between building the compiler and running the test. Can you tell if this may have happened in your case?