This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the EGCS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

2.95 pre-release, Solaris 2.6, shared library cause core dump with purify


gcc version:
    Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95/specs
    gcc version 2.95 19990718 (prerelease)
 
When running purify on a binary produce with a shared library built from gcc, program crashes in
__register_frame_info(), it appears the symbol __register_frame_info is not defined. Note this happens
on any shared library produce from this version of gcc, I  used "stdc++' as an example.
 
---- The program:
 
    #include <iostream.h>
 
    main()
   {
        cout << "hellow world\n";
    }
 
----- compile line:
 
    % purify gcc foo.cc -lstdc++
 
----- gdb output:
 
This GDB was configured as "sparc-sun-solaris2.6"...
(no debugging symbols found)...
(gdb) run
Starting program: /home/tom/a.out
 
Program received signal SIGBUS, Bus error.
0xef77e11c in __register_frame_info (begin=0x280000f, ob=0x90022001)
    at ../../egcs-19990718/gcc/frame.c:627
627         case DW_CFA_set_loc:
(gdb) where
#0  0xef77e11c in __register_frame_info (begin=0x280000f, ob=0x90022001)
    at ../../egcs-19990718/gcc/frame.c:627
#1  0xef72d1c0 in frame_dummy ()
   from /net/its3/export/home/pure/purify/cache/usr/local/lib/libstdc++.so.2.10.0_pure_p3_c0_420_56
#2  0xef72cfa0 in _init ()
   from /net/its3/export/home/pure/purify/cache/usr/local/lib/libstdc++.so.2.10.0_pure_p3_c0_420_56
#3  0x34f6c in _p122static ()
#4  0x34fa8 in _p864static ()
#5  0x30758 in _p958static ()
(gdb)
 

-Tom Geocaris (tom@intimesw.com)
 

 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]