This patch completes a fix Eric already applied on the SPARC side some time ago, namely the erroreous use of a `:' after %e in specs. Bootstrapped without regressions on sparc-sun-solaris2.11 and i386-pc-solaris2.11, installed on mainline.
Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University 2019-05-19 Rainer Orth <r...@cebitec.uni-bielefeld.de> * config/sol2.h (LIBTSAN_EARLY_SPEC): Remove : after %e. (LIBLSAN_EARLY_SPEC): Likewise. * config/i386/sol2.h (ASAN_REJECT_SPEC): Likewise.
# HG changeset patch # Parent 11da5ae934074a4fce4033908f82b32a03bb2eed Fix %e in Solaris specs diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h --- a/gcc/config/i386/sol2.h +++ b/gcc/config/i386/sol2.h @@ -241,7 +241,7 @@ along with GCC; see the file COPYING3. /* -fsanitize=address is currently only supported for 32-bit. */ #define ASAN_REJECT_SPEC \ - DEF_ARCH64_SPEC("%e:-fsanitize=address is not supported in this configuration") + DEF_ARCH64_SPEC("%e-fsanitize=address is not supported in this configuration") #undef NO_PROFILE_COUNTERS diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -260,9 +260,9 @@ along with GCC; see the file COPYING3. /* Error out on -fsanitize=thread|leak. */ #define LIBTSAN_EARLY_SPEC "\ - %e:-fsanitize=thread is not supported in this configuration" + %e-fsanitize=thread is not supported in this configuration" #define LIBLSAN_EARLY_SPEC "\ - %e:-fsanitize=leak is not supported in this configuration" + %e-fsanitize=leak is not supported in this configuration" /* We don't use the standard svr4 STARTFILE_SPEC because it's wrong for us. */ #undef STARTFILE_SPEC