Skip to content

llvm-g++ EH code doesn't work with GCC 4.3 libgcc_s.so.1 #3370

@sunfishcode

Description

@sunfishcode
Bugzilla Link 2998
Resolution FIXED
Resolved on Aug 18, 2009 13:04
Version unspecified
OS Linux
CC @asl,@edwintorok,@nlewycky

Extended Description

Compiling this test from the test-suite:
SingleSource/Regression/C++/EH/ctor_dtor_count.cpp

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
executed.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions