bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backtrace_symbold_fd wrong


From: Mike Perry
Subject: Re: backtrace_symbold_fd wrong
Date: Sat, 3 Feb 2001 22:19:35 -0600
User-agent: Mutt/1.2.5i

Thus spake Ulrich Drepper (address@hidden):

> Mike Perry <address@hidden> writes:
> 
> > I'm getting the wrong output from backtrace_symbols_fd on my RH7 box. I'm
> > using their stock glibc-2.2-12 RPM. The symbols being output seem to be the
> > last function that's called.. 
> 
> Simply generate the application correctly by adding -rdynamic.

Correctly? 

If this is correct, why isn't it the default? What exactly does it do to 
the executable?

It doesn't seem to be a documented gcc option, either.

Sorry for being so pushy, but I'm the author of a malloc debugger that's
already had to jump through quite a few hoops due to oddities in glibc and
gcc, and I just want to know exactly what's going on before I tell my users
that to get the full feature set, they have to build their executables
"correctly."

-- 
Mike Perry
http://so.fscked.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]