]> 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)
committerMartin Jansa <Martin.Jansa@gmail.com>
Sat, 10 Mar 2018 23:27:57 +0000 (23:27 +0000)
commit063f5558ef2040b6d2c34caa553ed09733fc6470
tree4f704600f051ab5c09c17519d3110f67ab35b663
parent869d7ddb30e5c522a3e7e200b0696340d37f5198
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]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ec1c18d866c137b1fa523d0fcc29f65a28f59f44)
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]