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

--- Comment #8 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Thu Oct  5 10:45:04 2017
New Revision: 253442

URL: https://gcc.gnu.org/viewcvs?rev=253442&root=gcc&view=rev
Log:
Add sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC

Since size of "void *" is 4 bytes for x32, check if __x86_64__ is defined
by $CC, instead of

if test x$ac_cv_sizeof_void_p = x8; then

to decide wether sanitizer_linux_x86_64.lo should be used.

        Backported from mainline
        PR sanitizer/82379
        * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
        to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.

Modified:
    branches/gcc-7-branch/libsanitizer/ChangeLog
    branches/gcc-7-branch/libsanitizer/configure.tgt

Reply via email to