From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10315 invoked from network); 1 Apr 1998 10:48:29 -0000 Received: from fhg.de (HELO mailgw2.fhg.de) (153.96.1.1) by mail2.redhat.com with SMTP; 1 Apr 1998 10:48:29 -0000 Received: by mailgw2.fhg.de (fhg.de); Wed, 1 Apr 1998 12:48:02 +0200 (MET DST) X-ENV: (mailgw2.fhg.de) scr@iis.fhg.de -> axp-list@redhat.com.VIA-SMTP X-BULK-CHECK-2-980401.12.42.59: root@iis.iis.fhg.de [153.96.172.2] Received: by mailgw2.fhg.de (fhg.de) with ESMTP; Wed, 1 Apr 1998 12:42:44 +0200 (MET DST) from iis.fhg.de Received: by iis.fhg.de with SMTP; Wed, 1 Apr 1998 12:42:45 +0200 (MET DST) from sunserv02.iis.fhg.de Received: from ew003 by sunserv02.iis.fhg.de (SMI-8.6/SMI-SVR4) id MAA13701; Wed, 1 Apr 1998 12:42:44 +0200 Sender: scr@iis.fhg.de Message-ID: <35221AEE.59E2B600@iis.fhg.de> Date: Wed, 01 Apr 1998 12:46:06 +0200 From: Stefan Schroepfer Organization: FHG-IIS X-Mailer: Mozilla 3.0 (X11; I; SunOS 4.1.3_U1 sun4m) 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> <3520D049.A1005199@voicenet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Uncle George wrote: > > 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. Sorry, I probably missed why you insist on dynamic linkage. > 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. With the patches of D. M.-T. profiling "GOES" on my RH 4.1 and 4.2 machines (static linkage required). > Stefan Schroepfer wrote: > > > > 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 > >