[LLVMbugs] [Bug 2998] New: llvm-g++ EH code doesn't work with GCC 4.3 libgcc_s.so.1

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Oct 31 17:52:39 PDT 2008


           Summary: llvm-g++ EH code doesn't work with GCC 4.3 libgcc_s.so.1
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: gohman at apple.com
                CC: llvmbugs at cs.uiuc.edu

Compiling this test from the test-suite:

with llvm-g++ on an Ubuntu "Intrepid" box, where /lib/libgcc_s.so.1 is
built from gcc-4.3 sources, results in an executable that hangs when

I dug up a libgcc_s.so.1 from an older package compiled from gcc-4.2 sources,
and ran the same ctor_dtor_count executable without recompiling, forcing the
older library to be used using LD_PRELOAD, and it executed successfully.

Compiling ctor_dtor_count with regular g++-4.2 and running the executable with
the gcc-4.3 libgcc_s.so.1 does work.

I'm seeing this in both 32-bit and 64-bit executables.

Valgrind on the test executable found nothing interesting.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list