From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: profiling on redhat/alpha goes core on startup
Date: Tue, 31 Mar 1998 06:15:22 -0500 [thread overview]
Message-ID: <3520D049.A1005199@voicenet.com> (raw)
In-Reply-To: 3520C9A4.167EB0E7@iis.fhg.de
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
next prev parent reply other threads:[~1998-03-31 11:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-28 11:55 profiling on redhat/alpha goes core on startup Uncle George
1998-03-28 13:35 ` Andreas Johansson
1998-03-28 14:07 ` Uncle George
1998-03-31 10:47 ` Stefan Schroepfer
1998-03-31 11:15 ` Uncle George [this message]
1998-04-01 10:46 ` Stefan Schroepfer
1998-04-02 12:36 ` Uncle George
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox