Message ID | 75f3524a-0cbd-abaa-f01d-033afbc85c6e@ubuntu.com |
---|---|
State | New |
Headers | show |
Series | [5] fix asan build failure with glibc-2.26 | expand |
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> >
--- 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>