This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] GNU libc __stack_chk_fail detection
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Aurelien Jarno <aurelien at aurel32 dot net>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 28 Apr 2007 22:01:47 +0000 (UTC)
- Subject: Re: [PATCH] GNU libc __stack_chk_fail detection
- References: <20070428212647.GA17787@shockley.aurel32.net>
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