From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9429 invoked by alias); 22 Feb 2012 20:21:06 -0000 Received: (qmail 9417 invoked by uid 22791); 22 Feb 2012 20:21:05 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Wed, 22 Feb 2012 20:20:52 +0000 From: "aldyh at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/52297] [4.7 Regression] FAIL: gcc.dg/lto/trans-mem-1 c_lto_trans-mem-1_0.o-c_lto_trans-mem-1_1.o link, -flto -fgnu-tm Date: Wed, 22 Feb 2012 21:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 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-02/txt/msg02256.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52297 --- Comment #7 from Aldy Hernandez 2012-02-22 20:20:34 UTC --- On 02/22/12 14:08, jakub at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52297 > > --- Comment #6 from Jakub Jelinek 2012-02-22 20:08:46 UTC --- > (In reply to comment #5) >> (In reply to comment #4) >>> That's (essentially) independent of the target, as it's a pure testsuite issue. >>> Tests that require linking with -litm should go in libitm/testsuite instead. >> >> It shouldn't be linking with -litm. All the required dummy functions should be >> in gcc.dg/lto/trans-mem.h. > > But -fgnu-tm during linking now results in libitm.spec being sourced in, so it > needs either a hack version thereof somewhere where it can find it through -B > options, or some other approach. > This looks like a regression brought about by: +2012-02-13 Eric Botcazou + + * gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm. + (GTM_SELF_SPECS): Define if not already defined. + (driver_self_specs): Add GTM_SELF_SPECS. + * config/darwin.h (LINK_COMMAND_SPEC_A): Deal with -fgnu-tm. + (GTM_SELF_SPECS): Define. + * config/i386/cygwin.h (GTM_SELF_SPECS): Likewise. + * config/i386/mingw32.h (GTM_SELF_SPECS): Likewise.