This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Turn on -fomit-frame-pointer by default for 32bit Linux/x86


On Wed, Aug 04, 2010 at 04:11:43PM -0700, Richard Henderson wrote:
> On 08/04/2010 02:08 PM, Paul Pluzhnikov wrote:
> > The issue here is not that the unwind info is missing; it's that glibc
> > backtrace() is not async-signal safe (which, given that it calls malloc
> > shouldn't be a big surprise :-).
> 
> It will only ever call malloc if you are missing PT_GNU_EH_FRAME headers
> in your binary.  Which really ought never be true given a modern tool chain.

It looks like it happened in Paul's case. Maybe we can find a way
to avoid that.  Also there's the loader lock issue Paul pointed out.

Still I'm optimistic that can be all fixed.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]