[PATCH] GNU libc __stack_chk_fail detection

Joseph S. Myers joseph@codesourcery.com
Sun Apr 29 00:00:00 GMT 2007


On Sat, 28 Apr 2007, Aurelien Jarno wrote:

> I think the current test to detect GNU libc __stack_chk_fail is not
> correct. It uses *-*linux* to match the Linux targets, but they are not
> necessarily using a GNU libc (think of uClibc for example). On the

But uClibc includes support for __stack_chk_fail, so *-*-linux-uclibc* 
should be accepted here (and the presumption is that *-*-linux* uses 
either glibc or uClibc).  If the header check fails to detect support in 
uClibc, that's simply a separate bug or missing feature in this check.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list