gcc 6.3 with glib 2.26
cover gcc 6.3 with glib 2.26
When one chooses to use gcc 6.3 with
GCCVERSION = "6.3%"
bitbake libgcc fails.
This patch fixes building this particular issue. However, there is at least one more recipe that fails with gcc 6.3 (mesa_17.1.7.bb).
Juro Bystricky (1):
gcc-6.3.inc: Use ucontext_t not struct ucontext.
meta/recipes-devtools/gcc/gcc-6.3.inc | 1 + .../gcc/gcc-6.3/0055-unwind_h-glibc26.patch | 139 +++++++++++++++++++++ 2 files changed, 140 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0055-unwind_h-glibc26.patch
Signature · 1 line
2.7.4
PATCH 1/1 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]
--- meta/recipes-devtools/gcc/gcc-6.3.inc | 1 + .../gcc/gcc-6.3/0055-unwind_h-glibc26.patch | 139 +++++++++++++++++++++ 2 files changed, 140 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0055-unwind_h-glibc26.patch
meta/recipes-devtools/gcc/gcc-6.3.inc +1 -0
@@ -74,6 +74,7 @@ SRC_URI = "\ file://0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ file://0048-sync-gcc-stddef.h-with-musl.patch \ file://0054_all_nopie-all-flags.patch \ + file://0055-unwind_h-glibc26.patch \ ${BACKPORTS} \ " BACKPORTS = "\
meta/recipes-devtools/gcc/gcc-6.3/0055-unwind_h-glibc26.patch new file +139 -0
139 lines not on this page · raw message
Signature · 1 line
2.7.4