]> code.ossystems Code Review - openembedded-core.git/commit
gcc-6.3.inc: Use ucontext_t not struct ucontext.
authorJuro Bystricky <juro.bystricky@intel.com>
Thu, 14 Sep 2017 23:18:08 +0000 (16:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Sep 2017 15:52:11 +0000 (16:52 +0100)
commit5c4c077a9182561a95f071d9c0d4a7a7f06fca98
treefe1a3ac2b25c2515caa4d1e5daa73e096aa3a8bf
parent9b7ac3fbe76424a9c797b62cb7ed895c2844ea4b
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: ec1c18d866c137b1fa523d0fcc29f65a28f59f44)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/gcc/gcc-6.3.inc
meta/recipes-devtools/gcc/gcc-6.3/0055-unwind_h-glibc26.patch [new file with mode: 0644]