This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47952] [trans-mem] undefined reference to transaction clone
- From: "aldyh at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 2 Mar 2011 19:04:11 +0000
- Subject: [Bug c++/47952] [trans-mem] undefined reference to transaction clone
- Auto-submitted: auto-generated
- References: <bug-47952-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47952
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2011.03.02 19:03:48
Ever Confirmed|0 |1
--- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2011-03-02 19:03:48 UTC ---
I can't reproduce the error. Instead, I get:
houston:/build/tm/gcc$ /build/tm/install/bin/c++ a.c -fgnu-tm -O0 -fgnu-tm
-litm
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
/tmp/ccOXn6kg.o: In function `buildProjectSyncStepConcurrently()':
a.c:(.text+0x23): undefined reference to `transaction clone for
Game::isHardSpaceForBuilding()'
/tmp/ccOXn6kg.o: In function `transaction clone for
buildProjectSyncStepConcurrently()':
a.c:(.text+0xe0): undefined reference to `transaction clone for
Game::isHardSpaceForBuilding()'
collect2: ld returned 1 exit status
As I see no definition for isHardSpaceForBuilding() in the source (just a
prototype), I expect this error.
Did you give me an incorrect testcase, or perhaps this is a binutils (linker)
problem (I'm using binutils-2.20.51.0.7-6.fc14.x86_64).
??