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

             Bug #: 53218
           Summary: cmake segfaults on sparcv9
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: tcall...@redhat.com


Attempting to run cmake causes segfaults in libstdc++ on Linux sparcv9 (32bit).
Here is the gdb backtrace from a core dump:

(gdb) bt
#0  0xf77e0d98 in __frame_dummy_init_array_entry () from /lib/libstdc++.so.6
#1  0xf7746f08 in __cxxabiv1::__cxa_get_globals () at
../../../../libstdc++-v3/libsupc++/eh_globals.cc:63
#2  0xf7746d4c in std::uncaught_exception () at
../../../../libstdc++-v3/libsupc++/eh_catch.cc:136
#3  0xf7782c44 in ~sentry (this=0xffa86418, __in_chrg=<optimized out>) at
/usr/src/debug/gcc-4.7.0-20120502/obj-sparc64-redhat-linux/sparc64-redhat-linux/libstdc++-v3/include/ostream:429
#4  std::__ostream_insert<char, std::char_traits<char> > (__out=...,
__s=<optimized out>, __n=<optimized out>)
    at
/usr/src/debug/gcc-4.7.0-20120502/obj-sparc64-redhat-linux/sparc64-redhat-linux/libstdc++-v3/include/bits/ostream_insert.h:112
#5  0x0001eb84 in operator<< <std::char_traits<char> > (__s=0x15f598 "loading
initial cache file ", __out=...) at
/usr/lib/gcc/sparc64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/ostream:533
#6  cmake::SetCacheArgs (this=this@entry=0xffa86650, args=std::vector of length
6, capacity 8 = {...}) at
/home/spot/rpmbuild/BUILD/cmake-2.8.8-rc2/Source/cmake.cxx:474
#7  0x00025234 in cmake::Run (this=0xffa86650, args=std::vector of length 6,
capacity 8 = {...}, noconfigure=<optimized out>) at
/home/spot/rpmbuild/BUILD/cmake-2.8.8-rc2/Source/cmake.cxx:2411
#8  0x0002bbf4 in do_cmake (ac=6, av=0xffa86854) at
/home/spot/rpmbuild/BUILD/cmake-2.8.8-rc2/Source/cmakemain.cxx:529
#9  0xf742c430 in __libc_start_main () from /lib/libc.so.6
#10 0x00016e14 in _start ()

Reply via email to