diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-11 10:15:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-11 15:57:08 +0100 |
commit | 8cf90598628039f6912cc44420b29af9c9cec6c3 (patch) | |
tree | 615d83e9ead958d9342fc7be5f4926793ce74453 /meta/recipes-devtools/gcc/gcc-7.1.inc | |
parent | 16cb2a0764c643cfa90b393865b70c61dc7a58b3 (diff) | |
download | poky-8cf90598628039f6912cc44420b29af9c9cec6c3.tar.gz |
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
(From OE-Core rev: c5cb3a582531dd1b9c40df5bcaa6f8bf5b451a54)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-7.1.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-7.1.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.1.inc b/meta/recipes-devtools/gcc/gcc-7.1.inc index 96fc11c943..f30a73c31c 100644 --- a/meta/recipes-devtools/gcc/gcc-7.1.inc +++ b/meta/recipes-devtools/gcc/gcc-7.1.inc | |||
@@ -73,6 +73,7 @@ SRC_URI = "\ | |||
73 | file://0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ | 73 | file://0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ |
74 | file://0047-sync-gcc-stddef.h-with-musl.patch \ | 74 | file://0047-sync-gcc-stddef.h-with-musl.patch \ |
75 | file://0048-gcc-Enable-static-PIE.patch \ | 75 | file://0048-gcc-Enable-static-PIE.patch \ |
76 | file://0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch \ | ||
76 | ${BACKPORTS} \ | 77 | ${BACKPORTS} \ |
77 | " | 78 | " |
78 | BACKPORTS = "\ | 79 | BACKPORTS = "\ |