[Gc] Patch for __libc_stack_end

Boehm, Hans hans.boehm at hp.com
Mon Jan 24 12:21:46 PST 2005


Thanks for pursuing this.

Does this approach work in a completely statically-linked
executable?

Version 6.4 of the collector no longer checks __libc_stack_end by default.
That unfortunately means it relies on /proc, which isn't perfect
either.

Hans

> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com
> [mailto:gc-bounces at napali.hpl.hp.com]On Behalf Of Mike Hearn
> Sent: Friday, January 21, 2005 10:28 AM
> To: gc at napali.hpl.hp.com
> Subject: [Gc] Patch for __libc_stack_end
> 
> 
> Hi,
> 
> This symbol has different versions in different glibc releases. It was
> originally public, then it went private, then it went public again. I
> talked to the glibc guys about this and they deemed this solution
> kosher.
> 
> Is this patch OK Hans?
> 
> thanks -mike
> 
> 
> 
> Mike Hearn <mike at navi.cx>
> Use dlsym to locate __libc_stack_end to bypass the symbol versioning
> mechanism
> 
> 
> 


More information about the Gc mailing list