This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/60038] AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60038

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb  4 07:37:44 2014
New Revision: 207452

URL: http://gcc.gnu.org/viewcvs?rev=207452&root=gcc&view=rev
Log:
    PR sanitizer/60038
    * sanitizer_common/sanitizer_linux_libcdep.cc: Include
    sanitizer_atomic.h and unistd.h.
    (kThreadDescriptorSize): Made static, remove initializer and const,
    change type to atomic_uintptr_t.
    (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
    query glibc version, compute kThreadDescriptorSize depending on
    glibc version minor number.
    (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
    kThreadDescriptorSize directly.

Modified:
    trunk/libsanitizer/ChangeLog
    trunk/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]