[Bug other/51272] New: ld: Unsatisfied symbol "_ITM_registerTMCloneTable" in file /test/gnu/gcc/objdir/

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 22 19:03:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51272

             Bug #: 51272
           Summary: ld: Unsatisfied symbol "_ITM_registerTMCloneTable" in
                    file /test/gnu/gcc/objdir/
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11


In stage1 building libgomp:

configure:3688: /test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B/opt/gnu64/gcc/gcc-4.7/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-4.7/hppa64-hp-hpux11.11/lib/ -isystem
/opt/gnu64/gcc/gcc-4.7/hppa64-hp-hpux11.11/include -isystem
/opt/gnu64/gcc/gcc-4.7/hppa64-hp-hpux11.11/sys-include    -g -O2   conftest.c 
>&5
ld: Unsatisfied symbol "_ITM_registerTMCloneTable" in file
/test/gnu/gcc/objdir/./gcc/crtbegin.o
ld: Unsatisfied symbol "_ITM_deregisterTMCloneTable" in file
/test/gnu/gcc/objdir/./gcc/crtbegin.o
2 errors.
collect2: error: ld returned 1 exit status
configure:3692: $? = 1
configure:3729: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU OpenMP Runtime Library"
| #define PACKAGE_TARNAME "libgomp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgomp/"
| #define PACKAGE "libgomp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3735: error: in `/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libgomp':
configure:3738: error: C compiler cannot create executables

2011-11-21  Richard Henderson  <rth@redhat.com>

        * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
        (__TMC_LIST__, __TMC_END__): New.
        (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
        (__do_global_dtors): Likewise.
        (frame_dummy): Call _ITM_registerTMCloneTable.
        (__do_global_ctors_1): Likewise.



More information about the Gcc-bugs mailing list