This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC and purify
- To: gcc at gcc dot gnu dot org
- Subject: GCC and purify
- From: Antti Kerola <ktanker at uta dot fi>
- Date: Fri, 16 Jun 2000 18:03:10 +0300 (EET DST)
Do the newer gcc versions work with Purify ?
According to the Purify release notes there
is support only for gcc version 2.8.1.
I am having trouble using them together. Purify
builds the program just fine, but when I try
to run it, the program dumps core when trying to
initialize a static variable right in the beginning.
Without Purify the program obviously runs just fine.
I am using gcc 2.95.2 on Sparc Solaris 2.5.
The version of the Purify is 5.1 (the newest version).
Here is the stack trace:
#0 0x776d0 in _p884static ()
#1 0x57324 in pure_signal_handler_wrapper ()
#2 0x7489c in pure_sigtramp ()
#3 0xef0136e4 in iggMenuComponent::iggMenuComponent (this=0xef0ef6d4,
fp=0xef074740 <testimenu(void)>, n={static npos = 4294967295,
static nilRep = {len = 0, res = 0, ref = 1, selfish = false},
dat = 0xce5c0 "testimenu"}) at igg_menu.cc:274
#4 0xef075cc0 in __static_initialization_and_destruction_0 (__initialize_p=1,
__priority=65535) at appl.cc:76
#5 0xef075d1c in global constructors keyed to dumpcb ()
at /opt6/ake/igg/include/igg_menu.h:29
#6 0xef07a9d0 in __do_global_ctors_aux ()
at /opt6/ake/igg/include/igg_menu.h:29
#7 0xeefff8f0 in __pure_beg_ID_2c34_394a3995_c7174_0_ID_obj_0__hopt9_hopt6_hake_higg_hlib_hlibiggwidget_gso.a ()
#8 0x58b3c in _p130static ()
#9 0x58bd0 in _p896static ()
#10 0x53f00 in _pure_init ()
Antti