diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-09-14 16:18:08 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-14 07:55:54 -0700 |
commit | 4cb2af5af804393c80ed4d76b2ff34187d5a4d5b (patch) | |
tree | cd80ed4a3d571b51e59558eb6e52da21a92f5864 /meta/recipes-devtools/gcc/gcc-6.3.inc | |
parent | 2bee048a3b36bb3dc8dc429815ab2d078e5e66ce (diff) | |
download | poky-4cb2af5af804393c80ed4d76b2ff34187d5a4d5b.tar.gz |
gcc-6.3.inc: Use ucontext_t not struct ucontext.
Use ucontext_t not struct ucontext in linux-unwind.h files.
Current glibc no longer gives the ucontext_t type the tag struct
ucontext, to conform with POSIX namespace rules. This requires
various linux-unwind.h files in libgcc, that were previously using
struct ucontext, to be fixed to use ucontext_t instead. This is
similar to the removal of the struct siginfo tag from siginfo_t some
years ago.
Backport of patches by Joseph Myers, taken from
https://gcc.gnu.org/viewcvs/gcc?limit_changes=0&view=revision&revision=249957
[YOCTO #12083]
(From OE-Core rev: 063f5558ef2040b6d2c34caa553ed09733fc6470)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ec1c18d866c137b1fa523d0fcc29f65a28f59f44)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-6.3.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-6.3.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-6.3.inc b/meta/recipes-devtools/gcc/gcc-6.3.inc index 71d0affb89..d74f12c466 100644 --- a/meta/recipes-devtools/gcc/gcc-6.3.inc +++ b/meta/recipes-devtools/gcc/gcc-6.3.inc | |||
@@ -80,6 +80,7 @@ SRC_URI = "\ | |||
80 | file://0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ | 80 | file://0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ |
81 | file://0048-sync-gcc-stddef.h-with-musl.patch \ | 81 | file://0048-sync-gcc-stddef.h-with-musl.patch \ |
82 | file://0054_all_nopie-all-flags.patch \ | 82 | file://0054_all_nopie-all-flags.patch \ |
83 | file://0055-unwind_h-glibc26.patch \ | ||
83 | ${BACKPORTS} \ | 84 | ${BACKPORTS} \ |
84 | " | 85 | " |
85 | BACKPORTS = "\ | 86 | BACKPORTS = "\ |