Revert "gcc10: Default back to -fcommon"
PATCH 1/3 Revert "gcc10: Default back to -fcommon"
This reverts commit 951e859b1e8297970278c539e989b8a6d06a9cb3.
--- meta/recipes-devtools/gcc/gcc-configure-common.inc | 1 - 1 file changed, 1 deletion(-)
meta/recipes-devtools/gcc/gcc-configure-common.inc +0 -1
@@ -34,7 +34,6 @@ EXTRA_OECONF = "\ --program-prefix=${TARGET_PREFIX} \ --without-local-prefix \ --disable-install-libiberty \ - --with-specs=%{!fno-common:%{!fcommon:-fcommon}} \ ${EXTRA_OECONF_BASE} \ ${EXTRA_OECONF_GCC_FLOAT} \ ${EXTRA_OECONF_PATHS} \
Signature · 1 line
2.28.0
PATCH 2/3 gcc: Upgrade to 10.2.0
Drop 0036-Enable-CET-in-cross-compiler-if-possible.patch and pr96130.patch they are already in 10.2
---
meta/conf/distro/include/maintainers.inc | 2 +-
...le-CET-in-cross-compiler-if-possible.patch | 150 ------------------
.../gcc/gcc-10.1/pr96130.patch | 106 -------------
.../gcc/{gcc-10.1.inc => gcc-10.2.inc} | 14 +-
...ian_10.1.bb => gcc-cross-canadian_10.2.bb} | 0
.../{gcc-cross_10.1.bb => gcc-cross_10.2.bb} | 0
...-crosssdk_10.1.bb => gcc-crosssdk_10.2.bb} | 0
...cc-runtime_10.1.bb => gcc-runtime_10.2.bb} | 0
...itizers_10.1.bb => gcc-sanitizers_10.2.bb} | 0
...{gcc-source_10.1.bb => gcc-source_10.2.bb} | 0
...-up-__aarch64_cas16_acq_rel-fallback.patch | 0
...ight-Line-Speculation-SLS-mitigation.patch | 0
...0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 0
...e-SLS-mitigation-for-RET-and-BR-inst.patch | 0
.../0002-gcc-poison-system-directories.patch | 0
...h64-Mitigate-SLS-for-BLR-instruction.patch | 0
...-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 0
.../0004-64-bit-multilib-hack.patch | 0
.../0005-optional-libstdc.patch | 0
.../0006-COLLECT_GCC_OPTIONS.patch | 0
...ts.h-in-B-instead-of-S-and-t-oe-in-B.patch | 0
.../0008-fortran-cross-compile-hack.patch | 0
.../0009-cpp-honor-sysroot.patch | 0
.../0010-MIPS64-Default-to-N64-ABI.patch | 0
...AMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 0
...gcc-Fix-argument-list-too-long-error.patch | 0
.../{gcc-10.1 => gcc}/0013-Disable-sdt.patch | 0
.../gcc/{gcc-10.1 => gcc}/0014-libtool.patch | 0
...s-fix-v4bx-to-linker-to-support-EABI.patch | 0
...-config-files-from-B-instead-of-usin.patch | 0
...ir-from-.la-which-usually-points-to-.patch | 0
.../{gcc-10.1 => gcc}/0018-export-CPP.patch | 0
...e-target-gcc-headers-can-be-included.patch | 0
...t-directory-during-relink-if-inst_pr.patch | 0
...IR-replacement-instead-of-hardcoding.patch | 0
...22-aarch64-Add-support-for-musl-ldso.patch | 0
...-fix-libcc1-s-install-path-and-rpath.patch | 0
...le-sysroot-support-for-nativesdk-gcc.patch | 0
...sroot-gcc-version-specific-dirs-with.patch | 0
...ous-_FOR_BUILD-and-related-variables.patch | 0
...027-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 0
...d-to-link-commandline-for-musl-targe.patch | 0
...using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 0
.../0030-sync-gcc-stddef.h-with-musl.patch | 0
...-fault-in-precompiled-header-generat.patch | 0
.../0032-Fix-for-testsuite-failure.patch | 0
...Re-introduce-spe-commandline-options.patch | 0
...as-for-__cpu_indicator_init-instead-.patch | 0
...s-Do-not-use-__LINE__-for-maintainin.patch | 0
...gw32-Enable-operation_not_supported.patch} | 0
...mic-Do-not-enforce-march-on-aarch64.patch} | 0
.../gcc/{gcc_10.1.bb => gcc_10.2.bb} | 0
...initial_10.1.bb => libgcc-initial_10.2.bb} | 0
.../gcc/{libgcc_10.1.bb => libgcc_10.2.bb} | 0
...ibgfortran_10.1.bb => libgfortran_10.2.bb} | 0
55 files changed, 7 insertions(+), 265 deletions(-)
delete mode 100644 meta/recipes-devtools/gcc/gcc-10.1/0036-Enable-CET-in-cross-compiler-if-possible.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc-10.1/pr96130.patch
rename meta/recipes-devtools/gcc/{gcc-10.1.inc => gcc-10.2.inc} (91%)
rename meta/recipes-devtools/gcc/{gcc-cross-canadian_10.1.bb => gcc-cross-canadian_10.2.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-cross_10.1.bb => gcc-cross_10.2.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-crosssdk_10.1.bb => gcc-crosssdk_10.2.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-runtime_10.1.bb => gcc-runtime_10.2.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-sanitizers_10.1.bb => gcc-sanitizers_10.2.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-source_10.1.bb => gcc-source_10.2.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0001-aarch64-Fix-up-__aarch64_cas16_acq_rel-fallback.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0001-aarch64-New-Straight-Line-Speculation-SLS-mitigation.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0002-aarch64-Introduce-SLS-mitigation-for-RET-and-BR-inst.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0002-gcc-poison-system-directories.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0003-aarch64-Mitigate-SLS-for-BLR-instruction.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0003-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0004-64-bit-multilib-hack.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0005-optional-libstdc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0006-COLLECT_GCC_OPTIONS.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0007-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0008-fortran-cross-compile-hack.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0009-cpp-honor-sysroot.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0010-MIPS64-Default-to-N64-ABI.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0011-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0012-gcc-Fix-argument-list-too-long-error.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0013-Disable-sdt.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0014-libtool.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0015-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0017-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0018-export-CPP.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0019-Ensure-target-gcc-headers-can-be-included.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0020-Don-t-search-host-directory-during-relink-if-inst_pr.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0021-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0022-aarch64-Add-support-for-musl-ldso.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0023-libcc1-fix-libcc1-s-install-path-and-rpath.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0024-handle-sysroot-support-for-nativesdk-gcc.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0025-Search-target-sysroot-gcc-version-specific-dirs-with.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0026-Fix-various-_FOR_BUILD-and-related-variables.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0029-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0030-sync-gcc-stddef.h-with-musl.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0031-fix-segmentation-fault-in-precompiled-header-generat.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0032-Fix-for-testsuite-failure.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0033-Re-introduce-spe-commandline-options.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0034-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1 => gcc}/0035-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1/0037-mingw32-Enable-operation_not_supported.patch => gcc/0036-mingw32-Enable-operation_not_supported.patch} (100%)
rename meta/recipes-devtools/gcc/{gcc-10.1/0038-libatomic-Do-not-enforce-march-on-aarch64.patch => gcc/0037-libatomic-Do-not-enforce-march-on-aarch64.patch} (100%)
rename meta/recipes-devtools/gcc/{gcc_10.1.bb => gcc_10.2.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc-initial_10.1.bb => libgcc-initial_10.2.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc_10.1.bb => libgcc_10.2.bb} (100%)
rename meta/recipes-devtools/gcc/{libgfortran_10.1.bb => libgfortran_10.2.bb} (100%)meta/conf/distro/include/maintainers.inc +1 -1
@@ -191,7 +191,7 @@ RECIPE_MAINTAINER_pn-gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Khem Raj <r RECIPE_MAINTAINER_pn-gcc-crosssdk-${SDK_SYS} = "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-gcc-runtime = "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-gcc-sanitizers = "Khem Raj <[email protected]>" -RECIPE_MAINTAINER_pn-gcc-source-10.1.0 = "Khem Raj <[email protected]>" +RECIPE_MAINTAINER_pn-gcc-source-10.2.0 = "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-gconf = "Ross Burton <[email protected]>" RECIPE_MAINTAINER_pn-gcr = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER_pn-gdb = "Khem Raj <[email protected]>"
meta/recipes-devtools/gcc/gcc-10.1/0036-Enable-CET-in-cross-compiler-if-possible.patch deleted +0 -150
150 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-10.1/pr96130.patch deleted +0 -106
106 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-10.2.inc renamed from meta/recipes-devtools/gcc/gcc-10.1.inc +6 -8
@@ -2,13 +2,13 @@ require gcc-common.inc # Third digit in PV should be incremented after a minor release -PV = "10.1.0" +PV = "10.2.0" # BINV should be incremented to a revision after a minor gcc release -BINV = "10.1.0" +BINV = "10.2.0" -FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-10.1:${FILE_DIRNAME}/gcc-10.1/backport:" +FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:" DEPENDS =+ "mpfr gmp libmpc zlib flex-native" NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native"
@@ -63,16 +63,14 @@ SRC_URI = "\ file://0033-Re-introduce-spe-commandline-options.patch \ file://0034-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ file://0035-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch \ - file://0036-Enable-CET-in-cross-compiler-if-possible.patch \ - file://0037-mingw32-Enable-operation_not_supported.patch \ - file://0038-libatomic-Do-not-enforce-march-on-aarch64.patch \ + file://0036-mingw32-Enable-operation_not_supported.patch \ + file://0037-libatomic-Do-not-enforce-march-on-aarch64.patch \ file://0001-aarch64-New-Straight-Line-Speculation-SLS-mitigation.patch \ file://0002-aarch64-Introduce-SLS-mitigation-for-RET-and-BR-inst.patch \ file://0003-aarch64-Mitigate-SLS-for-BLR-instruction.patch \ - file://pr96130.patch \ file://0001-aarch64-Fix-up-__aarch64_cas16_acq_rel-fallback.patch \ " -SRC_URI[sha256sum] = "b6898a23844b656f1b68691c5c012036c2e694ac4b53a8918d4712ad876e7ea2" +SRC_URI[sha256sum] = "b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c" S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" # For dev release snapshotting
meta/recipes-devtools/gcc/gcc-cross-canadian_10.2.bb renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_10.1.bb +0 -0
meta/recipes-devtools/gcc/gcc-cross_10.2.bb renamed from meta/recipes-devtools/gcc/gcc-cross_10.1.bb +0 -0
meta/recipes-devtools/gcc/gcc-crosssdk_10.2.bb renamed from meta/recipes-devtools/gcc/gcc-crosssdk_10.1.bb +0 -0
meta/recipes-devtools/gcc/gcc-runtime_10.2.bb renamed from meta/recipes-devtools/gcc/gcc-runtime_10.1.bb +0 -0
meta/recipes-devtools/gcc/gcc-sanitizers_10.2.bb renamed from meta/recipes-devtools/gcc/gcc-sanitizers_10.1.bb +0 -0
meta/recipes-devtools/gcc/gcc-source_10.2.bb renamed from meta/recipes-devtools/gcc/gcc-source_10.1.bb +0 -0
meta/recipes-devtools/gcc/gcc/0001-aarch64-Fix-up-__aarch64_cas16_acq_rel-fallback.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0001-aarch64-Fix-up-__aarch64_cas16_acq_rel-fallback.patch +0 -0
meta/recipes-devtools/gcc/gcc/0001-aarch64-New-Straight-Line-Speculation-SLS-mitigation.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0001-aarch64-New-Straight-Line-Speculation-SLS-mitigation.patch +0 -0
meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch +0 -0
meta/recipes-devtools/gcc/gcc/0002-aarch64-Introduce-SLS-mitigation-for-RET-and-BR-inst.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0002-aarch64-Introduce-SLS-mitigation-for-RET-and-BR-inst.patch +0 -0
meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0002-gcc-poison-system-directories.patch +0 -0
meta/recipes-devtools/gcc/gcc/0003-aarch64-Mitigate-SLS-for-BLR-instruction.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0003-aarch64-Mitigate-SLS-for-BLR-instruction.patch +0 -0
meta/recipes-devtools/gcc/gcc/0003-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0003-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch +0 -0
meta/recipes-devtools/gcc/gcc/0004-64-bit-multilib-hack.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0004-64-bit-multilib-hack.patch +0 -0
meta/recipes-devtools/gcc/gcc/0005-optional-libstdc.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0005-optional-libstdc.patch +0 -0
meta/recipes-devtools/gcc/gcc/0006-COLLECT_GCC_OPTIONS.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0006-COLLECT_GCC_OPTIONS.patch +0 -0
meta/recipes-devtools/gcc/gcc/0007-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0007-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch +0 -0
meta/recipes-devtools/gcc/gcc/0008-fortran-cross-compile-hack.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0008-fortran-cross-compile-hack.patch +0 -0
meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0009-cpp-honor-sysroot.patch +0 -0
meta/recipes-devtools/gcc/gcc/0010-MIPS64-Default-to-N64-ABI.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0010-MIPS64-Default-to-N64-ABI.patch +0 -0
meta/recipes-devtools/gcc/gcc/0011-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0011-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch +0 -0
meta/recipes-devtools/gcc/gcc/0012-gcc-Fix-argument-list-too-long-error.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0012-gcc-Fix-argument-list-too-long-error.patch +0 -0
meta/recipes-devtools/gcc/gcc/0013-Disable-sdt.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0013-Disable-sdt.patch +0 -0
meta/recipes-devtools/gcc/gcc/0014-libtool.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0014-libtool.patch +0 -0
meta/recipes-devtools/gcc/gcc/0015-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0015-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch +0 -0
meta/recipes-devtools/gcc/gcc/0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch +0 -0
meta/recipes-devtools/gcc/gcc/0017-Avoid-using-libdir-from-.la-which-usually-points-to-.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0017-Avoid-using-libdir-from-.la-which-usually-points-to-.patch +0 -0
meta/recipes-devtools/gcc/gcc/0018-export-CPP.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0018-export-CPP.patch +0 -0
meta/recipes-devtools/gcc/gcc/0019-Ensure-target-gcc-headers-can-be-included.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0019-Ensure-target-gcc-headers-can-be-included.patch +0 -0
meta/recipes-devtools/gcc/gcc/0020-Don-t-search-host-directory-during-relink-if-inst_pr.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0020-Don-t-search-host-directory-during-relink-if-inst_pr.patch +0 -0
meta/recipes-devtools/gcc/gcc/0021-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0021-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch +0 -0
meta/recipes-devtools/gcc/gcc/0022-aarch64-Add-support-for-musl-ldso.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0022-aarch64-Add-support-for-musl-ldso.patch +0 -0
meta/recipes-devtools/gcc/gcc/0023-libcc1-fix-libcc1-s-install-path-and-rpath.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0023-libcc1-fix-libcc1-s-install-path-and-rpath.patch +0 -0
meta/recipes-devtools/gcc/gcc/0024-handle-sysroot-support-for-nativesdk-gcc.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0024-handle-sysroot-support-for-nativesdk-gcc.patch +0 -0
meta/recipes-devtools/gcc/gcc/0025-Search-target-sysroot-gcc-version-specific-dirs-with.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0025-Search-target-sysroot-gcc-version-specific-dirs-with.patch +0 -0
meta/recipes-devtools/gcc/gcc/0026-Fix-various-_FOR_BUILD-and-related-variables.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0026-Fix-various-_FOR_BUILD-and-related-variables.patch +0 -0
meta/recipes-devtools/gcc/gcc/0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch +0 -0
meta/recipes-devtools/gcc/gcc/0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch +0 -0
meta/recipes-devtools/gcc/gcc/0029-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0029-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch +0 -0
meta/recipes-devtools/gcc/gcc/0030-sync-gcc-stddef.h-with-musl.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0030-sync-gcc-stddef.h-with-musl.patch +0 -0
meta/recipes-devtools/gcc/gcc/0031-fix-segmentation-fault-in-precompiled-header-generat.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0031-fix-segmentation-fault-in-precompiled-header-generat.patch +0 -0
meta/recipes-devtools/gcc/gcc/0032-Fix-for-testsuite-failure.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0032-Fix-for-testsuite-failure.patch +0 -0
meta/recipes-devtools/gcc/gcc/0033-Re-introduce-spe-commandline-options.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0033-Re-introduce-spe-commandline-options.patch +0 -0
meta/recipes-devtools/gcc/gcc/0034-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0034-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch +0 -0
meta/recipes-devtools/gcc/gcc/0035-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0035-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch +0 -0
meta/recipes-devtools/gcc/gcc/0036-mingw32-Enable-operation_not_supported.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0037-mingw32-Enable-operation_not_supported.patch +0 -0
meta/recipes-devtools/gcc/gcc/0037-libatomic-Do-not-enforce-march-on-aarch64.patch renamed from meta/recipes-devtools/gcc/gcc-10.1/0038-libatomic-Do-not-enforce-march-on-aarch64.patch +0 -0
meta/recipes-devtools/gcc/gcc_10.2.bb renamed from meta/recipes-devtools/gcc/gcc_10.1.bb +0 -0
meta/recipes-devtools/gcc/libgcc-initial_10.2.bb renamed from meta/recipes-devtools/gcc/libgcc-initial_10.1.bb +0 -0
meta/recipes-devtools/gcc/libgcc_10.2.bb renamed from meta/recipes-devtools/gcc/libgcc_10.1.bb +0 -0
meta/recipes-devtools/gcc/libgfortran_10.2.bb renamed from meta/recipes-devtools/gcc/libgfortran_10.1.bb +0 -0
Signature · 1 line
2.28.0
PATCH 3/3 linux-yocto: Backport a patch to fix perf with -fno-common
In reply to Khem RajTemp fix until linux-yocto picks it up
--- ...-definition-of-traceid_list-global-v.patch | 66 +++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_5.4.bb | 2 + 2 files changed, 68 insertions(+) create mode 100644 meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +66 -0
@@ -0,0 +1,66 @@ +From 168200b6d6ea0cb5765943ec5da5b8149701f36a Mon Sep 17 00:00:00 2001 +From: Leo Yan <[email protected]> +Date: Tue, 5 May 2020 21:36:42 +0800 +Subject: [PATCH] perf cs-etm: Move definition of 'traceid_list' global + variable from header file + +The variable 'traceid_list' is defined in the header file cs-etm.h, +if multiple C files include cs-etm.h the compiler might complaint for +multiple definition of 'traceid_list'. + +To fix multiple definition error, move the definition of 'traceid_list' +into cs-etm.c. + +Fixes: cd8bfd8c973e ("perf tools: Add processing of coresight metadata") +Reported-by: Thomas Backlund <[email protected]> +Signed-off-by: Leo Yan <[email protected]> +Reviewed-by: Mathieu Poirier <[email protected]> +Reviewed-by: Mike Leach <[email protected]> +Tested-by: Mike Leach <[email protected]> +Tested-by: Thomas Backlund <[email protected]> +Cc: Alexander Shishkin <[email protected]> +Cc: Jiri Olsa <[email protected]> +Cc: Mark Rutland <[email protected]> +Cc: Namhyung Kim <[email protected]> +Cc: Peter Zijlstra <[email protected]> +Cc: Suzuki Poulouse <[email protected]> +Cc: Tor Jeremiassen <[email protected]> +Cc: [email protected] +Link: http://lore.kernel.org/lkml/[email protected] +Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> +--- + tools/perf/util/cs-etm.c | 3 +++ + tools/perf/util/cs-etm.h | 3 --- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c +index 3c802fde4954..c283223fb31f 100644 +--- a/tools/perf/util/cs-etm.c ++++ b/tools/perf/util/cs-etm.c +@@ -94,6 +94,9 @@ struct cs_etm_queue { + struct cs_etm_traceid_queue **traceid_queues; + }; + ++/* RB tree for quick conversion between traceID and metadata pointers */ ++static struct intlist *traceid_list; ++ + static int cs_etm__update_queues(struct cs_etm_auxtrace *etm); + static int cs_etm__process_queues(struct cs_etm_auxtrace *etm); + static int cs_etm__process_timeless_queues(struct cs_etm_auxtrace *etm, +diff --git a/tools/perf/util/cs-etm.h b/tools/perf/util/cs-etm.h +index 650ecc2a6349..4ad925d6d799 100644 +--- a/tools/perf/util/cs-etm.h ++++ b/tools/perf/util/cs-etm.h +@@ -114,9 +114,6 @@ enum cs_etm_isa { + CS_ETM_ISA_T32, + }; + +-/* RB tree for quick conversion between traceID and metadata pointers */ +-struct intlist *traceid_list; +- + struct cs_etm_queue; + + struct cs_etm_packet { +-- +2.28.0 +
meta/recipes-kernel/linux/linux-yocto_5.4.bb +2 -0
@@ -32,6 +32,8 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA SRC_URI_append_qemuppc64 = " file://defconfig" CFLAGS += "-Wno-error" +SRC_URI_append = " file://0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch" + LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" LINUX_VERSION ?= "5.4.57"
Signature · 1 line
2.28.0
Re: [OE-core] [PATCH 3/3] linux-yocto: Backport a patch to fix perf with -fno-common
Quoted 3 lines · Khem Raj
Temp fix until linux-yocto picks it up
These really need to be submitted to the linux-yocto mailing list as proper patches.
When they are submitted like this, it requires me to extract the patch, or hunt up the original commit, see if it has already been submitted to linux-stable (and if not, it should be), apply it to the kernel, revert this commit if it happens to have merged and then finally do my update.
or, it could be submitted to linux-yocto like any patch, and it will be applied and show up with the next update.
I'll take care of getting this into linux-yocto with my update that is coming later today.
Cheers,
Bruce
Quoted 106 lines
Signed-off-by Khem Raj <[email protected]>--- ...-definition-of-traceid_list-global-v.patch | 66 +++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_5.4.bb | 2 + 2 files changed, 68 insertions(+) create mode 100644
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchdiff --git
a/meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchb/meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchnew file mode 100644
index 0000000000..0fc9876501
---/dev/null
+++b/meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchmeta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +29
-0@@ -0,0 +1,66 @@ +From 168200b6d6ea0cb5765943ec5da5b8149701f36a Mon Sep 17 00:00:00 2001 +From: Leo Yan <[email protected]> +Date: Tue, 5 May 2020 21:36:42 +0800 +Subject: [PATCH] perf cs-etm: Move definition of 'traceid_list' global + variable from header file + +The variable 'traceid_list' is defined in the header file cs-etm.h, +if multiple C files include cs-etm.h the compiler might complaint for +multiple definition of 'traceid_list'. + +To fix multiple definition error, move the definition of 'traceid_list' +into cs-etm.c. + +Fixes: cd8bfd8c973e ("perf tools: Add processing of coresight metadata") +Reported-by: Thomas Backlund <[email protected]> +Signed-off-by: Leo Yan <[email protected]> +Reviewed-by: Mathieu Poirier <[email protected]> +Reviewed-by: Mike Leach <[email protected]> +Tested-by: Mike Leach <[email protected]> +Tested-by: Thomas Backlund <[email protected]> +Cc: Alexander Shishkin <[email protected]> +Cc: Jiri Olsa <[email protected]> +Cc: Mark Rutland <[email protected]> +Cc: Namhyung Kim <[email protected]> +Cc: Peter Zijlstra <[email protected]> +Cc: Suzuki Poulouse <[email protected]> +Cc: Tor Jeremiassen <[email protected]> +Cc: [email protected] +Link:http://lore.kernel.org/lkml/[email protected]
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +37
-0+Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> +--- + tools/perf/util/cs-etm.c | 3 +++ + tools/perf/util/cs-etm.h | 3 --- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c +index 3c802fde4954..c283223fb31f 100644 +--- a/tools/perf/util/cs-etm.c ++++ b/tools/perf/util/cs-etm.c +@@ -94,6 +94,9 @@ struct cs_etm_queue { + struct cs_etm_traceid_queue **traceid_queues; + }; + ++/* RB tree for quick conversion between traceID and metadata pointers */ ++static struct intlist *traceid_list; ++ + static int cs_etm__update_queues(struct cs_etm_auxtrace *etm); + static int cs_etm__process_queues(struct cs_etm_auxtrace *etm); + static int cs_etm__process_timeless_queues(struct cs_etm_auxtrace *etm, +diff --git a/tools/perf/util/cs-etm.h b/tools/perf/util/cs-etm.h +index 650ecc2a6349..4ad925d6d799 100644 +--- a/tools/perf/util/cs-etm.h ++++ b/tools/perf/util/cs-etm.h +@@ -114,9 +114,6 @@ enum cs_etm_isa { + CS_ETM_ISA_T32, + }; + +-/* RB tree for quick conversion between traceID and metadata pointers */ +-struct intlist *traceid_list; +- + struct cs_etm_queue; + + struct cs_etm_packet { +-- +2.28.0 +meta/recipes-kernel/linux/linux-yocto_5.4.bb +0
-0@@ -32,6 +32,8 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
<http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRA>
SRC_URI_append_qemuppc64= " file://defconfig" CFLAGS += "-Wno-error"+SRC_URI_append = " file://0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch" +
LIC_FILES_CHKSUM= "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"LINUX_VERSION?= "5.4.57"--
2.28.0
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Re: [OE-core] [PATCH 3/3] linux-yocto: Backport a patch to fix perf with -fno-common
Quoted 12 lines · Bruce Ashfield
Quoted 3 lines · Khem Raj
Temp fix until linux-yocto picks it up
These really need to be submitted to the linux-yocto mailing list as proper patches.
When they are submitted like this, it requires me to extract the patch, or hunt up the original commit, see if it has already been submitted to linux-stable (and if not, it should be), apply it to the kernel, revert this commit if it happens to have merged and then finally do my update.
I know, it was a ad-hoc fix for autobuilders if RP wanted to try
Quoted 113 lines
or, it could be submitted to linux-yocto like any patch, and it will be applied and show up with the next update.
I'll take care of getting this into linux-yocto with my update that is coming later today.
Cheers,
Bruce
Quoted 94 lines
Signed-off-by Khem Raj <[email protected]>--- ...-definition-of-traceid_list-global-v.patch | 66 +++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_5.4.bb | 2 + 2 files changed, 68 insertions(+) create mode 100644 meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchmeta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +66
-0@@ -0,0 +1,66 @@ +From 168200b6d6ea0cb5765943ec5da5b8149701f36a Mon Sep 17 00:00:00 2001 +From: Leo Yan <[email protected]> +Date: Tue, 5 May 2020 21:36:42 +0800 +Subject: [PATCH] perf cs-etm: Move definition of 'traceid_list' global + variable from header file + +The variable 'traceid_list' is defined in the header file cs-etm.h, +if multiple C files include cs-etm.h the compiler might complaint for +multiple definition of 'traceid_list'. + +To fix multiple definition error, move the definition of 'traceid_list' +into cs-etm.c. + +Fixes: cd8bfd8c973e ("perf tools: Add processing of coresight metadata") +Reported-by: Thomas Backlund <[email protected]> +Signed-off-by: Leo Yan <[email protected]> +Reviewed-by: Mathieu Poirier <[email protected]> +Reviewed-by: Mike Leach <[email protected]> +Tested-by: Mike Leach <[email protected]> +Tested-by: Thomas Backlund <[email protected]> +Cc: Alexander Shishkin <[email protected]> +Cc: Jiri Olsa <[email protected]> +Cc: Mark Rutland <[email protected]> +Cc: Namhyung Kim <[email protected]> +Cc: Peter Zijlstra <[email protected]> +Cc: Suzuki Poulouse <[email protected]> +Cc: Tor Jeremiassen <[email protected]> +Cc: [email protected] +Link: http://lore.kernel.org/lkml/[email protected] +Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> +--- + tools/perf/util/cs-etm.c | 3 +++ + tools/perf/util/cs-etm.h | 3 --- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c +index 3c802fde4954..c283223fb31f 100644 +--- a/tools/perf/util/cs-etm.c ++++ b/tools/perf/util/cs-etm.c +@@ -94,6 +94,9 @@ struct cs_etm_queue { + struct cs_etm_traceid_queue **traceid_queues; + }; + ++/* RB tree for quick conversion between traceID and metadata pointers */ ++static struct intlist *traceid_list; ++ + static int cs_etm__update_queues(struct cs_etm_auxtrace *etm); + static int cs_etm__process_queues(struct cs_etm_auxtrace *etm); + static int cs_etm__process_timeless_queues(struct cs_etm_auxtrace *etm, +diff --git a/tools/perf/util/cs-etm.h b/tools/perf/util/cs-etm.h +index 650ecc2a6349..4ad925d6d799 100644 +--- a/tools/perf/util/cs-etm.h ++++ b/tools/perf/util/cs-etm.h +@@ -114,9 +114,6 @@ enum cs_etm_isa { + CS_ETM_ISA_T32, + }; + +-/* RB tree for quick conversion between traceID and metadata pointers */ +-struct intlist *traceid_list; +- + struct cs_etm_queue; + + struct cs_etm_packet { +-- +2.28.0 +meta/recipes-kernel/linux/linux-yocto_5.4.bb +2
-1@@ -32,6 +32,8 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA SRC_URI_append_qemuppc64 = " file://defconfig" CFLAGS += "-Wno-error" +SRC_URI_append = " file://0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch" + LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" LINUX_VERSION ?= "5.4.57" --Quoted 3 lines
2.28.0
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
Re: [OE-core] [PATCH 3/3] linux-yocto: Backport a patch to fix perf with -fno-common
Quoted 13 lines · Khem Raj
Quoted 9 lines · Bruce Ashfield
Quoted 3 lines · Khem Raj
Temp fix until linux-yocto picks it up
These really need to be submitted to the linux-yocto mailing list as
proper patches.
Quoted 1 line
Quoted 8 lines
Quoted 1 line
When they are submitted like this, it requires me to extract the patch,
or hunt up the original commit, see if it has already been submitted to linux-stable (and if not, it should be), apply it to the kernel, revert this commit if it happens to have merged and then finally do my update.
Quoted 1 line
I know, it was a ad-hoc fix for autobuilders if RP wanted to try
No worries. I should have realized as well. Itchy trigger finger as I work through the final v5.8 issues :D
Bruce
Quoted 132 lines
Quoted 2 lines
or, it could be submitted to linux-yocto like any patch, and it will be
applied and show up with the next update.
Quoted 2 lines
I'll take care of getting this into linux-yocto with my update that is
coming later today.
Quoted 13 lines
Cheers,
Bruce
Quoted 7 lines
Signed-off-by Khem Raj <[email protected]>--- ...-definition-of-traceid_list-global-v.patch | 66 +++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_5.4.bb | 2 + 2 files changed, 68 insertions(+) create mode 100644
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchQuoted 2 lines
Quoted 2 lines
diff --git
a/meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchb/meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchQuoted 4 lines
Quoted 4 lines
new file mode 100644
index 0000000000..0fc9876501
---/dev/null
+++
b/meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchQuoted 7 lines
Quoted 7 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +6
-0@@ -0,0 +1,66 @@ +From 168200b6d6ea0cb5765943ec5da5b8149701f36a Mon Sep 17 00:00:00 2001 +From: Leo Yan <[email protected]> +Date: Tue, 5 May 2020 21:36:42 +0800 +Subject: [PATCH] perf cs-etm: Move definition of 'traceid_list' global + variable from header file +Quoted 8 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch
Quoted 8 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +8
-0+The variable 'traceid_list' is defined in the header file cs-etm.h, +if multiple C files include cs-etm.h the compiler might complaint for +multiple definition of 'traceid_list'. + +To fix multiple definition error, move the definition of 'traceid_list' +into cs-etm.c. + +Fixes: cd8bfd8c973e ("perf tools: Add processing of coresightmetadata")
Quoted 7 lines
Quoted 7 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +7
-0+Reported-by: Thomas Backlund <[email protected]> +Signed-off-by: Leo Yan <[email protected]> +Reviewed-by: Mathieu Poirier <[email protected]> +Reviewed-by: Mike Leach <[email protected]> +Tested-by: Mike Leach <[email protected]> +Tested-by: Thomas Backlund <[email protected]> +Cc: Alexander Shishkin <[email protected]>Quoted 8 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch
Quoted 8 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +8
-0+Cc: Jiri Olsa <[email protected]> +Cc: Mark Rutland <[email protected]> +Cc: Namhyung Kim <[email protected]> +Cc: Peter Zijlstra <[email protected]> +Cc: Suzuki Poulouse <[email protected]> +Cc: Tor Jeremiassen <[email protected]> +Cc: [email protected] +Link:http://lore.kernel.org/lkml/[email protected]
Quoted 7 lines
Quoted 7 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +7
-0+Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> +--- + tools/perf/util/cs-etm.c | 3 +++ + tools/perf/util/cs-etm.h | 3 --- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.cQuoted 8 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch
Quoted 8 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +8
-0+index 3c802fde4954..c283223fb31f 100644 +--- a/tools/perf/util/cs-etm.c ++++ b/tools/perf/util/cs-etm.c +@@ -94,6 +94,9 @@ struct cs_etm_queue { + struct cs_etm_traceid_queue **traceid_queues; + }; + ++/* RB tree for quick conversion between traceID and metadata pointers*/
Quoted 5 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch
Quoted 5 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +5
-0++static struct intlist *traceid_list; ++ + static int cs_etm__update_queues(struct cs_etm_auxtrace *etm); + static int cs_etm__process_queues(struct cs_etm_auxtrace *etm); + static int cs_etm__process_timeless_queues(struct cs_etm_auxtrace*etm,
Quoted 9 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch
Quoted 9 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +9
-0+diff --git a/tools/perf/util/cs-etm.h b/tools/perf/util/cs-etm.h +index 650ecc2a6349..4ad925d6d799 100644 +--- a/tools/perf/util/cs-etm.h ++++ b/tools/perf/util/cs-etm.h +@@ -114,9 +114,6 @@ enum cs_etm_isa { + CS_ETM_ISA_T32, + }; + +-/* RB tree for quick conversion between traceID and metadata pointers*/
Quoted 9 lines
Review
Quoted 9 lines
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +8
-0+-struct intlist *traceid_list; +- + struct cs_etm_queue; + + struct cs_etm_packet { +-- +2.28.0 +(quoted diff) +0
-0b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
Quoted 4 lines
meta/recipes-kernel/linux/linux-yocto_5.4.bb SRC_URI = "git://
Quoted 4 lines
index
f85c54e7f7..5a3180f36d100644meta/recipes-kernel/linux/linux-yocto_5.4.bb +0
-0@@ -32,6 +32,8 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
<http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRA>Quoted 4 lines
meta/recipes-kernel/linux/linux-yocto_5.4.bb SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
Quoted 4 lines
meta/recipes-kernel/linux/linux-yocto_5.4.bb +1
-0SRC_URI_append_qemuppc64 = " file://defconfig" CFLAGS += "-Wno-error" +SRC_URI_append = "file://0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch"
Quoted 2 lines
meta/recipes-kernel/linux/linux-yocto_5.4.bb SRC_URI = "git:// · line 37
Quoted 2 lines
meta/recipes-kernel/linux/linux-yocto_5.4.bb +1
-0+ LIC_FILES_CHKSUM ="file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
Quoted 11 lines
Quoted 6 lines
meta/recipes-kernel/linux/linux-yocto_5.4.bb +0
-1LINUX_VERSION ?= "5.4.57" --2.28.0
--
- Thou shalt not follow the NULL pointer, for chaos and madness awaitthee at its end
Quoted 2 lines
- "Use the force Harry" - Gandalf, Star Trek II
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [OE-core] [PATCH 3/3] linux-yocto: Backport a patch to fix perf with -fno-common
Quoted 7 lines · Bruce Ashfield via lists.openembedded.org
Quoted 3 lines · Khem Raj
Temp fix until linux-yocto picks it up
Quoted 8 lines
These really need to be submitted to the linux-yocto mailing list as proper patches.
When they are submitted like this, it requires me to extract the patch, or hunt up the original commit, see if it has already been submitted to linux-stable (and if not, it should be), apply it to the kernel, revert this commit if it happens to have merged and then finally do my update.
.. and of course I see that you did send me the commit ID in another email. I need to read ALL my unread mail first.
I'll do that merge and take care of it shortly.
Bruce
Quoted 127 lines
or, it could be submitted to linux-yocto like any patch, and it will be applied and show up with the next update.
I'll take care of getting this into linux-yocto with my update that is coming later today.
Cheers,
Bruce
Quoted 95 lines
Signed-off-by Khem Raj <[email protected]>--- ...-definition-of-traceid_list-global-v.patch | 66 +++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_5.4.bb | 2 + 2 files changed, 68 insertions(+) create mode 100644
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchdiff --git
a/meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchb/meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchnew file mode 100644
index 0000000000..0fc9876501
---/dev/null
+++b/meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patchmeta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +29
-0@@ -0,0 +1,66 @@ +From 168200b6d6ea0cb5765943ec5da5b8149701f36a Mon Sep 17 00:00:00 2001 +From: Leo Yan <[email protected]> +Date: Tue, 5 May 2020 21:36:42 +0800 +Subject: [PATCH] perf cs-etm: Move definition of 'traceid_list' global + variable from header file + +The variable 'traceid_list' is defined in the header file cs-etm.h, +if multiple C files include cs-etm.h the compiler might complaint for +multiple definition of 'traceid_list'. + +To fix multiple definition error, move the definition of 'traceid_list' +into cs-etm.c. + +Fixes: cd8bfd8c973e ("perf tools: Add processing of coresight metadata") +Reported-by: Thomas Backlund <[email protected]> +Signed-off-by: Leo Yan <[email protected]> +Reviewed-by: Mathieu Poirier <[email protected]> +Reviewed-by: Mike Leach <[email protected]> +Tested-by: Mike Leach <[email protected]> +Tested-by: Thomas Backlund <[email protected]> +Cc: Alexander Shishkin <[email protected]> +Cc: Jiri Olsa <[email protected]> +Cc: Mark Rutland <[email protected]> +Cc: Namhyung Kim <[email protected]> +Cc: Peter Zijlstra <[email protected]> +Cc: Suzuki Poulouse <[email protected]> +Cc: Tor Jeremiassen <[email protected]> +Cc: [email protected] +Link:http://lore.kernel.org/lkml/[email protected]
meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch new file +37
-0+Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> +--- + tools/perf/util/cs-etm.c | 3 +++ + tools/perf/util/cs-etm.h | 3 --- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c +index 3c802fde4954..c283223fb31f 100644 +--- a/tools/perf/util/cs-etm.c ++++ b/tools/perf/util/cs-etm.c +@@ -94,6 +94,9 @@ struct cs_etm_queue { + struct cs_etm_traceid_queue **traceid_queues; + }; + ++/* RB tree for quick conversion between traceID and metadata pointers */ ++static struct intlist *traceid_list; ++ + static int cs_etm__update_queues(struct cs_etm_auxtrace *etm); + static int cs_etm__process_queues(struct cs_etm_auxtrace *etm); + static int cs_etm__process_timeless_queues(struct cs_etm_auxtrace *etm, +diff --git a/tools/perf/util/cs-etm.h b/tools/perf/util/cs-etm.h +index 650ecc2a6349..4ad925d6d799 100644 +--- a/tools/perf/util/cs-etm.h ++++ b/tools/perf/util/cs-etm.h +@@ -114,9 +114,6 @@ enum cs_etm_isa { + CS_ETM_ISA_T32, + }; + +-/* RB tree for quick conversion between traceID and metadata pointers */ +-struct intlist *traceid_list; +- + struct cs_etm_queue; + + struct cs_etm_packet { +-- +2.28.0 +meta/recipes-kernel/linux/linux-yocto_5.4.bb +0
-0@@ -32,6 +32,8 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
<http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRA>
SRC_URI_append_qemuppc64= " file://defconfig" CFLAGS += "-Wno-error"Quoted 11 lines
+SRC_URI_append = " file://0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch" +
LIC_FILES_CHKSUM= "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"LINUX_VERSION?= "5.4.57"--
2.28.0--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
✗ patchtest: failure for "Revert "gcc10: Default back to..." and 2 more
In reply to Khem Raj== Series Details ==
Series: "Revert "gcc10: Default back to..." and 2 more
Revision: 1
URL : https://patchwork.openembedded.org/series/25626/
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 Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at fa5d0f2c61)
* Issue Added patch file is missing Upstream-Status in the header [test_upstream_status_presence_format]
Suggested fix Add Upstream-Status: <Valid status> to the header of meta/recipes-kernel/linux/files/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch 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