[Bug target/56734] Even simple exceptions cause a segmentation fault in my build of gcc on Solaris 10.

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 27 10:22:00 GMT 2013


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
          Component|c++                         |target
         Resolution|                            |DUPLICATE

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2013-03-27 10:22:44 UTC ---
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1 (LWP 1)]
> 0xff35af84 in __frame_dummy_init_array_entry ()
>    from /vobs/cello/cade_struct/lib/libstdc++.so.6
> (gdb) bt
> #0  0xff35af84 in __frame_dummy_init_array_entry ()
>    from /vobs/cello/cade_struct/lib/libstdc++.so.6
> #1  0xff2c8b48 in __cxxabiv1::__cxa_get_globals ()
>     at /proj/vobadm100/svn/gcc_4.7.2/libstdc++-v3/libsupc++/eh_globals.cc:63
> #2  0xff2c7a10 in __cxxabiv1::__cxa_allocate_exception (thrown_size=135552)
>     at /proj/vobadm100/svn/gcc_4.7.2/libstdc++-v3/libsupc++/eh_alloc.cc:132
> #3  0x00010acc in ThrowException () at Core.cc:7
> #4  0x00010a90 in main () at CoreTest.cc:4

This is a dup of PR target/55909 and might be related to PR binutils/15056:
  http://sourceware.org/bugzilla/show_bug.cgi?id=15056
which reports that TLS is broken for the SPARC in the 2.23.1 binutils release.

You need to upgrade to the just released 2.23.2 release of binutils.

*** This bug has been marked as a duplicate of bug 55909 ***



More information about the Gcc-bugs mailing list