From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6615 invoked from network); 31 Mar 1998 10:50:13 -0000 Received: from fhg.de (HELO mailgw2.fhg.de) (153.96.1.1) by mail2.redhat.com with SMTP; 31 Mar 1998 10:50:13 -0000 Received: by mailgw2.fhg.de (fhg.de); Tue, 31 Mar 1998 12:50:08 +0200 (MET DST) X-ENV: (mailgw2.fhg.de) scr@iis.fhg.de -> axp-list@redhat.com.VIA-SMTP X-BULK-CHECK-2-980331.12.48.11: root@iis.iis.fhg.de [153.96.172.2] Received: by mailgw2.fhg.de (fhg.de) with ESMTP; Tue, 31 Mar 1998 12:43:38 +0200 (MET DST) from iis.fhg.de Received: by iis.fhg.de with SMTP; Tue, 31 Mar 1998 12:43:39 +0200 (MET DST) from sunserv02.iis.fhg.de Received: from ew003 by sunserv02.iis.fhg.de (SMI-8.6/SMI-SVR4) id MAA02616; Tue, 31 Mar 1998 12:43:38 +0200 Sender: scr@iis.fhg.de Message-ID: <3520C9A4.167EB0E7@iis.fhg.de> Date: Tue, 31 Mar 1998 12:47:00 +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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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