Backports for morty
cover Backports for morty
The following changes since commit ee49a37d096a76cce349d6eff7964daada58efb1:
p11-kit: take source code from official git (2018-03-03 17:07:18 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contrib jansa/morty-backports
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=jansa/morty-backports
Andre McCurdy (1):
gcc6: enable FL_LPAE flag for armv7ve cores
Juro Bystricky (2):
gcc-6.3.inc: Use ucontext_t not struct ucontext.
gcc6: Backport few more patches
Jussi Kukkonen (1):
gcc: Remove unused patch
Khem Raj (9):
gnutls_3.5.3.bb: Fix native build on distro with kernel < 3.4.17
gcc6: Upgrade to 6.3.0
gcc-6: Sync gcc stddef.h with musl stddef.h
gcc-6.3: Backport patch to fix ICE on ARM
gcc-runtime: Disable libitm on riscv
gcc: Link libssp_nonshared.a only on musl targets
gcc: Fix libssh_nonshared linker specs for ppc/musl
gcc6: Upgrade to 6.4
gcc6: Fix unaligned STRD issue on ARM
Pavel Modilaynen (1):
buildstats.bbclass: Avoid index exception in /proc/PID/io parsing
Stephen Arnold (1):
gcc-6: Add fix for missing no-PIE flags
Yuanjie Huang (1):
gcc: Fix CVE-2016-6131 in libiberty
meta/classes/buildstats.bbclass | 5 +
meta/conf/distro/include/tcmode-default.inc | 2 +-
meta/recipes-devtools/gcc/gcc-5.4.inc | 1 +
.../gcc/gcc-5.4/CVE-2016-6131.patch | 251 +++
.../gcc/gcc-6.2/0041-ssp_nonshared.patch | 28 -
...et-71056-Don-t-use-vectorized-builtins-wh.patch | 92 -
.../gcc/gcc-6.2/CVE-2016-4490.patch | 290 ---
.../gcc/gcc-6.2/ubsan-fix-check-empty-string.patch | 28 -
.../gcc/{gcc-6.2.inc => gcc-6.4.inc} | 35 +-
.../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 0
.../{gcc-6.2 => gcc-6.4}/0002-uclibc-conf.patch | 0
.../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 0
.../{gcc-6.2 => gcc-6.4}/0004-uclibc-locale.patch | 0
.../0005-uclibc-locale-no__x.patch | 0
.../0006-uclibc-locale-wchar_fix.patch | 0
.../0007-uclibc-locale-update.patch | 0
.../0008-missing-execinfo_h.patch | 0
.../{gcc-6.2 => gcc-6.4}/0009-c99-snprintf.patch | 0
.../0010-gcc-poison-system-directories.patch | 0
.../0011-gcc-poison-dir-extend.patch | 0
.../0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 0
.../0013-64-bit-multilib-hack.patch | 0
.../0014-optional-libstdc.patch | 0
...0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 0
.../0016-COLLECT_GCC_OPTIONS.patch | 0
...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 0
.../0018-fortran-cross-compile-hack.patch | 0
.../0019-cpp-honor-sysroot.patch | 0
.../0020-MIPS64-Default-to-N64-ABI.patch | 0
...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 0
...0022-gcc-Fix-argument-list-too-long-error.patch | 0
.../{gcc-6.2 => gcc-6.4}/0023-Disable-sdt.patch | 0
.../gcc/{gcc-6.2 => gcc-6.4}/0024-libtool.patch | 0
...4-pass-fix-v4bx-to-linker-to-support-EABI.patch | 0
...tilib-config-files-from-B-instead-of-usin.patch | 0
...-libdir-from-.la-which-usually-points-to-.patch | 0
.../gcc/{gcc-6.2 => gcc-6.4}/0028-export-CPP.patch | 0
...AltiVec-generation-on-powepc-linux-target.patch | 0
...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch | 0
...Ensure-target-gcc-headers-can-be-included.patch | 0
...-t-build-with-disable-dependency-tracking.patch | 0
...h-host-directory-during-relink-if-inst_pr.patch | 0
...IBS_DIR-replacement-instead-of-hardcoding.patch | 0
.../0035-aarch64-Add-support-for-musl-ldso.patch | 0
...ibcc1-fix-libcc1-s-install-path-and-rpath.patch | 0
...-handle-sysroot-support-for-nativesdk-gcc.patch | 0
...et-sysroot-gcc-version-specific-dirs-with.patch | 0
...-various-_FOR_BUILD-and-related-variables.patch | 0
.../0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 0
...shared-to-link-commandline-for-musl-targe.patch | 87 +
...c-libcpp-support-ffile-prefix-map-old-new.patch | 0
...ug-prefix-map-to-replace-ffile-prefix-map.patch | 0
...-fdebug-prefix-map-support-to-remap-sourc.patch | 0
...45-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 0
...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 0
...e-alias-for-__cpu_indicator_init-instead-.patch | 2 +-
.../gcc-6.4/0048-sync-gcc-stddef.h-with-musl.patch | 91 +
.../gcc/gcc-6.4/0054_all_nopie-all-flags.patch | 22 +
.../gcc/gcc-6.4/0055-unwind_h-glibc26.patch | 139 ++
...-relax-the-restriction-on-subreg-reload-f.patch | 51 +
...5-suppress-32-bit-aligned-ldrd-strd-peeph.patch | 194 ++
...001-enable-FL_LPAE-flag-for-armv7ve-cores.patch | 67 +
...ove-struct-ix86_frame-to-machine_function.patch | 247 +++
...ference-of-struct-ix86_frame-to-avoid-cop.patch | 74 +
...nst-reference-of-struct-ix86_frame-to-avo.patch | 131 ++
.../backport/0004-x86-Add-mindirect-branch.patch | 2154 ++++++++++++++++++++
.../backport/0005-x86-Add-mfunction-return.patch | 1570 ++++++++++++++
.../0006-x86-Add-mindirect-branch-register.patch | 946 +++++++++
.../0007-x86-Add-V-register-operand-modifier.patch | 139 ++
...w-mindirect-branch-mfunction-return-with-.patch | 304 +++
...VALID_REGNUM-in-indirect-thunk-processing.patch | 126 ++
...INVALID_REGNUM-as-invalid-register-number.patch | 46 +
...date-mfunction-return-for-return-with-pop.patch | 453 ++++
...-i386-Add-TARGET_INDIRECT_BRANCH_REGISTER.patch | 1004 +++++++++
.../gcc/gcc-6.4/backport/CVE-2016-6131.patch | 223 ++
...s-canadian_6.2.bb => gcc-cross-canadian_6.4.bb} | 0
...oss-initial_6.2.bb => gcc-cross-initial_6.4.bb} | 0
.../gcc/{gcc-cross_6.2.bb => gcc-cross_6.4.bb} | 0
...-initial_6.2.bb => gcc-crosssdk-initial_6.4.bb} | 0
.../{gcc-crosssdk_6.2.bb => gcc-crosssdk_6.4.bb} | 0
meta/recipes-devtools/gcc/gcc-runtime.inc | 2 +
.../gcc/{gcc-runtime_6.2.bb => gcc-runtime_6.4.bb} | 0
...gcc-sanitizers_6.2.bb => gcc-sanitizers_6.4.bb} | 0
.../gcc/{gcc-source_6.2.bb => gcc-source_6.4.bb} | 0
.../gcc/{gcc_6.2.bb => gcc_6.4.bb} | 0
...libgcc-initial_6.2.bb => libgcc-initial_6.4.bb} | 0
.../gcc/{libgcc_6.2.bb => libgcc_6.4.bb} | 0
.../gcc/{libgfortran_6.2.bb => libgfortran_6.4.bb} | 0
.../gnutls/gnutls/check_SYS_getrandom.patch | 35 +
meta/recipes-support/gnutls/gnutls_3.5.3.bb | 1 +
90 files changed, 8392 insertions(+), 448 deletions(-)
create mode 100644 meta/recipes-devtools/gcc/gcc-5.4/CVE-2016-6131.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc-6.2/0041-ssp_nonshared.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc-6.2/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc-6.2/CVE-2016-4490.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc-6.2/ubsan-fix-check-empty-string.patch
rename meta/recipes-devtools/gcc/{gcc-6.2.inc => gcc-6.4.inc} (74%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0002-uclibc-conf.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0003-gcc-uclibc-locale-ctype_touplow_t.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0004-uclibc-locale.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0005-uclibc-locale-no__x.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0006-uclibc-locale-wchar_fix.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0007-uclibc-locale-update.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0008-missing-execinfo_h.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0009-c99-snprintf.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0010-gcc-poison-system-directories.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0011-gcc-poison-dir-extend.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0013-64-bit-multilib-hack.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0014-optional-libstdc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0016-COLLECT_GCC_OPTIONS.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0018-fortran-cross-compile-hack.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0019-cpp-honor-sysroot.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0020-MIPS64-Default-to-N64-ABI.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0022-gcc-Fix-argument-list-too-long-error.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0023-Disable-sdt.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0024-libtool.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0028-export-CPP.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0031-Ensure-target-gcc-headers-can-be-included.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0035-aarch64-Add-support-for-musl-ldso.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0037-handle-sysroot-support-for-nativesdk-gcc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0039-Fix-various-_FOR_BUILD-and-related-variables.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch (100%)
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.4}/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch (99%)
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/0048-sync-gcc-stddef.h-with-musl.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/0054_all_nopie-all-flags.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/0055-unwind_h-glibc26.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0001-enable-FL_LPAE-flag-for-armv7ve-cores.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0001-i386-Move-struct-ix86_frame-to-machine_function.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0002-i386-Use-reference-of-struct-ix86_frame-to-avoid-cop.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0003-i386-Use-const-reference-of-struct-ix86_frame-to-avo.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0004-x86-Add-mindirect-branch.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0005-x86-Add-mfunction-return.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0006-x86-Add-mindirect-branch-register.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0007-x86-Add-V-register-operand-modifier.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0008-x86-Disallow-mindirect-branch-mfunction-return-with-.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0009-Use-INVALID_REGNUM-in-indirect-thunk-processing.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0010-i386-Pass-INVALID_REGNUM-as-invalid-register-number.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0011-i386-Update-mfunction-return-for-return-with-pop.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0012-i386-Add-TARGET_INDIRECT_BRANCH_REGISTER.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/CVE-2016-6131.patch
rename meta/recipes-devtools/gcc/{gcc-cross-canadian_6.2.bb => gcc-cross-canadian_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-cross-initial_6.2.bb => gcc-cross-initial_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-cross_6.2.bb => gcc-cross_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-crosssdk-initial_6.2.bb => gcc-crosssdk-initial_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-crosssdk_6.2.bb => gcc-crosssdk_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-runtime_6.2.bb => gcc-runtime_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-sanitizers_6.2.bb => gcc-sanitizers_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-source_6.2.bb => gcc-source_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc_6.2.bb => gcc_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc-initial_6.2.bb => libgcc-initial_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc_6.2.bb => libgcc_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{libgfortran_6.2.bb => libgfortran_6.4.bb} (100%)
create mode 100644 meta/recipes-support/gnutls/gnutls/check_SYS_getrandom.patchSignature · 1 line
2.15.1
PATCH 1/16 gnutls_3.5.3.bb: Fix native build on distro with kernel < 3.4.17
From: Khem Raj <[email protected]>
When using distros which use old kernels gnutls fails to build due to missing SYS_getrandom, therefore we need to check for this before using it.
Fixes errorr e.g.
| ../../../gnutls-3.5.3/lib/nettle/rnd-linux.c: In function 'have_getrandom': | ../../../gnutls-3.5.3/lib/nettle/rnd-linux.c:59:42: error: 'SYS_getrandom' undeclared (first use in this function) | # define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst, (size_t)s, (unsigned int)flags)
--- .../gnutls/gnutls/check_SYS_getrandom.patch | 35 ++++++++++++++++++++++ meta/recipes-support/gnutls/gnutls_3.5.3.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta/recipes-support/gnutls/gnutls/check_SYS_getrandom.patch
meta/recipes-support/gnutls/gnutls/check_SYS_getrandom.patch new file +35 -0
@@ -0,0 +1,35 @@ +From f26c3979ab0325edb2e410d287bc501cf00e0ac0 Mon Sep 17 00:00:00 2001 +From: Nikos Mavrogiannopoulos <[email protected]> +Date: Mon, 22 Aug 2016 16:32:34 +0200 +Subject: [PATCH] rnd-linux: added check for SYS_getrandom being defined + +This allows to compile the getrandom() code in old Linux systems +which do not have the system call defined. +--- + +Upstream-Status: Backport +Signed-off-by: Khem Raj <[email protected]> + + lib/nettle/rnd-linux.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/lib/nettle/rnd-linux.c b/lib/nettle/rnd-linux.c +index d7f07a6..7a24d05 100644 +--- a/lib/nettle/rnd-linux.c ++++ b/lib/nettle/rnd-linux.c +@@ -56,7 +56,11 @@ static dev_t _gnutls_urandom_fd_rdev = 0; + # else + # include <sys/syscall.h> + # undef getrandom +-# define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst, (size_t)s, (unsigned int)flags) ++# if defined(SYS_getrandom) ++# define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst, (size_t)s, (unsigned int)flags) ++# else ++# define getrandom(dst,s,flags) -1 ++# endif + # endif + + static unsigned have_getrandom(void) +-- +libgit2 0.24.0 +
meta/recipes-support/gnutls/gnutls_3.5.3.bb +1 -0
@@ -4,6 +4,7 @@ SRC_URI += "file://correct_rpl_gettimeofday_signature.patch \ file://0001-configure.ac-fix-sed-command.patch \ file://use-pkg-config-to-locate-zlib.patch \ file://0001-Use-correct-include-dir-with-minitasn.patch \ + file://check_SYS_getrandom.patch \ file://CVE-2016-7444.patch \ " SRC_URI[md5sum] = "6c2c7f40ddf52933ee3ca474cb8cb63c"
Signature · 1 line
2.15.1
PATCH 2/16 buildstats.bbclass: Avoid index exception in /proc/PID/io parsing
In reply to Martin JansaFrom: Pavel Modilaynen <[email protected]>
There is some probability (depends on system load) to get empty or line containing "0" as the last line while reading /proc/PID/io. Avoid build failure by checking if line contains separator ":" before split.
Backport from pyro commit b26feaf51af55f17fad79dbd53dd3ec0a37c38ff
--- meta/classes/buildstats.bbclass | 5 +++++ 1 file changed, 5 insertions(+)
meta/classes/buildstats.bbclass +5 -0
@@ -31,6 +31,11 @@ def get_process_cputime(pid): i = f.readline().strip() if not i: break + if not ":" in i: + # one more extra line is appended (empty or containing "0") + # most probably due to race condition in kernel while + # updating IO stats + break i = i.split(": ") iostats[i[0]] = i[1] resources = resource.getrusage(resource.RUSAGE_SELF)
Signature · 1 line
2.15.1
PATCH 3/16 gcc6: Upgrade to 6.3.0
In reply to Martin JansaFrom: Khem Raj <[email protected]>
6.3.0 is a bugfix release in gcc 6 series
Cherry-picked from oe-core master 36ffcd1d7d2ab9dcc91e9c09623a6613a248bc69
---
meta/conf/distro/include/tcmode-default.inc | 2 +-
meta/recipes-devtools/gcc/{gcc-6.2.inc => gcc-6.3.inc} | 10 +++++-----
.../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0002-uclibc-conf.patch | 0
.../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0004-uclibc-locale.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0005-uclibc-locale-no__x.patch | 0
.../{gcc-6.2 => gcc-6.3}/0006-uclibc-locale-wchar_fix.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0007-uclibc-locale-update.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0008-missing-execinfo_h.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0009-c99-snprintf.patch | 0
.../0010-gcc-poison-system-directories.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0011-gcc-poison-dir-extend.patch | 0
.../0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0013-64-bit-multilib-hack.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0014-optional-libstdc.patch | 0
.../0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0016-COLLECT_GCC_OPTIONS.patch | 0
...17-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 0
.../{gcc-6.2 => gcc-6.3}/0018-fortran-cross-compile-hack.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0019-cpp-honor-sysroot.patch | 0
.../{gcc-6.2 => gcc-6.3}/0020-MIPS64-Default-to-N64-ABI.patch | 0
...-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 0
.../0022-gcc-Fix-argument-list-too-long-error.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0023-Disable-sdt.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0024-libtool.patch | 0
...025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch | 0
...-Use-the-multilib-config-files-from-B-instead-of-usin.patch | 0
...-Avoid-using-libdir-from-.la-which-usually-points-to-.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0028-export-CPP.patch | 0
...-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | 0
...-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch | 0
.../0031-Ensure-target-gcc-headers-can-be-included.patch | 0
...-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch | 0
...-Don-t-search-host-directory-during-relink-if-inst_pr.patch | 0
...-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch | 0
.../0035-aarch64-Add-support-for-musl-ldso.patch | 0
.../0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch | 0
.../0037-handle-sysroot-support-for-nativesdk-gcc.patch | 0
...-Search-target-sysroot-gcc-version-specific-dirs-with.patch | 0
.../0039-Fix-various-_FOR_BUILD-and-related-variables.patch | 0
.../0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/0041-ssp_nonshared.patch | 0
.../0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch | 0
...3-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch | 0
...-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch | 0
.../0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 0
...0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 0
...-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch | 0
...-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch | 0
.../gcc/{gcc-6.2 => gcc-6.3}/CVE-2016-4490.patch | 0
.../{gcc-6.2 => gcc-6.3}/ubsan-fix-check-empty-string.patch | 0
.../{gcc-cross-canadian_6.2.bb => gcc-cross-canadian_6.3.bb} | 0
.../gcc/{gcc-cross-initial_6.2.bb => gcc-cross-initial_6.3.bb} | 0
.../gcc/{gcc-cross_6.2.bb => gcc-cross_6.3.bb} | 0
...gcc-crosssdk-initial_6.2.bb => gcc-crosssdk-initial_6.3.bb} | 0
.../gcc/{gcc-crosssdk_6.2.bb => gcc-crosssdk_6.3.bb} | 0
.../gcc/{gcc-runtime_6.2.bb => gcc-runtime_6.3.bb} | 0
.../gcc/{gcc-sanitizers_6.2.bb => gcc-sanitizers_6.3.bb} | 0
.../gcc/{gcc-source_6.2.bb => gcc-source_6.3.bb} | 0
meta/recipes-devtools/gcc/{gcc_6.2.bb => gcc_6.3.bb} | 0
.../gcc/{libgcc-initial_6.2.bb => libgcc-initial_6.3.bb} | 0
meta/recipes-devtools/gcc/{libgcc_6.2.bb => libgcc_6.3.bb} | 0
.../gcc/{libgfortran_6.2.bb => libgfortran_6.3.bb} | 0
64 files changed, 6 insertions(+), 6 deletions(-)
rename meta/recipes-devtools/gcc/{gcc-6.2.inc => gcc-6.3.inc} (95%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0002-uclibc-conf.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0003-gcc-uclibc-locale-ctype_touplow_t.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0004-uclibc-locale.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0005-uclibc-locale-no__x.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0006-uclibc-locale-wchar_fix.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0007-uclibc-locale-update.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0008-missing-execinfo_h.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0009-c99-snprintf.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0010-gcc-poison-system-directories.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0011-gcc-poison-dir-extend.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0013-64-bit-multilib-hack.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0014-optional-libstdc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0016-COLLECT_GCC_OPTIONS.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0018-fortran-cross-compile-hack.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0019-cpp-honor-sysroot.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0020-MIPS64-Default-to-N64-ABI.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0022-gcc-Fix-argument-list-too-long-error.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0023-Disable-sdt.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0024-libtool.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0028-export-CPP.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0031-Ensure-target-gcc-headers-can-be-included.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0035-aarch64-Add-support-for-musl-ldso.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0037-handle-sysroot-support-for-nativesdk-gcc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0039-Fix-various-_FOR_BUILD-and-related-variables.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0041-ssp_nonshared.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/CVE-2016-4490.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/ubsan-fix-check-empty-string.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-cross-canadian_6.2.bb => gcc-cross-canadian_6.3.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-cross-initial_6.2.bb => gcc-cross-initial_6.3.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-cross_6.2.bb => gcc-cross_6.3.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-crosssdk-initial_6.2.bb => gcc-crosssdk-initial_6.3.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-crosssdk_6.2.bb => gcc-crosssdk_6.3.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-runtime_6.2.bb => gcc-runtime_6.3.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-sanitizers_6.2.bb => gcc-sanitizers_6.3.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-source_6.2.bb => gcc-source_6.3.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc_6.2.bb => gcc_6.3.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc-initial_6.2.bb => libgcc-initial_6.3.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc_6.2.bb => libgcc_6.3.bb} (100%)
rename meta/recipes-devtools/gcc/{libgfortran_6.2.bb => libgfortran_6.3.bb} (100%)meta/conf/distro/include/tcmode-default.inc +1 -1
@@ -22,7 +22,7 @@ PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial" PREFERRED_PROVIDER_virtual/gettext ??= "gettext" -GCCVERSION ?= "6.2%" +GCCVERSION ?= "6.3%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.27%" GDBVERSION ?= "7.11%"
meta/recipes-devtools/gcc/gcc-6.3.inc renamed from meta/recipes-devtools/gcc/gcc-6.2.inc +5 -5
@@ -2,13 +2,13 @@ require gcc-common.inc # Third digit in PV should be incremented after a minor release -PV = "6.2.0" +PV = "6.3.0" # BINV should be incremented to a revision after a minor gcc release -BINV = "6.2.0" +BINV = "6.3.0" -FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.2:${FILE_DIRNAME}/gcc-6.2/backport:" +FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.3:${FILE_DIRNAME}/gcc-6.3/backport:" DEPENDS =+ "mpfr gmp libmpc zlib" NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
@@ -83,8 +83,8 @@ SRC_URI = "\ BACKPORTS = "\ file://ubsan-fix-check-empty-string.patch \ " -SRC_URI[md5sum] = "9768625159663b300ae4de2f4745fcc4" -SRC_URI[sha256sum] = "9944589fc722d3e66308c0ce5257788ebd7872982a718aa2516123940671b7c5" +SRC_URI[md5sum] = "677a7623c7ef6ab99881bc4e048debb6" +SRC_URI[sha256sum] = "f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f" S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" #S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/git"
meta/recipes-devtools/gcc/gcc-6.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0002-uclibc-conf.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0002-uclibc-conf.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0003-gcc-uclibc-locale-ctype_touplow_t.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0003-gcc-uclibc-locale-ctype_touplow_t.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0004-uclibc-locale.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0004-uclibc-locale.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0005-uclibc-locale-no__x.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0005-uclibc-locale-no__x.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0006-uclibc-locale-wchar_fix.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0006-uclibc-locale-wchar_fix.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0007-uclibc-locale-update.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0007-uclibc-locale-update.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0008-missing-execinfo_h.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0008-missing-execinfo_h.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0009-c99-snprintf.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0009-c99-snprintf.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0010-gcc-poison-system-directories.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0010-gcc-poison-system-directories.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0011-gcc-poison-dir-extend.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0011-gcc-poison-dir-extend.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0013-64-bit-multilib-hack.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0013-64-bit-multilib-hack.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0014-optional-libstdc.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0014-optional-libstdc.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0016-COLLECT_GCC_OPTIONS.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0016-COLLECT_GCC_OPTIONS.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0018-fortran-cross-compile-hack.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0018-fortran-cross-compile-hack.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0019-cpp-honor-sysroot.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0019-cpp-honor-sysroot.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0020-MIPS64-Default-to-N64-ABI.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0020-MIPS64-Default-to-N64-ABI.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0022-gcc-Fix-argument-list-too-long-error.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0022-gcc-Fix-argument-list-too-long-error.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0023-Disable-sdt.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0023-Disable-sdt.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0024-libtool.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0024-libtool.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0028-export-CPP.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0028-export-CPP.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0031-Ensure-target-gcc-headers-can-be-included.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0031-Ensure-target-gcc-headers-can-be-included.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0035-aarch64-Add-support-for-musl-ldso.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0035-aarch64-Add-support-for-musl-ldso.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0037-handle-sysroot-support-for-nativesdk-gcc.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0037-handle-sysroot-support-for-nativesdk-gcc.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0039-Fix-various-_FOR_BUILD-and-related-variables.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0039-Fix-various-_FOR_BUILD-and-related-variables.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0041-ssp_nonshared.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-4490.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/CVE-2016-4490.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch renamed from meta/recipes-devtools/gcc/gcc-6.2/ubsan-fix-check-empty-string.patch +0 -0
meta/recipes-devtools/gcc/gcc-cross-canadian_6.3.bb renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_6.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-cross-initial_6.3.bb renamed from meta/recipes-devtools/gcc/gcc-cross-initial_6.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-cross_6.3.bb renamed from meta/recipes-devtools/gcc/gcc-cross_6.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.3.bb renamed from meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-crosssdk_6.3.bb renamed from meta/recipes-devtools/gcc/gcc-crosssdk_6.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-runtime_6.3.bb renamed from meta/recipes-devtools/gcc/gcc-runtime_6.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-sanitizers_6.3.bb renamed from meta/recipes-devtools/gcc/gcc-sanitizers_6.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-source_6.3.bb renamed from meta/recipes-devtools/gcc/gcc-source_6.2.bb +0 -0
meta/recipes-devtools/gcc/gcc_6.3.bb renamed from meta/recipes-devtools/gcc/gcc_6.2.bb +0 -0
meta/recipes-devtools/gcc/libgcc-initial_6.3.bb renamed from meta/recipes-devtools/gcc/libgcc-initial_6.2.bb +0 -0
meta/recipes-devtools/gcc/libgcc_6.3.bb renamed from meta/recipes-devtools/gcc/libgcc_6.2.bb +0 -0
meta/recipes-devtools/gcc/libgfortran_6.3.bb renamed from meta/recipes-devtools/gcc/libgfortran_6.2.bb +0 -0
Signature · 1 line
2.15.1
PATCH 4/16 gcc-6: Sync gcc stddef.h with musl stddef.h
In reply to Martin JansaFrom: Khem Raj <[email protected]>
GCC provides some of std* headers including stddef.h and it syncs with glibc definitions via __needed* defines to find which datatypes are expected to be defined on top of glibc. we need same for musl.
Drop unused 0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch
--- meta/recipes-devtools/gcc/gcc-6.3.inc | 1 + ...et-71056-Don-t-use-vectorized-builtins-wh.patch | 92 ---------------------- .../gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch | 91 +++++++++++++++++++++ 3 files changed, 92 insertions(+), 92 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch
meta/recipes-devtools/gcc/gcc-6.3.inc +1 -0
@@ -78,6 +78,7 @@ SRC_URI = "\ file://0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch \ file://0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \ file://0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ + file://0048-sync-gcc-stddef.h-with-musl.patch \ ${BACKPORTS} \ " BACKPORTS = "\
meta/recipes-devtools/gcc/gcc-6.3/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch deleted +0 -92
92 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch new file +91 -0
91 lines not on this page · raw message
Signature · 1 line
2.15.1
PATCH 5/16 gcc-6: Add fix for missing no-PIE flags
In reply to Martin JansaFrom: Stephen Arnold <[email protected]>
Fixes build on hardened PAX host with gcc-5 (linker error on relocs). Completes no-PIE config by adding to ALL_* flags variables. Borrowed from Gentoo gcc patches, tested on 2 hardened amd64 hosts.
Upstream-Status: Inappropriate [configuration]
Commited by: Gentoo Toolchain Project <[email protected]> (From OE-Core rev: c178791cd78d5a9ebc4d7b7790e647a9bafe9cf2)
--- meta/recipes-devtools/gcc/gcc-6.3.inc | 1 + .../gcc/gcc-6.3/0054_all_nopie-all-flags.patch | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0054_all_nopie-all-flags.patch
meta/recipes-devtools/gcc/gcc-6.3.inc +1 -0
@@ -79,6 +79,7 @@ SRC_URI = "\ file://0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \ 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 \ ${BACKPORTS} \ " BACKPORTS = "\
meta/recipes-devtools/gcc/gcc-6.3/0054_all_nopie-all-flags.patch new file +22 -0
@@ -0,0 +1,22 @@ +Need to pass NO_PIE_CFLAGS to ALL_* so gcc doesn't fail when +we compile it with older gcc and pie. + +Upstream-Status: Inappropriate [configuration] + +Maintained by: Gentoo Toolchain Project <[email protected]> +Signed-off-by: Stephen Arnold <[email protected]> + +--- a/gcc/Makefile.in 2015-06-25 19:18:12.000000000 +0200 ++++ b/gcc/Makefile.in 2016-04-22 00:12:54.029178860 +0200 +@@ -991,10 +991,10 @@ ALL_CXXFLAGS = $(T_CFLAGS) $(CFLAGS-$@) + ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS) + + # This is the variable to use when using $(COMPILER). +-ALL_COMPILERFLAGS = $(ALL_CXXFLAGS) ++ALL_COMPILERFLAGS = $(NO_PIE_CFLAGS) $(ALL_CXXFLAGS) + + # This is the variable to use when using $(LINKER). +-ALL_LINKERFLAGS = $(ALL_CXXFLAGS) ++ALL_LINKERFLAGS = $(NO_PIE_CFLAGS) $(ALL_CXXFLAGS) + + # Build and host support libraries.
Signature · 1 line
2.15.1
PATCH 6/16 gcc: Fix CVE-2016-6131 in libiberty
In reply to Martin JansaFrom: Yuanjie Huang <[email protected]>
[NVD] -- https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-6131
The demangler in GNU Libiberty allows remote attackers to cause a denial of service (infinite loop, stack overflow, and crash) via a cycle in the references of remembered mangled types.
[BZ #71696] -- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71696
2016-08-04 Marcel Böhme <[email protected]>
PR c++/71696
* cplus-dem.c: Prevent infinite recursion when there is a cycle in the referencing of remembered mangled types. (work_stuff): New stack to keep track of the remembered mangled types that are currently being processed. (push_processed_type): New method to push currently processed remembered type onto the stack. (pop_processed_type): New method to pop currently processed remembered type from the stack. (work_stuff_copy_to_from): Copy values of new variables. (delete_non_B_K_work_stuff): Free stack memory. (demangle_args): Push/Pop currently processed remembered type. (do_type): Do not demangle a cyclic reference and push/pop referenced remembered type.
cherry-picked from commit of
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239143 138bc75d-0d04-0410-961f-82ee72b054a4
(From OE-Core rev: 3c288b181a4cfecc80b48994f4dd2df285e4d1d0)
--- meta/recipes-devtools/gcc/gcc-5.4.inc | 1 + .../gcc/gcc-5.4/CVE-2016-6131.patch | 251 +++++++++++++++++++++ meta/recipes-devtools/gcc/gcc-6.3.inc | 1 + .../gcc/gcc-6.3/CVE-2016-6131.patch | 251 +++++++++++++++++++++ 4 files changed, 504 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-5.4/CVE-2016-6131.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-6131.patch
meta/recipes-devtools/gcc/gcc-5.4.inc +1 -0
@@ -89,6 +89,7 @@ SRC_URI = "\ file://0057-unwind-fix-for-musl.patch \ file://0058-fdebug-prefix-map-support-to-remap-relative-path.patch \ file://0059-libgcc-use-ldflags.patch \ + file://CVE-2016-6131.patch \ " BACKPORTS = ""
meta/recipes-devtools/gcc/gcc-5.4/CVE-2016-6131.patch new file +251 -0
251 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.3.inc +1 -0
@@ -83,6 +83,7 @@ SRC_URI = "\ ${BACKPORTS} \ " BACKPORTS = "\ + file://CVE-2016-6131.patch \ file://ubsan-fix-check-empty-string.patch \ " SRC_URI[md5sum] = "677a7623c7ef6ab99881bc4e048debb6"
meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-6131.patch new file +251 -0
251 lines not on this page · raw message
Signature · 1 line
2.15.1
PATCH 7/16 gcc: Remove unused patch
In reply to Martin JansaFrom: Jussi Kukkonen <[email protected]>
CVE-2016-4490 applied to gcc < 6.1.1, our version is 6.3
--- .../gcc/gcc-6.3/CVE-2016-4490.patch | 290 --------------------- 1 file changed, 290 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-4490.patch
meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-4490.patch deleted +0 -290
@@ -1,290 +0,0 @@ -From 7d235b1b5ea35352c54957ef5530d9a02c46962f Mon Sep 17 00:00:00 2001 -From: bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> -Date: Mon, 2 May 2016 17:06:40 +0000 -Subject: [PATCH] =?UTF-8?q?Demangler=20integer=20overflow=20fixes=20from?= - =?UTF-8?q?=20Marcel=20B=C3=B6hme.?= -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - - PR c++/70498 - * cp-demangle.c: Parse numbers as integer instead of long to avoid - overflow after sanity checks. Include <limits.h> if available. - (INT_MAX): Define if necessary. - (d_make_template_param): Takes integer argument instead of long. - (d_make_function_param): Likewise. - (d_append_num): Likewise. - (d_identifier): Likewise. - (d_number): Parse as and return integer. - (d_compact_number): Handle overflow. - (d_source_name): Change variable type to integer for parsed number. - (d_java_resource): Likewise. - (d_special_name): Likewise. - (d_discriminator): Likewise. - (d_unnamed_type): Likewise. - * testsuite/demangle-expected: Add regression test cases. - - - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235767 138bc75d-0d04-0410-961f-82ee72b054a4 - -Upstream-Status: Backport -CVE: CVE-2016-4490 -[Yocto #9632] - -Signed-off-by: Armin Kuster <[email protected]> - ---- - libiberty/ChangeLog | 19 +++++++++++++ - libiberty/cp-demangle.c | 52 ++++++++++++++++++++--------------- - libiberty/testsuite/demangle-expected | 14 ++++++++-- - 3 files changed, 61 insertions(+), 24 deletions(-) - -Index: git/libiberty/ChangeLog -=================================================================== ---- git.orig/libiberty/ChangeLog -+++ git/libiberty/ChangeLog -@@ -1,3 +1,22 @@ -+2016-05-02 Marcel Böhme <[email protected]> -+ -+ PR c++/70498 -+ * cp-demangle.c: Parse numbers as integer instead of long to avoid -+ overflow after sanity checks. Include <limits.h> if available. -+ (INT_MAX): Define if necessary. -+ (d_make_template_param): Takes integer argument instead of long. -+ (d_make_function_param): Likewise. -+ (d_append_num): Likewise. -+ (d_identifier): Likewise. -+ (d_number): Parse as and return integer. -+ (d_compact_number): Handle overflow. -+ (d_source_name): Change variable type to integer for parsed number. -+ (d_java_resource): Likewise. -+ (d_special_name): Likewise. -+ (d_discriminator): Likewise. -+ (d_unnamed_type): Likewise. -+ * testsuite/demangle-expected: Add regression test cases. -+ - 2016-04-27 Release Manager - - * GCC 6.1.0 released. -Index: git/libiberty/cp-demangle.c -=================================================================== ---- git.orig/libiberty/cp-demangle.c -+++ git/libiberty/cp-demangle.c -@@ -128,6 +128,13 @@ extern char *alloca (); - # endif /* alloca */ - #endif /* HAVE_ALLOCA_H */ - -+#ifdef HAVE_LIMITS_H -+#include <limits.h> -+#endif -+#ifndef INT_MAX -+# define INT_MAX (int)(((unsigned int) ~0) >> 1) /* 0x7FFFFFFF */ -+#endif -+ - #include "ansidecl.h" - #include "libiberty.h" - #include "demangle.h" -@@ -398,7 +405,7 @@ d_make_dtor (struct d_info *, enum gnu_v - struct demangle_component *); - - static struct demangle_component * --d_make_template_param (struct d_info *, long); -+d_make_template_param (struct d_info *, int); - - static struct demangle_component * - d_make_sub (struct d_info *, const char *, int); -@@ -421,9 +428,9 @@ static struct demangle_component *d_unqu - - static struct demangle_component *d_source_name (struct d_info *); - --static long d_number (struct d_info *); -+static int d_number (struct d_info *); - --static struct demangle_component *d_identifier (struct d_info *, long); -+static struct demangle_component *d_identifier (struct d_info *, int); - - static struct demangle_component *d_operator_name (struct d_info *); - -@@ -1119,7 +1126,7 @@ d_make_dtor (struct d_info *di, enum gnu - /* Add a new template parameter. */ - - static struct demangle_component * --d_make_template_param (struct d_info *di, long i) -+d_make_template_param (struct d_info *di, int i) - { - struct demangle_component *p; - -@@ -1135,7 +1142,7 @@ d_make_template_param (struct d_info *di - /* Add a new function parameter. */ - - static struct demangle_component * --d_make_function_param (struct d_info *di, long i) -+d_make_function_param (struct d_info *di, int i) - { - struct demangle_component *p; - -@@ -1620,7 +1627,7 @@ d_unqualified_name (struct d_info *di) - static struct demangle_component * - d_source_name (struct d_info *di) - { -- long len; -+ int len; - struct demangle_component *ret; - - len = d_number (di); -@@ -1633,12 +1640,12 @@ d_source_name (struct d_info *di) - - /* number ::= [n] <(non-negative decimal integer)> */ - --static long -+static int - d_number (struct d_info *di) - { - int negative; - char peek; -- long ret; -+ int ret; - - negative = 0; - peek = d_peek_char (di); -@@ -1681,7 +1688,7 @@ d_number_component (struct d_info *di) - /* identifier ::= <(unqualified source code identifier)> */ - - static struct demangle_component * --d_identifier (struct d_info *di, long len) -+d_identifier (struct d_info *di, int len) - { - const char *name; - -@@ -1702,7 +1709,7 @@ d_identifier (struct d_info *di, long le - /* Look for something which looks like a gcc encoding of an - anonymous namespace, and replace it with a more user friendly - name. */ -- if (len >= (long) ANONYMOUS_NAMESPACE_PREFIX_LEN + 2 -+ if (len >= (int) ANONYMOUS_NAMESPACE_PREFIX_LEN + 2 - && memcmp (name, ANONYMOUS_NAMESPACE_PREFIX, - ANONYMOUS_NAMESPACE_PREFIX_LEN) == 0) - { -@@ -1870,7 +1877,7 @@ d_java_resource (struct d_info *di) - { - struct demangle_component *p = NULL; - struct demangle_component *next = NULL; -- long len, i; -+ int len, i; - char c; - const char *str; - -@@ -2012,7 +2019,7 @@ d_special_name (struct d_info *di) - case 'C': - { - struct demangle_component *derived_type; -- long offset; -+ int offset; - struct demangle_component *base_type; - - derived_type = cplus_demangle_type (di); -@@ -2946,10 +2953,10 @@ d_pointer_to_member_type (struct d_info - - /* <non-negative number> _ */ - --static long -+static int - d_compact_number (struct d_info *di) - { -- long num; -+ int num; - if (d_peek_char (di) == '_') - num = 0; - else if (d_peek_char (di) == 'n') -@@ -2957,7 +2964,7 @@ d_compact_number (struct d_info *di) - else - num = d_number (di) + 1; - -- if (! d_check_char (di, '_')) -+ if (num < 0 || ! d_check_char (di, '_')) - return -1; - return num; - } -@@ -2969,7 +2976,7 @@ d_compact_number (struct d_info *di) - static struct demangle_component * - d_template_param (struct d_info *di) - { -- long param; -+ int param; - - if (! d_check_char (di, 'T')) - return NULL; -@@ -3171,9 +3178,10 @@ d_expression_1 (struct d_info *di) - } - else - { -- index = d_compact_number (di) + 1; -- if (index == 0) -+ index = d_compact_number (di); -+ if (index == INT_MAX || index == -1) - return NULL; -+ index ++; - } - return d_make_function_param (di, index); - } -@@ -3502,7 +3510,7 @@ d_local_name (struct d_info *di) - static int - d_discriminator (struct d_info *di) - { -- long discrim; -+ int discrim; - - if (d_peek_char (di) != '_') - return 1; -@@ -3558,7 +3566,7 @@ static struct demangle_component * - d_unnamed_type (struct d_info *di) - { - struct demangle_component *ret; -- long num; -+ int num; - - if (! d_check_char (di, 'U')) - return NULL; -@@ -4086,10 +4094,10 @@ d_append_string (struct d_print_info *dp - } - - static inline void --d_append_num (struct d_print_info *dpi, long l) -+d_append_num (struct d_print_info *dpi, int l) - { - char buf[25]; -- sprintf (buf,"%ld", l); -+ sprintf (buf,"%d", l); - d_append_string (dpi, buf); - } - -Index: git/libiberty/testsuite/demangle-expected -=================================================================== ---- git.orig/libiberty/testsuite/demangle-expected -+++ git/libiberty/testsuite/demangle-expected -@@ -4422,12 +4422,22 @@ void baz<int>(A<sizeof (foo((int)(), (fl - _Z3fooI1FEN1XIXszdtcl1PclcvT__EEE5arrayEE4TypeEv - X<sizeof ((P(((F)())())).array)>::Type foo<F>() - # --# Tests a use-after-free problem -+# Tests a use-after-free problem PR70481 - - _Q.__0 - ::Q.(void) - # --# Tests a use-after-free problem -+# Tests a use-after-free problem PR70481 - - _Q10-__9cafebabe. - cafebabe.::-(void) -+# -+# Tests integer overflow problem PR70492 -+ -+__vt_90000000000cafebabe -+__vt_90000000000cafebabe -+# -+# Tests write access violation PR70498 -+ -+_Z80800000000000000000000 -+_Z80800000000000000000000
Signature · 1 line
2.15.1
PATCH 8/16 gcc-6.3.inc: Use ucontext_t not struct ucontext.
In reply to Martin JansaFrom: Juro Bystricky <[email protected]>
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
@@ -80,6 +80,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.15.1
PATCH 9/16 gcc-6.3: Backport patch to fix ICE on ARM
In reply to Martin JansaFrom: Khem Raj <[email protected]>
Fixes
internal compiler error: Max. number of generated reload insns per insn is achieved (90)
--- meta/recipes-devtools/gcc/gcc-6.3.inc | 1 + ...-relax-the-restriction-on-subreg-reload-f.patch | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch
meta/recipes-devtools/gcc/gcc-6.3.inc +1 -0
@@ -81,6 +81,7 @@ SRC_URI = "\ file://0048-sync-gcc-stddef.h-with-musl.patch \ file://0054_all_nopie-all-flags.patch \ file://0055-unwind_h-glibc26.patch \ + file://0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch \ ${BACKPORTS} \ " BACKPORTS = "\
meta/recipes-devtools/gcc/gcc-6.3/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.15.1
PATCH 10/16 gcc-runtime: Disable libitm on riscv
In reply to Martin JansaFrom: Khem Raj <[email protected]>
--- meta/recipes-devtools/gcc/gcc-runtime.inc | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-devtools/gcc/gcc-runtime.inc +2 -0
@@ -27,6 +27,8 @@ RUNTIMELIBITM_mipsisa64r6 = "" RUNTIMELIBITM_mipsisa64r6el = "" RUNTIMELIBITM_nios2 = "" RUNTIMELIBITM_microblaze = "" +RUNTIMELIBITM_riscv32 = "" +RUNTIMELIBITM_riscv64 = "" RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \ ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \
Signature · 1 line
2.15.1
PATCH 11/16 gcc: Link libssp_nonshared.a only on musl targets
In reply to Martin JansaFrom: Khem Raj <[email protected]>
glibc already provides the content for libssp_nonshared in libc_nonshared.a therefore we dont need to make it universal.
This also fixed build issues on glibc when linking statically and using -fstack-protector
Fixed errors like
/mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libc.a(stack_chk_fail.o): In function __stack_chk_fail': /usr/src/debug/glibc/2.26-r0/git/debug/stack_chk_fail.c:27: multiple definition of __stack_chk_fail_local' /mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libssp_nonshared.a(libssp_nonshared_la-ssp-local.o):/usr/src/debug/gcc-runtime/7.1.0-r0/gcc-7.1.0/build.i586-bec-linux.i586-bec-linux/i586-bec-linux/libssp/../../../../../../../../work-shared/gcc-7.1.0-r0/gcc-7.1.0/libssp/ssp-local.c:47: first defined here collect2: error: ld returned 1 exit status
Cherry-picked from oe-core master d71eba26850838b2878efea3f8c392a2eb2ebbfb
--- meta/recipes-devtools/gcc/gcc-6.3.inc | 2 +- ...shared-to-link-commandline-for-musl-targe.patch | 42 ++++++++++++++++++++++ .../gcc/gcc-6.3/0041-ssp_nonshared.patch | 28 --------------- 3 files changed, 43 insertions(+), 29 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch delete mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch
meta/recipes-devtools/gcc/gcc-6.3.inc +1 -1
@@ -71,7 +71,7 @@ SRC_URI = "\ file://0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch \ file://0039-Fix-various-_FOR_BUILD-and-related-variables.patch \ file://0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch \ - file://0041-ssp_nonshared.patch \ + file://0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch \ file://0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch \ file://0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch \ file://0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch \
meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch new file +42 -0
42 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From 551a5db7acb56e085a101f1c222d51b2c1b039a4 Mon Sep 17 00:00:00 2001 -From: Szabolcs Nagy <[email protected]> -Date: Sat, 7 Nov 2015 14:58:40 +0000 -Subject: [PATCH 41/46] ssp_nonshared - ---- -Upstream-Status: Inappropriate [OE Configuration] - - gcc/gcc.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/gcc/gcc.c b/gcc/gcc.c -index 2812819..9de96ee 100644 ---- a/gcc/gcc.c -+++ b/gcc/gcc.c -@@ -863,7 +863,8 @@ proper position among the other output files. */ - #ifndef LINK_SSP_SPEC - #ifdef TARGET_LIBC_PROVIDES_SSP - #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ -- "|fstack-protector-strong|fstack-protector-explicit:}" -+ "|fstack-protector-strong|fstack-protector-explicit" \ -+ ":-lssp_nonshared}" - #else - #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ - "|fstack-protector-strong|fstack-protector-explicit" \ --- -2.8.2 -
Signature · 1 line
2.15.1
PATCH 12/16 gcc: Fix libssh_nonshared linker specs for ppc/musl
In reply to Martin JansaFrom: Khem Raj <[email protected]>
The change to link libssp_nonshared.a only for musl was to move spec file changes to config/linux.h under a conditional when DEFAULT_LIBC == LIBC_MUSL which worked fine for all but ppc since gcc for ppc provided its own linux.h overrides which are used. This patch duplicates the change in those headers too
Cherry-picked from oe-core master 9d39168a6acfa1f289a4448271c0bf9caaea10ec
--- ...shared-to-link-commandline-for-musl-targe.patch | 55 ++++++++++++++++++++-- 1 file changed, 50 insertions(+), 5 deletions(-)
meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch +50 -5
@@ -1,4 +1,4 @@ -From 75a42d6d0f1f9784327f74882195a5c24843d5a8 Mon Sep 17 00:00:00 2001 +From 210f6b3b82084cc756e02b8bc12f909a43b14ee8 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 27 Jun 2017 18:10:54 -0700 Subject: [PATCH 40/49] Add ssp_nonshared to link commandline for musl targets
@@ -17,18 +17,21 @@ Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> --- - gcc/config/linux.h | 6 ++++++ - 1 file changed, 6 insertions(+) + gcc/config/linux.h | 7 +++++++ + gcc/config/rs6000/linux.h | 10 ++++++++++ + gcc/config/rs6000/linux64.h | 10 ++++++++++ + 3 files changed, 27 insertions(+) diff --git a/gcc/config/linux.h b/gcc/config/linux.h -index 2e683d0c430..5ff0a2cb2ff 100644 +index 2e683d0c430..1b4df798671 100644 --- a/gcc/config/linux.h +++ b/gcc/config/linux.h -@@ -182,6 +182,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +@@ -182,6 +182,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \ { 0, 0, 0, 0, 0, 0 } \ } +#ifdef TARGET_LIBC_PROVIDES_SSP ++#undef LINK_SSP_SPEC +#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ + "|fstack-protector-strong|fstack-protector-explicit" \ + ":-lssp_nonshared}"
@@ -37,6 +40,48 @@ index 2e683d0c430..5ff0a2cb2ff 100644 #endif #if (DEFAULT_LIBC == LIBC_UCLIBC) && defined (SINGLE_LIBC) /* uClinux */ +diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h +index 684afd6c190..22cfa391b89 100644 +--- a/gcc/config/rs6000/linux.h ++++ b/gcc/config/rs6000/linux.h +@@ -91,6 +91,16 @@ + " -m elf32ppclinux") + #endif + ++/* link libssp_nonshared.a with musl */ ++#if DEFAULT_LIBC == LIBC_MUSL ++#ifdef TARGET_LIBC_PROVIDES_SSP ++#undef LINK_SSP_SPEC ++#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ ++ "|fstack-protector-strong|fstack-protector-explicit" \ ++ ":-lssp_nonshared}" ++#endif ++#endif ++ + #undef LINK_OS_LINUX_SPEC + #define LINK_OS_LINUX_SPEC LINK_OS_LINUX_EMUL " %{!shared: %{!static: \ + %{rdynamic:-export-dynamic} \ +diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h +index 3b00ec0fcf0..8371f8d7b6b 100644 +--- a/gcc/config/rs6000/linux64.h ++++ b/gcc/config/rs6000/linux64.h +@@ -465,6 +465,16 @@ extern int dot_symbols; + " -m elf64ppc") + #endif + ++/* link libssp_nonshared.a with musl */ ++#if DEFAULT_LIBC == LIBC_MUSL ++#ifdef TARGET_LIBC_PROVIDES_SSP ++#undef LINK_SSP_SPEC ++#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ ++ "|fstack-protector-strong|fstack-protector-explicit" \ ++ ":-lssp_nonshared}" ++#endif ++#endif ++ + #define LINK_OS_LINUX_SPEC32 LINK_OS_LINUX_EMUL32 " %{!shared: %{!static: \ + %{rdynamic:-export-dynamic} \ + -dynamic-linker " GNU_USER_DYNAMIC_LINKER32 "}} \ -- 2.13.2
Signature · 1 line
2.15.1
PATCH 13/16 gcc6: Upgrade to 6.4
In reply to Martin JansaFrom: Khem Raj <[email protected]>
---
meta/conf/distro/include/tcmode-default.inc | 2 +-
.../gcc/gcc-6.3/ubsan-fix-check-empty-string.patch | 28 ----------
.../gcc/{gcc-6.3.inc => gcc-6.4.inc} | 13 +++--
.../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 0
.../{gcc-6.3 => gcc-6.4}/0002-uclibc-conf.patch | 0
.../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 0
.../{gcc-6.3 => gcc-6.4}/0004-uclibc-locale.patch | 0
.../0005-uclibc-locale-no__x.patch | 0
.../0006-uclibc-locale-wchar_fix.patch | 0
.../0007-uclibc-locale-update.patch | 0
.../0008-missing-execinfo_h.patch | 0
.../{gcc-6.3 => gcc-6.4}/0009-c99-snprintf.patch | 0
.../0010-gcc-poison-system-directories.patch | 0
.../0011-gcc-poison-dir-extend.patch | 0
.../0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 0
.../0013-64-bit-multilib-hack.patch | 0
.../0014-optional-libstdc.patch | 0
...0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 0
.../0016-COLLECT_GCC_OPTIONS.patch | 0
...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 0
.../0018-fortran-cross-compile-hack.patch | 0
.../0019-cpp-honor-sysroot.patch | 0
.../0020-MIPS64-Default-to-N64-ABI.patch | 0
...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 0
...0022-gcc-Fix-argument-list-too-long-error.patch | 0
.../{gcc-6.3 => gcc-6.4}/0023-Disable-sdt.patch | 0
.../gcc/{gcc-6.3 => gcc-6.4}/0024-libtool.patch | 0
...4-pass-fix-v4bx-to-linker-to-support-EABI.patch | 0
...tilib-config-files-from-B-instead-of-usin.patch | 0
...-libdir-from-.la-which-usually-points-to-.patch | 0
.../gcc/{gcc-6.3 => gcc-6.4}/0028-export-CPP.patch | 0
...AltiVec-generation-on-powepc-linux-target.patch | 0
...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch | 0
...Ensure-target-gcc-headers-can-be-included.patch | 0
...-t-build-with-disable-dependency-tracking.patch | 0
...h-host-directory-during-relink-if-inst_pr.patch | 0
...IBS_DIR-replacement-instead-of-hardcoding.patch | 0
.../0035-aarch64-Add-support-for-musl-ldso.patch | 0
...ibcc1-fix-libcc1-s-install-path-and-rpath.patch | 0
...-handle-sysroot-support-for-nativesdk-gcc.patch | 0
...et-sysroot-gcc-version-specific-dirs-with.patch | 0
...-various-_FOR_BUILD-and-related-variables.patch | 0
.../0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 0
...shared-to-link-commandline-for-musl-targe.patch | 0
...c-libcpp-support-ffile-prefix-map-old-new.patch | 0
...ug-prefix-map-to-replace-ffile-prefix-map.patch | 0
...-fdebug-prefix-map-support-to-remap-sourc.patch | 0
...45-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 0
...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 0
...e-alias-for-__cpu_indicator_init-instead-.patch | 2 +-
.../0048-sync-gcc-stddef.h-with-musl.patch | 0
.../0054_all_nopie-all-flags.patch | 0
.../0055-unwind_h-glibc26.patch | 0
...-relax-the-restriction-on-subreg-reload-f.patch | 0
.../backport}/CVE-2016-6131.patch | 62 ++++++----------------
...s-canadian_6.3.bb => gcc-cross-canadian_6.4.bb} | 0
...oss-initial_6.3.bb => gcc-cross-initial_6.4.bb} | 0
.../gcc/{gcc-cross_6.3.bb => gcc-cross_6.4.bb} | 0
...-initial_6.3.bb => gcc-crosssdk-initial_6.4.bb} | 0
.../{gcc-crosssdk_6.3.bb => gcc-crosssdk_6.4.bb} | 0
.../gcc/{gcc-runtime_6.3.bb => gcc-runtime_6.4.bb} | 0
...gcc-sanitizers_6.3.bb => gcc-sanitizers_6.4.bb} | 0
.../gcc/{gcc-source_6.3.bb => gcc-source_6.4.bb} | 0
.../gcc/{gcc_6.3.bb => gcc_6.4.bb} | 0
...libgcc-initial_6.3.bb => libgcc-initial_6.4.bb} | 0
.../gcc/{libgcc_6.3.bb => libgcc_6.4.bb} | 0
.../gcc/{libgfortran_6.3.bb => libgfortran_6.4.bb} | 0
67 files changed, 25 insertions(+), 82 deletions(-)
delete mode 100644 meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch
rename meta/recipes-devtools/gcc/{gcc-6.3.inc => gcc-6.4.inc} (93%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0002-uclibc-conf.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0003-gcc-uclibc-locale-ctype_touplow_t.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0004-uclibc-locale.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0005-uclibc-locale-no__x.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0006-uclibc-locale-wchar_fix.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0007-uclibc-locale-update.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0008-missing-execinfo_h.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0009-c99-snprintf.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0010-gcc-poison-system-directories.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0011-gcc-poison-dir-extend.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0013-64-bit-multilib-hack.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0014-optional-libstdc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0016-COLLECT_GCC_OPTIONS.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0018-fortran-cross-compile-hack.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0019-cpp-honor-sysroot.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0020-MIPS64-Default-to-N64-ABI.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0022-gcc-Fix-argument-list-too-long-error.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0023-Disable-sdt.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0024-libtool.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0028-export-CPP.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0031-Ensure-target-gcc-headers-can-be-included.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0035-aarch64-Add-support-for-musl-ldso.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0037-handle-sysroot-support-for-nativesdk-gcc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0039-Fix-various-_FOR_BUILD-and-related-variables.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch (99%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0048-sync-gcc-stddef.h-with-musl.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0054_all_nopie-all-flags.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0055-unwind_h-glibc26.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4/backport}/CVE-2016-6131.patch (73%)
rename meta/recipes-devtools/gcc/{gcc-cross-canadian_6.3.bb => gcc-cross-canadian_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-cross-initial_6.3.bb => gcc-cross-initial_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-cross_6.3.bb => gcc-cross_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-crosssdk-initial_6.3.bb => gcc-crosssdk-initial_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-crosssdk_6.3.bb => gcc-crosssdk_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-runtime_6.3.bb => gcc-runtime_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-sanitizers_6.3.bb => gcc-sanitizers_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-source_6.3.bb => gcc-source_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc_6.3.bb => gcc_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc-initial_6.3.bb => libgcc-initial_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc_6.3.bb => libgcc_6.4.bb} (100%)
rename meta/recipes-devtools/gcc/{libgfortran_6.3.bb => libgfortran_6.4.bb} (100%)meta/conf/distro/include/tcmode-default.inc +1 -1
@@ -22,7 +22,7 @@ PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial" PREFERRED_PROVIDER_virtual/gettext ??= "gettext" -GCCVERSION ?= "6.3%" +GCCVERSION ?= "6.4%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.27%" GDBVERSION ?= "7.11%"
meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From 8db2cf6353c13f2a84cbe49b689654897906c499 Mon Sep 17 00:00:00 2001 -From: kyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4> -Date: Sat, 3 Sep 2016 10:57:05 +0000 -Subject: [PATCH] gcc/ * ubsan.c (ubsan_use_new_style_p): Fix check for empty - string. - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239971 138bc75d-0d04-0410-961f-82ee72b054a4 - -Upstream-Status: Backport -Signed-off-by: Joshua Lock <[email protected]> - ---- - gcc/ubsan.c | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -Index: gcc-6.3.0/gcc/ubsan.c -=================================================================== ---- gcc-6.3.0.orig/gcc/ubsan.c -+++ gcc-6.3.0/gcc/ubsan.c -@@ -1471,7 +1471,7 @@ ubsan_use_new_style_p (location_t loc) - - expanded_location xloc = expand_location (loc); - if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0 -- || xloc.file == '\0' || xloc.file[0] == '\xff' -+ || xloc.file[0] == '\0' || xloc.file[0] == '\xff' - || xloc.file[1] == '\xff') - return false; -
meta/recipes-devtools/gcc/gcc-6.4.inc renamed from meta/recipes-devtools/gcc/gcc-6.3.inc +6 -7
@@ -2,13 +2,13 @@ require gcc-common.inc # Third digit in PV should be incremented after a minor release -PV = "6.3.0" +PV = "6.4.0" # BINV should be incremented to a revision after a minor gcc release -BINV = "6.3.0" +BINV = "6.4.0" -FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.3:${FILE_DIRNAME}/gcc-6.3/backport:" +FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.4:${FILE_DIRNAME}/gcc-6.4/backport:" DEPENDS =+ "mpfr gmp libmpc zlib" NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
@@ -24,7 +24,7 @@ LIC_FILES_CHKSUM = "\ " -BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz" #SRCREV = "bd9a826d5448db11d29d2ec5884e7e679066f140" #BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git" #BASEURI ?= "ftp://sourceware.org/pub/gcc/snapshots/6.2.0-RC-20160815/gcc-6.2.0-RC-20160815.tar.bz2"
@@ -86,10 +86,9 @@ SRC_URI = "\ " BACKPORTS = "\ file://CVE-2016-6131.patch \ - file://ubsan-fix-check-empty-string.patch \ " -SRC_URI[md5sum] = "677a7623c7ef6ab99881bc4e048debb6" -SRC_URI[sha256sum] = "f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f" +SRC_URI[md5sum] = "11ba51a0cfb8471927f387c8895fe232" +SRC_URI[sha256sum] = "850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4" S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" #S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/git"
meta/recipes-devtools/gcc/gcc-6.4/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0002-uclibc-conf.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0002-uclibc-conf.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0003-gcc-uclibc-locale-ctype_touplow_t.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0003-gcc-uclibc-locale-ctype_touplow_t.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0004-uclibc-locale.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0004-uclibc-locale.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0005-uclibc-locale-no__x.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0005-uclibc-locale-no__x.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0006-uclibc-locale-wchar_fix.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0006-uclibc-locale-wchar_fix.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0007-uclibc-locale-update.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0007-uclibc-locale-update.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0008-missing-execinfo_h.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0008-missing-execinfo_h.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0009-c99-snprintf.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0009-c99-snprintf.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0010-gcc-poison-system-directories.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0010-gcc-poison-system-directories.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0011-gcc-poison-dir-extend.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0011-gcc-poison-dir-extend.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0013-64-bit-multilib-hack.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0013-64-bit-multilib-hack.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0014-optional-libstdc.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0014-optional-libstdc.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0016-COLLECT_GCC_OPTIONS.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0016-COLLECT_GCC_OPTIONS.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0018-fortran-cross-compile-hack.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0018-fortran-cross-compile-hack.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0019-cpp-honor-sysroot.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0019-cpp-honor-sysroot.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0020-MIPS64-Default-to-N64-ABI.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0020-MIPS64-Default-to-N64-ABI.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0022-gcc-Fix-argument-list-too-long-error.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0022-gcc-Fix-argument-list-too-long-error.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0023-Disable-sdt.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0023-Disable-sdt.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0024-libtool.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0024-libtool.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0028-export-CPP.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0028-export-CPP.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0031-Ensure-target-gcc-headers-can-be-included.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0031-Ensure-target-gcc-headers-can-be-included.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0035-aarch64-Add-support-for-musl-ldso.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0035-aarch64-Add-support-for-musl-ldso.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0037-handle-sysroot-support-for-nativesdk-gcc.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0037-handle-sysroot-support-for-nativesdk-gcc.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0039-Fix-various-_FOR_BUILD-and-related-variables.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0039-Fix-various-_FOR_BUILD-and-related-variables.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch +1 -1
@@ -31,7 +31,7 @@ gcc/Changelog: Signed-off-by: Khem Raj <[email protected]> --- -Upstream-Status: Rejected +Upstream-Status: Denied gcc/config/i386/i386.c | 4 ++-- libgcc/config/i386/cpuinfo.c | 6 +++---
meta/recipes-devtools/gcc/gcc-6.4/0048-sync-gcc-stddef.h-with-musl.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0054_all_nopie-all-flags.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0054_all_nopie-all-flags.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0055-unwind_h-glibc26.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0055-unwind_h-glibc26.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch +0 -0
meta/recipes-devtools/gcc/gcc-6.4/backport/CVE-2016-6131.patch renamed from meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-6131.patch +17 -45
125 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-cross-canadian_6.4.bb renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_6.3.bb +0 -0
meta/recipes-devtools/gcc/gcc-cross-initial_6.4.bb renamed from meta/recipes-devtools/gcc/gcc-cross-initial_6.3.bb +0 -0
meta/recipes-devtools/gcc/gcc-cross_6.4.bb renamed from meta/recipes-devtools/gcc/gcc-cross_6.3.bb +0 -0
meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.4.bb renamed from meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.3.bb +0 -0
meta/recipes-devtools/gcc/gcc-crosssdk_6.4.bb renamed from meta/recipes-devtools/gcc/gcc-crosssdk_6.3.bb +0 -0
meta/recipes-devtools/gcc/gcc-runtime_6.4.bb renamed from meta/recipes-devtools/gcc/gcc-runtime_6.3.bb +0 -0
meta/recipes-devtools/gcc/gcc-sanitizers_6.4.bb renamed from meta/recipes-devtools/gcc/gcc-sanitizers_6.3.bb +0 -0
meta/recipes-devtools/gcc/gcc-source_6.4.bb renamed from meta/recipes-devtools/gcc/gcc-source_6.3.bb +0 -0
meta/recipes-devtools/gcc/gcc_6.4.bb renamed from meta/recipes-devtools/gcc/gcc_6.3.bb +0 -0
meta/recipes-devtools/gcc/libgcc-initial_6.4.bb renamed from meta/recipes-devtools/gcc/libgcc-initial_6.3.bb +0 -0
meta/recipes-devtools/gcc/libgcc_6.4.bb renamed from meta/recipes-devtools/gcc/libgcc_6.3.bb +0 -0
meta/recipes-devtools/gcc/libgfortran_6.4.bb renamed from meta/recipes-devtools/gcc/libgfortran_6.3.bb +0 -0
Signature · 1 line
2.15.1
PATCH 14/16 gcc6: Fix unaligned STRD issue on ARM
In reply to Martin JansaFrom: Khem Raj <[email protected]>
Backport
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445
Fixes [YOCTO 12297]
--- meta/recipes-devtools/gcc/gcc-6.4.inc | 1 + ...5-suppress-32-bit-aligned-ldrd-strd-peeph.patch | 194 +++++++++++++++++++++ 2 files changed, 195 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch
meta/recipes-devtools/gcc/gcc-6.4.inc +1 -0
@@ -86,6 +86,7 @@ SRC_URI = "\ " BACKPORTS = "\ file://CVE-2016-6131.patch \ + file://0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch \ " SRC_URI[md5sum] = "11ba51a0cfb8471927f387c8895fe232" SRC_URI[sha256sum] = "850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4"
meta/recipes-devtools/gcc/gcc-6.4/0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch new file +194 -0
194 lines not on this page · raw message
Signature · 1 line
2.15.1
PATCH 15/16 gcc6: enable FL_LPAE flag for armv7ve cores
In reply to Martin JansaFrom: Andre McCurdy <[email protected]>
The following commit added the FL_LPAE flag to FL_FOR_ARCH7VE, but neglected to also add it to the armv7ve compatible cores defined in arm-cores.def.
https://github.com/gcc-mirror/gcc/commit/af2d9b9e58e8be576c53d94f30c48c68146b0c98
The result is that gcc 6.4 now refuses to allow -march=armv7ve and -mcpu=XXX to be used together, even when -mcpu is set to an armv7ve compatible core:
arm-linux-gnueabi-gcc -march=armv7ve -mcpu=cortex-a7 -Werror ...
error: switch -mcpu=cortex-a7 conflicts with -march=armv7ve switch [-Werror]
Fix by defining flags for armv7ve compatible cores directly from FL_FOR_ARCH7VE, rather than re-creating the armv7ve flags independently by combining FL_FOR_ARCH7A with the armv7ve specific FL_THUMB_DIV and FL_ARM_DIV flags.
--- meta/recipes-devtools/gcc/gcc-6.4.inc | 1 + ...001-enable-FL_LPAE-flag-for-armv7ve-cores.patch | 67 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0001-enable-FL_LPAE-flag-for-armv7ve-cores.patch
meta/recipes-devtools/gcc/gcc-6.4.inc +1 -0
@@ -87,6 +87,7 @@ SRC_URI = "\ BACKPORTS = "\ file://CVE-2016-6131.patch \ file://0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch \ + file://0001-enable-FL_LPAE-flag-for-armv7ve-cores.patch \ " SRC_URI[md5sum] = "11ba51a0cfb8471927f387c8895fe232" SRC_URI[sha256sum] = "850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4"
meta/recipes-devtools/gcc/gcc-6.4/backport/0001-enable-FL_LPAE-flag-for-armv7ve-cores.patch new file +67 -0
67 lines not on this page · raw message
Signature · 1 line
2.15.1
PATCH 16/16 gcc6: Backport few more patches
In reply to Martin JansaFrom: Juro Bystricky <[email protected]>
Backported series of patches from https://github.com/hjl-tools/gcc.git
branch /hjl/indirect/gcc-6-branch/master which contains
an IA patch series for security related issues
--- meta/recipes-devtools/gcc/gcc-6.4.inc | 13 + ...ove-struct-ix86_frame-to-machine_function.patch | 247 +++ ...ference-of-struct-ix86_frame-to-avoid-cop.patch | 74 + ...nst-reference-of-struct-ix86_frame-to-avo.patch | 131 ++ .../backport/0004-x86-Add-mindirect-branch.patch | 2154 ++++++++++++++++++++ .../backport/0005-x86-Add-mfunction-return.patch | 1570 ++++++++++++++ .../0006-x86-Add-mindirect-branch-register.patch | 946 +++++++++ .../0007-x86-Add-V-register-operand-modifier.patch | 139 ++ ...w-mindirect-branch-mfunction-return-with-.patch | 304 +++ ...VALID_REGNUM-in-indirect-thunk-processing.patch | 126 ++ ...INVALID_REGNUM-as-invalid-register-number.patch | 46 + ...date-mfunction-return-for-return-with-pop.patch | 453 ++++ ...-i386-Add-TARGET_INDIRECT_BRANCH_REGISTER.patch | 1004 +++++++++ 13 files changed, 7207 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0001-i386-Move-struct-ix86_frame-to-machine_function.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0002-i386-Use-reference-of-struct-ix86_frame-to-avoid-cop.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0003-i386-Use-const-reference-of-struct-ix86_frame-to-avo.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0004-x86-Add-mindirect-branch.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0005-x86-Add-mfunction-return.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0006-x86-Add-mindirect-branch-register.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0007-x86-Add-V-register-operand-modifier.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0008-x86-Disallow-mindirect-branch-mfunction-return-with-.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0009-Use-INVALID_REGNUM-in-indirect-thunk-processing.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0010-i386-Pass-INVALID_REGNUM-as-invalid-register-number.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0011-i386-Update-mfunction-return-for-return-with-pop.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/backport/0012-i386-Add-TARGET_INDIRECT_BRANCH_REGISTER.patch
meta/recipes-devtools/gcc/gcc-6.4.inc +13 -0
@@ -88,7 +88,20 @@ BACKPORTS = "\ file://CVE-2016-6131.patch \ file://0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch \ file://0001-enable-FL_LPAE-flag-for-armv7ve-cores.patch \ + file://0001-i386-Move-struct-ix86_frame-to-machine_function.patch \ + file://0002-i386-Use-reference-of-struct-ix86_frame-to-avoid-cop.patch \ + file://0003-i386-Use-const-reference-of-struct-ix86_frame-to-avo.patch \ + file://0004-x86-Add-mindirect-branch.patch \ + file://0005-x86-Add-mfunction-return.patch \ + file://0006-x86-Add-mindirect-branch-register.patch \ + file://0007-x86-Add-V-register-operand-modifier.patch \ + file://0008-x86-Disallow-mindirect-branch-mfunction-return-with-.patch \ + file://0009-Use-INVALID_REGNUM-in-indirect-thunk-processing.patch \ + file://0010-i386-Pass-INVALID_REGNUM-as-invalid-register-number.patch \ + file://0011-i386-Update-mfunction-return-for-return-with-pop.patch \ + file://0012-i386-Add-TARGET_INDIRECT_BRANCH_REGISTER.patch \ " + SRC_URI[md5sum] = "11ba51a0cfb8471927f387c8895fe232" SRC_URI[sha256sum] = "850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4"
meta/recipes-devtools/gcc/gcc-6.4/backport/0001-i386-Move-struct-ix86_frame-to-machine_function.patch new file +247 -0
247 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.4/backport/0002-i386-Use-reference-of-struct-ix86_frame-to-avoid-cop.patch new file +74 -0
74 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.4/backport/0003-i386-Use-const-reference-of-struct-ix86_frame-to-avo.patch new file +131 -0
131 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.4/backport/0004-x86-Add-mindirect-branch.patch new file +2154 -0
2,154 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.4/backport/0005-x86-Add-mfunction-return.patch new file +1570 -0
374 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.4/backport/0006-x86-Add-mindirect-branch-register.patch new file +946 -0
946 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.4/backport/0007-x86-Add-V-register-operand-modifier.patch new file +139 -0
139 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.4/backport/0008-x86-Disallow-mindirect-branch-mfunction-return-with-.patch new file +304 -0
304 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.4/backport/0009-Use-INVALID_REGNUM-in-indirect-thunk-processing.patch new file +126 -0
126 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.4/backport/0010-i386-Pass-INVALID_REGNUM-as-invalid-register-number.patch new file +46 -0
46 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.4/backport/0011-i386-Update-mfunction-return-for-return-with-pop.patch new file +453 -0
453 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.4/backport/0012-i386-Add-TARGET_INDIRECT_BRANCH_REGISTER.patch new file +1004 -0
1,004 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.15.1
Part of the diff is not shown here. View the raw message.
✗ patchtest: failure for Backports for morty (rev2)
In reply to Martin Jansa== Series Details ==
Series: Backports for morty (rev2)
Revision: 2
URL : https://patchwork.openembedded.org/series/8870/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:
* Issue Upstream-Status is in incorrect format [test_upstream_status_presence_format]
Suggested fix Fix Upstream-Status format in 0001-enable-FL_LPAE-flag-for-armv7ve-cores.patch Current UpStream-Status: Backport Standard format Upstream-Status: <Valid status> Valid status Pending, Accepted, Backport, Denied, Inappropriate [reason], Submitted [where]
If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
Re: ✗ patchtest: failure for Backports for morty (rev2)
Upstream-Status typo fixed in contrib/jansa/morty-backports
Quoted 43 lines · Patchwork
== Series Details ==
Series: Backports for morty (rev2)
Revision: 2
URL : https://patchwork.openembedded.org/series/8870/
State : failure== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:
* Issue Upstream-Status is in incorrect format
[test_upstream_status_presence_format]
Suggested fix Fix Upstream-Status format in
0001-enable-FL_LPAE-flag-for-armv7ve-cores.patchCurrent UpStream-Status: Backport Standard format Upstream-Status: <Valid status> Valid status Pending, Accepted, Backport, Denied, Inappropriate[reason], Submitted [where]
If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_
GuidelinesTest framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe