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

Richard Biener richard.guenther@gmail.com
Thu Sep 7 07:09:00 GMT 2017


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>
>



More information about the Gcc-patches mailing list