Add GCC 7.1 recipes
cover Add GCC 7.1 recipes
Make gcc7 as default compiler
The following changes since commit aea90e9ee6f34e7c1c08307080b1e29646668df6:
package.bbclass: Restore functionality to detect RPM dependencies (2017-06-12 15:24:21 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/gcc7
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/gcc7
Khem Raj (2):
gcc: Add recipes for gcc-7
gcc_7.1.bb: disable thumb on armv5t
meta/conf/distro/include/tcmode-default.inc | 2 +- meta/recipes-devtools/gcc/gcc-7.1.inc | 133 + .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 42 + .../gcc/gcc-7.1/0002-uclibc-conf.patch | 30 + .../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 87 + .../gcc/gcc-7.1/0004-uclibc-locale.patch | 2862 ++++++++++++++++++++ .../gcc/gcc-7.1/0005-uclibc-locale-no__x.patch | 257 ++ .../gcc/gcc-7.1/0006-uclibc-locale-wchar_fix.patch | 68 + .../gcc/gcc-7.1/0007-uclibc-locale-update.patch | 542 ++++ .../gcc/gcc-7.1/0008-c99-snprintf.patch | 28 + .../0009-gcc-poison-system-directories.patch | 192 ++ .../gcc/gcc-7.1/0010-gcc-poison-dir-extend.patch | 39 + .../0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 73 + .../gcc/gcc-7.1/0012-64-bit-multilib-hack.patch | 85 + .../gcc/gcc-7.1/0013-optional-libstdc.patch | 125 + ...0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 59 + .../gcc/gcc-7.1/0015-COLLECT_GCC_OPTIONS.patch | 38 + ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 96 + .../gcc-7.1/0017-fortran-cross-compile-hack.patch | 46 + .../gcc/gcc-7.1/0018-cpp-honor-sysroot.patch | 54 + .../gcc-7.1/0019-MIPS64-Default-to-N64-ABI.patch | 57 + ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 234 ++ ...0021-gcc-Fix-argument-list-too-long-error.patch | 40 + .../gcc/gcc-7.1/0022-Disable-sdt.patch | 113 + .../gcc/gcc-7.1/0023-libtool.patch | 42 + ...4-pass-fix-v4bx-to-linker-to-support-EABI.patch | 43 + ...tilib-config-files-from-B-instead-of-usin.patch | 102 + ...-libdir-from-.la-which-usually-points-to-.patch | 31 + .../gcc/gcc-7.1/0027-export-CPP.patch | 53 + ...AltiVec-generation-on-powepc-linux-target.patch | 56 + ...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch | 42 + ...Ensure-target-gcc-headers-can-be-included.patch | 98 + ...-t-build-with-disable-dependency-tracking.patch | 54 + ...h-host-directory-during-relink-if-inst_pr.patch | 38 + ...IBS_DIR-replacement-instead-of-hardcoding.patch | 29 + .../0034-aarch64-Add-support-for-musl-ldso.patch | 28 + ...ibcc1-fix-libcc1-s-install-path-and-rpath.patch | 54 + ...-handle-sysroot-support-for-nativesdk-gcc.patch | 213 ++ ...et-sysroot-gcc-version-specific-dirs-with.patch | 102 + ...-various-_FOR_BUILD-and-related-variables.patch | 137 + .../0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 28 + .../gcc/gcc-7.1/0040-ssp_nonshared.patch | 28 + ...c-libcpp-support-ffile-prefix-map-old-new.patch | 284 ++ ...ug-prefix-map-to-replace-ffile-prefix-map.patch | 43 + ...-fdebug-prefix-map-support-to-remap-sourc.patch | 54 + ...44-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 123 + ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 29 + ...e-alias-for-__cpu_indicator_init-instead-.patch | 85 + .../gcc-7.1/0047-sync-gcc-stddef.h-with-musl.patch | 91 + meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 3 +- .../recipes-devtools/gcc/gcc-cross-canadian_7.1.bb | 5 + meta/recipes-devtools/gcc/gcc-cross-initial.inc | 3 +- meta/recipes-devtools/gcc/gcc-cross-initial_7.1.bb | 2 + meta/recipes-devtools/gcc/gcc-cross.inc | 3 +- meta/recipes-devtools/gcc/gcc-cross_7.1.bb | 3 + .../gcc/gcc-crosssdk-initial_7.1.bb | 3 + meta/recipes-devtools/gcc/gcc-crosssdk_7.1.bb | 2 + meta/recipes-devtools/gcc/gcc-runtime.inc | 4 +- meta/recipes-devtools/gcc/gcc-runtime_7.1.bb | 7 + meta/recipes-devtools/gcc/gcc-sanitizers.inc | 1 + meta/recipes-devtools/gcc/gcc-sanitizers_7.1.bb | 2 + meta/recipes-devtools/gcc/gcc-source_7.1.bb | 4 + meta/recipes-devtools/gcc/gcc_7.1.bb | 10 + meta/recipes-devtools/gcc/libgcc-initial_7.1.bb | 2 + meta/recipes-devtools/gcc/libgcc_7.1.bb | 2 + meta/recipes-devtools/gcc/libgfortran_7.1.bb | 3 + 66 files changed, 7243 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-7.1.inc create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0002-uclibc-conf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0004-uclibc-locale.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0005-uclibc-locale-no__x.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0006-uclibc-locale-wchar_fix.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0007-uclibc-locale-update.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0008-c99-snprintf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0009-gcc-poison-system-directories.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0010-gcc-poison-dir-extend.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0012-64-bit-multilib-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0013-optional-libstdc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0015-COLLECT_GCC_OPTIONS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0016-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0017-fortran-cross-compile-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0018-cpp-honor-sysroot.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0019-MIPS64-Default-to-N64-ABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0020-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0021-gcc-Fix-argument-list-too-long-error.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0022-Disable-sdt.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0023-libtool.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0024-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0025-Use-the-multilib-config-files-from-B-instead-of-usin.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0026-Avoid-using-libdir-from-.la-which-usually-points-to-.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0027-export-CPP.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0028-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0029-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0030-Ensure-target-gcc-headers-can-be-included.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0031-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0032-Don-t-search-host-directory-during-relink-if-inst_pr.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0033-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0034-aarch64-Add-support-for-musl-ldso.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0035-libcc1-fix-libcc1-s-install-path-and-rpath.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0036-handle-sysroot-support-for-nativesdk-gcc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0037-Search-target-sysroot-gcc-version-specific-dirs-with.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0038-Fix-various-_FOR_BUILD-and-related-variables.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0040-ssp_nonshared.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0041-gcc-libcpp-support-ffile-prefix-map-old-new.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0042-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0047-sync-gcc-stddef.h-with-musl.patch create mode 100644 meta/recipes-devtools/gcc/gcc-cross-canadian_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross-initial_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-initial_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-runtime_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-sanitizers_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-source_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc_7.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc-initial_7.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc_7.1.bb create mode 100644 meta/recipes-devtools/gcc/libgfortran_7.1.bb
Signature · 1 line
2.13.1
PATCH 2/2 gcc_7.1.bb: disable thumb on armv5t
It results in same link errors like armv4t
--- meta/recipes-devtools/gcc/gcc_7.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc_7.1.bb +2 -1
@@ -1,9 +1,10 @@ require recipes-devtools/gcc/gcc-${PV}.inc require gcc-target.inc -# Building with thumb enabled on armv4t fails with +# Building with thumb enabled on armv4t armv5t fails with # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7438:(.text.unlikely+0x2fa): relocation truncated to fit: R_ARM_THM_CALL against symbol `fancy_abort(char const*, int, char const*)' defined in .glue_7 section in linker stubs # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7442:(.text.unlikely+0x318): additional relocation overflows omitted from the output ARM_INSTRUCTION_SET_armv4 = "arm" +ARM_INSTRUCTION_SET_armv5 = "arm" BBCLASSEXTEND = "nativesdk"
Signature · 1 line
2.13.1
PATCH 1/2 gcc: Add recipes for gcc-7
In reply to Khem RajSwitch default compiler to gcc 7
--- meta/conf/distro/include/tcmode-default.inc | 2 +- meta/recipes-devtools/gcc/gcc-7.1.inc | 133 + .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 42 + .../gcc/gcc-7.1/0002-uclibc-conf.patch | 30 + .../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 87 + .../gcc/gcc-7.1/0004-uclibc-locale.patch | 2862 ++++++++++++++++++++ .../gcc/gcc-7.1/0005-uclibc-locale-no__x.patch | 257 ++ .../gcc/gcc-7.1/0006-uclibc-locale-wchar_fix.patch | 68 + .../gcc/gcc-7.1/0007-uclibc-locale-update.patch | 542 ++++ .../gcc/gcc-7.1/0008-c99-snprintf.patch | 28 + .../0009-gcc-poison-system-directories.patch | 192 ++ .../gcc/gcc-7.1/0010-gcc-poison-dir-extend.patch | 39 + .../0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 73 + .../gcc/gcc-7.1/0012-64-bit-multilib-hack.patch | 85 + .../gcc/gcc-7.1/0013-optional-libstdc.patch | 125 + ...0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 59 + .../gcc/gcc-7.1/0015-COLLECT_GCC_OPTIONS.patch | 38 + ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 96 + .../gcc-7.1/0017-fortran-cross-compile-hack.patch | 46 + .../gcc/gcc-7.1/0018-cpp-honor-sysroot.patch | 54 + .../gcc-7.1/0019-MIPS64-Default-to-N64-ABI.patch | 57 + ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 234 ++ ...0021-gcc-Fix-argument-list-too-long-error.patch | 40 + .../gcc/gcc-7.1/0022-Disable-sdt.patch | 113 + .../gcc/gcc-7.1/0023-libtool.patch | 42 + ...4-pass-fix-v4bx-to-linker-to-support-EABI.patch | 43 + ...tilib-config-files-from-B-instead-of-usin.patch | 102 + ...-libdir-from-.la-which-usually-points-to-.patch | 31 + .../gcc/gcc-7.1/0027-export-CPP.patch | 53 + ...AltiVec-generation-on-powepc-linux-target.patch | 56 + ...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch | 42 + ...Ensure-target-gcc-headers-can-be-included.patch | 98 + ...-t-build-with-disable-dependency-tracking.patch | 54 + ...h-host-directory-during-relink-if-inst_pr.patch | 38 + ...IBS_DIR-replacement-instead-of-hardcoding.patch | 29 + .../0034-aarch64-Add-support-for-musl-ldso.patch | 28 + ...ibcc1-fix-libcc1-s-install-path-and-rpath.patch | 54 + ...-handle-sysroot-support-for-nativesdk-gcc.patch | 213 ++ ...et-sysroot-gcc-version-specific-dirs-with.patch | 102 + ...-various-_FOR_BUILD-and-related-variables.patch | 137 + .../0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 28 + .../gcc/gcc-7.1/0040-ssp_nonshared.patch | 28 + ...c-libcpp-support-ffile-prefix-map-old-new.patch | 284 ++ ...ug-prefix-map-to-replace-ffile-prefix-map.patch | 43 + ...-fdebug-prefix-map-support-to-remap-sourc.patch | 54 + ...44-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 123 + ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 29 + ...e-alias-for-__cpu_indicator_init-instead-.patch | 85 + .../gcc-7.1/0047-sync-gcc-stddef.h-with-musl.patch | 91 + meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 3 +- .../recipes-devtools/gcc/gcc-cross-canadian_7.1.bb | 5 + meta/recipes-devtools/gcc/gcc-cross-initial.inc | 3 +- meta/recipes-devtools/gcc/gcc-cross-initial_7.1.bb | 2 + meta/recipes-devtools/gcc/gcc-cross.inc | 3 +- meta/recipes-devtools/gcc/gcc-cross_7.1.bb | 3 + .../gcc/gcc-crosssdk-initial_7.1.bb | 3 + meta/recipes-devtools/gcc/gcc-crosssdk_7.1.bb | 2 + meta/recipes-devtools/gcc/gcc-runtime.inc | 4 +- meta/recipes-devtools/gcc/gcc-runtime_7.1.bb | 7 + meta/recipes-devtools/gcc/gcc-sanitizers.inc | 1 + meta/recipes-devtools/gcc/gcc-sanitizers_7.1.bb | 2 + meta/recipes-devtools/gcc/gcc-source_7.1.bb | 4 + meta/recipes-devtools/gcc/gcc_7.1.bb | 9 + meta/recipes-devtools/gcc/libgcc-initial_7.1.bb | 2 + meta/recipes-devtools/gcc/libgcc_7.1.bb | 2 + meta/recipes-devtools/gcc/libgfortran_7.1.bb | 3 + 66 files changed, 7242 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-7.1.inc create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0002-uclibc-conf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0004-uclibc-locale.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0005-uclibc-locale-no__x.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0006-uclibc-locale-wchar_fix.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0007-uclibc-locale-update.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0008-c99-snprintf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0009-gcc-poison-system-directories.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0010-gcc-poison-dir-extend.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0012-64-bit-multilib-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0013-optional-libstdc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0015-COLLECT_GCC_OPTIONS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0016-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0017-fortran-cross-compile-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0018-cpp-honor-sysroot.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0019-MIPS64-Default-to-N64-ABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0020-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0021-gcc-Fix-argument-list-too-long-error.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0022-Disable-sdt.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0023-libtool.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0024-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0025-Use-the-multilib-config-files-from-B-instead-of-usin.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0026-Avoid-using-libdir-from-.la-which-usually-points-to-.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0027-export-CPP.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0028-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0029-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0030-Ensure-target-gcc-headers-can-be-included.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0031-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0032-Don-t-search-host-directory-during-relink-if-inst_pr.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0033-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0034-aarch64-Add-support-for-musl-ldso.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0035-libcc1-fix-libcc1-s-install-path-and-rpath.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0036-handle-sysroot-support-for-nativesdk-gcc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0037-Search-target-sysroot-gcc-version-specific-dirs-with.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0038-Fix-various-_FOR_BUILD-and-related-variables.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0040-ssp_nonshared.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0041-gcc-libcpp-support-ffile-prefix-map-old-new.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0042-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0047-sync-gcc-stddef.h-with-musl.patch create mode 100644 meta/recipes-devtools/gcc/gcc-cross-canadian_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross-initial_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-initial_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-runtime_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-sanitizers_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-source_7.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc_7.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc-initial_7.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc_7.1.bb create mode 100644 meta/recipes-devtools/gcc/libgfortran_7.1.bb
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 ?= "7.%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.28%" GDBVERSION ?= "8.0%"
meta/recipes-devtools/gcc/gcc-7.1.inc new file +133 -0
133 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch new file +42 -0
42 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0002-uclibc-conf.patch new file +30 -0
@@ -0,0 +1,30 @@ +From b4edd6af6e5c007d04ba0a0b6f614ac5773c9b36 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Fri, 29 Mar 2013 08:38:25 +0400 +Subject: [PATCH 02/47] uclibc-conf + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +--- + contrib/regression/objs-gcc.sh | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/contrib/regression/objs-gcc.sh b/contrib/regression/objs-gcc.sh +index 60b0497fea2..6dc7eadff36 100755 +--- a/contrib/regression/objs-gcc.sh ++++ b/contrib/regression/objs-gcc.sh +@@ -106,6 +106,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-gnu ] + then + make all-gdb all-dejagnu all-ld || exit 1 + make install-gdb install-dejagnu install-ld || exit 1 ++elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ] ++ then ++ make all-gdb all-dejagnu all-ld || exit 1 ++ make install-gdb install-dejagnu install-ld || exit 1 + elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then + make bootstrap || exit 1 + make install || exit 1 +-- +2.12.2 +
meta/recipes-devtools/gcc/gcc-7.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch new file +87 -0
87 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0004-uclibc-locale.patch new file +2862 -0
2,700 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0005-uclibc-locale-no__x.patch new file +257 -0
257 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0006-uclibc-locale-wchar_fix.patch new file +68 -0
68 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0007-uclibc-locale-update.patch new file +542 -0
542 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0008-c99-snprintf.patch new file +28 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-7.1/0009-gcc-poison-system-directories.patch new file +192 -0
192 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0010-gcc-poison-dir-extend.patch new file +39 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-7.1/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch new file +73 -0
73 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0012-64-bit-multilib-hack.patch new file +85 -0
85 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0013-optional-libstdc.patch new file +125 -0
125 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch new file +59 -0
59 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0015-COLLECT_GCC_OPTIONS.patch new file +38 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-7.1/0016-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch new file +96 -0
96 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0017-fortran-cross-compile-hack.patch new file +46 -0
46 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0018-cpp-honor-sysroot.patch new file +54 -0
54 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0019-MIPS64-Default-to-N64-ABI.patch new file +57 -0
57 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0020-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch new file +234 -0
234 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0021-gcc-Fix-argument-list-too-long-error.patch new file +40 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-7.1/0022-Disable-sdt.patch new file +113 -0
113 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0023-libtool.patch new file +42 -0
42 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0024-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch new file +43 -0
43 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0025-Use-the-multilib-config-files-from-B-instead-of-usin.patch new file +102 -0
102 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0026-Avoid-using-libdir-from-.la-which-usually-points-to-.patch new file +31 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-7.1/0027-export-CPP.patch new file +53 -0
53 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0028-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch new file +56 -0
56 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0029-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch new file +42 -0
42 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0030-Ensure-target-gcc-headers-can-be-included.patch new file +98 -0
98 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0031-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch new file +54 -0
54 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0032-Don-t-search-host-directory-during-relink-if-inst_pr.patch new file +38 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-7.1/0033-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch new file +29 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-7.1/0034-aarch64-Add-support-for-musl-ldso.patch new file +28 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-7.1/0035-libcc1-fix-libcc1-s-install-path-and-rpath.patch new file +54 -0
54 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0036-handle-sysroot-support-for-nativesdk-gcc.patch new file +213 -0
213 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0037-Search-target-sysroot-gcc-version-specific-dirs-with.patch new file +102 -0
102 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0038-Fix-various-_FOR_BUILD-and-related-variables.patch new file +137 -0
137 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch new file +28 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-7.1/0040-ssp_nonshared.patch new file +28 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-7.1/0041-gcc-libcpp-support-ffile-prefix-map-old-new.patch new file +284 -0
284 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0042-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch new file +43 -0
43 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch new file +54 -0
54 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch new file +123 -0
123 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch new file +29 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-7.1/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch new file +85 -0
85 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-7.1/0047-sync-gcc-stddef.h-with-musl.patch new file +91 -0
91 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-cross-canadian.inc +2 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-cross-canadian_7.1.bb new file +5 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-cross-initial.inc +2 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-cross-initial_7.1.bb new file +2 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-cross.inc +2 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-cross_7.1.bb new file +3 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-crosssdk-initial_7.1.bb new file +3 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-crosssdk_7.1.bb new file +2 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-runtime.inc +3 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-runtime_7.1.bb new file +7 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-sanitizers.inc +1 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-sanitizers_7.1.bb new file +2 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-source_7.1.bb new file +4 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc_7.1.bb new file +9 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/libgcc-initial_7.1.bb new file +2 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/libgcc_7.1.bb new file +2 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/libgfortran_7.1.bb new file +3 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.13.1
Part of the diff is not shown here. View the raw message.
✗ patchtest: failure for Add GCC 7.1 recipes
In reply to Khem Raj== Series Details ==
Series: Add GCC 7.1 recipes
Revision: 1
URL : https://patchwork.openembedded.org/series/7195/
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 cannot be parsed correctly due to malformed diff lines [test_mbox_format]
Suggested fix Create the series again using git-format-patch and ensure it can be applied using git am
Diff line diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch b/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch
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] -> ...).
---
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 Add GCC 7.1 recipes
Quoted 16 lines · Patchwork
== Series Details ==
Series: Add GCC 7.1 recipes
Revision: 1
URL : https://patchwork.openembedded.org/series/7195/
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:
Quoted 5 lines
* Issue Series cannot be parsed correctly due to malformed diff lines [
test_mbox_format]
Suggested fix Create the series again using git-format-patch and ensure it can be applied using git am
Diff line diff --gita/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patchb/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch
This is complaining because the python unidiff module patchtest is using is unable to parse the mbox correctly:
Quoted 1 line
Quoted 1 line
Quoted 1 line
unidiff.PatchSet.from_filename('foo.mbox')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/usr/lib/python2.7/site-packages/unidiff-0.5.2-py2.7.egg/unidiff/patch.py", line 326, in from_filename
instance = cls(f)
File
"/usr/lib/python2.7/site-packages/unidiff-0.5.2-py2.7.egg/unidiff/patch.py", line 278, in __init__
self._parse(data, encoding=encoding)
File
"/usr/lib/python2.7/site-packages/unidiff-0.5.2-py2.7.egg/unidiff/patch.py", line 320, in _parse
current_file._parse_hunk(line, diff, encoding)
File
"/usr/lib/python2.7/site-packages/unidiff-0.5.2-py2.7.egg/unidiff/patch.py", line 193, in _parse_hunk
raise UnidiffParseError('Hunk diff line expected: %s' % line)
unidiff.errors.UnidiffParseError: Hunk diff line expected: diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch b/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch
The char that is causing trouble (confirmed) is just before that patch, with a trailing ^L (seen on my emacs editor).
Leo
Quoted 13 lines
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] -> ...).
---
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
Re: [PATCH 1/2] gcc: Add recipes for gcc-7
In reply to Khem RajQuoted 2 lines · Khem Raj
Switch default compiler to gcc 7
I'll try to switch back to gcc 6 to confirm this, but something in latest oe-core upgrade made WORKDIR to be significantly bigger (even when using rm_work and building in smaller steps) so now it doesn't fit in tmpfs I've available on jenkins.
Any idea what might be causing this?