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/84250] Symbol collision when using both Address and Undefined Behavior sanitizers (-fsanitize=address,undefined)


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

--- Comment #5 from chefmax at gcc dot gnu.org ---
Author: chefmax
Date: Wed Jul  4 19:49:06 2018
New Revision: 262421

URL: https://gcc.gnu.org/viewcvs?rev=262421&root=gcc&view=rev
Log:
gcc/

2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>

        PR sanitizer/84250
        * config/gnu-user.h (LIBASAN_EARLY_SPEC): Pass -lstdc++ for static
        libasan.
        * gcc.c: Do not pass LIBUBSAN_SPEC if ASan is enabled with UBSan.

libsanitizer/

2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>

        PR sanitizer/84250
        * Makefile.am: Reorder libs.
        * Makefile.in: Regenerate.
        * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
        libsanitizer_ubsan.la.
        * asan/Makefile.in: Regenerate.
        * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
        * ubsan/Makefile.in: Regenerate.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/gnu-user.h
    trunk/gcc/gcc.c
    trunk/libsanitizer/ChangeLog
    trunk/libsanitizer/Makefile.am
    trunk/libsanitizer/Makefile.in
    trunk/libsanitizer/asan/Makefile.am
    trunk/libsanitizer/asan/Makefile.in
    trunk/libsanitizer/ubsan/Makefile.am
    trunk/libsanitizer/ubsan/Makefile.in

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