This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Feb 2012 20:08:46 +0000
- 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
- Auto-submitted: auto-generated
- References: <bug-52297-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52297
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 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.