]> code.ossystems Code Review - openembedded-core.git/commit
gcc-sanitizer: Fix build with glibc 2.26
authorKhem Raj <raj.khem@gmail.com>
Sun, 11 Jun 2017 17:15:44 +0000 (10:15 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Jul 2017 23:11:07 +0000 (00:11 +0100)
commitc5cb3a582531dd1b9c40df5bcaa6f8bf5b451a54
treedce0fa6f25c828d032e59b7ed738793f08762881
parente8047c772f49fe5a4a18d54289d98fb2f98a8176
gcc-sanitizer: Fix build with glibc 2.26

sigaltstack is no more exposed by glibc see (bug 21517)
therefore adjust to use stack_t instead

Use res_state typedef instead of referring to __res_state struct

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gcc/gcc-7.1.inc
meta/recipes-devtools/gcc/gcc-7.1/0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch [new file with mode: 0644]