[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 19 20:48:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Mar 19 20:47:29 2018
New Revision: 258663

URL: https://gcc.gnu.org/viewcvs?rev=258663&root=gcc&view=rev
Log:
        PR sanitizer/84761
        * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
        Define if not defined.
        (DL_INTERNAL_FUNCTION): Don't define.
        (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
        determine at runtime whether to use regparm(3), stdcall calling
        convention for older glibcs or normal calling convention for
        newer glibcs for call to _dl_get_tls_static_info.

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


More information about the Gcc-bugs mailing list