This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/60038] AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10
- From: "kcc at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Feb 2014 08:56:21 +0000
- Subject: [Bug sanitizer/60038] AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10
- Auto-submitted: auto-generated
- References: <bug-60038-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60038
--- Comment #8 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #6)
> size_t len = confstr (_CS_GNU_LIBC_VERSION, buf, sizeof buf);
> if (strncmp (buf, "glibc 2.", 8) == 0)
Yea, such patch is even more welcome.
I was thinking about using __gnu_get_libc_version,
to extract the libc version numbers, but confstr (_CS_GNU_LIBC_VERSION
sounds good too.