From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22003 invoked from network); 31 Mar 1998 11:12:39 -0000 Received: from mail11.voicenet.com (HELO voicenet.com) (207.103.0.37) by mail2.redhat.com with SMTP; 31 Mar 1998 11:12:39 -0000 Received: (qmail 5576 invoked from network); 31 Mar 1998 11:12:38 -0000 Received: from rotary922-pri.voicenet.com (HELO voicenet.com) (209.71.52.22) by mail11.voicenet.com with SMTP; 31 Mar 1998 11:12:38 -0000 Message-ID: <3520D049.A1005199@voicenet.com> Date: Tue, 31 Mar 1998 06:15:22 -0500 From: Uncle George Organization: None Avail X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: profiling on redhat/alpha goes core on startup References: <351CE548.739895A4@voicenet.com> <3520C9A4.167EB0E7@iis.fhg.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit well, It seems that i need a majic file like libc.so. this is an ascii magic file that has some linker commands. the majic file that I need was/is libc_p.so, with similar linker commands - except that libc.a should be replaced by libc_p.a. this gets my linker, and program to be quite content. BUT how do u get profiling to "GO" ! i get a nearly empty gprof data file. the profil(2) is rather cryptic, amd the undocumented mon...() calls dont seem to help either. Stefan Schroepfer wrote: > 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() > > > > isn't there a libc_p.so for profiling? the core dump seems to be comming > > from somewhere > > in libc.so > > For RedHat 4.1 / 4.2 you need the following patches to binutils > (gprof) and libc_p.a, provided by David Mosberger-Tang: > > http://archive.redhat.com/axp-list/1997-March/0463.html > http://archive.redhat.com/axp-list/1997-March/0464.html > > These patches should be apllied to later versions (5.0 ...), > are they? > > Maybe the following summary from Harvey Stein is useful (see > section IV. Profiling Repair): > > http://archive.redhat.com/axp-list/1997-November/0734.html > > scr@iis.fhg.de > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com