This is the mail archive of the
mailing list for the GCC project.
Object size checking builtin test case and uClibc
- From: "Jie Zhang" <jzhang918 at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 18 Mar 2006 00:48:12 +0800
- Subject: Object size checking builtin test case and uClibc
In gcc.c-torture/execute/builtins/lib/chk.c, vsnprintf () is defined
using vsprintf (). While vsnprintf () in uClibc is defined using
vsnprintf (). When testing on uClinux with uClibc, pr23484-chk.c
failed because these two functions will call each other recursively
and finally overflow the stack. How can this problem be fixed, In the
test case or in uClibc?