[Top] [All Lists]

Re: Profiling support in glibc?

To: Brian Murphy <>, "" <>
Subject: Re: Profiling support in glibc?
From: Greg Satz <>
Date: Mon, 18 Jun 2001 15:05:18 -0600
In-reply-to: <>
User-agent: Microsoft-Entourage/9.0.2509
I was able to get profiling working using glibc-2.2.2 and gcc-2.95.3. Both
packages needed changes. The compiler had a stack misalignment correction
for glibc. Glibc didn't save all the registers nor treat sp/fp correctly.
Currently files compiled with -pg need to be linked -static. Specs need to
be updated to do this automatically.

I will send diffs if there is any interest.


on 6/18/01 1:07 PM, Brian Murphy at wrote:

> What is the status of profiling in glibc? Our (egcs-1.1.2 based)
> compiler fails with a missing symbol
> _start (glibc 2.0.6) but even if one fixes this up there are more
> fundamental problems.
> Is there a later glibc for which profiling works?
> /Brian

<Prev in Thread] Current Thread [Next in Thread>