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

             Bug #: 52220
           Summary: FAIL: libitm.c++/eh-1.C execution test due to Xcode 4
                    weakref linker bug
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libitm
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: howa...@nitro.med.uc.edu


The test suite failures at -m32/-m64 for...

FAIL: libitm.c++/eh-1.C execution test

are due to...

radar Problem ID: 10466868, "-undefined dynamic_lookup linker bug

as described in...

http://gcc.gnu.org/ml/gcc-patches/2012-01/msg00329.html

when building gcc trunk against Xcode 4.0-4.2 under x86_64-apple-darwin10 or
Xcode 4.0-4.2.1 under x86_64-apple-darwin11. This can be confirmed by building
gcc trunk against Xcode 3.2.6, which doesn't have the weakref linker bug, on
x86_64-apple-darwin10 and thus doesn't show the eh-1.C execution failure. This
weakref linker bug has been fixed upstream but won't be deployed until Xcode >
4.3. Since it is unlikely such a weakref fix will back ported to the Xcode 4.x
on Snow Leopard, a generic fix of avoiding the use of weakref in libitm is
best.

Reply via email to