Hello! I've got a sigfault while running application on FC9 compiled with gcc4.3. Here is backtrace:
----------------------------------------- #0 0x0223ec45 in ?? () #1 0x0023c8c5 in ?? () from /usr/lib/libstdc++.so.6 #2 0x085a2b23 in __dynamic_cast (from=0x23c8c0, to=0x238298 <typeinfo for std::locale::facet>, require_public=2326848, address=0x0, sub=0x1c2379 <bool std::has_facet<std::ctype<char> >(std::locale const&)+9>, subptr=0x23aff4) at ../../gcc-2.95.3/gcc/cp/tinfo2.cc:282 #3 0x001c23ca in std::has_facet<std::ctype<char> > () from /usr/lib/libstdc++.so.6 #4 0x001b64e8 in std::basic_ios<char, std::char_traits<char> >::_M_cache_locale () from /usr/lib/libstdc++.so.6 #5 0x001b6597 in std::basic_ios<char, std::char_traits<char> >::init () from /usr/lib/libstdc++.so.6 #6 0x001a0d36 in std::ios_base::Init::Init () from /usr/lib/libstdc++.so.6 #7 0x082d9794 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /usr/lib/gcc/i386-redhat-linux/4.3.0/../../../../include/c++/4.3.0/iostream:77 #8 0x082d97cd in global constructors keyed to main () at /home/dima/work/uimx/rcs2/uimx/uimx_main.cc:334 #9 0x0875d71d in __do_global_ctors_aux () #10 0x081169a4 in _init () #11 0x0875d619 in __libc_csu_init () #12 0x00429571 in __libc_start_main (main=0x82d9816 <main>, argc=1, ubp_av=0xbfdb2ab4, init=0x875d600 <__libc_csu_init>, fini=0x875d5f0 <__libc_csu_fini>, rtld_fini=0x11edd0 <_dl_fini>, stack_end=0xbfdb2aac) at libc-start.c:179 #13 0x08119d11 in _start () ----------------------------------------- While linking binary, I link it with libgcc.a taken from gcc2.95 and linker gives me some errors like these: ----------------------------------------- /usr/bin/ld: error in /home/dima/work/uimx/rcs2/linux/uimxdir/uxgcc/lib/libgcc.a(opdel.o)(.eh_frame); no .eh_frame_hdr table will be created. /usr/bin/ld: error in /home/dima/work/uimx/rcs2/linux/uimxdir/uxgcc/lib/libgcc.a(opnew.o)(.eh_frame); no .eh_frame_hdr table will be created. /usr/bin/ld: error in /home/dima/work/uimx/rcs2/linux/uimxdir/uxgcc/lib/libgcc.a(opvdel.o)(.eh_frame); no .eh_frame_hdr table will be created. /usr/bin/ld: error in /home/dima/work/uimx/rcs2/linux/uimxdir/uxgcc/lib/libgcc.a(opvnew.o)(.eh_frame); no .eh_frame_hdr table will be created. /usr/bin/ld: error in /home/dima/work/uimx/rcs2/linux/uimxdir/uxgcc/lib/libgcc.a(exception.o)(.eh_frame); no .eh_frame_hdr table will be created. /usr/bin/ld: error in /home/dima/work/uimx/rcs2/linux/uimxdir/uxgcc/lib/libstdc++.a(fstream.o)(.eh_frame); no .eh_frame_hdr table will be created. /usr/bin/ld: error in /home/dima/work/uimx/rcs2/linux/uimxdir/uxgcc/lib/libstdc++.a(strstream.o)(.eh_frame); no .eh_frame_hdr table will be created. /usr/bin/ld: error in /home/dima/work/uimx/rcs2/linux/uimxdir/uxgcc/lib/libstdc++.a(filebuf.o)(.eh_frame); no .eh_frame_hdr table will be created. ----------------------------------------- I've never met something similar on any of FC release starting from FC3 to FC8 with gcc starting from 3.2 to 4.2. The other strange thing I met is that binary linked the same way (sure, there are no linker errors) on FC3 works fine on FC3-FC8 but fails on FC9. Is it a problem of gcc or binutils? Thanks! -- Summary: no .eh_frame_hdr table will be created Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dima dot ru dot com at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36388