[Bug sanitizer/60038] AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 3 08:47:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60038
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Kostya Serebryany from comment #5)
> > We probably just have to fill in correct values for glibc 2.5.
> This may help. A patch is welcome, please check
> https://code.google.com/p/address-sanitizer/wiki/HowToContribute
I have already gathered those values, but nothing happened since then, see
http://gcc.gnu.org/ml/gcc-patches/2013-12/msg00287.html
BTW, you could supposedly use
#include <unistd.h>
...
char buf[64];
size_t len = confstr (_CS_GNU_LIBC_VERSION, buf, sizeof buf);
if (strncmp (buf, "glibc 2.", 8) == 0)
{
char *end;
int minor = strtoul (buf + 8, &end, 10);
if (end != buf + 8 && (*end == '\0' || *end == '.')
{
if (minor <= 3)
}
}
More information about the Gcc-bugs
mailing list