This is the mail archive of the gcc-patches@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]

Re: [patch] [5] fix asan build failure with glibc-2.26


On Thu, Sep 7, 2017 at 9:05 AM, Matthias Klose <doko@ubuntu.com> wrote:
> Fix asan build failure with glibc-2.26, not finding the SIGSEGV define.  Solved
> by explicitly including the signal.h header.  Ok for the gcc-5 branch?

Ok.

Richard.

> Matthias
>
> PS: libsanitizer still needs the backport for PR 81066
>
>
>         * asan/asan_linux.cc: Include <signal.h>
>
> --- a/src/libsanitizer/asan/asan_linux.cc
> +++ b/src/libsanitizer/asan/asan_linux.cc
> @@ -29,6 +29,7 @@
>  #include <dlfcn.h>
>  #include <fcntl.h>
>  #include <pthread.h>
> +#include <signal.h>
>  #include <stdio.h>
>  #include <unistd.h>
>  #include <unwind.h>
>


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