From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31857 invoked from network); 28 Mar 1998 14:05:19 -0000 Received: from mail11.voicenet.com (HELO voicenet.com) (207.103.0.37) by mail2.redhat.com with SMTP; 28 Mar 1998 14:05:19 -0000 Received: (qmail 7766 invoked from network); 28 Mar 1998 14:05:15 -0000 Received: from rotary932-pri.voicenet.com (HELO voicenet.com) (209.71.52.32) by mail11.voicenet.com with SMTP; 28 Mar 1998 14:05:15 -0000 Message-ID: <351D0433.8284F0E3@voicenet.com> Date: Sat, 28 Mar 1998 09:07:48 -0500 From: Uncle George Organization: None Avail X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Andreas Johansson CC: "redhat-devel-list@redhat.com" , "axp-list@redhat.com" Subject: Re: profiling on redhat/alpha goes core on startup References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit i just tried -static NO good. i need to use -ldl to call/load in other shared libs. looks like libc_p.a doesn't have a few of the dynamic linker calls! gat is there some reason why there isn't a libc_p.so ?? gat Andreas Johansson wrote: > On Sat, 28 Mar 1998, Uncle George wrote: > > > does profiling on alpha work. when i include the -pg switch, the > > resulting executable > > will go core before it ever hits main() > > Try to link your program statically. This seems to do the trick. > E.g. add -static to your link command. > > /Andreas