GCC/GDB/Binutils Upgrades
cover GCC/GDB/Binutils Upgrades
This patchset covers gcc 6 upgrade along with gdb 7.11 and glibc 2.24 ( upcoming ) release.
Rest of upgrades are necessaciated by gcc-6 due to backports that were already in newer versions of packages
It has been boot tested with core-image-minimal on all qemu machines
The following changes since commit a5970809a2f01dbd152684266e2a3d946d896620:
oeqa/lic-checksum: Update after recent LIC_FILES_CHKSUM changes (2016-05-11 10:33:16 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/gcc-6
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-6
Dan McGregor (2):
pkgconfig: Fix build with gcc-6 and upgrade to 0.29.1
binutils: disable werror on native build
Khem Raj (39):
gcc: Add gcc6 recipes
glibc: Add recipes for 2.24 release
glib-2.0: Ignore useless warning found with gcc-6
elfutils: Upgrade to 0.166
rpm: Fix build with gcc6
alsa-tools: Fix build with gcc6
lzop: Fix build with gcc-6
webkitgtk: Upgrade to 2.12.1
oprofile: Fix with gcc6
mdadm: Fix gcc 6 warnings
nss: Upgrade to 3.23
grub: Fix build with gcc-6
valgrind: Fix build with gcc6
busybox/mdev: Ensure /sys is mounted before using it libc-common.bbclass: Use sed instead of grep
conf: bump minimum kernel to 3.2.0
systemd: Create missing sysusers offline
grub_git: Upgrade to latest tip
libunwind: Upgrade to 1.2rc1+
linux-yocto: Fix build on ppc with gcc-6
linux-yocto: Fix build with gcc6 on mips
python-native: Point to expat in native sysroot bitbake.conf: Empty out BUILDSDK_CPPFLAGS
strace: Remove pipe.expected
musl: Upgrade to tip of tree
libgcc: Ensure that gcc configure options are passed to libgcc too
libunwind: Upgrade to 1.2rc1+
libgcc: Ensure that gcc configure options are passed to libgcc too gdb,strace: Fix builds on ppc/musl
libunwind: Add a confgure option for tests
gdb: Upgrade to 7.11
gdb: Disable binutils components
tcmode-default: Bump gcc,glibc,gdb
musl: Create symlinks for stub libraries
mdadm: Fix build with clang
distcc: Upgrade to 3.2
ruby: Upgrade to 2.2.5
mpfr: Upgrade to 3.1.4
gcc-runtime,libgcc: Symlink c++ header and startup files in
target_triplet for SDK use
Marek Vasut (1):
bitbake: Oldest kernel for nios2 is 3.19
meta/classes/cross-canadian.bbclass | 1 +
meta/classes/libc-common.bbclass | 6 +-
meta/classes/populate_sdk_base.bbclass | 2 +-
meta/conf/bitbake.conf | 7 +-
meta/conf/distro/include/tcmode-default.inc | 6 +-
...ettext-gettext.c-main_context-secondary_c.patch | 39 +
meta/recipes-bsp/grub/grub2.inc | 1 +
meta/recipes-bsp/grub/grub_git.bb | 2 +-
meta/recipes-core/busybox/files/mdev | 4 +-
.../0001-Do-not-ignore-return-value-of-write.patch | 42 +
.../glib-2.0/0002-tests-Ignore-y2k-warnings.patch | 42 +
.../ignore-format-nonliteral-warning.patch | 39 +
meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb | 7 +-
.../fix_for_centos_5.8.patch | 18 -
...tive_2.23.bb => cross-localedef-native_2.24.bb} | 26 +-
...glibc-initial_2.23.bb => glibc-initial_2.24.bb} | 0
.../{glibc-locale_2.23.bb => glibc-locale_2.24.bb} | 0
.../{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} | 0
...glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} | 0
...libc-Look-for-host-system-ld.so.cache-as-.patch | 8 +-
...libc-Fix-buffer-overrun-with-a-relocated-.patch | 8 +-
...libc-Raise-the-size-of-arrays-containing-.patch | 34 +-
...ivesdk-glibc-Allow-64-bit-atomics-for-x86.patch | 10 +-
...500-e5500-e6500-603e-fsqrt-implementation.patch | 6 +-
...-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch | 8 +-
...-Fix-undefined-reference-to-__sqrt_finite.patch | 6 +-
...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +-
...bug-1443-which-explains-what-the-patch-do.patch | 8 +-
...n-libm-err-tab.pl-with-specific-dirs-in-S.patch | 10 +-
...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +-
...ersion-output-matching-grok-gold-s-output.patch | 14 +-
...-configure.ac-handle-correctly-libc_cv_ro.patch | 6 +-
.../glibc/glibc/0014-Add-unused-attribute.patch | 8 +-
...thin-the-path-sets-wrong-config-variables.patch | 10 +-
...-timezone-re-written-tzselect-as-posix-sh.patch | 16 +-
...move-bash-dependency-for-nscd-init-script.patch | 8 +-
...c-Cross-building-and-testing-instructions.patch | 6 +-
...019-eglibc-Help-bootstrap-cross-toolchain.patch | 8 +-
.../glibc/0020-eglibc-cherry-picked-from.patch | 18 +-
.../0021-eglibc-Clear-cache-lines-on-ppc8xx.patch | 10 +-
...0022-eglibc-Resolve-__fpscr_values-on-SH4.patch | 8 +-
.../glibc/0023-eglibc-Install-PIC-archives.patch | 8 +-
...ard-port-cross-locale-generation-support.patch} | 30 +-
...0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | 32 +
...ing-SSE-make-sure-fpmath-is-not-set-to-us.patch | 48 -
.../glibc/{glibc_2.23.bb => glibc_2.24.bb} | 12 +-
meta/recipes-core/musl/musl.inc | 2 +-
meta/recipes-core/musl/musl_git.bb | 6 +-
meta/recipes-core/systemd/systemd_229.bb | 8 +-
meta/recipes-devtools/binutils/binutils_2.26.bb | 3 +-
.../distcc/{distcc_3.1.bb => distcc_3.2.bb} | 8 +-
.../distcc/files/separatebuilddir.patch | 14 +-
...ferences-between-mips-machine-identifiers.patch | 0
...de-alternatives-for-glibc-assumptions-hel.patch | 488 ++--
...m-Silence-Werror-maybe-uninitialized-fals.patch | 0
.../0001-fix-a-stack-usage-warning.patch | 0
.../0001-remove-the-unneed-checking.patch | 0
...-support-for-mips64-abis-in-mips_retval.c.patch | 0
.../0003-Add-mips-n64-relocation-format-hack.patch | 0
.../aarch64_uio.patch | 0
.../arm_backend.diff | 0
.../elfcmp-fix-self-comparision.patch | 41 +
.../fixheadercheck.patch | 0
.../hppa_backend.diff | 0
.../kfreebsd_path.patch | 0
.../m68k_backend.diff | 0
.../mips_backend.diff | 0
.../mips_readelf_w.patch | 0
.../shadow.patch | 0
.../testsuite-ignore-elflint.diff | 0
.../uclibc-support.patch | 37 +-
.../{elfutils_0.164.bb => elfutils_0.166.bb} | 6 +-
...-Symlink-c-header-in-target_triplet-for-S.patch | 49 +
meta/recipes-devtools/gcc/gcc-6.1.inc | 131 +
.../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 42 +
.../gcc/gcc-6.1/0002-uclibc-conf.patch | 53 +
.../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 87 +
.../gcc/gcc-6.1/0004-uclibc-locale.patch | 2862 ++++++++++++++++++++
.../gcc/gcc-6.1/0005-uclibc-locale-no__x.patch | 257 ++
.../gcc/gcc-6.1/0006-uclibc-locale-wchar_fix.patch | 68 +
.../gcc/gcc-6.1/0007-uclibc-locale-update.patch | 542 ++++
.../gcc/gcc-6.1/0008-missing-execinfo_h.patch | 28 +
.../gcc/gcc-6.1/0009-c99-snprintf.patch | 28 +
.../0010-gcc-poison-system-directories.patch | 192 ++
.../gcc/gcc-6.1/0011-gcc-poison-dir-extend.patch | 39 +
.../0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 73 +
.../gcc/gcc-6.1/0013-64-bit-multilib-hack.patch | 85 +
.../gcc/gcc-6.1/0014-optional-libstdc.patch | 125 +
...0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 59 +
.../gcc/gcc-6.1/0016-COLLECT_GCC_OPTIONS.patch | 38 +
...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 96 +
.../gcc-6.1/0018-fortran-cross-compile-hack.patch | 46 +
.../gcc/gcc-6.1/0019-cpp-honor-sysroot.patch | 54 +
.../gcc-6.1/0020-MIPS64-Default-to-N64-ABI.patch | 57 +
...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 234 ++
...0022-gcc-Fix-argument-list-too-long-error.patch | 40 +
.../gcc/gcc-6.1/0023-Disable-sdt.patch | 113 +
.../gcc/gcc-6.1/0024-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-6.1/0028-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 +
.../0035-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 +
.../0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 28 +
.../gcc/gcc-6.1/0041-ssp_nonshared.patch | 28 +
...c-libcpp-support-ffile-prefix-map-old-new.patch | 292 ++
...ug-prefix-map-to-replace-ffile-prefix-map.patch | 43 +
...-fdebug-prefix-map-support-to-remap-sourc.patch | 54 +
...45-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 125 +
...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 29 +
meta/recipes-devtools/gcc/gcc-common.inc | 2 +
.../recipes-devtools/gcc/gcc-cross-canadian_6.1.bb | 5 +
meta/recipes-devtools/gcc/gcc-cross-initial_6.1.bb | 2 +
meta/recipes-devtools/gcc/gcc-cross_6.1.bb | 3 +
.../gcc/gcc-crosssdk-initial_6.1.bb | 3 +
meta/recipes-devtools/gcc/gcc-crosssdk_6.1.bb | 2 +
meta/recipes-devtools/gcc/gcc-runtime.inc | 12 +
meta/recipes-devtools/gcc/gcc-runtime_6.1.bb | 7 +
meta/recipes-devtools/gcc/gcc-sanitizers_6.1.bb | 2 +
meta/recipes-devtools/gcc/gcc-source_6.1.bb | 4 +
meta/recipes-devtools/gcc/gcc_6.1.bb | 15 +
meta/recipes-devtools/gcc/libgcc-common.inc | 9 +-
meta/recipes-devtools/gcc/libgcc-initial_6.1.bb | 2 +
meta/recipes-devtools/gcc/libgcc.inc | 12 +
meta/recipes-devtools/gcc/libgcc_6.1.bb | 2 +
meta/recipes-devtools/gcc/libgfortran_6.1.bb | 3 +
.../gdb/{gdb-7.10.1.inc => gdb-7.11.inc} | 0
meta/recipes-devtools/gdb/gdb-common.inc | 25 +-
...nadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} | 0
meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb | 4 -
meta/recipes-devtools/gdb/gdb-cross_7.11.bb | 2 +
meta/recipes-devtools/gdb/gdb.inc | 8 -
.../gdb/0001-include-sys-types.h-for-mode_t.patch | 10 +-
...002-make-man-install-relative-to-DESTDIR.patch} | 8 +-
...-linux-nat-Define-_ABIO32-if-not-defined.patch} | 8 +-
...Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 53 +
...-support-for-Renesas-SH-sh4-architecture.patch} | 32 +-
...-libreadline.a-when-using-disable-static.patch} | 21 +-
...gidefs.h.patch => 0007-use-asm-sgidefs.h.patch} | 15 +-
...0008-Use-exorted-definitions-of-SIGRTMIN.patch} | 44 +-
...AGS.patch => 0009-Change-order-of-CFLAGS.patch} | 18 +-
.../0010-resolve-restrict-keyword-conflict.patch | 48 +
.../gdb/{gdb_7.10.1.bb => gdb_7.11.bb} | 0
...e-Move-warning-pragma-outside-of-function.patch | 39 +
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 1 +
.../python/python-native_2.7.11.bb | 2 +-
meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch | 54 +
meta/recipes-devtools/rpm/rpm_5.4.16.bb | 3 +-
.../ruby/{ruby_2.2.2.bb => ruby_2.2.5.bb} | 8 +-
...hen-using-non-glibc-libc-implementation-o.patch | 36 +
meta/recipes-devtools/strace/strace_4.11.bb | 4 +-
.../valgrind/valgrind/gcc5-port.patch | 64 +
meta/recipes-devtools/valgrind/valgrind_3.11.0.bb | 1 +
...dadm.h-Undefine-dprintf-before-redefining.patch | 43 +
.../0001-raid6check-Fix-if-else-indentation.patch | 37 +
meta/recipes-extended/mdadm/mdadm_3.4.bb | 4 +-
...ace-Fix-out-of-bounds-array-access-warnin.patch | 50 +
...oration-of-MSA-context-in-non-MSA-kernels.patch | 76 +
meta/recipes-kernel/linux/linux-yocto_4.4.bb | 5 +-
meta/recipes-kernel/oprofile/oprofile.inc | 4 +-
.../0001-Fix-FTBFS-problem-with-GCC-6.patch | 51 +
...idi-Explicitly-cast-constant-to-char-type.patch | 75 +
meta/recipes-multimedia/alsa/alsa-tools_1.1.0.bb | 6 +-
...cmake-drop-the-hardcoded-introspection-gt.patch | 19 +-
...bKitMacros-Append-to-I-and-not-to-isystem.patch | 223 ++
...ng-introspection-files-add-CMAKE_C_FLAGS-.patch | 19 +-
meta/recipes-sato/webkit/files/musl-fixes.patch | 48 +
...nable-backtrace-on-linux-when-using-glibc.patch | 39 -
...x-build-with-non-glibc-libraries-on-linux.patch | 61 -
meta/recipes-sato/webkit/webkitgtk/clang.patch | 25 -
.../{webkitgtk_2.10.7.bb => webkitgtk_2.12.1.bb} | 12 +-
...rf-opcodes-can-cause-references-beyond-th.patch | 29 -
...roduce-build-support-for-aarch64_be-targe.patch | 33 -
.../libunwind-1.1/0001-disable-tests.patch | 31 -
...-wrong-big_endian-flag-in-aarch64_be-case.patch | 34 -
.../libunwind/libunwind-1.1/AArch64-port.patch | 2529 -----------------
...k-failure-on-PowerPC-systems-with-Altivec.patch | 28 -
...-libunwind-to-libgcc_s-rather-than-libgcc.patch | 42 -
.../Support-building-with-older-compilers.patch | 72 -
.../0001-Fix-build-on-mips-musl.patch | 33 +-
.../0001-add-knobs-to-disable-enable-tests.patch | 69 +
...-backtrace-Use-only-with-glibc-and-uclibc.patch | 0
.../0001-x86-Stub-out-x86_local_resume.patch | 0
...Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch | 0
meta/recipes-support/libunwind/libunwind_1.1.bb | 24 -
meta/recipes-support/libunwind/libunwind_git.bb | 26 +
.../recipes-support/lzop/lzop/lzop-1.03-gcc6.patch | 37 +
meta/recipes-support/lzop/lzop_1.03.bb | 6 +-
.../{mpfr-3.1.3 => mpfr}/long-long-thumb.patch | 0
.../mpfr/{mpfr_3.1.3.bb => mpfr_3.1.4.bb} | 5 +-
.../nss/{nss_3.21.bb => nss_3.23.bb} | 8 +-
201 files changed, 9095 insertions(+), 3627 deletions(-)
create mode 100644 meta/recipes-bsp/grub/files/0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch
create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch
create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch
create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/ignore-format-nonliteral-warning.patch
delete mode 100644 meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch
rename meta/recipes-core/glibc/{cross-localedef-native_2.23.bb => cross-localedef-native_2.24.bb} (79%)
rename meta/recipes-core/glibc/{glibc-initial_2.23.bb => glibc-initial_2.24.bb} (100%)
rename meta/recipes-core/glibc/{glibc-locale_2.23.bb => glibc-locale_2.24.bb} (100%)
rename meta/recipes-core/glibc/{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} (100%)
rename meta/recipes-core/glibc/{glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} (100%)
rename meta/recipes-core/glibc/glibc/{0025-eglibc-Forward-port-cross-locale-generation-support.patch => 0024-eglibc-Forward-port-cross-locale-generation-support.patch} (97%)
create mode 100644 meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
delete mode 100644 meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch
rename meta/recipes-core/glibc/{glibc_2.23.bb => glibc_2.24.bb} (93%)
rename meta/recipes-devtools/distcc/{distcc_3.1.bb => distcc_3.2.bb} (91%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-Ignore-differences-between-mips-machine-identifiers.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch (71%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-fix-a-stack-usage-warning.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-remove-the-unneed-checking.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0003-Add-mips-n64-relocation-format-hack.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/aarch64_uio.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/arm_backend.diff (100%)
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.166/elfcmp-fix-self-comparision.patch
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/fixheadercheck.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/hppa_backend.diff (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/kfreebsd_path.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/m68k_backend.diff (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/mips_backend.diff (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/mips_readelf_w.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/shadow.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/testsuite-ignore-elflint.diff (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/uclibc-support.patch (82%)
rename meta/recipes-devtools/elfutils/{elfutils_0.164.bb => elfutils_0.166.bb} (94%)
create mode 100644 meta/recipes-devtools/gcc/0001-gcc-runtime-Symlink-c-header-in-target_triplet-for-S.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1.inc
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0002-uclibc-conf.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0004-uclibc-locale.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0005-uclibc-locale-no__x.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0006-uclibc-locale-wchar_fix.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0007-uclibc-locale-update.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0008-missing-execinfo_h.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0009-c99-snprintf.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0010-gcc-poison-system-directories.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0011-gcc-poison-dir-extend.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0013-64-bit-multilib-hack.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0014-optional-libstdc.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0016-COLLECT_GCC_OPTIONS.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0018-fortran-cross-compile-hack.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0019-cpp-honor-sysroot.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0020-MIPS64-Default-to-N64-ABI.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0022-gcc-Fix-argument-list-too-long-error.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0023-Disable-sdt.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0024-libtool.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0028-export-CPP.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0031-Ensure-target-gcc-headers-can-be-included.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0035-aarch64-Add-support-for-musl-ldso.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0037-handle-sysroot-support-for-nativesdk-gcc.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0039-Fix-various-_FOR_BUILD-and-related-variables.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0041-ssp_nonshared.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-cross-canadian_6.1.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-cross-initial_6.1.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-cross_6.1.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.1.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk_6.1.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-runtime_6.1.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-sanitizers_6.1.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-source_6.1.bb
create mode 100644 meta/recipes-devtools/gcc/gcc_6.1.bb
create mode 100644 meta/recipes-devtools/gcc/libgcc-initial_6.1.bb
create mode 100644 meta/recipes-devtools/gcc/libgcc_6.1.bb
create mode 100644 meta/recipes-devtools/gcc/libgfortran_6.1.bb
rename meta/recipes-devtools/gdb/{gdb-7.10.1.inc => gdb-7.11.inc} (100%)
rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} (100%)
delete mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb
create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.11.bb
rename meta/recipes-devtools/gdb/gdb/{0001-make-man-install-relative-to-DESTDIR.patch => 0002-make-man-install-relative-to-DESTDIR.patch} (78%)
rename meta/recipes-devtools/gdb/gdb/{0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch => 0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch} (84%)
create mode 100644 meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
rename meta/recipes-devtools/gdb/gdb/{0003-Add-support-for-Renesas-SH-sh4-architecture.patch => 0005-Add-support-for-Renesas-SH-sh4-architecture.patch} (97%)
rename meta/recipes-devtools/gdb/gdb/{force-readline-static.patch => 0006-Dont-disable-libreadline.a-when-using-disable-static.patch} (67%)
rename meta/recipes-devtools/gdb/gdb/{0001-use-asm-sgidefs.h.patch => 0007-use-asm-sgidefs.h.patch} (69%)
rename meta/recipes-devtools/gdb/gdb/{0001-Use-exported-definitions-of-SIGRTMIN.patch => 0008-Use-exorted-definitions-of-SIGRTMIN.patch} (49%)
rename meta/recipes-devtools/gdb/gdb/{0002-Change-order-of-CFLAGS.patch => 0009-Change-order-of-CFLAGS.patch} (69%)
create mode 100644 meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch
rename meta/recipes-devtools/gdb/{gdb_7.10.1.bb => gdb_7.11.bb} (100%)
create mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-Move-warning-pragma-outside-of-function.patch
create mode 100644 meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch
rename meta/recipes-devtools/ruby/{ruby_2.2.2.bb => ruby_2.2.5.bb} (86%)
create mode 100644 meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch
create mode 100644 meta/recipes-devtools/valgrind/valgrind/gcc5-port.patch
create mode 100644 meta/recipes-extended/mdadm/files/0001-mdadm.h-Undefine-dprintf-before-redefining.patch
create mode 100644 meta/recipes-extended/mdadm/files/0001-raid6check-Fix-if-else-indentation.patch
create mode 100644 meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch
create mode 100644 meta/recipes-kernel/linux/linux-yocto/v2-MIPS-Prevent-restoration-of-MSA-context-in-non-MSA-kernels.patch
create mode 100644 meta/recipes-kernel/oprofile/oprofile/0001-Fix-FTBFS-problem-with-GCC-6.patch
create mode 100644 meta/recipes-multimedia/alsa/alsa-tools/0001-Cus428Midi-Explicitly-cast-constant-to-char-type.patch
create mode 100644 meta/recipes-sato/webkit/files/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
create mode 100644 meta/recipes-sato/webkit/files/musl-fixes.patch
delete mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-Enable-backtrace-on-linux-when-using-glibc.patch
delete mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-non-glibc-libraries-on-linux.patch
delete mode 100644 meta/recipes-sato/webkit/webkitgtk/clang.patch
rename meta/recipes-sato/webkit/{webkitgtk_2.10.7.bb => webkitgtk_2.12.1.bb} (92%)
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-Invalid-dwarf-opcodes-can-cause-references-beyond-th.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-aarch64-introduce-build-support-for-aarch64_be-targe.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-disable-tests.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0002-aarch64-fix-wrong-big_endian-flag-in-aarch64_be-case.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/AArch64-port.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Support-building-with-older-compilers.patch
rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-Fix-build-on-mips-musl.patch (68%)
create mode 100644 meta/recipes-support/libunwind/libunwind/0001-add-knobs-to-disable-enable-tests.patch
rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-backtrace-Use-only-with-glibc-and-uclibc.patch (100%)
rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-x86-Stub-out-x86_local_resume.patch (100%)
rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch (100%)
delete mode 100644 meta/recipes-support/libunwind/libunwind_1.1.bb
create mode 100644 meta/recipes-support/libunwind/libunwind_git.bb
create mode 100644 meta/recipes-support/lzop/lzop/lzop-1.03-gcc6.patch
rename meta/recipes-support/mpfr/{mpfr-3.1.3 => mpfr}/long-long-thumb.patch (100%)
rename meta/recipes-support/mpfr/{mpfr_3.1.3.bb => mpfr_3.1.4.bb} (75%)
rename meta/recipes-support/nss/{nss_3.21.bb => nss_3.23.bb} (97%)Signature · 1 line
2.8.2
PATCH 1/42 gcc: Add gcc6 recipes
--- ...-Symlink-c-header-in-target_triplet-for-S.patch | 49 + meta/recipes-devtools/gcc/gcc-6.1.inc | 131 + .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 42 + .../gcc/gcc-6.1/0002-uclibc-conf.patch | 53 + .../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 87 + .../gcc/gcc-6.1/0004-uclibc-locale.patch | 2862 ++++++++++++++++++++ .../gcc/gcc-6.1/0005-uclibc-locale-no__x.patch | 257 ++ .../gcc/gcc-6.1/0006-uclibc-locale-wchar_fix.patch | 68 + .../gcc/gcc-6.1/0007-uclibc-locale-update.patch | 542 ++++ .../gcc/gcc-6.1/0008-missing-execinfo_h.patch | 28 + .../gcc/gcc-6.1/0009-c99-snprintf.patch | 28 + .../0010-gcc-poison-system-directories.patch | 192 ++ .../gcc/gcc-6.1/0011-gcc-poison-dir-extend.patch | 39 + .../0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 73 + .../gcc/gcc-6.1/0013-64-bit-multilib-hack.patch | 85 + .../gcc/gcc-6.1/0014-optional-libstdc.patch | 125 + ...0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 59 + .../gcc/gcc-6.1/0016-COLLECT_GCC_OPTIONS.patch | 38 + ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 96 + .../gcc-6.1/0018-fortran-cross-compile-hack.patch | 46 + .../gcc/gcc-6.1/0019-cpp-honor-sysroot.patch | 54 + .../gcc-6.1/0020-MIPS64-Default-to-N64-ABI.patch | 57 + ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 234 ++ ...0022-gcc-Fix-argument-list-too-long-error.patch | 40 + .../gcc/gcc-6.1/0023-Disable-sdt.patch | 113 + .../gcc/gcc-6.1/0024-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-6.1/0028-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 + .../0035-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 + .../0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 28 + .../gcc/gcc-6.1/0041-ssp_nonshared.patch | 28 + ...c-libcpp-support-ffile-prefix-map-old-new.patch | 292 ++ ...ug-prefix-map-to-replace-ffile-prefix-map.patch | 43 + ...-fdebug-prefix-map-support-to-remap-sourc.patch | 54 + ...45-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 125 + ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 29 + .../recipes-devtools/gcc/gcc-cross-canadian_6.1.bb | 5 + meta/recipes-devtools/gcc/gcc-cross-initial_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-cross_6.1.bb | 3 + .../gcc/gcc-crosssdk-initial_6.1.bb | 3 + meta/recipes-devtools/gcc/gcc-crosssdk_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-runtime_6.1.bb | 7 + meta/recipes-devtools/gcc/gcc-sanitizers_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-source_6.1.bb | 4 + meta/recipes-devtools/gcc/gcc_6.1.bb | 15 + meta/recipes-devtools/gcc/libgcc-initial_6.1.bb | 2 + meta/recipes-devtools/gcc/libgcc_6.1.bb | 2 + meta/recipes-devtools/gcc/libgfortran_6.1.bb | 3 + 60 files changed, 7169 insertions(+) create mode 100644 meta/recipes-devtools/gcc/0001-gcc-runtime-Symlink-c-header-in-target_triplet-for-S.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1.inc create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0002-uclibc-conf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0004-uclibc-locale.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0005-uclibc-locale-no__x.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0006-uclibc-locale-wchar_fix.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0007-uclibc-locale-update.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0008-missing-execinfo_h.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0009-c99-snprintf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0010-gcc-poison-system-directories.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0011-gcc-poison-dir-extend.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0013-64-bit-multilib-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0014-optional-libstdc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0016-COLLECT_GCC_OPTIONS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0018-fortran-cross-compile-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0019-cpp-honor-sysroot.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0020-MIPS64-Default-to-N64-ABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0022-gcc-Fix-argument-list-too-long-error.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0023-Disable-sdt.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0024-libtool.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0028-export-CPP.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0031-Ensure-target-gcc-headers-can-be-included.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0035-aarch64-Add-support-for-musl-ldso.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0037-handle-sysroot-support-for-nativesdk-gcc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0039-Fix-various-_FOR_BUILD-and-related-variables.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0041-ssp_nonshared.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-cross-canadian_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-runtime_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-sanitizers_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-source_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgfortran_6.1.bb
meta/recipes-devtools/gcc/0001-gcc-runtime-Symlink-c-header-in-target_triplet-for-S.patch new file +49 -0
@@ -0,0 +1,49 @@ +From 0ef3d75514ee5a74b7c04ea36423cff97843fbb8 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Tue, 10 May 2016 01:07:24 -0700 +Subject: [PATCH] gcc-runtime: Symlink c++ header in target_triplet for SDK use + +We build SDKs such that gcc-cross-candian is built for only one +target *-*-linux and then use -muclibc or -mmusl to let it compile +code for other libc variants. This works fine when libc = glibc +however it does not work for c++ programs when libc != glibc since +there are c++ headers installed under ${includedir}/c++/${BINV}/${TARGET_SYS} +which is fine when gcc-runtime and gcc-cross-candian uses same --target options +gxx includedir searches in right triplet, but it fails with musl/uclibc +since gcc will look for glibc based triplet but gcc-runtime will install +them under musl/uclibc triplet. + +This patch symlinks the musl/uclibc triplet to glibc triplet when libc != glibc + +This fixes SDKs for musl/uclibc + +Signed-off-by: Khem Raj <[email protected]> +--- + meta/recipes-devtools/gcc/gcc-runtime.inc | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc +index 8639c1c..8e4d5eb 100644 +--- a/meta/recipes-devtools/gcc/gcc-runtime.inc ++++ b/meta/recipes-devtools/gcc/gcc-runtime.inc +@@ -70,13 +70,15 @@ do_install () { + if [ -d ${D}${infodir} ]; then + rmdir --ignore-fail-on-non-empty -p ${D}${infodir} + fi ++} ++ ++do_install_append_class-target () { + if [ "${TARGET_VENDOR_MULTILIB_ORIGINAL}" != "" -a "${TARGET_VENDOR}" != "${TARGET_VENDOR_MULTILIB_ORIGINAL}" ]; then + ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR_MULTILIB_ORIGINAL}-${TARGET_OS} + fi +- if [ "${TARGET_OS}" = "linux-gnuspe" ]; then ++ if [ "${TARGET_OS}" = "linux-gnuspe" -o "${TCLIBC}" != "glibc" ]; then + ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux + fi +- chown -R root:root ${D} + } + + INHIBIT_DEFAULT_DEPS = "1" +-- +2.8.2 +
meta/recipes-devtools/gcc/gcc-6.1.inc new file +131 -0
131 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.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-6.1/0002-uclibc-conf.patch new file +53 -0
53 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.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-6.1/0004-uclibc-locale.patch new file +2862 -0
2,638 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0005-uclibc-locale-no__x.patch new file +257 -0
257 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0006-uclibc-locale-wchar_fix.patch new file +68 -0
68 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0007-uclibc-locale-update.patch new file +542 -0
542 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0008-missing-execinfo_h.patch new file +28 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-6.1/0009-c99-snprintf.patch new file +28 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-6.1/0010-gcc-poison-system-directories.patch new file +192 -0
192 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0011-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-6.1/0012-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-6.1/0013-64-bit-multilib-hack.patch new file +85 -0
85 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0014-optional-libstdc.patch new file +125 -0
125 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0015-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-6.1/0016-COLLECT_GCC_OPTIONS.patch new file +38 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-6.1/0017-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-6.1/0018-fortran-cross-compile-hack.patch new file +46 -0
46 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0019-cpp-honor-sysroot.patch new file +54 -0
54 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0020-MIPS64-Default-to-N64-ABI.patch new file +57 -0
57 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0021-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-6.1/0022-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-6.1/0023-Disable-sdt.patch new file +113 -0
113 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0024-libtool.patch new file +42 -0
42 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0025-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-6.1/0026-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-6.1/0027-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-6.1/0028-export-CPP.patch new file +53 -0
53 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0029-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-6.1/0030-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-6.1/0031-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-6.1/0032-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-6.1/0033-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-6.1/0034-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-6.1/0035-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-6.1/0036-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-6.1/0037-handle-sysroot-support-for-nativesdk-gcc.patch new file +213 -0
213 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0038-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-6.1/0039-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-6.1/0040-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-6.1/0041-ssp_nonshared.patch new file +28 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-6.1/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch new file +292 -0
292 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0043-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-6.1/0044-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-6.1/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch new file +125 -0
125 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-6.1/0046-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-cross-canadian_6.1.bb new file +5 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-cross-initial_6.1.bb new file +2 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-cross_6.1.bb new file +3 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.1.bb new file +3 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-crosssdk_6.1.bb new file +2 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-runtime_6.1.bb new file +7 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-sanitizers_6.1.bb new file +2 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-source_6.1.bb new file +4 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc_6.1.bb new file +15 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/libgcc-initial_6.1.bb new file +2 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/libgcc_6.1.bb new file +2 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/libgfortran_6.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.8.2
Part of the diff is not shown here. View the raw message.
PATCH 2/42 glibc: Add recipes for 2.24 release
---
.../fix_for_centos_5.8.patch | 18 --------
...tive_2.23.bb => cross-localedef-native_2.24.bb} | 26 ++++++------
...glibc-initial_2.23.bb => glibc-initial_2.24.bb} | 0
.../{glibc-locale_2.23.bb => glibc-locale_2.24.bb} | 0
.../{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} | 0
...glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} | 0
...libc-Look-for-host-system-ld.so.cache-as-.patch | 8 ++--
...libc-Fix-buffer-overrun-with-a-relocated-.patch | 8 ++--
...libc-Raise-the-size-of-arrays-containing-.patch | 34 ++++++---------
...ivesdk-glibc-Allow-64-bit-atomics-for-x86.patch | 10 +++--
...500-e5500-e6500-603e-fsqrt-implementation.patch | 6 +--
...-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch | 8 ++--
...-Fix-undefined-reference-to-__sqrt_finite.patch | 6 +--
...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +--
...bug-1443-which-explains-what-the-patch-do.patch | 8 ++--
...n-libm-err-tab.pl-with-specific-dirs-in-S.patch | 10 ++---
...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +--
...ersion-output-matching-grok-gold-s-output.patch | 14 +++----
...-configure.ac-handle-correctly-libc_cv_ro.patch | 6 +--
.../glibc/glibc/0014-Add-unused-attribute.patch | 8 ++--
...thin-the-path-sets-wrong-config-variables.patch | 10 ++---
...-timezone-re-written-tzselect-as-posix-sh.patch | 16 ++++----
...move-bash-dependency-for-nscd-init-script.patch | 8 ++--
...c-Cross-building-and-testing-instructions.patch | 6 +--
...019-eglibc-Help-bootstrap-cross-toolchain.patch | 8 ++--
.../glibc/0020-eglibc-cherry-picked-from.patch | 18 ++++----
.../0021-eglibc-Clear-cache-lines-on-ppc8xx.patch | 10 ++---
...0022-eglibc-Resolve-__fpscr_values-on-SH4.patch | 8 ++--
.../glibc/0023-eglibc-Install-PIC-archives.patch | 8 ++--
...ard-port-cross-locale-generation-support.patch} | 30 +++++++-------
...0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | 32 +++++++++++++++
...ing-SSE-make-sure-fpmath-is-not-set-to-us.patch | 48 ----------------------
.../glibc/{glibc_2.23.bb => glibc_2.24.bb} | 12 +++---
33 files changed, 176 insertions(+), 220 deletions(-)
delete mode 100644 meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch
rename meta/recipes-core/glibc/{cross-localedef-native_2.23.bb => cross-localedef-native_2.24.bb} (79%)
rename meta/recipes-core/glibc/{glibc-initial_2.23.bb => glibc-initial_2.24.bb} (100%)
rename meta/recipes-core/glibc/{glibc-locale_2.23.bb => glibc-locale_2.24.bb} (100%)
rename meta/recipes-core/glibc/{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} (100%)
rename meta/recipes-core/glibc/{glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} (100%)
rename meta/recipes-core/glibc/glibc/{0025-eglibc-Forward-port-cross-locale-generation-support.patch => 0024-eglibc-Forward-port-cross-locale-generation-support.patch} (97%)
create mode 100644 meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
delete mode 100644 meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch
rename meta/recipes-core/glibc/{glibc_2.23.bb => glibc_2.24.bb} (93%)meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch deleted +0 -18
@@ -1,18 +0,0 @@ -Upstream-Status: Inappropriate [other] - -This is a hack to fix building the locale bits on an older -CentOs 5.X machine - -Index: git/locale/programs/config.h -=================================================================== ---- git/locale/programs/config.h -+++ git.orig/locale/programs/config.h -@@ -19,6 +19,8 @@ - #ifndef _LD_CONFIG_H - #define _LD_CONFIG_H 1 - -+#define DUMMY_LOCALE_T -+ - /* Use the internal textdomain used for libc messages. */ - #define PACKAGE _libc_intl_domainname - #ifndef VERSION
meta/recipes-core/glibc/cross-localedef-native_2.24.bb renamed from meta/recipes-core/glibc/cross-localedef-native_2.23.bb +12 -14
@@ -9,25 +9,21 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \ file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" -# Tell autotools that we're working in the localedef directory -# -AUTOTOOLS_SCRIPT_PATH = "${S}/localedef" - inherit native inherit autotools FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:" -SRCBRANCH ?= "release/${PV}/master" +#SRCBRANCH ?= "release/${PV}/master" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" +SRCBRANCH ?= "master" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" +SRCREV_glibc ?= "1ac3eaa6bcc473a56340c24511786ff48a91293e" +SRCREV_localedef ?= "29869b6dc11427c5bab839bdb155c85a7c644c71" + SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \ - file://fix_for_centos_5.8.patch \ - ${EGLIBCPATCHES} \ -" -EGLIBCPATCHES = "\ file://0016-timezone-re-written-tzselect-as-posix-sh.patch \ file://0017-Remove-bash-dependency-for-nscd-init-script.patch \ file://0018-eglibc-Cross-building-and-testing-instructions.patch \
@@ -36,12 +32,9 @@ EGLIBCPATCHES = "\ file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \ file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \ file://0023-eglibc-Install-PIC-archives.patch \ - file://0025-eglibc-Forward-port-cross-locale-generation-support.patch \ + file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \ + file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \ " - -SRCREV_glibc ?= "e742928c1592b43db6809db4f39e67be151cdd27" -SRCREV_localedef ?= "5a81ff9f06a7a808d4c3d37bbf34077a4c5902ed" - # Makes for a rather long rev (22 characters), but... # SRCREV_FORMAT = "glibc_localedef"
@@ -51,6 +44,11 @@ S = "${WORKDIR}/git" EXTRA_OECONF = "--with-glibc=${S}" CFLAGS += "-fgnu89-inline -std=gnu99 -DIS_IN\(x\)='0'" +do_configure () { + ${S}/localedef/configure ${EXTRA_OECONF} +} + + do_install() { install -d ${D}${bindir} install -m 0755 ${B}/localedef ${D}${bindir}/cross-localedef
meta/recipes-core/glibc/glibc-initial_2.24.bb renamed from meta/recipes-core/glibc/glibc-initial_2.23.bb +0 -0
meta/recipes-core/glibc/glibc-locale_2.24.bb renamed from meta/recipes-core/glibc/glibc-locale_2.23.bb +0 -0
meta/recipes-core/glibc/glibc-mtrace_2.24.bb renamed from meta/recipes-core/glibc/glibc-mtrace_2.23.bb +0 -0
meta/recipes-core/glibc/glibc-scripts_2.24.bb renamed from meta/recipes-core/glibc/glibc-scripts_2.23.bb +0 -0
meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch +4 -4
@@ -1,7 +1,7 @@ -From 66d04e2cd8badb0984050e4e9f2732f47151fbbf Mon Sep 17 00:00:00 2001 +From 7e11aafc3a7cb873b3f648740c8acd379597e4d1 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 01:48:24 +0000 -Subject: [PATCH 01/24] nativesdk-glibc: Look for host system ld.so.cache as +Subject: [PATCH 01/25] nativesdk-glibc: Look for host system ld.so.cache as well Upstream-Status: Inappropriate [embedded specific]
@@ -31,7 +31,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/elf/dl-load.c b/elf/dl-load.c -index 6fb615e..ee3d1e6 100644 +index c0d6249..2c73105 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -2094,6 +2094,14 @@ _dl_map_object (struct link_map *loader, const char *name,
@@ -65,5 +65,5 @@ index 6fb615e..ee3d1e6 100644 if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_LIBS)) _dl_debug_printf ("\n"); -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch +4 -4
@@ -1,7 +1,7 @@ -From 179dc5f1e13c3ff96d5f21a2a78c089cf120ceb8 Mon Sep 17 00:00:00 2001 +From 5fd884dc28d5d84001fae8ffdd8be698bb84143e Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 01:50:00 +0000 -Subject: [PATCH 02/24] nativesdk-glibc: Fix buffer overrun with a relocated +Subject: [PATCH 02/25] nativesdk-glibc: Fix buffer overrun with a relocated SDK When ld-linux-*.so.2 is relocated to a path that is longer than the
@@ -22,7 +22,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 12 insertions(+) diff --git a/elf/dl-load.c b/elf/dl-load.c -index ee3d1e6..c4a42e9 100644 +index 2c73105..c7b8797 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1793,7 +1793,19 @@ open_path (const char *name, size_t namelen, int mode,
@@ -46,5 +46,5 @@ index ee3d1e6..c4a42e9 100644 { struct r_search_path_elem *this_dir = *dirs; -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch +12 -22
@@ -1,7 +1,7 @@ -From e76048898ae9aa49dc70d6f9b1bbc22082e61fe3 Mon Sep 17 00:00:00 2001 +From c99892f2018cd7fa0f37b53e6cebec99fa036472 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 01:51:38 +0000 -Subject: [PATCH 03/24] nativesdk-glibc: Raise the size of arrays containing dl +Subject: [PATCH 03/25] nativesdk-glibc: Raise the size of arrays containing dl paths This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings
@@ -25,7 +25,7 @@ Signed-off-by: Khem Raj <[email protected]> 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/elf/dl-cache.c b/elf/dl-cache.c -index dec49bc..862f1d8 100644 +index cfa335e..daa12ec 100644 --- a/elf/dl-cache.c +++ b/elf/dl-cache.c @@ -132,6 +132,10 @@ do \
@@ -40,7 +40,7 @@ index dec49bc..862f1d8 100644 internal_function _dl_cache_libcmp (const char *p1, const char *p2) diff --git a/elf/dl-load.c b/elf/dl-load.c -index c4a42e9..acf6c03 100644 +index c7b8797..37a1beb 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -106,8 +106,8 @@ static size_t max_capstrlen attribute_relro;
@@ -55,7 +55,7 @@ index c4a42e9..acf6c03 100644 SYSTEM_DIRS_LEN }; diff --git a/elf/interp.c b/elf/interp.c -index 422ea95e..6d61a36 100644 +index 9448802..e7e8c70 100644 --- a/elf/interp.c +++ b/elf/interp.c @@ -18,5 +18,5 @@
@@ -66,10 +66,10 @@ index 422ea95e..6d61a36 100644 +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) = RUNTIME_LINKER; diff --git a/elf/ldconfig.c b/elf/ldconfig.c -index f54ec22..0e78a83 100644 +index 467ca82..631a2a9 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c -@@ -167,6 +167,9 @@ static struct argp argp = +@@ -168,6 +168,9 @@ static struct argp argp = options, parse_opt, NULL, doc, NULL, more_help, NULL };
@@ -80,7 +80,7 @@ index f54ec22..0e78a83 100644 a platform. */ static int diff --git a/elf/rtld.c b/elf/rtld.c -index 52160df..80f0582 100644 +index 647661c..4e16a43 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -99,6 +99,7 @@ uintptr_t __pointer_chk_guard_local
@@ -107,7 +107,7 @@ index 52160df..80f0582 100644 ++_dl_skip_args; --_dl_argc; diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h -index 70d4aeb..5c726d0 100644 +index eb2f900..505804e 100644 --- a/sysdeps/generic/dl-cache.h +++ b/sysdeps/generic/dl-cache.h @@ -27,10 +27,6 @@
@@ -121,16 +121,6 @@ index 70d4aeb..5c726d0 100644 #ifndef add_system_dir # define add_system_dir(dir) add_dir (dir) #endif -Index: git/iconv/gconv_conf.c -=================================================================== ---- git.orig/iconv/gconv_conf.c -+++ git/iconv/gconv_conf.c -@@ -36,7 +36,7 @@ - - - /* This is the default path where we look for module lists. */ --static const char default_gconv_path[] = GCONV_PATH; -+static char default_gconv_path[4096] __attribute__ ((section (".gccrelocprefix"))) = GCONV_PATH; - - /* The path elements, as determined by the __gconv_get_path function. - All path elements end in a slash. */ +-- +2.8.2 +
meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch +6 -4
@@ -1,7 +1,7 @@ -From 2e1638115f0f924ee8235eee9265047054c15cfd Mon Sep 17 00:00:00 2001 +From a56e7aa2fd10b178b9498f88a7a2ca8aad671a53 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Thu, 31 Dec 2015 14:35:35 -0800 -Subject: [PATCH 04/24] nativesdk-glibc: Allow 64 bit atomics for x86 +Subject: [PATCH 04/25] nativesdk-glibc: Allow 64 bit atomics for x86 The fix consist of allowing 64bit atomic ops for x86. This should be safe for i586 and newer CPUs.
@@ -11,11 +11,13 @@ Signed-off-by: Juro Bystricky <[email protected]> Signed-off-by: Richard Purdie <[email protected]> Signed-off-by: Khem Raj <[email protected]> --- +Upstream-Status: Pending + sysdeps/i386/atomic-machine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/i386/atomic-machine.h b/sysdeps/i386/atomic-machine.h -index 59f3d34..6f6b7ff 100644 +index ce62b33..4fe44ea 100644 --- a/sysdeps/i386/atomic-machine.h +++ b/sysdeps/i386/atomic-machine.h @@ -54,7 +54,7 @@ typedef uintmax_t uatomic_max_t;
@@ -28,5 +30,5 @@ index 59f3d34..6f6b7ff 100644 -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch +3 -3
@@ -1,7 +1,7 @@ -From 7ff57edfe24b4243373fcb896ee0b613938c1ec9 Mon Sep 17 00:00:00 2001 +From 450473ce27b47cebec2c5c5b611a8c8bed41e6e8 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:01:50 +0000 -Subject: [PATCH 05/24] fsl e500/e5500/e6500/603e fsqrt implementation +Subject: [PATCH 05/25] fsl e500/e5500/e6500/603e fsqrt implementation Upstream-Status: Pending Signed-off-by: Edmar Wienskoski <[email protected]>
@@ -1580,5 +1580,5 @@ index 0000000..04ff8cc @@ -0,0 +1 @@ +powerpc/powerpc64/e6500/fpu -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch +4 -4
@@ -1,7 +1,7 @@ -From 61129ef3ee735b300604f75d50e01cb29f4387f4 Mon Sep 17 00:00:00 2001 +From bb065b78e9e0d3301e64a26e37550a657c885ebc Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:11:22 +0000 -Subject: [PATCH 06/24] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known +Subject: [PATCH 06/25] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known names This bolts in a hook for OE to pass its own version of interpreter
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+) diff --git a/elf/readlib.c b/elf/readlib.c -index 7fd5b8a..2f5da9f 100644 +index 8a66ffe..08d56fc 100644 --- a/elf/readlib.c +++ b/elf/readlib.c @@ -51,6 +51,7 @@ static struct known_names interpreters[] =
@@ -29,5 +29,5 @@ index 7fd5b8a..2f5da9f 100644 static struct known_names known_libs[] = -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch +3 -3
@@ -1,7 +1,7 @@ -From f936548decac99501f9a4c522a3211d16542fa49 Mon Sep 17 00:00:00 2001 +From 4a91bbdb11a15f93094695bba4e0849c421fad48 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:15:07 +0000 -Subject: [PATCH 07/24] ppc/sqrt: Fix undefined reference to `__sqrt_finite' +Subject: [PATCH 07/25] ppc/sqrt: Fix undefined reference to `__sqrt_finite' on ppc fixes the errors like below | ./.libs/libpulsecore-1.1.so: undefined reference to `__sqrt_finite'
@@ -204,5 +204,5 @@ index 26fa067..9d17512 100644 } +strong_alias (__ieee754_sqrtf, __sqrtf_finite) -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch +3 -3
@@ -1,7 +1,7 @@ -From d02704895fdce917e337619a4414042f63edd88b Mon Sep 17 00:00:00 2001 +From ce2746a1560b4430d89d114e1b65c7be225b4c2a Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:16:38 +0000 -Subject: [PATCH 08/24] __ieee754_sqrt{,f} are now inline functions and call +Subject: [PATCH 08/25] __ieee754_sqrt{,f} are now inline functions and call out __slow versions Upstream-Status: Pending
@@ -383,5 +383,5 @@ index 9d17512..10de1f0 100644 + strong_alias (__ieee754_sqrtf, __sqrtf_finite) -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch +4 -4
@@ -1,7 +1,7 @@ -From 502f061d846e58aac7aca67e4e0d6ba9e0763b17 Mon Sep 17 00:00:00 2001 +From 1b61649e545de76dd79a5e2c39bb16d0c4623160 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:20:09 +0000 -Subject: [PATCH 09/24] Quote from bug 1443 which explains what the patch does +Subject: [PATCH 09/25] Quote from bug 1443 which explains what the patch does : We build some random program and link it with -lust. When we run it,
@@ -45,7 +45,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h -index 6fb20bd..8805537 100644 +index 60eee00..7d54d5e 100644 --- a/sysdeps/arm/dl-machine.h +++ b/sysdeps/arm/dl-machine.h @@ -499,7 +499,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
@@ -58,5 +58,5 @@ index 6fb20bd..8805537 100644 case R_ARM_TLS_TPOFF32: -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch +5 -5
@@ -1,7 +1,7 @@ -From 69a3e30b49d28a7386d18725528652931510cbfc Mon Sep 17 00:00:00 2001 +From 91af416408b8718b004c83d93a6daa1f34cba48d Mon Sep 17 00:00:00 2001 From: Ting Liu <[email protected]> Date: Wed, 19 Dec 2012 04:39:57 -0600 -Subject: [PATCH 10/24] eglibc: run libm-err-tab.pl with specific dirs in ${S} +Subject: [PATCH 10/25] eglibc: run libm-err-tab.pl with specific dirs in ${S} libm-err-tab.pl will parse all the files named "libm-test-ulps" in the given dir recursively. To avoid parsing the one in
@@ -10,7 +10,7 @@ ${S}/.pc/aarch64-0001-glibc-fsf-v1-eaf6f205.patch/ports/sysdeps/ aarch64/libm-test-ulps), run libm-err-tab.pl with specific dirs in ${S}. -Upstream-Status: Inappropriate [OE specific] +Upstream-Status: inappropriate [OE specific] Signed-off-by: Ting Liu <[email protected]> ---
@@ -18,7 +18,7 @@ Signed-off-by: Ting Liu <[email protected]> 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manual/Makefile b/manual/Makefile -index cdb6763..0b32a0a 100644 +index f2f694f..e062833 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -105,7 +105,8 @@ $(objpfx)libm-err.texi: $(objpfx)stamp-libm-err
@@ -32,5 +32,5 @@ index cdb6763..0b32a0a 100644 touch $@ -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch +3 -3
@@ -1,7 +1,7 @@ -From 4cf52971a841304aec30b2e975f81d7ad9d42ef0 Mon Sep 17 00:00:00 2001 +From 6a71f688471fe0c85f8ad9afc4ee0723a20aae1d Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:24:46 +0000 -Subject: [PATCH 11/24] __ieee754_sqrt{,f} are now inline functions and call +Subject: [PATCH 11/25] __ieee754_sqrt{,f} are now inline functions and call out __slow versions Upstream-Status: Pending
@@ -57,5 +57,5 @@ index 8126535..10de1f0 100644 #endif { -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch +7 -7
@@ -1,7 +1,7 @@ -From b356816d6e005ecda7adbed9627a4315ad39de39 Mon Sep 17 00:00:00 2001 +From f9d024edb158659e403b51cc9d93da9bca6e5d7b Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:25:45 +0000 -Subject: [PATCH 12/24] Make ld --version output matching grok gold's output +Subject: [PATCH 12/25] Make ld --version output matching grok gold's output adapted from from upstream branch roland/gold-vs-libc
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure -index aa05d49..6dabd11 100755 +index 8fe5937..7888a3f 100755 --- a/configure +++ b/configure -@@ -4486,7 +4486,7 @@ else +@@ -4482,7 +4482,7 @@ else # Found it, now check the version. { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5 $as_echo_n "checking version of $LD... " >&6; }
@@ -27,10 +27,10 @@ index aa05d49..6dabd11 100755 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) diff --git a/configure.ac b/configure.ac -index ee7a3f1..b4b95b9 100644 +index 3c766b7..6908a99 100644 --- a/configure.ac +++ b/configure.ac -@@ -948,7 +948,7 @@ AC_CHECK_PROG_VER(AS, $AS, --version, +@@ -944,7 +944,7 @@ AC_CHECK_PROG_VER(AS, $AS, --version, [2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*], AS=: critic_missing="$critic_missing as") AC_CHECK_PROG_VER(LD, $LD, --version,
@@ -40,5 +40,5 @@ index ee7a3f1..b4b95b9 100644 LD=: critic_missing="$critic_missing ld") -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch +3 -3
@@ -1,7 +1,7 @@ -From 10003d48f83f7a4f7fa562ed89af904a544b6323 Mon Sep 17 00:00:00 2001 +From 2ece12093c8ba4cf688d235f35d36f1feb02324c Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:27:10 +0000 -Subject: [PATCH 13/24] sysdeps/gnu/configure.ac: handle correctly +Subject: [PATCH 13/25] sysdeps/gnu/configure.ac: handle correctly $libc_cv_rootsbindir Upstream-Status:Pending
@@ -38,5 +38,5 @@ index 634fe4d..3db1697 100644 ;; esac -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch +4 -4
@@ -1,7 +1,7 @@ -From cafa8a7ef830e02cdbf928471e06d11054946940 Mon Sep 17 00:00:00 2001 +From 9fec083dc99d2b524090e1d098e03709eed64a72 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:28:41 +0000 -Subject: [PATCH 14/24] Add unused attribute +Subject: [PATCH 14/25] Add unused attribute Helps in avoiding gcc warning when header is is included in a source file which does not use both functions
@@ -17,7 +17,7 @@ Upstream-Status: Pending 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h -index 80290bc..7890a8e 100644 +index 95cbce7..191a0dd 100644 --- a/iconv/gconv_charset.h +++ b/iconv/gconv_charset.h @@ -21,7 +21,7 @@
@@ -30,5 +30,5 @@ index 80290bc..7890a8e 100644 { int slash_count = 0; -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch +5 -5
@@ -1,7 +1,7 @@ -From 4d6bead19874e519752ceeb2a15897ff2ffbe5e8 Mon Sep 17 00:00:00 2001 +From 1794a97cba0b09b726eebc565c783c7b7c22dfba Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:31:06 +0000 -Subject: [PATCH 15/24] 'yes' within the path sets wrong config variables +Subject: [PATCH 15/25] 'yes' within the path sets wrong config variables It seems that the 'AC_EGREP_CPP(yes...' example is quite popular but being such a short word to grep it is likely to produce
@@ -165,7 +165,7 @@ index f05f438..dc86399 100644 ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)]) if test $libc_cv_nios2_be = yes; then diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure -index dee56aa..f2049ed 100644 +index a5513fa..283b293 100644 --- a/sysdeps/unix/sysv/linux/mips/configure +++ b/sysdeps/unix/sysv/linux/mips/configure @@ -414,11 +414,11 @@ else
@@ -183,7 +183,7 @@ index dee56aa..f2049ed 100644 else libc_cv_mips_nan2008=no diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac -index 45147c5..4224af1 100644 +index 9147aa4..7898e24 100644 --- a/sysdeps/unix/sysv/linux/mips/configure.ac +++ b/sysdeps/unix/sysv/linux/mips/configure.ac @@ -105,9 +105,9 @@ AC_COMPILE_IFELSE(
@@ -259,5 +259,5 @@ index 0822915..9a32fdd 100644 ], libc_cv_ppc64_def_call_elf=yes, libc_cv_ppc64_def_call_elf=no)]) if test $libc_cv_ppc64_def_call_elf = no; then -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch +8 -8
@@ -1,7 +1,7 @@ -From 3e8586eb3509e2f0d6dfb74be8f89a30b06b56e9 Mon Sep 17 00:00:00 2001 +From fdb5c9c88e3d1bc5ae6ef9ebcfcf560d3c42f0a6 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:33:03 +0000 -Subject: [PATCH 16/24] timezone: re-written tzselect as posix sh +Subject: [PATCH 16/25] timezone: re-written tzselect as posix sh To avoid the bash dependency.
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/timezone/Makefile b/timezone/Makefile -index 99566cb..b6e757e 100644 +index dee7568..66a50be 100644 --- a/timezone/Makefile +++ b/timezone/Makefile -@@ -122,7 +122,7 @@ $(testdata)/XT%: testdata/XT% +@@ -120,7 +120,7 @@ $(testdata)/XT%: testdata/XT% cp $< $@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
@@ -28,7 +28,7 @@ index 99566cb..b6e757e 100644 -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \ -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \ diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh -index 9d70691..25f45a8 100755 +index 2c3b2f4..0c04a61 100755 --- a/timezone/tzselect.ksh +++ b/timezone/tzselect.ksh @@ -35,7 +35,7 @@ [email protected]
@@ -38,8 +38,8 @@ index 9d70691..25f45a8 100755 -: ${TZDIR=`pwd`} +: ${TZDIR=$(pwd)} - # Check for awk Posix compliance. - ($AWK -v x=y 'BEGIN { exit 123 }') </dev/null >/dev/null 2>&1 + # Output one argument as-is to standard output. + # Safer than 'echo', which can mishandle '\' or leading '-'. -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch +5 -3
@@ -1,7 +1,7 @@ -From cd9d9fe7316f4ce4ca9d8e67e22f5718879535e4 Mon Sep 17 00:00:00 2001 +From 88ad88d014a5ee68b0e044d2def5ab13743c8ae0 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Thu, 31 Dec 2015 14:33:02 -0800 -Subject: [PATCH 17/24] Remove bash dependency for nscd init script +Subject: [PATCH 17/25] Remove bash dependency for nscd init script The nscd init script uses #! /bin/bash but only really uses one bashism (translated strings), so remove them and switch the shell to #!/bin/sh.
@@ -9,6 +9,8 @@ The nscd init script uses #! /bin/bash but only really uses one bashism Signed-off-by: Ross Burton <[email protected]> Signed-off-by: Khem Raj <[email protected]> --- +Upstream-Status: Pending + nscd/nscd.init | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
@@ -69,5 +71,5 @@ index a882da7..b02986e 100644 ;; esac -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch +3 -3
@@ -1,7 +1,7 @@ -From 8f554f4a1beb39182aad9cd9b5e1da69464dff7e Mon Sep 17 00:00:00 2001 +From 49c0ad7dc2e02e808ed150296a109b586c34115a Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:42:58 +0000 -Subject: [PATCH 18/24] eglibc: Cross building and testing instructions +Subject: [PATCH 18/25] eglibc: Cross building and testing instructions Ported from eglibc Upstream-Status: Pending
@@ -615,5 +615,5 @@ index 0000000..b67b468 + simply place copies of these libraries in the top GLIBC build + directory. -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch +4 -4
@@ -1,7 +1,7 @@ -From c2d49eab20db4ab02b6de62092fedc623d757146 Mon Sep 17 00:00:00 2001 +From e881face7a10354612bf634b44e09e3bc6462c67 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:49:28 +0000 -Subject: [PATCH 19/24] eglibc: Help bootstrap cross toolchain +Subject: [PATCH 19/25] eglibc: Help bootstrap cross toolchain Taken from EGLIBC, r1484 + r1525
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <[email protected]> create mode 100644 include/stubs-bootstrap.h diff --git a/Makefile b/Makefile -index 9a01c93..a6ae003 100644 +index 32748b3..6d055ba 100644 --- a/Makefile +++ b/Makefile @@ -69,9 +69,18 @@ subdir-dirs = include
@@ -96,5 +96,5 @@ index 0000000..1d2b669 + EGLIBC subdir 'stubs' make targets, on every .o file in EGLIBC, but + an empty stubs.h like this will do fine for GCC. */ -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch +8 -10
@@ -1,7 +1,7 @@ -From 588d936b9aa65e7cc8b1eb2cad1d209087db43a9 Mon Sep 17 00:00:00 2001 +From 723a31d3e2627211b39fbcc08f75b3c23c4096c5 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Thu, 31 Dec 2015 15:10:33 -0800 -Subject: [PATCH 20/24] eglibc: cherry-picked from +Subject: [PATCH 20/25] eglibc: cherry-picked from http://www.eglibc.org/archives/patches/msg00772.html
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/resolv/res_libc.c b/resolv/res_libc.c -index a8394e0..981ac7c 100644 +index a4b376f..3256e12 100644 --- a/resolv/res_libc.c +++ b/resolv/res_libc.c -@@ -18,6 +18,7 @@ +@@ -21,11 +21,13 @@ #include <atomic.h> #include <limits.h> #include <sys/types.h>
@@ -26,15 +26,13 @@ index a8394e0..981ac7c 100644 #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> -@@ -28,6 +29,7 @@ - out) since res_init() should go into libc.so but the rest of that - file should not. */ + #include <libc-lock.h> +__libc_lock_define_initialized (static, lock); extern unsigned long long int __res_initstamp attribute_hidden; /* We have atomic increment operations on 64-bit platforms. */ #if __WORDSIZE == 64 -@@ -35,7 +37,6 @@ extern unsigned long long int __res_initstamp attribute_hidden; +@@ -33,7 +35,6 @@ extern unsigned long long int __res_initstamp attribute_hidden; # define atomicincunlock(lock) (void) 0 # define atomicinc(var) catomic_increment (&(var)) #else
@@ -42,7 +40,7 @@ index a8394e0..981ac7c 100644 # define atomicinclock(lock) __libc_lock_lock (lock) # define atomicincunlock(lock) __libc_lock_unlock (lock) # define atomicinc(var) ++var -@@ -94,7 +95,18 @@ res_init(void) { +@@ -92,7 +93,18 @@ res_init(void) { int __res_maybe_init (res_state resp, int preinit) {
@@ -62,5 +60,5 @@ index a8394e0..981ac7c 100644 if (resp->nscount > 0) __res_iclose (resp, true); -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch +5 -5
@@ -1,7 +1,7 @@ -From b74e34e6f53816ad57b13ba6fd70a97db1bc1eae Mon Sep 17 00:00:00 2001 +From 9699873820d0347c2f377f0d86bce615d87a5e47 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Thu, 31 Dec 2015 15:15:09 -0800 -Subject: [PATCH 21/24] eglibc: Clear cache lines on ppc8xx +Subject: [PATCH 21/25] eglibc: Clear cache lines on ppc8xx 2007-06-13 Nathan Sidwell <[email protected]> Mark Shinwell <[email protected]>
@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c -index c2504ff..d50f1cb 100644 +index 98ec2b3..b384ae0 100644 --- a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c +++ b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c @@ -24,9 +24,21 @@ int __cache_line_size attribute_hidden;
@@ -48,7 +48,7 @@ index c2504ff..d50f1cb 100644 break; diff --git a/sysdeps/unix/sysv/linux/powerpc/libc-start.c b/sysdeps/unix/sysv/linux/powerpc/libc-start.c -index 209a16d..5d8572d 100644 +index 0efd297..8cc0ef8 100644 --- a/sysdeps/unix/sysv/linux/powerpc/libc-start.c +++ b/sysdeps/unix/sysv/linux/powerpc/libc-start.c @@ -73,11 +73,25 @@ __libc_start_main (int argc, char **argv,
@@ -79,5 +79,5 @@ index 209a16d..5d8572d 100644 break; #ifndef SHARED -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch +4 -4
@@ -1,7 +1,7 @@ -From 8f483cb1f21ab6431ff99e8d30d56b91607ae918 Mon Sep 17 00:00:00 2001 +From 8904f4249c930d187e19c7e9d3e73c835d11e18f Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 00:55:53 +0000 -Subject: [PATCH 22/24] eglibc: Resolve __fpscr_values on SH4 +Subject: [PATCH 22/25] eglibc: Resolve __fpscr_values on SH4 2010-09-29 Nobuhiro Iwamatsu <[email protected]> Andrew Stubbs <[email protected]>
@@ -33,7 +33,7 @@ index e0938c4..ca1d7da 100644 # a* alphasort64; diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S -index a02b7e2..b9be326 100644 +index 0024d79..d1db7e4 100644 --- a/sysdeps/unix/sysv/linux/sh/sysdep.S +++ b/sysdeps/unix/sysv/linux/sh/sysdep.S @@ -30,3 +30,14 @@ ENTRY (__syscall_error)
@@ -52,5 +52,5 @@ index a02b7e2..b9be326 100644 +weak_alias (___fpscr_values, __fpscr_values) + -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch +4 -4
@@ -1,7 +1,7 @@ -From 58d424884eed7efde6c90af0cd7c6c37cf9b444a Mon Sep 17 00:00:00 2001 +From 1947f211fab4001e84bb52868cddbd401e597889 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 01:57:01 +0000 -Subject: [PATCH 23/24] eglibc: Install PIC archives +Subject: [PATCH 23/25] eglibc: Install PIC archives Forward port from eglibc
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/Makerules b/Makerules -index fa24030..1ff4634 100644 +index 53eabfa..1cd2a53 100644 --- a/Makerules +++ b/Makerules @@ -694,6 +694,9 @@ ifeq ($(build-shared),yes)
@@ -119,5 +119,5 @@ index fa24030..1ff4634 100644 install-no-libc.a-nosubdir: install-bin-nosubdir install-bin-script-nosubdir \ install-rootsbin-nosubdir install-sbin-nosubdir \ -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch renamed from meta/recipes-core/glibc/glibc/0025-eglibc-Forward-port-cross-locale-generation-support.patch +15 -15
@@ -1,7 +1,7 @@ -From a5695930aec68b3f501e475d8705cddbb63f695e Mon Sep 17 00:00:00 2001 +From 11d7633178301add26a24657e2f1596a2f7dddce Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 18 Mar 2015 01:33:49 +0000 -Subject: [PATCH 25/25] eglibc: Forward port cross locale generation support +Subject: [PATCH 24/25] eglibc: Forward port cross locale generation support Upstream-Status: Pending
@@ -23,7 +23,7 @@ Signed-off-by: Khem Raj <[email protected]> create mode 100644 locale/catnames.c diff --git a/locale/Makefile b/locale/Makefile -index 75afbe1..d32523b 100644 +index c5379e6..c98c675 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -25,7 +25,8 @@ include ../Makeconfig
@@ -91,7 +91,7 @@ index 0000000..9fad357 + [LC_ALL] = sizeof ("LC_ALL") - 1 + }; diff --git a/locale/localeinfo.h b/locale/localeinfo.h -index 789da44..4ac9249 100644 +index 94627f3..d0db77b 100644 --- a/locale/localeinfo.h +++ b/locale/localeinfo.h @@ -224,7 +224,7 @@ __libc_tsd_define (extern, __locale_t, LOCALE)
@@ -104,7 +104,7 @@ index 789da44..4ac9249 100644 # define NL_CURRENT_INDIRECT 1 #endif diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c -index cf7adea..ef3b811 100644 +index 99fcd35..5e528dc 100644 --- a/locale/programs/charmap-dir.c +++ b/locale/programs/charmap-dir.c @@ -19,7 +19,9 @@
@@ -150,7 +150,7 @@ index cf7adea..ef3b811 100644 return NULL; } diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c -index dc0fe30..3c88c6d 100644 +index 1e125f6..3b2867f 100644 --- a/locale/programs/ld-collate.c +++ b/locale/programs/ld-collate.c @@ -350,7 +350,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen,
@@ -199,7 +199,7 @@ index dc0fe30..3c88c6d 100644 == runp->wcnext->wcs[runp->nwcs - 1] + 1)); diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c -index 3f464ef..b7b6b51 100644 +index 0fd141c..68136e6 100644 --- a/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c @@ -926,7 +926,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap,
@@ -281,7 +281,7 @@ index 3f464ef..b7b6b51 100644 srunp = srunp->next; } diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c -index db490c6..75dc505 100644 +index 87531bc..5f2c266 100644 --- a/locale/programs/ld-time.c +++ b/locale/programs/ld-time.c @@ -215,8 +215,10 @@ No definition for %s category found"), "LC_TIME"));
@@ -331,7 +331,7 @@ index db490c6..75dc505 100644 } else time->era_entries[idx].wname = -@@ -530,7 +532,16 @@ No definition for %s category found"), "LC_TIME")); +@@ -534,7 +536,16 @@ No definition for %s category found"), "LC_TIME")); if (time->date_fmt == NULL) time->date_fmt = "%a %b %e %H:%M:%S %Z %Y"; if (time->wdate_fmt == NULL)
@@ -350,7 +350,7 @@ index db490c6..75dc505 100644 diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c -index 2e05130..653b68c 100644 +index b885f65..0afb631 100644 --- a/locale/programs/linereader.c +++ b/locale/programs/linereader.c @@ -595,7 +595,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap,
@@ -363,7 +363,7 @@ index 2e05130..653b68c 100644 size_t bufmax = 56; diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c -index fd6ca51..328d36c 100644 +index 6becd9a..8ddd080 100644 --- a/locale/programs/localedef.c +++ b/locale/programs/localedef.c @@ -114,6 +114,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
@@ -409,7 +409,7 @@ index fd6ca51..328d36c 100644 force_output = 1; break; diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c -index 33da52e..f790c4c 100644 +index 32f5cd2..02967b0 100644 --- a/locale/programs/locfile.c +++ b/locale/programs/locfile.c @@ -544,6 +544,9 @@ compare_files (const char *filename1, const char *filename2, size_t size,
@@ -432,7 +432,7 @@ index 33da52e..f790c4c 100644 /* Record that FILE's next element is the 32-bit integer VALUE. */ diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h -index 6fc441b..118b171 100644 +index a3dd904..2c7763a 100644 --- a/locale/programs/locfile.h +++ b/locale/programs/locfile.h @@ -71,6 +71,8 @@ extern void write_all_categories (struct localedef_t *definitions,
@@ -521,7 +521,7 @@ index 6fc441b..118b171 100644 + #endif /* locfile.h */ diff --git a/locale/setlocale.c b/locale/setlocale.c -index ead030d..b551332 100644 +index 69b3141..1cef0be 100644 --- a/locale/setlocale.c +++ b/locale/setlocale.c @@ -64,36 +64,6 @@ static char *const _nl_current_used[] =
@@ -562,5 +562,5 @@ index ead030d..b551332 100644 # define WEAK_POSTLOAD(postload) weak_extern (postload) #else -- -2.6.4 +2.8.2
meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 89ec25290d34413ce5c8ba6c378e31dbae3a37c0 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Wed, 20 Apr 2016 21:11:00 -0700 +Subject: [PATCH 25/25] Define DUMMY_LOCALE_T if not defined + +This is a hack to fix building the locale bits on an older +CentOs 5.X machine + +Upstream-Status: Inappropriate [other] + +Signed-off-by: Khem Raj <[email protected]> +--- + locale/programs/config.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/locale/programs/config.h b/locale/programs/config.h +index f606365..0e5f8c3 100644 +--- a/locale/programs/config.h ++++ b/locale/programs/config.h +@@ -19,6 +19,9 @@ + #ifndef _LD_CONFIG_H + #define _LD_CONFIG_H 1 + ++#ifndef DUMMY_LOCALE_T ++#define DUMMY_LOCALE_T ++#endif + /* Use the internal textdomain used for libc messages. */ + #define PACKAGE _libc_intl_domainname + #ifndef VERSION +-- +2.8.2 +
meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch deleted +0 -48
48 lines not on this page · raw message
meta/recipes-core/glibc/glibc_2.24.bb renamed from meta/recipes-core/glibc/glibc_2.23.bb +6 -6
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \ DEPENDS += "gperf-native" -SRCREV ?= "e742928c1592b43db6809db4f39e67be151cdd27" +SRCREV ?= "1ac3eaa6bcc473a56340c24511786ff48a91293e" -SRCBRANCH ?= "release/${PV}/master" +#SRCBRANCH ?= "release/${PV}/master" +SRCBRANCH ?= "master" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
@@ -34,8 +35,8 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \ file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \ file://0023-eglibc-Install-PIC-archives.patch \ - file://0025-eglibc-Forward-port-cross-locale-generation-support.patch \ - file://0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch \ + file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \ + file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \ " SRC_URI += "\
@@ -59,8 +60,7 @@ PACKAGES_DYNAMIC = "" BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}" -GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1" - +GLIBC_BROKEN_LOCALES = "" # # We will skip parsing glibc when target system C library selection is not glibc # this helps in easing out parsing for non-glibc system libraries
Signature · 1 line
2.8.2
Re: [PATCH 02/42] glibc: Add recipes for 2.24 release
I accidentally overwrote
http://git.openembedded.org/openembedded-core/commit/?id=33d4c758a5d71435437dde74556d32404d91342f
pushed a v2 to pull branch to fix this
Quoted 1,219 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>---
.../fix_for_centos_5.8.patch | 18 -------- ...tive_2.23.bb => cross-localedef-native_2.24.bb} | 26 ++++++------ ...glibc-initial_2.23.bb => glibc-initial_2.24.bb} | 0 .../{glibc-locale_2.23.bb => glibc-locale_2.24.bb} | 0 .../{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} | 0 ...glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} | 0 ...libc-Look-for-host-system-ld.so.cache-as-.patch | 8 ++-- ...libc-Fix-buffer-overrun-with-a-relocated-.patch | 8 ++-- ...libc-Raise-the-size-of-arrays-containing-.patch | 34 ++++++--------- ...ivesdk-glibc-Allow-64-bit-atomics-for-x86.patch | 10 +++-- ...500-e5500-e6500-603e-fsqrt-implementation.patch | 6 +-- ...-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch | 8 ++-- ...-Fix-undefined-reference-to-__sqrt_finite.patch | 6 +-- ...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +-- ...bug-1443-which-explains-what-the-patch-do.patch | 8 ++-- ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch | 10 ++--- ...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +-- ...ersion-output-matching-grok-gold-s-output.patch | 14 +++---- ...-configure.ac-handle-correctly-libc_cv_ro.patch | 6 +-- .../glibc/glibc/0014-Add-unused-attribute.patch | 8 ++-- ...thin-the-path-sets-wrong-config-variables.patch | 10 ++--- ...-timezone-re-written-tzselect-as-posix-sh.patch | 16 ++++---- ...move-bash-dependency-for-nscd-init-script.patch | 8 ++-- ...c-Cross-building-and-testing-instructions.patch | 6 +-- ...019-eglibc-Help-bootstrap-cross-toolchain.patch | 8 ++-- .../glibc/0020-eglibc-cherry-picked-from.patch | 18 ++++---- .../0021-eglibc-Clear-cache-lines-on-ppc8xx.patch | 10 ++--- ...0022-eglibc-Resolve-__fpscr_values-on-SH4.patch | 8 ++-- .../glibc/0023-eglibc-Install-PIC-archives.patch | 8 ++-- ...ard-port-cross-locale-generation-support.patch} | 30 +++++++------- ...0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | 32 +++++++++++++++ ...ing-SSE-make-sure-fpmath-is-not-set-to-us.patch | 48 ---------------------- .../glibc/{glibc_2.23.bb => glibc_2.24.bb} | 12 +++--- 33 files changed, 176 insertions(+), 220 deletions(-)delete mode 100644
meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch
rename meta/recipes-core/glibc/{cross-localedef-native_2.23.bb => cross-localedef-native_2.24.bb} (79%)
rename meta/recipes-core/glibc/{glibc-initial_2.23.bb => glibc-initial_2.24.bb} (100%)
rename meta/recipes-core/glibc/{glibc-locale_2.23.bb => glibc-locale_2.24.bb} (100%)
rename meta/recipes-core/glibc/{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} (100%)
rename meta/recipes-core/glibc/{glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} (100%)
renamemeta/recipes-core/glibc/glibc/{0025-eglibc-Forward-port-cross-locale-generation-support.patch=> 0024-eglibc-Forward-port-cross-locale-generation-support.patch} (97%) create mode 100644meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
delete mode 100644meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch
rename meta/recipes-core/glibc/{glibc_2.23.bb => glibc_2.24.bb} (93%)meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch deleted +0
-18@@ -1,18 +0,0 @@ -Upstream-Status: Inappropriate [other] - -This is a hack to fix building the locale bits on an older -CentOs 5.X machine - -Index: git/locale/programs/config.h -=================================================================== ---- git/locale/programs/config.h -+++ git.orig/locale/programs/config.h -@@ -19,6 +19,8 @@ - #ifndef _LD_CONFIG_H - #define _LD_CONFIG_H 1 - -+#define DUMMY_LOCALE_T -+ - /* Use the internal textdomain used for libc messages. */ - #define PACKAGE _libc_intl_domainname - #ifndef VERSIONmeta/recipes-core/glibc/cross-localedef-native_2.24.bb renamed from meta/recipes-core/glibc/cross-localedef-native_2.23.bb +0
-4@@ -9,25 +9,21 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \ file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" -# Tell autotools that we're working in the localedef directory -# -AUTOTOOLS_SCRIPT_PATH = "${S}/localedef" -inherit native
inherit autotoolsFILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:"
meta/recipes-core/glibc/cross-localedef-native_2.24.bb renamed from meta/recipes-core/glibc/cross-localedef-native_2.23.bb +1
-1-SRCBRANCH ?= "release/${PV}/master" +#SRCBRANCH ?= "release/${PV}/master"
GLIBC_GIT_URI?= "git://sourceware.org/git/glibc.git" +SRCBRANCH ?= "master"UPSTREAM_CHECK_GITTAGREGEX= "(?P<pver>\d+\.\d+(\.\d+)*)"meta/recipes-core/glibc/cross-localedef-native_2.24.bb renamed from meta/recipes-core/glibc/cross-localedef-native_2.23.bb +3
-0+SRCREV_glibc ?= "1ac3eaa6bcc473a56340c24511786ff48a91293e" +SRCREV_localedef ?= "29869b6dc11427c5bab839bdb155c85a7c644c71" +SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \meta/recipes-core/glibc/cross-localedef-native_2.24.bb renamed from meta/recipes-core/glibc/cross-localedef-native_2.23.bb +2
-5- file://fix_for_centos_5.8.patch \ - ${EGLIBCPATCHES} \ -" -EGLIBCPATCHES = "\ file://0016-timezone-re-written-tzselect-as-posix-sh.patch \ file://0017-Remove-bash-dependency-for-nscd-init-script.patch \ file://0018-eglibc-Cross-building-and-testing-instructions.patch \@@ -36,12 +32,9 @@ EGLIBCPATCHES = "\ file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \ file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \ file://0023-eglibc-Install-PIC-archives.patch \ - file://0025-eglibc-Forward-port-cross-locale-generation-support.patch \ + file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \ + file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \"
meta/recipes-core/glibc/cross-localedef-native_2.24.bb renamed from meta/recipes-core/glibc/cross-localedef-native_2.23.bb +0
-4- -SRCREV_glibc ?= "e742928c1592b43db6809db4f39e67be151cdd27" -SRCREV_localedef ?= "5a81ff9f06a7a808d4c3d37bbf34077a4c5902ed" -# Makes for a rather long rev (22 characters), but... #
SRCREV_FORMAT= "glibc_localedef"meta/recipes-core/glibc/cross-localedef-native_2.24.bb renamed from meta/recipes-core/glibc/cross-localedef-native_2.23.bb +0
-0@@ -51,6 +44,11 @@ S = "${WORKDIR}/git"
EXTRA_OECONF= "--with-glibc=${S}"
CFLAGS += "-fgnu89-inline -std=gnu99 -DIS_IN\(x\)='0'"meta/recipes-core/glibc/cross-localedef-native_2.24.bb renamed from meta/recipes-core/glibc/cross-localedef-native_2.23.bb +5
-0+do_configure () { + ${S}/localedef/configure ${EXTRA_OECONF} +} + +do_install() { install -d ${D}${bindir} install -m 0755 ${B}/localedef ${D}${bindir}/cross-localedefmeta/recipes-core/glibc/glibc-initial_2.24.bb renamed from meta/recipes-core/glibc/glibc-initial_2.23.bb +0
-0meta/recipes-core/glibc/glibc-locale_2.24.bb renamed from meta/recipes-core/glibc/glibc-locale_2.23.bb +0
-0meta/recipes-core/glibc/glibc-mtrace_2.24.bb renamed from meta/recipes-core/glibc/glibc-mtrace_2.23.bb +0
-0meta/recipes-core/glibc/glibc-scripts_2.24.bb renamed from meta/recipes-core/glibc/glibc-scripts_2.23.bb +0
-0meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch +1
-1@@ -1,7 +1,7 @@ -From 66d04e2cd8badb0984050e4e9f2732f47151fbbf Mon Sep 17 00:00:00 2001 +From 7e11aafc3a7cb873b3f648740c8acd379597e4d1 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 01:48:24 +0000meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch +1
-1-Subject: [PATCH 01/24] nativesdk-glibc: Look for host system ld.so.cache as +Subject: [PATCH 01/25] nativesdk-glibc: Look for host system ld.so.cache as wellUpstream-Status: Inappropriate [embedded specific]
meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch +0
-0@@ -31,7 +31,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 8 insertions(+), 8 deletions(-)elf/dl-load.c +1
-1-index 6fb615e..ee3d1e6 100644 +index c0d6249..2c73105 100644elf/dl-load.c +1
-2@@ -2094,6 +2094,14 @@ _dl_map_object (struct link_map *loader, const char *name,@@ -65,5 +65,5 @@ index 6fb615e..ee3d1e6 100644if (__glibc_unlikely (GLRO (dl_debug_mask) &DL_DEBUG_LIBS ))_dl_debug_printf ("\n" ); -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch +1
-1@@ -1,7 +1,7 @@ -From 179dc5f1e13c3ff96d5f21a2a78c089cf120ceb8 Mon Sep 17 00:00:00 2001 +From 5fd884dc28d5d84001fae8ffdd8be698bb84143e Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 01:50:00 +0000meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch +1
-1-Subject: [PATCH 02/24] nativesdk-glibc: Fix buffer overrun with a relocated +Subject: [PATCH 02/25] nativesdk-glibc: Fix buffer overrun with a relocated SDKWhen ld-linux-*.so.2 is relocated to a path that is longer than the
meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch +0
-0@@ -22,7 +22,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 12 insertions(+)elf/dl-load.c +1
-1-index ee3d1e6..c4a42e9 100644 +index 2c73105..c7b8797 100644elf/dl-load.c +1
-2@@ -1793,7 +1793,19 @@ open_path (const char *name, size_t namelen, int mode,@@ -46,5 +46,5 @@ index ee3d1e6..c4a42e9 100644 {struct r_search_path_elem *this_dir = *dirs; -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch +1
-1@@ -1,7 +1,7 @@ -From e76048898ae9aa49dc70d6f9b1bbc22082e61fe3 Mon Sep 17 00:00:00 2001 +From c99892f2018cd7fa0f37b53e6cebec99fa036472 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 01:51:38 +0000meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch +1
-1-Subject: [PATCH 03/24] nativesdk-glibc: Raise the size of arrays containing dl +Subject: [PATCH 03/25] nativesdk-glibc: Raise the size of arrays containing dl pathsThis patch puts the dynamic loader path in the binaries,
SYSTEM_DIRSstringsmeta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch +0
-0@@ -25,7 +25,7 @@ Signed-off-by: Khem Raj <[email protected]> 6 files changed, 13 insertions(+), 9 deletions(-)elf/dl-cache.c +1
-1-index dec49bc..862f1d8 100644 +index cfa335e..daa12ec 100644elf/dl-cache.c +0
-0@@ -132,6 +132,10 @@ do \@@ -40,7 +40,7 @@ index dec49bc..862f1d8 100644internal_function _dl_cache_libcmp (const char *p1,const char *p2)elf/dl-load.c +1
-1-index c4a42e9..acf6c03 100644 +index c7b8797..37a1beb 100644elf/dl-load.c +0
-0@@ -106,8 +106,8 @@ static size_t max_capstrlen attribute_relro;@@ -55,7 +55,7 @@ index c4a42e9..acf6c03 100644 SYSTEM_DIRS_LEN };elf/interp.c +1
-1-index 422ea95e..6d61a36 100644 +index 9448802..e7e8c70 100644elf/interp.c +1
-0@@ -18,5 +18,5 @@@@ -66,10 +66,10 @@ index 422ea95e..6d61a36 100644 +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) =RUNTIME_LINKER ;elf/ldconfig.c +1
-1-index f54ec22..0e78a83 100644 +index 467ca82..631a2a9 100644elf/ldconfig.c +1
-1-@@ -167,6 +167,9 @@ static struct argp argp = +@@ -168,6 +168,9 @@ static struct argp argp = options, parse_opt,NULL , doc,NULL , more_help,NULL };@@ -80,7 +80,7 @@ index f54ec22..0e78a83 100644a platform. */ static intelf/rtld.c +1
-1-index 52160df..80f0582 100644 +index 647661c..4e16a43 100644elf/rtld.c +0
-0@@ -99,6 +99,7 @@ uintptr_t __pointer_chk_guard_local@@ -107,7 +107,7 @@ index 52160df..80f0582 100644 ++_dl_skip_args; --_dl_argc;sysdeps/generic/dl-cache.h +1
-1-index 70d4aeb..5c726d0 100644 +index eb2f900..505804e 100644sysdeps/generic/dl-cache.h +3
-13@@ -27,10 +27,6 @@@@ -121,16 +121,6 @@ index 70d4aeb..5c726d0 100644#ifndef add_system_dir# define add_system_dir (dir) add_dir (dir)#endif -Index: git/iconv/gconv_conf.c -=================================================================== ---- git.orig/iconv/gconv_conf.c -+++ git/iconv/gconv_conf.c -@@ -36,7 +36,7 @@ - - -/* This is the default path where we look for module lists. */ --static const char default_gconv_path[] = GCONV_PATH; -+static char default_gconv_path[4096] __attribute__ ((section (".gccrelocprefix"))) = GCONV_PATH; - -/* The path elements, as determined by the __gconv_get_path function. -All path elements end in a slash. */ +-- +2.8.2 +meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch +1
-1@@ -1,7 +1,7 @@ -From 2e1638115f0f924ee8235eee9265047054c15cfd Mon Sep 17 00:00:00 2001 +From a56e7aa2fd10b178b9498f88a7a2ca8aad671a53 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Thu, 31 Dec 2015 14:35:35 -0800meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch +1
-1-Subject: [PATCH 04/24] nativesdk-glibc: Allow 64 bit atomics for x86 +Subject: [PATCH 04/25] nativesdk-glibc: Allow 64 bit atomics for x86The fix consist of allowing 64bit atomic ops for x86. This should be safe for i586 and newer CPUs.
meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch +0
-0@@ -11,11 +11,13 @@ Signed-off-by: Juro Bystricky <[email protected]>Signed-off-by Richard Purdie <[email protected]>Signed-off-by Khem Raj <[email protected]>---
meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch +2
-0+Upstream-Status: Pending + sysdeps/i386/atomic-machine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sysdeps/i386/atomic-machine.h +1
-1-index 59f3d34..6f6b7ff 100644 +index ce62b33..4fe44ea 100644sysdeps/i386/atomic-machine.h +1
-2@@ -54,7 +54,7 @@ typedef uintmax_t uatomic_max_t;@@ -28,5 +30,5 @@ index 59f3d34..6f6b7ff 100644 -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch +1
-1@@ -1,7 +1,7 @@ -From 7ff57edfe24b4243373fcb896ee0b613938c1ec9 Mon Sep 17 00:00:00 2001 +From 450473ce27b47cebec2c5c5b611a8c8bed41e6e8 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:01:50 +0000meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch +1
-1-Subject: [PATCH 05/24] fsl e500/e5500/e6500/603e fsqrt implementation +Subject: [PATCH 05/25] fsl e500/e5500/e6500/603e fsqrt implementationUpstream-Status: Pending
Signed-off-by Edmar Wienskoski <[email protected]>meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch +2
-2@@ -1580,5 +1580,5 @@ index 0000000..04ff8cc@@ -0,0 +1 @@ +powerpc/powerpc64/e6500/fpu -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch +1
-1@@ -1,7 +1,7 @@ -From 61129ef3ee735b300604f75d50e01cb29f4387f4 Mon Sep 17 00:00:00 2001 +From bb065b78e9e0d3301e64a26e37550a657c885ebc Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:11:22 +0000meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch +1
-1-Subject: [PATCH 06/24] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known +Subject: [PATCH 06/25] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known namesThis bolts in a hook for OE to pass its own version of interpreter
meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch +0
-0@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+)elf/readlib.c +1
-1-index 7fd5b8a..2f5da9f 100644 +index 8a66ffe..08d56fc 100644elf/readlib.c +1
-2@@ -51,6 +51,7 @@ static struct known_names interpreters[] =@@ -29,5 +29,5 @@ index 7fd5b8a..2f5da9f 100644static struct known_names known_libs[] = -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch +1
-1@@ -1,7 +1,7 @@ -From f936548decac99501f9a4c522a3211d16542fa49 Mon Sep 17 00:00:00 2001 +From 4a91bbdb11a15f93094695bba4e0849c421fad48 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:15:07 +0000meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch +1
-1-Subject: [PATCH 07/24] ppc/sqrt: Fix undefined reference to `__sqrt_finite' +Subject: [PATCH 07/25] ppc/sqrt: Fix undefined reference to `__sqrt_finite'on ppc fixes the errors like below
| ./.libs/libpulsecore-1.1.so: undefined reference to `__sqrt_finite'meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch +2
-2@@ -204,5 +204,5 @@ index 26fa067..9d17512 100644 } +strong_alias (__ieee754_sqrtf, __sqrtf_finite) -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch +1
-1@@ -1,7 +1,7 @@ -From d02704895fdce917e337619a4414042f63edd88b Mon Sep 17 00:00:00 2001 +From ce2746a1560b4430d89d114e1b65c7be225b4c2a Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:16:38 +0000meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch +1
-1-Subject: [PATCH 08/24] __ieee754_sqrt{,f} are now inline functions and call +Subject: [PATCH 08/25] __ieee754_sqrt{,f} are now inline functions and call out __slow versionsUpstream-Status: Pending
meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch +2
-2@@ -383,5 +383,5 @@ index 9d17512..10de1f0 100644 + strong_alias (__ieee754_sqrtf, __sqrtf_finite) -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch +1
-1@@ -1,7 +1,7 @@ -From 502f061d846e58aac7aca67e4e0d6ba9e0763b17 Mon Sep 17 00:00:00 2001 +From 1b61649e545de76dd79a5e2c39bb16d0c4623160 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:20:09 +0000meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch +1
-1-Subject: [PATCH 09/24] Quote from bug 1443 which explains what the patch does +Subject: [PATCH 09/25] Quote from bug 1443 which explains what the patch does : We build some random program and link it with -lust. When we run it,@@ -45,7 +45,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-)sysdeps/arm/dl-machine.h +1
-1-index 6fb20bd..8805537 100644 +index 60eee00..7d54d5e 100644sysdeps/arm/dl-machine.h +1
-2@@ -499,7 +499,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,@@ -58,5 +58,5 @@ index 6fb20bd..8805537 100644case R_ARM_TLS_TPOFF32 : -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch +1
-1@@ -1,7 +1,7 @@ -From 69a3e30b49d28a7386d18725528652931510cbfc Mon Sep 17 00:00:00 2001 +From 91af416408b8718b004c83d93a6daa1f34cba48d Mon Sep 17 00:00:00 2001From: Ting Liu <[email protected]>
Date: Wed, 19 Dec 2012 04:39:57 -0600meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch +1
-1-Subject: [PATCH 10/24] eglibc: run libm-err-tab.pl with specific dirs in ${S} +Subject: [PATCH 10/25] eglibc: run libm-err-tab.pl with specific dirs in ${S}libm-err-tab.pl will parse all the files named "libm-test-ulps" in the given dir recursively. To avoid parsing the one in
meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch +0
-0@@ -10,7 +10,7 @@ ${S}/.pc/aarch64-0001-glibc-fsf-v1-eaf6f205.patch/ports/sysdeps/aarch64/libm-test-ulps), run libm-err-tab.pl with specific dirs in ${S}.
meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch +1
-1-Upstream-Status: Inappropriate [OE specific] +Upstream-Status: inappropriate [OE specific]Signed-off-by Ting Liu <[email protected]>---
meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch +0
-0@@ -18,7 +18,7 @@ Signed-off-by: Ting Liu <[email protected]> 1 file changed, 2 insertions(+), 1 deletion(-)manual/Makefile +1
-1-index cdb6763..0b32a0a 100644 +index f2f694f..e062833 100644manual/Makefile +1
-2@@ -105,7 +105,8 @@ $(objpfx)libm-err.texi: $(objpfx)stamp-libm-err@@ -32,5 +32,5 @@ index cdb6763..0b32a0a 100644 touch $@ -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch +1
-1@@ -1,7 +1,7 @@ -From 4cf52971a841304aec30b2e975f81d7ad9d42ef0 Mon Sep 17 00:00:00 2001 +From 6a71f688471fe0c85f8ad9afc4ee0723a20aae1d Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:24:46 +0000meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch +1
-1-Subject: [PATCH 11/24] __ieee754_sqrt{,f} are now inline functions and call +Subject: [PATCH 11/25] __ieee754_sqrt{,f} are now inline functions and call out __slow versionsUpstream-Status: Pending
meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch +1
-2@@ -57,5 +57,5 @@ index 8126535..10de1f0 100644 #endif { -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch +1
-1@@ -1,7 +1,7 @@ -From b356816d6e005ecda7adbed9627a4315ad39de39 Mon Sep 17 00:00:00 2001 +From f9d024edb158659e403b51cc9d93da9bca6e5d7b Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:25:45 +0000meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch +1
-1-Subject: [PATCH 12/24] Make ld --version output matching grok gold's output +Subject: [PATCH 12/25] Make ld --version output matching grok gold's outputadapted from from upstream branch roland/gold-vs-libc
meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch +0
-0@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 2 insertions(+), 2 deletions(-)configure +1
-1-index aa05d49..6dabd11 100755 +index 8fe5937..7888a3f 100755configure +1
-1-@@ -4486,7 +4486,7 @@ else +@@ -4482,7 +4482,7 @@ else # Found it, now check the version. { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5 $as_echo_n "checking version of $LD... " >&6; }@@ -27,10 +27,10 @@ index aa05d49..6dabd11 100755 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*)configure.ac +1
-1-index ee7a3f1..b4b95b9 100644 +index 3c766b7..6908a99 100644configure.ac +2
-3-@@ -948,7 +948,7 @@ AC_CHECK_PROG_VER(AS, $AS, --version, +@@ -944,7 +944,7 @@ AC_CHECK_PROG_VER(AS, $AS, --version, [2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*], AS=: critic_missing="$critic_missing as") AC_CHECK_PROG_VER(LD, $LD, --version,@@ -40,5 +40,5 @@ index ee7a3f1..b4b95b9 100644 LD=: critic_missing="$critic_missing ld") -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch +1
-1@@ -1,7 +1,7 @@ -From 10003d48f83f7a4f7fa562ed89af904a544b6323 Mon Sep 17 00:00:00 2001 +From 2ece12093c8ba4cf688d235f35d36f1feb02324c Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:27:10 +0000meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch +1
-1-Subject: [PATCH 13/24] sysdeps/gnu/configure.ac: handle correctly +Subject: [PATCH 13/25] sysdeps/gnu/configure.ac: handle correctly $libc_cv_rootsbindirUpstream-Status:Pending
meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch +1
-2@@ -38,5 +38,5 @@ index 634fe4d..3db1697 100644 ;; esac -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch +1
-1@@ -1,7 +1,7 @@ -From cafa8a7ef830e02cdbf928471e06d11054946940 Mon Sep 17 00:00:00 2001 +From 9fec083dc99d2b524090e1d098e03709eed64a72 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:28:41 +0000meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch +1
-1-Subject: [PATCH 14/24] Add unused attribute +Subject: [PATCH 14/25] Add unused attributeHelps in avoiding gcc warning when header is is included in a source file which does not use both functions
meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch +0
-0@@ -17,7 +17,7 @@ Upstream-Status: Pending 1 file changed, 1 insertion(+), 1 deletion(-)iconv/gconv_charset.h +1
-1-index 80290bc..7890a8e 100644 +index 95cbce7..191a0dd 100644iconv/gconv_charset.h +1
-2@@ -21,7 +21,7 @@@@ -30,5 +30,5 @@ index 80290bc..7890a8e 100644 {int slash_count =0 ; -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch +1
-1@@ -1,7 +1,7 @@ -From 4d6bead19874e519752ceeb2a15897ff2ffbe5e8 Mon Sep 17 00:00:00 2001 +From 1794a97cba0b09b726eebc565c783c7b7c22dfba Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:31:06 +0000meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch +1
-1-Subject: [PATCH 15/24] 'yes' within the path sets wrong config variables +Subject: [PATCH 15/25] 'yes' within the path sets wrong config variablesIt seems that the 'AC_EGREP_CPP(yes...' example is quite popular but being such a short word to grep it is likely to produce
meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch +0
-0@@ -165,7 +165,7 @@ index f05f438..dc86399 100644 ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)]) if test $libc_cv_nios2_be = yes; thensysdeps/unix/sysv/linux/mips/configure +1
-1-index dee56aa..f2049ed 100644 +index a5513fa..283b293 100644sysdeps/unix/sysv/linux/mips/configure +0
-0@@ -414,11 +414,11 @@ else@@ -183,7 +183,7 @@ index dee56aa..f2049ed 100644 else libc_cv_mips_nan2008=nosysdeps/unix/sysv/linux/mips/configure.ac +1
-1-index 45147c5..4224af1 100644 +index 9147aa4..7898e24 100644sysdeps/unix/sysv/linux/mips/configure.ac +1
-2@@ -105,9 +105,9 @@ AC_COMPILE_IFELSE(@@ -259,5 +259,5 @@ index 0822915..9a32fdd 100644 ], libc_cv_ppc64_def_call_elf=yes, libc_cv_ppc64_def_call_elf=no)]) if test $libc_cv_ppc64_def_call_elf = no; then -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch +1
-1@@ -1,7 +1,7 @@ -From 3e8586eb3509e2f0d6dfb74be8f89a30b06b56e9 Mon Sep 17 00:00:00 2001 +From fdb5c9c88e3d1bc5ae6ef9ebcfcf560d3c42f0a6 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:33:03 +0000meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch +1
-1-Subject: [PATCH 16/24] timezone: re-written tzselect as posix sh +Subject: [PATCH 16/25] timezone: re-written tzselect as posix shTo avoid the bash dependency.
meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch +0
-0@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 2 insertions(+), 2 deletions(-)timezone/Makefile +1
-1-index 99566cb..b6e757e 100644 +index dee7568..66a50be 100644timezone/Makefile +1
-1-@@ -122,7 +122,7 @@ $(testdata)/XT%: testdata/XT% +@@ -120,7 +120,7 @@ $(testdata)/XT%: testdata/XT% cp $< $@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make@@ -28,7 +28,7 @@ index 99566cb..b6e757e 100644 -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \ -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \timezone/tzselect.ksh +1
-1-index 9d70691..25f45a8 100755 +index 2c3b2f4..0c04a61 100755timezone/tzselect.ksh +4
-5@@ -35,7 +35,7 @@ [email protected]@@ -38,8 +38,8 @@ index 9d70691..25f45a8 100755 -: ${TZDIR=`pwd`} +: ${TZDIR=$(pwd)} - # Check for awk Posix compliance. - ($AWK -v x=y 'BEGIN { exit 123 }') </dev/null >/dev/null 2>&1 + # Output one argument as-is to standard output. + # Safer than 'echo', which can mishandle '\' or leading '-'. -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch +1
-1@@ -1,7 +1,7 @@ -From cd9d9fe7316f4ce4ca9d8e67e22f5718879535e4 Mon Sep 17 00:00:00 2001 +From 88ad88d014a5ee68b0e044d2def5ab13743c8ae0 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Thu, 31 Dec 2015 14:33:02 -0800meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch +1
-1-Subject: [PATCH 17/24] Remove bash dependency for nscd init script +Subject: [PATCH 17/25] Remove bash dependency for nscd init scriptThe nscd init script uses #!
/bin/bashbut only really uses one bashism (translated strings), so remove them and switch the shell to #!/bin/sh.meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch +0
-0@@ -9,6 +9,8 @@ The nscd init script uses #! /bin/bash but only really uses one bashismSigned-off-by Ross Burton <[email protected]>Signed-off-by Khem Raj <[email protected]>---
meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch +3
-2+Upstream-Status: Pending + nscd/nscd.init | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)@@ -69,5 +71,5 @@ index a882da7..b02986e 100644 ;; esac -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch +1
-1@@ -1,7 +1,7 @@ -From 8f554f4a1beb39182aad9cd9b5e1da69464dff7e Mon Sep 17 00:00:00 2001 +From 49c0ad7dc2e02e808ed150296a109b586c34115a Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:42:58 +0000meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch +1
-1-Subject: [PATCH 18/24] eglibc: Cross building and testing instructions +Subject: [PATCH 18/25] eglibc: Cross building and testing instructionsPorted from eglibc
Upstream-Status: Pendingmeta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch +3
-2@@ -615,5 +615,5 @@ index 0000000..b67b468 + simply place copies of these libraries in the top GLIBC build + directory. -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch +1
-1@@ -1,7 +1,7 @@ -From c2d49eab20db4ab02b6de62092fedc623d757146 Mon Sep 17 00:00:00 2001 +From e881face7a10354612bf634b44e09e3bc6462c67 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:49:28 +0000meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch +1
-1-Subject: [PATCH 19/24] eglibc: Help bootstrap cross toolchain +Subject: [PATCH 19/25] eglibc: Help bootstrap cross toolchainTaken from EGLIBC, r1484 + r1525
meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch +0
-0@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <[email protected]> create mode 100644 include/stubs-bootstrap.hMakefile +1
-1-index 9a01c93..a6ae003 100644 +index 32748b3..6d055ba 100644Makefile +3
-2@@ -69,9 +69,18 @@ subdir-dirs = include@@ -96,5 +96,5 @@ index 0000000..1d2b669 + EGLIBC subdir 'stubs' make targets, on every .o file in EGLIBC, but + an empty stubs.h like this will do fine for GCC. */ -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch +1
-1@@ -1,7 +1,7 @@ -From 588d936b9aa65e7cc8b1eb2cad1d209087db43a9 Mon Sep 17 00:00:00 2001 +From 723a31d3e2627211b39fbcc08f75b3c23c4096c5 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Thu, 31 Dec 2015 15:10:33 -0800meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch +1
-1-Subject: [PATCH 20/24] eglibc: cherry-picked from +Subject: [PATCH 20/25] eglibc: cherry-picked fromhttp://www.eglibc.org/archives/patches/msg00772.html
meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch +0
-0@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 13 insertions(+), 1 deletion(-)resolv/res_libc.c +1
-1-index a8394e0..981ac7c 100644 +index a4b376f..3256e12 100644resolv/res_libc.c +6
-8-@@ -18,6 +18,7 @@ +@@ -21,11 +21,13 @@#include <atomic.h> #include <limits.h> #include <sys/types.h> @@ -26,15 +26,13 @@ index a8394e0..981ac7c 100644#include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> -@@ -28,6 +29,7 @@ -out) since res_init() should go into libc.so but the rest of that -file should not. */ +#include <libc-lock.h> +__libc_lock_define_initialized (static, lock); extern unsigned long long int __res_initstamp attribute_hidden;/* We have atomic increment operations on 64-bit platforms. */ #if __WORDSIZE ==64 -@@ -35,7 +37,6 @@ extern unsigned long long int __res_initstamp attribute_hidden; +@@ -33,7 +35,6 @@ extern unsigned long long int __res_initstamp attribute_hidden;# define atomicincunlock (lock) (void) 0# define atomicinc (var) catomic_increment (&(var))#else @@ -42,7 +40,7 @@ index a8394e0..981ac7c 100644# define atomicinclock (lock) __libc_lock_lock (lock)# define atomicincunlock (lock) __libc_lock_unlock (lock)# define atomicinc (var) ++var -@@ -94,7 +95,18 @@ res_init(void) { +@@ -92,7 +93,18 @@ res_init(void) {int __res_maybe_init (res_state resp,int preinit) {@@ -62,5 +60,5 @@ index a8394e0..981ac7c 100644if (resp->nscount >0 )__res_iclose (resp, true); -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch +1
-1@@ -1,7 +1,7 @@ -From b74e34e6f53816ad57b13ba6fd70a97db1bc1eae Mon Sep 17 00:00:00 2001 +From 9699873820d0347c2f377f0d86bce615d87a5e47 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Thu, 31 Dec 2015 15:15:09 -0800meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch +1
-1-Subject: [PATCH 21/24] eglibc: Clear cache lines on ppc8xx +Subject: [PATCH 21/25] eglibc: Clear cache lines on ppc8xx2007-06-13 Nathan Sidwell <[email protected]>
Mark Shinwell <[email protected]>meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch +0
-0@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 28 insertions(+), 2 deletions(-)sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c +1
-1-index c2504ff..d50f1cb 100644 +index 98ec2b3..b384ae0 100644sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c +0
-0@@ -24,9 +24,21 @@ int __cache_line_size attribute_hidden;@@ -48,7 +48,7 @@ index c2504ff..d50f1cb 100644break ;sysdeps/unix/sysv/linux/powerpc/libc-start.c +1
-1-index 209a16d..5d8572d 100644 +index 0efd297..8cc0ef8 100644sysdeps/unix/sysv/linux/powerpc/libc-start.c +1
-2@@ -73,11 +73,25 @@ __libc_start_main (int argc, char **argv,@@ -79,5 +79,5 @@ index 209a16d..5d8572d 100644break ;#ifndef SHARED -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch +1
-1@@ -1,7 +1,7 @@ -From 8f483cb1f21ab6431ff99e8d30d56b91607ae918 Mon Sep 17 00:00:00 2001 +From 8904f4249c930d187e19c7e9d3e73c835d11e18f Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 00:55:53 +0000meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch +1
-1-Subject: [PATCH 22/24] eglibc: Resolve __fpscr_values on SH4 +Subject: [PATCH 22/25] eglibc: Resolve __fpscr_values on SH42010-09-29 Nobuhiro Iwamatsu <[email protected]>
Andrew Stubbs <[email protected]>meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch +0
-0@@ -33,7 +33,7 @@ index e0938c4..ca1d7da 100644 # a* alphasort64;sysdeps/unix/sysv/linux/sh/sysdep.S +1
-1-index a02b7e2..b9be326 100644 +index 0024d79..d1db7e4 100644sysdeps/unix/sysv/linux/sh/sysdep.S +3
-2@@ -30,3 +30,14 @@ ENTRY (__syscall_error)@@ -52,5 +52,5 @@ index a02b7e2..b9be326 100644 +weak_alias (___fpscr_values, __fpscr_values) + -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch +1
-1@@ -1,7 +1,7 @@ -From 58d424884eed7efde6c90af0cd7c6c37cf9b444a Mon Sep 17 00:00:00 2001 +From 1947f211fab4001e84bb52868cddbd401e597889 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 01:57:01 +0000meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch +1
-1-Subject: [PATCH 23/24] eglibc: Install PIC archives +Subject: [PATCH 23/25] eglibc: Install PIC archivesForward port from eglibc
meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch +0
-0@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 40 insertions(+), 2 deletions(-)Makerules +1
-1-index fa24030..1ff4634 100644 +index 53eabfa..1cd2a53 100644Makerules +1
-2@@ -694,6 +694,9 @@ ifeq ($(build-shared),yes)@@ -119,5 +119,5 @@ index fa24030..1ff4634 100644 install-no-libc.a-nosubdir: install-bin-nosubdir install-bin-script-nosubdir \ install-rootsbin-nosubdir install-sbin-nosubdir \ -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch renamed from meta/recipes-core/glibc/glibc/0025-eglibc-Forward-port-cross-locale-generation-support.patch +1
-1@@ -1,7 +1,7 @@ -From a5695930aec68b3f501e475d8705cddbb63f695e Mon Sep 17 00:00:00 2001 +From 11d7633178301add26a24657e2f1596a2f7dddce Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 18 Mar 2015 01:33:49 +0000meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch renamed from meta/recipes-core/glibc/glibc/0025-eglibc-Forward-port-cross-locale-generation-support.patch +1
-1-Subject: [PATCH 25/25] eglibc: Forward port cross locale generation support +Subject: [PATCH 24/25] eglibc: Forward port cross locale generation supportUpstream-Status: Pending
meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch renamed from meta/recipes-core/glibc/glibc/0025-eglibc-Forward-port-cross-locale-generation-support.patch +0
-0@@ -23,7 +23,7 @@ Signed-off-by: Khem Raj <[email protected]> create mode 100644 locale/catnames.clocale/Makefile +1
-1-index 75afbe1..d32523b 100644 +index c5379e6..c98c675 100644locale/Makefile +2
-0@@ -25,7 +25,8 @@ include ../Makeconfig@@ -91,7 +91,7 @@ index 0000000..9fad357 + [LC_ALL] = sizeof ("LC_ALL") - 1 + };locale/localeinfo.h +1
-1-index 789da44..4ac9249 100644 +index 94627f3..d0db77b 100644locale/localeinfo.h +0
-0@@ -224,7 +224,7 @@ __libc_tsd_define (extern, __locale_t, LOCALE)@@ -104,7 +104,7 @@ index 789da44..4ac9249 100644# define NL_CURRENT_INDIRECT 1#endif locale/programs/charmap-dir.c +1
-1-index cf7adea..ef3b811 100644 +index 99fcd35..5e528dc 100644locale/programs/charmap-dir.c +0
-0@@ -19,7 +19,9 @@@@ -150,7 +150,7 @@ index cf7adea..ef3b811 100644return NULL ; }locale/programs/ld-collate.c +1
-1-index dc0fe30..3c88c6d 100644 +index 1e125f6..3b2867f 100644locale/programs/ld-collate.c +0
-0@@ -350,7 +350,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen,@@ -199,7 +199,7 @@ index dc0fe30..3c88c6d 100644 == runp->wcnext->wcs[runp->nwcs - 1] + 1));locale/programs/ld-ctype.c +1
-1-index 3f464ef..b7b6b51 100644 +index 0fd141c..68136e6 100644locale/programs/ld-ctype.c +0
-0@@ -926,7 +926,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap,@@ -281,7 +281,7 @@ index 3f464ef..b7b6b51 100644 srunp = srunp->next; }locale/programs/ld-time.c +1
-1-index db490c6..75dc505 100644 +index 87531bc..5f2c266 100644locale/programs/ld-time.c +1
-1@@ -215,8 +215,10 @@ No definition for %s category found"), "LC_TIME"));@@ -331,7 +331,7 @@ index db490c6..75dc505 100644 }else time->era_entries[idx].wname = -@@ -530,7 +532,16 @@ No definition for %s category found"), "LC_TIME")); +@@ -534,7 +536,16 @@ No definition for %s category found"), "LC_TIME")); if (time->date_fmt ==NULL ) time->date_fmt = "%a %b %e %H:%M:%S %Z %Y";if (time->wdate_fmt ==NULL )@@ -350,7 +350,7 @@ index db490c6..75dc505 100644locale/programs/linereader.c +1
-1-index 2e05130..653b68c 100644 +index b885f65..0afb631 100644locale/programs/linereader.c +0
-0@@ -595,7 +595,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap,@@ -363,7 +363,7 @@ index 2e05130..653b68c 100644size_t bufmax =56 ;locale/programs/localedef.c +1
-1-index fd6ca51..328d36c 100644 +index 6becd9a..8ddd080 100644locale/programs/localedef.c +0
-0@@ -114,6 +114,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;@@ -409,7 +409,7 @@ index fd6ca51..328d36c 100644 force_output =1 ;break ;locale/programs/locfile.c +1
-1-index 33da52e..f790c4c 100644 +index 32f5cd2..02967b0 100644locale/programs/locfile.c +0
-0@@ -544,6 +544,9 @@ compare_files (const char *filename1, const char *filename2, size_t size,@@ -432,7 +432,7 @@ index 33da52e..f790c4c 100644/* Record that FILE's next element is the 32-bit integer VALUE. */ locale/programs/locfile.h +1
-1-index 6fc441b..118b171 100644 +index a3dd904..2c7763a 100644locale/programs/locfile.h +1
-0@@ -71,6 +71,8 @@ extern void write_all_categories (struct localedef_t *definitions,@@ -521,7 +521,7 @@ index 6fc441b..118b171 100644 +#endif /* locfile.h */ locale/setlocale.c +1
-1-index ead030d..b551332 100644 +index 69b3141..1cef0be 100644locale/setlocale.c +1
-2@@ -64,36 +64,6 @@ static char *const _nl_current_used[] =@@ -562,5 +562,5 @@ index ead030d..b551332 100644# define WEAK_POSTLOAD (postload) weak_extern (postload)#else -- -2.6.4 +2.8.2meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch new file +32
-0@@ -0,0 +1,32 @@ +From 89ec25290d34413ce5c8ba6c378e31dbae3a37c0 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Wed, 20 Apr 2016 21:11:00 -0700 +Subject: [PATCH 25/25] Define DUMMY_LOCALE_T if not defined + +This is a hack to fix building the locale bits on an older +CentOs 5.X machine + +Upstream-Status: Inappropriate [other] + +Signed-off-by: Khem Raj <[email protected]> +--- + locale/programs/config.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/locale/programs/config.h b/locale/programs/config.h +index f606365..0e5f8c3 100644 +--- a/locale/programs/config.h ++++ b/locale/programs/config.h +@@ -19,6 +19,9 @@ + #ifndef _LD_CONFIG_H + #define _LD_CONFIG_H 1 + ++#ifndef DUMMY_LOCALE_T ++#define DUMMY_LOCALE_T ++#endif + /* Use the internal textdomain used for libc messages. */ + #define PACKAGE _libc_intl_domainname + #ifndef VERSION +-- +2.8.2 +meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch deleted +0
-48@@ -1,48 +0,0 @@ -From 97fe7f1b23ea1f17533884b8fa7f7eb40087d558 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Tue, 5 Jan 2016 17:50:00 -0800 -Subject: [PATCH] When disabling SSE, make sure -fpmath is not set to use SSE - either - -This fixes errors when we inject sse options through CFLAGS and now -that we have -Werror turned on by default this warning turns to become -error on x86 - -gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -x c /dev/null -S --mno-sse -mno-mmx - -generates warning -/dev/null:1:0: warning: SSE instruction set disabled, using 387 -arithmetics - -where as - -gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -x c /dev/null -S --mno-sse -mno-mmx -mfpmath=387 - -Generates no warnings - -Signed-off-by: Khem Raj <[email protected]> ---- -Upstream-Status: Submitted - - ChangeLog | 5 +++++ - sysdeps/i386/Makefile | 2 +- - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile -index 168512f..70153b3 100644 ---- a/sysdeps/i386/Makefile -+++ b/sysdeps/i386/Makefile -@@ -89,7 +89,7 @@ ifeq ($(subdir),elf) - # the first 3 mm/xmm/ymm/zmm registers are used to pass vector parameters - # which must be preserved. - CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\ -- -mno-sse -mno-mmx) -+ -mno-sse -mno-mmx -mfpmath=387) - - tests-special += $(objpfx)tst-ld-sse-use.out - $(objpfx)tst-ld-sse-use.out: ../sysdeps/i386/tst-ld-sse-use.sh $(objpfx)ld.so --- -2.6.4 -meta/recipes-core/glibc/glibc_2.24.bb renamed from meta/recipes-core/glibc/glibc_2.23.bb +0
-0@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \DEPENDS += "gperf-native"
meta/recipes-core/glibc/glibc_2.24.bb renamed from meta/recipes-core/glibc/glibc_2.23.bb +3
-2-SRCREV ?= "e742928c1592b43db6809db4f39e67be151cdd27" +SRCREV ?= "1ac3eaa6bcc473a56340c24511786ff48a91293e" -SRCBRANCH ?= "release/${PV}/master" +#SRCBRANCH ?= "release/${PV}/master" +SRCBRANCH ?= "master"
GLIBC_GIT_URI?= "git://sourceware.org/git/glibc.git"UPSTREAM_CHECK_GITTAGREGEX= "(?P<pver>\d+\.\d+(\.\d+)*)"meta/recipes-core/glibc/glibc_2.24.bb renamed from meta/recipes-core/glibc/glibc_2.23.bb +2
-2@@ -34,8 +35,8 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \ file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \ file://0023-eglibc-Install-PIC-archives.patch \ - file://0025-eglibc-Forward-port-cross-locale-generation-support.patch \ - file://0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch \ + file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \ + file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \"
SRC_URI+= "\meta/recipes-core/glibc/glibc_2.24.bb renamed from meta/recipes-core/glibc/glibc_2.23.bb +0
-0@@ -59,8 +60,7 @@ PACKAGES_DYNAMIC = ""
BUILD_CPPFLAGS= "-I${STAGING_INCDIR_NATIVE}"TARGET_CPPFLAGS= "-I${STAGING_DIR_TARGET}${includedir}"meta/recipes-core/glibc/glibc_2.24.bb renamed from meta/recipes-core/glibc/glibc_2.23.bb +1
-2-GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1" - +GLIBC_BROKEN_LOCALES = ""#
# We will skip parsing glibc when target system C library selection is not glibc# this helps in easing out parsing for non-glibc system libraries -- 2.8.2
PATCH 3/42 glib-2.0: Ignore useless warning found with gcc-6
In reply to Khem Raj../../glib-2.46.2/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
^~~~~~| ../../../../../../../../workspace/sources/glib-2.0/glib/tests/gdatetime.c: In function 'test_strftime': | ../../../../../../../../workspace/sources/glib-2.0/glib/tests/gdatetime.c:1338:3: error: '%c' yields only last 2 digits of year in some locales [-Werror=format-y2k] | "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \
Additionally fix the problem seen where write() return code is ignored
--- .../0001-Do-not-ignore-return-value-of-write.patch | 42 ++++++++++++++++++++++ .../glib-2.0/0002-tests-Ignore-y2k-warnings.patch | 42 ++++++++++++++++++++++ .../ignore-format-nonliteral-warning.patch | 39 ++++++++++++++++++++ meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb | 7 ++-- 4 files changed, 128 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/ignore-format-nonliteral-warning.patch
meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch new file +42 -0
@@ -0,0 +1,42 @@ +From d6501b107940e9f548c89236d773c6d33c15a5c9 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sat, 16 Apr 2016 13:28:59 -0700 +Subject: [PATCH 1/2] Do not ignore return value of write() + +gcc warns about ignoring return value when compiling +with fortify turned on. + +assert when write() fails + +Signed-off-by: Khem Raj <[email protected]> +--- +Upstream-Status: Submitted + + glib/tests/unix.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/glib/tests/unix.c b/glib/tests/unix.c +index 3543458..4e7ed85 100644 +--- a/glib/tests/unix.c ++++ b/glib/tests/unix.c +@@ -32,14 +32,15 @@ test_pipe (void) + GError *error = NULL; + int pipefd[2]; + char buf[1024]; +- ssize_t bytes_read; ++ ssize_t bytes_read, bytes_written; + gboolean res; + + res = g_unix_open_pipe (pipefd, FD_CLOEXEC, &error); + g_assert (res); + g_assert_no_error (error); + +- write (pipefd[1], "hello", sizeof ("hello")); ++ bytes_written = write (pipefd[1], "hello", sizeof ("hello")); ++ g_assert (bytes_written != -1 && "write() failed"); + memset (buf, 0, sizeof (buf)); + bytes_read = read (pipefd[0], buf, sizeof(buf) - 1); + g_assert_cmpint (bytes_read, >, 0); +-- +2.8.0 +
meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch new file +42 -0
42 lines not on this page · raw message
meta/recipes-core/glib-2.0/glib-2.0/ignore-format-nonliteral-warning.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 8cdbc7fb2c8c876902e457abe46ee18a0b134486 Mon Sep 17 00:00:00 2001 +From: coypu <[email protected]> +Date: Wed, 2 Mar 2016 19:38:48 +0200 +Subject: gdate: Move warning pragma outside of function + +Commit 0817af40e8c74c721c30f6ef482b1f53d12044c7 breaks the build on +older versions of GCC, which don't allow pragma inside functions. + +https://bugzilla.gnome.org/761550 +--- +Upstream-Status: Backport +Signed-off-by: Khem Raj <[email protected]> + + glib/gdate.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +diff --git a/glib/gdate.c b/glib/gdate.c +index cdc735c..92c34d2 100644 +--- a/glib/gdate.c ++++ b/glib/gdate.c +@@ -2439,6 +2439,9 @@ win32_strftime_helper (const GDate *d, + * + * Returns: number of characters written to the buffer, or 0 the buffer was too small + */ ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wformat-nonliteral" ++ + gsize + g_date_strftime (gchar *s, + gsize slen, +@@ -2552,3 +2552,5 @@ g_date_strftime (gchar *s, + return retval; + #endif + } ++ ++#pragma GCC diagnostic pop +-- +cgit v0.12 +
meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb +5 -2
@@ -13,11 +13,14 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ file://uclibc_musl_translation.patch \ file://0001-configure.ac-Do-not-use-readlink-when-cross-compilin.patch \ file://allow-run-media-sdX-drive-mount-if-username-root.patch \ - file://0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch \ + file://0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch \ file://Enable-more-tests-while-cross-compiling.patch \ file://gi-exclude.patch \ file://0001-Install-gio-querymodules-as-libexec_PROGRAM.patch \ - " + file://ignore-format-nonliteral-warning.patch \ + file://0001-Do-not-ignore-return-value-of-write.patch \ + file://0002-tests-Ignore-y2k-warnings.patch \ + " SRC_URI_append_class-native = " file://glib-gettextize-dir.patch \ file://relocate-modules.patch"
Signature · 1 line
2.8.2
PATCH 4/42 elfutils: Upgrade to 0.166
In reply to Khem RajHas many fixes for compiling it with gcc-6
---
...ferences-between-mips-machine-identifiers.patch | 0
...de-alternatives-for-glibc-assumptions-hel.patch | 488 ++++++++++-----------
...m-Silence-Werror-maybe-uninitialized-fals.patch | 0
.../0001-fix-a-stack-usage-warning.patch | 0
.../0001-remove-the-unneed-checking.patch | 0
...-support-for-mips64-abis-in-mips_retval.c.patch | 0
.../0003-Add-mips-n64-relocation-format-hack.patch | 0
.../aarch64_uio.patch | 0
.../arm_backend.diff | 0
.../elfcmp-fix-self-comparision.patch | 41 ++
.../fixheadercheck.patch | 0
.../hppa_backend.diff | 0
.../kfreebsd_path.patch | 0
.../m68k_backend.diff | 0
.../mips_backend.diff | 0
.../mips_readelf_w.patch | 0
.../shadow.patch | 0
.../testsuite-ignore-elflint.diff | 0
.../uclibc-support.patch | 37 +-
.../{elfutils_0.164.bb => elfutils_0.166.bb} | 6 +-
20 files changed, 306 insertions(+), 266 deletions(-)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-Ignore-differences-between-mips-machine-identifiers.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch (71%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-fix-a-stack-usage-warning.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-remove-the-unneed-checking.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0003-Add-mips-n64-relocation-format-hack.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/aarch64_uio.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/arm_backend.diff (100%)
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.166/elfcmp-fix-self-comparision.patch
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/fixheadercheck.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/hppa_backend.diff (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/kfreebsd_path.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/m68k_backend.diff (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/mips_backend.diff (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/mips_readelf_w.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/shadow.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/testsuite-ignore-elflint.diff (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/uclibc-support.patch (82%)
rename meta/recipes-devtools/elfutils/{elfutils_0.164.bb => elfutils_0.166.bb} (94%)meta/recipes-devtools/elfutils/elfutils-0.166/0001-Ignore-differences-between-mips-machine-identifiers.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0001-Ignore-differences-between-mips-machine-identifiers.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch +244 -244
1,041 lines not on this page · raw message
meta/recipes-devtools/elfutils/elfutils-0.166/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/0001-fix-a-stack-usage-warning.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0001-fix-a-stack-usage-warning.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/0001-remove-the-unneed-checking.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0001-remove-the-unneed-checking.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/0003-Add-mips-n64-relocation-format-hack.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/0003-Add-mips-n64-relocation-format-hack.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/aarch64_uio.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/aarch64_uio.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/arm_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.164/arm_backend.diff +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/elfcmp-fix-self-comparision.patch new file +41 -0
41 lines not on this page · raw message
meta/recipes-devtools/elfutils/elfutils-0.166/fixheadercheck.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/fixheadercheck.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/hppa_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.164/hppa_backend.diff +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/kfreebsd_path.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/m68k_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.164/m68k_backend.diff +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/mips_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.164/mips_backend.diff +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/mips_readelf_w.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/mips_readelf_w.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/shadow.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/shadow.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/testsuite-ignore-elflint.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.164/testsuite-ignore-elflint.diff +0 -0
meta/recipes-devtools/elfutils/elfutils-0.166/uclibc-support.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.164/uclibc-support.patch +18 -19
@@ -25,11 +25,11 @@ Signed-off-by: Junling Zheng <[email protected]> libelf/Makefile.am | 5 +++++ 4 files changed, 23 insertions(+), 1 deletion(-) -Index: elfutils-0.164/configure.ac +Index: elfutils-0.166/configure.ac =================================================================== ---- elfutils-0.164.orig/configure.ac -+++ elfutils-0.164/configure.ac -@@ -66,6 +66,14 @@ AS_IF([test "$use_locks" = yes], +--- elfutils-0.166.orig/configure.ac ++++ elfutils-0.166/configure.ac +@@ -79,6 +79,14 @@ AS_IF([test "$use_locks" = yes], AH_TEMPLATE([USE_LOCKS], [Defined if libraries should be thread-safe.])
@@ -44,7 +44,7 @@ Index: elfutils-0.164/configure.ac AC_PROG_CC AC_PROG_RANLIB AC_PROG_YACC -@@ -291,18 +299,13 @@ AC_LINK_IFELSE( +@@ -347,18 +355,13 @@ AC_LINK_IFELSE( ) dnl If our libc doesn't provide argp, then test for libargp
@@ -70,10 +70,10 @@ Index: elfutils-0.164/configure.ac AC_SUBST([argp_LDADD]) dnl The directories with content. -Index: elfutils-0.164/libcpu/Makefile.am +Index: elfutils-0.166/libcpu/Makefile.am =================================================================== ---- elfutils-0.164.orig/libcpu/Makefile.am -+++ elfutils-0.164/libcpu/Makefile.am +--- elfutils-0.166.orig/libcpu/Makefile.am ++++ elfutils-0.166/libcpu/Makefile.am @@ -80,6 +80,10 @@ i386_parse_CFLAGS = -DNMNES="`wc -l < i3 i386_lex.o: i386_parse.h i386_gendis_LDADD = $(libeu) -lm
@@ -85,10 +85,10 @@ Index: elfutils-0.164/libcpu/Makefile.am i386_parse.h: i386_parse.c ; EXTRA_DIST = defs/i386 -Index: elfutils-0.164/libdw/Makefile.am +Index: elfutils-0.166/libdw/Makefile.am =================================================================== ---- elfutils-0.164.orig/libdw/Makefile.am -+++ elfutils-0.164/libdw/Makefile.am +--- elfutils-0.166.orig/libdw/Makefile.am ++++ elfutils-0.166/libdw/Makefile.am @@ -102,6 +102,11 @@ endif libdw_pic_a_SOURCES = am_libdw_pic_a_OBJECTS = $(libdw_a_SOURCES:.c=.os)
@@ -105,21 +105,20 @@ Index: elfutils-0.164/libdw/Makefile.am -Wl,--enable-new-dtags,-rpath,$(pkglibdir) \ -Wl,--version-script,$<,--no-undefined \ -Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\ -- -ldl $(argp_LDADD) $(zip_LIBS) -+ -ldl $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS) +- -ldl -lz $(argp_LDADD) $(zip_LIBS) ++ -ldl -lz $(argp_LDADD) $(zip_LIBS) $(libdw_so_LDLIBS) @$(textrel_check) $(AM_V_at)ln -fs $@ $@.$(VERSION) -Index: elfutils-0.164/libelf/Makefile.am +Index: elfutils-0.166/libelf/Makefile.am =================================================================== ---- elfutils-0.164.orig/libelf/Makefile.am -+++ elfutils-0.164/libelf/Makefile.am -@@ -93,7 +93,12 @@ libelf_a_SOURCES = elf_version.c elf_has - libelf_pic_a_SOURCES = +--- elfutils-0.166.orig/libelf/Makefile.am ++++ elfutils-0.166/libelf/Makefile.am +@@ -96,6 +96,11 @@ libelf_pic_a_SOURCES = am_libelf_pic_a_OBJECTS = $(libelf_a_SOURCES:.c=.os) + libelf_so_LDLIBS = -lz + - libelf_so_LDLIBS = +if USE_UCLIBC +libelf_so_LDLIBS += -lintl +endif
meta/recipes-devtools/elfutils/elfutils_0.166.bb renamed from meta/recipes-devtools/elfutils/elfutils_0.164.bb +3 -3
@@ -7,9 +7,8 @@ DEPENDS = "libtool bzip2 zlib virtual/libintl" DEPENDS_append_libc-musl = " argp-standalone fts " SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/${PV}/${BP}.tar.bz2" - -SRC_URI[md5sum] = "2e4536c1c48034f188a80789a59114d8" -SRC_URI[sha256sum] = "9683c025928a12d06b7fe812928aa6235249e22d197d086f7084606a48165900" +SRC_URI[md5sum] = "d4e462b7891915dc5326bccefa2024ff" +SRC_URI[sha256sum] = "3c056914c8a438b210be0d790463b960fc79d234c3f05ce707cbff80e94cba30" SRC_URI += "\ file://dso-link-change.patch \
@@ -36,6 +35,7 @@ SRC_URI += "\ file://0002-Add-support-for-mips64-abis-in-mips_retval.c.patch \ file://0003-Add-mips-n64-relocation-format-hack.patch \ file://uclibc-support.patch \ + file://elfcmp-fix-self-comparision.patch \ " SRC_URI_append_libc-musl = " file://0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch "
Signature · 1 line
2.8.2
PATCH 5/42 rpm: Fix build with gcc6
In reply to Khem Raj--- meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch | 54 +++++++++++++++++++++++++ meta/recipes-devtools/rpm/rpm_5.4.16.bb | 3 +- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch
meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch new file +54 -0
@@ -0,0 +1,54 @@ +gcc6 has fixed a long standing c++ include issue where <cheader> +was different from <header.h> inclusion via + +https://gcc.gnu.org/ml/libstdc++/2016-01/msg00025.html + +and its also descibed in https://gcc.gnu.org/gcc-6/porting_to.html +rpmio component uses some .cpp and .cc fies which need to use +C stdlib.h from C library and not the C++ libstdc++ header +therefore we pass _GLIBCXX_INCLUDE_NEXT_C_HEADERS so that it +keeps the old behavior + +/a/build/tmp/sysroots/raspberrypi2/usr/include/c++/6.0.1/cstdlib:143:11: error: '::getenv' has not been declared + using ::getenv; + ^~~~~~ +In file included from ../../rpm-5.4.15/system.h:201:0, + from ../../rpm-5.4.15/rpmio/rpmjs.cpp:1: +/a/build/tmp/sysroots/raspberrypi2/usr/include/c++/6.0.1/stdlib.h:62:12: error: 'std::getenv' has not been declared + using std::getenv; + +Upstream-Status: Pending +Signed-off-by: Khem Raj <[email protected]> + +Index: rpm-5.4.15/rpmio/Makefile.am +=================================================================== +--- rpm-5.4.15.orig/rpmio/Makefile.am ++++ rpm-5.4.15/rpmio/Makefile.am +@@ -151,7 +151,7 @@ librpmio_la_SOURCES = \ + groestl.c hamsi.c jh.c keccak.c lane.c luffa.c md2.c md6.c radiogatun.c\ + salsa10.c salsa20.c shabal.c shavite3.c simd.c skein.c tib3.c tiger.c \ + rpmgit.c rpmio-stub.c \ +- rpmjs.cpp rpmjsio.c rpmkeyring.c \ ++ rpmjni.cc rpmjs.cpp rpmjsio.c rpmkeyring.c \ + rpmnix.c rpmodbc.c rpmsql.c set.c \ + ar.c \ + argv.c \ +@@ -195,7 +195,6 @@ librpmio_la_SOURCES = \ + rpmhook.c \ + rpmio.c \ + rpmiob.c \ +- rpmjni.cc \ + rpmku.c \ + rpmlog.c \ + rpmltc.c \ +@@ -279,7 +278,9 @@ keccak.lo: $(top_srcdir)/rpmio/keccak.c + #rpmjs.lo: $(top_srcdir)/rpmio/rpmjs.c + # @$(LTCOMPILE) -O0 -c $< + rpmjs.lo: $(top_srcdir)/rpmio/rpmjs.cpp +- @$(LTCOMPILE) -O0 -c $< ++ @$(LTCOMPILE) -O0 -c -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS $< ++rpmjni.lo: $(top_srcdir)/rpmio/rpmjni.cc ++ @$(LTCOMPILE) -O0 -c -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS $< + + YACC = byacc -d + getdate.c: getdate.y
meta/recipes-devtools/rpm/rpm_5.4.16.bb +2 -1
@@ -116,6 +116,7 @@ SRC_URI += " \ file://rpm-fix-lua-tests-compilation-failure.patch \ file://rpmqv.c-check-_gpg_passphrase-before-ask-for-input.patch \ file://0001-Disable-__sync_add_and_fetch_8-on-nios2.patch \ + file://gcc6-stdlib.patch \ " # OE specific changes
@@ -344,7 +345,7 @@ EXTRA_OECONF += "--verbose \ --program-prefix= \ YACC=byacc" -CFLAGS_append = " -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY -DRPM_VENDOR_OE" +CFLAGS_append = " -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY -DRPM_VENDOR_OE -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS" LDFLAGS_append_libc-uclibc = "-lrt -lpthread"
Signature · 1 line
2.8.2
PATCH 6/42 alsa-tools: Fix build with gcc6
In reply to Khem Rajbb.utils.contains was spread over multiple lines collapse it into single line, make it more readable
--- ...idi-Explicitly-cast-constant-to-char-type.patch | 75 ++++++++++++++++++++++ meta/recipes-multimedia/alsa/alsa-tools_1.1.0.bb | 6 +- 2 files changed, 78 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-multimedia/alsa/alsa-tools/0001-Cus428Midi-Explicitly-cast-constant-to-char-type.patch
meta/recipes-multimedia/alsa/alsa-tools/0001-Cus428Midi-Explicitly-cast-constant-to-char-type.patch new file +75 -0
@@ -0,0 +1,75 @@ +From 1cc0aa4dbd3c7f1267809e0e1ca57d46f4803bfd Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sun, 17 Apr 2016 23:25:18 +0000 +Subject: [PATCH] Cus428Midi: Explicitly cast constant to char type + +This is flagged by gcc6 +Cus428Midi.cc:83:1: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] + +Signed-off-by: Khem Raj <[email protected]> +--- +Upstream-Status: Pending + + us428control/Cus428Midi.cc | 30 +++++++++++++++--------------- + 1 file changed, 15 insertions(+), 15 deletions(-) + +diff --git a/us428control/Cus428Midi.cc b/us428control/Cus428Midi.cc +index b9e6783..bef7bb1 100644 +--- a/us428control/Cus428Midi.cc ++++ b/us428control/Cus428Midi.cc +@@ -32,22 +32,22 @@ char Cus428Midi::KnobParam[] = { + 0x2A, + 0x29, + 0x28, +- -1, ++ static_cast<char>(-1), + 0x10, + 0x11, + 0x18, + 0x19, + 0x1A, +- -1, +- -1, +- -1, +- -1, ++ static_cast<char>(-1), ++ static_cast<char>(-1), ++ static_cast<char>(-1), ++ static_cast<char>(-1), + 0x2C, + 0x2D, + 0x2E, + 0x2F, +- -1, +- -1, ++ static_cast<char>(-1), ++ static_cast<char>(-1), + 0x20, + 0x21, + 0x22, +@@ -64,14 +64,14 @@ char Cus428Midi::KnobParam[] = { + 5, + 6, + 7, +- -1, +- -1, +- -1, +- -1, +- -1, +- -1, +- -1, +- -1, ++ static_cast<char>(-1), ++ static_cast<char>(-1), ++ static_cast<char>(-1), ++ static_cast<char>(-1), ++ static_cast<char>(-1), ++ static_cast<char>(-1), ++ static_cast<char>(-1), ++ static_cast<char>(-1), + 0x30, + 0x31, + 0x32, +-- +1.9.1 +
meta/recipes-multimedia/alsa/alsa-tools_1.1.0.bb +3 -3
@@ -10,11 +10,11 @@ LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae1 SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/${BP}.tar.bz2 \ file://autotools.patch \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ - 'file://makefile_no_gtk.patch', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'file://makefile_no_gtk.patch', d)} \ file://gitcompile_hdajacksensetest \ file://0001-as10k1-Make-output_tram_line-static-inline.patch \ - " + file://0001-Cus428Midi-Explicitly-cast-constant-to-char-type.patch \ + " SRC_URI[md5sum] = "b476a5afaa3ea3230855553ad59d259d" SRC_URI[sha256sum] = "7d34558c590a50294b36576d257316a1ac5cd951eb8cd7d330e09f8cc757ab51"
Signature · 1 line
2.8.2
PATCH 7/42 lzop: Fix build with gcc-6
In reply to Khem Raj--- .../recipes-support/lzop/lzop/lzop-1.03-gcc6.patch | 37 ++++++++++++++++++++++ meta/recipes-support/lzop/lzop_1.03.bb | 6 ++-- 2 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-support/lzop/lzop/lzop-1.03-gcc6.patch
meta/recipes-support/lzop/lzop/lzop-1.03-gcc6.patch new file +37 -0
@@ -0,0 +1,37 @@ +gcc-6 has additional errors e.g. + +./test.c:1:12: error: variably modified '__acc_cta' at file scope + extern int __acc_cta[1-2*!((1l << (8*8 -1)) < 0)]; + ^~~~~~~~~ + +This is rightly pointed out since that index is undefined + +Signed-off-by: Khem Raj <[email protected]> +Upstream-Status: Pending + +--- a/src/miniacc.h.orig 2016-02-10 16:09:23.247315866 +0100 ++++ a/src/miniacc.h 2016-02-10 16:12:14.973297054 +0100 +@@ -4469,12 +4469,12 @@ + #if defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0150) + #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) + #else +- ACCCHK_ASSERT((1 << (8*SIZEOF_INT-1)) < 0) ++ ACCCHK_ASSERT((int)(1u << (8*SIZEOF_INT-1)) < 0) + #endif + ACCCHK_ASSERT((1u << (8*SIZEOF_INT-1)) > 0) + #if 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) + #else +- ACCCHK_ASSERT((1l << (8*SIZEOF_LONG-1)) < 0) ++ ACCCHK_ASSERT((long)(1ul << (8*SIZEOF_LONG-1)) < 0) + #endif + ACCCHK_ASSERT((1ul << (8*SIZEOF_LONG-1)) > 0) + #if defined(acc_int16e_t) +@@ -4703,7 +4703,7 @@ + #elif 1 && (ACC_CC_LCC || ACC_CC_LCCWIN32) && !defined(ACCCHK_CFG_PEDANTIC) + #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) + #elif !(ACC_BROKEN_INTEGRAL_PROMOTION) && (SIZEOF_INT > 1) +- ACCCHK_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0) ++ ACCCHK_ASSERT( (int)((unsigned int)((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0) + #endif + #if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0530) && (__BORLANDC__ < 0x0560)) + # pragma option pop
meta/recipes-support/lzop/lzop_1.03.bb +3 -3
@@ -15,15 +15,15 @@ SRC_URI = "http://www.lzop.org/download/${BP}.tar.gz \ file://acinclude.m4 \ file://x32_abi_miniacc_h.patch \ file://0001-use-static-inlines-as-the-external-inline-definition.patch \ + file://lzop-1.03-gcc6.patch \ " SRC_URI[md5sum] = "006c5e27fb78cdd14a628fdfa5aa1905" SRC_URI[sha256sum] = "c1425b8c77d49f5a679d5a126c90ea6ad99585a55e335a613cae59e909dbb2c9" inherit autotools -do_configure () { - ln -sf ../acinclude.m4 ${S}/acinclude.m4 - autotools_do_configure +do_configure_prepend () { + install -Dm 0644 ${WORKDIR}/acinclude.m4 ${S}/acinclude.m4 } BBCLASSEXTEND += "native nativesdk"
Signature · 1 line
2.8.2
PATCH 8/42 webkitgtk: Upgrade to 2.12.1
In reply to Khem RajFix build with gcc-6
Do not tinker with -isystem, this causes issues where gcc does not find standard C++ headers since the default search ordered for system headers is changed and is not correct anymore. Errorr like
WebCore/editing/gtk/EditorGtk.cpp:27:/mnt/oe/poky/build/tmp/sysroots/qemuarm/usr/include/c++/6.0.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
It brings a patch to fix typename mismatch
for pow()
see
https://bugs.webkit.org/show_bug.cgi?id=153071
Drop upstreamed patches
User -fPIC on aarch64 to fix
relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 against symbol `__stack_chk_guard@@GLIBC_2.17' defined in .data.rel.ro section
---
...cmake-drop-the-hardcoded-introspection-gt.patch | 19 +-
...bKitMacros-Append-to-I-and-not-to-isystem.patch | 223 +++++++++++++++++++++
...ng-introspection-files-add-CMAKE_C_FLAGS-.patch | 19 +-
meta/recipes-sato/webkit/files/musl-fixes.patch | 48 +++++
...nable-backtrace-on-linux-when-using-glibc.patch | 39 ----
...x-build-with-non-glibc-libraries-on-linux.patch | 61 ------
meta/recipes-sato/webkit/webkitgtk/clang.patch | 25 ---
.../{webkitgtk_2.10.7.bb => webkitgtk_2.12.1.bb} | 12 +-
8 files changed, 294 insertions(+), 152 deletions(-)
create mode 100644 meta/recipes-sato/webkit/files/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
create mode 100644 meta/recipes-sato/webkit/files/musl-fixes.patch
delete mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-Enable-backtrace-on-linux-when-using-glibc.patch
delete mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-non-glibc-libraries-on-linux.patch
delete mode 100644 meta/recipes-sato/webkit/webkitgtk/clang.patch
rename meta/recipes-sato/webkit/{webkitgtk_2.10.7.bb => webkitgtk_2.12.1.bb} (92%)meta/recipes-sato/webkit/files/0001-OptionsGTK.cmake-drop-the-hardcoded-introspection-gt.patch +8 -11
@@ -13,11 +13,11 @@ Signed-off-by: Alexander Kanavin <[email protected]> Source/cmake/OptionsGTK.cmake | 6 ------ 1 file changed, 6 deletions(-) -diff --git a/Source/cmake/OptionsGTK.cmake b/Source/cmake/OptionsGTK.cmake -index e5f1f5b..4698036 100644 ---- a/Source/cmake/OptionsGTK.cmake -+++ b/Source/cmake/OptionsGTK.cmake -@@ -443,12 +443,6 @@ if (USE_LIBHYPHEN) +Index: webkitgtk-2.12.1/Source/cmake/OptionsGTK.cmake +=================================================================== +--- webkitgtk-2.12.1.orig/Source/cmake/OptionsGTK.cmake ++++ webkitgtk-2.12.1/Source/cmake/OptionsGTK.cmake +@@ -424,12 +424,6 @@ if (USE_LIBHYPHEN) endif () endif ()
@@ -27,9 +27,6 @@ index e5f1f5b..4698036 100644 - set(ENABLE_INTROSPECTION OFF) -endif () - - set(DERIVED_SOURCES_GOBJECT_DOM_BINDINGS_DIR ${DERIVED_SOURCES_DIR}/webkitdom) - set(DERIVED_SOURCES_WEBKITGTK_DIR ${DERIVED_SOURCES_DIR}/webkitgtk) - set(DERIVED_SOURCES_WEBKITGTK_API_DIR ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkit) --- -2.7.0 - + # Override the cached variable, gtk-doc does not really work when building on Mac. + if (APPLE) + set(ENABLE_GTKDOC OFF)
meta/recipes-sato/webkit/files/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch new file +223 -0
223 lines not on this page · raw message
meta/recipes-sato/webkit/files/0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch +8 -11
@@ -13,28 +13,25 @@ Signed-off-by: Alexander Kanavin <[email protected]> Source/WebKit2/PlatformGTK.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -diff --git a/Source/WebKit2/PlatformGTK.cmake b/Source/WebKit2/PlatformGTK.cmake -index 706f1e8..14a1c3b 100644 ---- a/Source/WebKit2/PlatformGTK.cmake -+++ b/Source/WebKit2/PlatformGTK.cmake -@@ -884,7 +884,7 @@ add_custom_command( +Index: webkitgtk-2.12.1/Source/WebKit2/PlatformGTK.cmake +=================================================================== +--- webkitgtk-2.12.1.orig/Source/WebKit2/PlatformGTK.cmake ++++ webkitgtk-2.12.1/Source/WebKit2/PlatformGTK.cmake +@@ -910,7 +910,7 @@ add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir DEPENDS WebKit2 DEPENDS ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir - COMMAND CC=${CMAKE_C_COMPILER} CFLAGS=-Wno-deprecated-declarations LDFLAGS= + COMMAND CC=${CMAKE_C_COMPILER} CFLAGS=-Wno-deprecated-declarations\ ${CMAKE_C_FLAGS} LDFLAGS= - LD_LIBRARY_PATH="${INTROSPECTION_ADDITIONAL_LIBRARY_PATH}" + ${LOADER_LIBRARY_PATH_VAR}="${INTROSPECTION_ADDITIONAL_LIBRARY_PATH}" ${INTROSPECTION_SCANNER} --quiet -@@ -930,7 +930,7 @@ add_custom_command( +@@ -951,7 +951,7 @@ add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir DEPENDS ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir DEPENDS ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir - COMMAND CC=${CMAKE_C_COMPILER} CFLAGS=-Wno-deprecated-declarations + COMMAND CC=${CMAKE_C_COMPILER} CFLAGS=-Wno-deprecated-declarations\ ${CMAKE_C_FLAGS} LDFLAGS="${INTROSPECTION_ADDITIONAL_LDFLAGS}" - LD_LIBRARY_PATH="${INTROSPECTION_ADDITIONAL_LIBRARY_PATH}" + ${LOADER_LIBRARY_PATH_VAR}="${INTROSPECTION_ADDITIONAL_LIBRARY_PATH}" ${INTROSPECTION_SCANNER} --- -2.6.4 -
meta/recipes-sato/webkit/files/musl-fixes.patch new file +48 -0
48 lines not on this page · raw message
meta/recipes-sato/webkit/webkitgtk/0001-Enable-backtrace-on-linux-when-using-glibc.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 0b68ad206d2d90df78d91cad4da19152084014cf Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Wed, 16 Sep 2015 05:15:04 +0000 -Subject: [PATCH] Enable backtrace on linux when using glibc - -We dont have backtrace() implemented on non-glibc libc's on linux - -Signed-off-by: Khem Raj <[email protected]> ---- -Upstream-Status: Accepted - - Source/WTF/wtf/Assertions.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Source/WTF/wtf/Assertions.cpp b/Source/WTF/wtf/Assertions.cpp -index 191d53f..a4d86b5 100644 ---- a/Source/WTF/wtf/Assertions.cpp -+++ b/Source/WTF/wtf/Assertions.cpp -@@ -68,7 +68,7 @@ - #include <unistd.h> - #endif - --#if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__)) -+#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__)) - #include <cxxabi.h> - #include <dlfcn.h> - #include <execinfo.h> -@@ -225,7 +225,7 @@ void WTFReportArgumentAssertionFailure(const char* file, int line, const char* f - - void WTFGetBacktrace(void** stack, int* size) - { --#if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__)) -+#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__)) - *size = backtrace(stack, *size); - #elif OS(WINDOWS) - // The CaptureStackBackTrace function is available in XP, but it is not defined --- -2.5.2 -
meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-non-glibc-libraries-on-linux.patch deleted +0 -61
61 lines not on this page · raw message
meta/recipes-sato/webkit/webkitgtk/clang.patch deleted +0 -25
@@ -1,25 +0,0 @@ -Clang's builtin for clear_cache accepts char* and errors out when using void*, -using char* work on both gcc and clang since char* is auto-converted to void* in gcc case - -Source/JavaScriptCore/assembler/ARM64Assembler.h:2857:33: error: cannot initialize a parameter of type 'char *' with an rvalue of type 'void *' - __builtin___clear_cache(reinterpret_cast<void*>(begin), reinterpret_cast<void*>(end)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -1 error generated. - -Signed-off-by: Khem Raj <[email protected]> - -Upstream-Status: Accepted - -Index: webkitgtk-2.8.5/Source/JavaScriptCore/assembler/ARM64Assembler.h -=================================================================== ---- webkitgtk-2.8.5.orig/Source/JavaScriptCore/assembler/ARM64Assembler.h -+++ webkitgtk-2.8.5/Source/JavaScriptCore/assembler/ARM64Assembler.h -@@ -2854,7 +2854,7 @@ public: - #if OS(LINUX) && COMPILER(GCC) - static inline void linuxPageFlush(uintptr_t begin, uintptr_t end) - { -- __builtin___clear_cache(reinterpret_cast<void*>(begin), reinterpret_cast<void*>(end)); -+ __builtin___clear_cache(reinterpret_cast<char*>(begin), reinterpret_cast<char*>(end)); - } - #endif -
meta/recipes-sato/webkit/webkitgtk_2.12.1.bb renamed from meta/recipes-sato/webkit/webkitgtk_2.10.7.bb +7 -5
@@ -12,15 +12,14 @@ LIC_FILES_CHKSUM = "file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d842 SRC_URI = "\ http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ - file://clang.patch \ - file://0001-Enable-backtrace-on-linux-when-using-glibc.patch \ - file://0001-Fix-build-with-non-glibc-libraries-on-linux.patch \ file://0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch \ file://0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch \ file://0001-OptionsGTK.cmake-drop-the-hardcoded-introspection-gt.patch \ + file://0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch \ + file://musl-fixes.patch \ " -SRC_URI[md5sum] = "84832b9d8329413b4f1d87df5f7e8efe" -SRC_URI[sha256sum] = "990d62c82ed6dede31a6ff0a82d847f16b812842ff3e1093d17113627652864e" +SRC_URI[md5sum] = "adcbee440d81acfb1ead9ada91bd5e79" +SRC_URI[sha256sum] = "5b1a2d5227553f3cecbdb258c68b384f9235747b2c07c15afb555fe4fa6ae896" inherit cmake lib_package pkgconfig perlnative pythonnative distro_features_check upstream-version-is-even gobject-introspection
@@ -75,6 +74,9 @@ EXTRA_OECMAKE_append_aarch64 = " -DUSE_LD_GOLD=OFF " EXTRA_OECMAKE_append_mips = " -DENABLE_JIT=OFF " EXTRA_OECMAKE_append_mips64 = " -DENABLE_JIT=OFF " +SECURITY_CFLAGS_remove_aarch64 = "-fpie" +SECURITY_CFLAGS_append_aarch64 = " -fPIE" + FILES_${PN} += "${libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so" # http://errors.yoctoproject.org/Errors/Details/20370/
Signature · 1 line
2.8.2
PATCH 9/42 oprofile: Fix with gcc6
In reply to Khem Raj--- meta/recipes-kernel/oprofile/oprofile.inc | 4 +- .../0001-Fix-FTBFS-problem-with-GCC-6.patch | 51 ++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-kernel/oprofile/oprofile/0001-Fix-FTBFS-problem-with-GCC-6.patch
meta/recipes-kernel/oprofile/oprofile.inc +3 -1
@@ -24,7 +24,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ file://oprofile-cross-compile-tests.patch \ file://run-ptest \ file://root-home-dir.patch \ - file://0001-Add-rmb-definition-for-NIOS2-architecture.patch" + file://0001-Add-rmb-definition-for-NIOS2-architecture.patch \ + file://0001-Fix-FTBFS-problem-with-GCC-6.patch \ +" SRC_URI_append_libc-musl = " file://musl.patch"
meta/recipes-kernel/oprofile/oprofile/0001-Fix-FTBFS-problem-with-GCC-6.patch new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.8.2
PATCH 10/42 mdadm: Fix gcc 6 warnings
In reply to Khem Raj--- .../0001-raid6check-Fix-if-else-indentation.patch | 37 ++++++++++++++++++++++ meta/recipes-extended/mdadm/mdadm_3.4.bb | 3 +- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/mdadm/files/0001-raid6check-Fix-if-else-indentation.patch
meta/recipes-extended/mdadm/files/0001-raid6check-Fix-if-else-indentation.patch new file +37 -0
@@ -0,0 +1,37 @@ +From 1b0aa1debf6fbe9923c9aac671d2894f76c32f9d Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Wed, 20 Apr 2016 16:38:13 +0000 +Subject: [PATCH] raid6check: Fix if-else indentation + +gcc 6 warns about ambiguity due to this indentation +| raid6check.c: In function 'manual_repair': +| raid6check.c:267:4: error: this 'else' clause does not guard... [-Werror=misleading-indentation] +| else +| ^~~~ +| raid6check.c:269:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' +| printf("Repairing D(%d) and P\n", failed_data); +| ^~~~~~ + +Signed-off-by: Khem Raj <[email protected]> +--- +Upstream-Status: Submitted + + raid6check.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/raid6check.c b/raid6check.c +index ad7ffe7..409b1b6 100644 +--- a/raid6check.c ++++ b/raid6check.c +@@ -266,7 +266,7 @@ int manual_repair(int chunk_size, int syndrome_disks, + failed_data = failed_slot2; + else + failed_data = failed_slot1; +- printf("Repairing D(%d) and P\n", failed_data); ++ printf("Repairing D(%d) and P\n", failed_data); + raid6_datap_recov(syndrome_disks+2, chunk_size, + failed_data, (uint8_t**)blocks, 1); + } else { +-- +1.9.1 +
meta/recipes-extended/mdadm/mdadm_3.4.bb +2 -1
@@ -19,7 +19,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \ file://0001-Fix-some-type-comparison-problems.patch \ file://0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch \ file://run-ptest \ - " + file://0001-raid6check-Fix-if-else-indentation.patch \ + " SRC_URI[md5sum] = "04b8b21f637540350f8517c7e68d3c63" SRC_URI[sha256sum] = "27d0be4627d38a12ddcd1c1c3721d649d4e89e1093914497e22b57245cda8808"
Signature · 1 line
2.8.2
PATCH 11/42 nss: Upgrade to 3.23
In reply to Khem RajDisable Werror on native builds. This helps in building nss-native on build hosts which have gcc < 4.9 eg. ubuntu 14.04
The real issue is that we use headers from native staging sysroot and it has the updated glibc headers which then ends up with errors e.g.
| In function 'memset', | inlined from 'sec_PKCS7Encrypt' at p7local.c:715:14: | /usr/include/x86_64-linux-gnu/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] | __warn_memset_zero_len (); | ^ | cc1: all warnings being treated as errors | make[2]: *** [Linux3.4_x86_64_glibc_PTH_64_OPT.OBJ/p7local.o] Error 1
---
meta/recipes-support/nss/{nss_3.21.bb => nss_3.23.bb} | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-support/nss/{nss_3.21.bb => nss_3.23.bb} (97%)meta/recipes-support/nss/nss_3.23.bb renamed from meta/recipes-support/nss/nss_3.21.bb +4 -4
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://nss/COPYING;md5=3b1e88e1b9c0b5a4b2881d46cce06a18 \ file://nss/lib/freebl/mpi/doc/LICENSE-MPL;md5=5d425c8f3157dbf212db2ec53d9e5132" SRC_URI = "\ - http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_21_RTM/src/${BP}.tar.gz \ + http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_23_RTM/src/${BP}.tar.gz \ file://nss-fix-support-cross-compiling.patch \ file://nss-no-rpath-for-cross-compiling.patch \ file://nss-fix-incorrect-shebang-of-perl.patch \
@@ -24,9 +24,8 @@ SRC_URI = "\ file://nss.pc.in \ file://signlibs.sh \ " - -SRC_URI[md5sum] = "3c8b2ed880dd3a8d86c9e0151afe6eba" -SRC_URI[sha256sum] = "3f7a5b027d7cdd5c0e4ff7544da33fdc6f56c2f8c27fff02938fd4a6fbe87239" +SRC_URI[md5sum] = "21c3fed84441b2ab4c50ac626f6517e7" +SRC_URI[sha256sum] = "94b383e31c9671e9dfcca81084a8a813817e8f05a57f54533509b318d26e11cf" UPSTREAM_CHECK_URI = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases" UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>.+)_release_notes"
@@ -49,6 +48,7 @@ do_configure_prepend_libc-musl () { do_compile_prepend_class-native() { export NSPR_INCLUDE_DIR=${STAGING_INCDIR_NATIVE} export NSPR_LIB_DIR=${STAGING_LIBDIR_NATIVE} + export NSS_ENABLE_WERROR=0 } do_compile_prepend_class-nativesdk() {
Signature · 1 line
2.8.2
PATCH 12/42 pkgconfig: Fix build with gcc-6 and upgrade to 0.29.1
In reply to Khem RajFrom: Dan McGregor <[email protected]>
glib patch is backported from glib-2.0 upstream
eventually we will throw it away once pkgconfig
moves to newer glib
--- ...e-Move-warning-pragma-outside-of-function.patch | 39 ++++++++++++++++++++++ meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-Move-warning-pragma-outside-of-function.patch
meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-Move-warning-pragma-outside-of-function.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 946d36266d8a30f04fe34d3183bf4929141934d2 Mon Sep 17 00:00:00 2001 +From: coypu <[email protected]> +Date: Wed, 2 Mar 2016 19:38:48 +0200 +Subject: [PATCH] gdate: Move warning pragma outside of function + +Commit 0817af40e8c74c721c30f6ef482b1f53d12044c7 breaks the build on +older versions of GCC, which don't allow pragma inside functions. + +https://bugzilla.gnome.org/761550 +--- +Upstream-Status: Backport +Signed-off-by: Khem Raj <[email protected]> + + glib/glib/gdate.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/glib/glib/gdate.c b/glib/glib/gdate.c +index 1978cf7..20e6c4a 100644 +--- a/glib/glib/gdate.c ++++ b/glib/glib/gdate.c +@@ -2439,6 +2439,9 @@ win32_strftime_helper (const GDate *d, + * + * Returns: number of characters written to the buffer, or 0 the buffer was too small + */ ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wformat-nonliteral" ++ + gsize + g_date_strftime (gchar *s, + gsize slen, +@@ -2549,3 +2552,5 @@ g_date_strftime (gchar *s, + return retval; + #endif + } ++ ++#pragma GCC diagnostic pop +-- +1.9.1 +
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb +1 -0
@@ -18,6 +18,7 @@ PV = "0.29.1+git${SRCPV}" SRC_URI = "git://anongit.freedesktop.org/pkg-config \ file://pkg-config-native.in \ file://fix-glib-configure-libtool-usage.patch \ + file://0001-gdate-Move-warning-pragma-outside-of-function.patch \ " S = "${WORKDIR}/git"
Signature · 1 line
2.8.2
PATCH 13/42 binutils: disable werror on native build
In reply to Khem RajFrom: Dan McGregor <[email protected]>
It's disabled on cross builds, and it's needed for gcc 6
--- meta/recipes-devtools/binutils/binutils_2.26.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/binutils/binutils_2.26.bb +2 -1
@@ -13,7 +13,8 @@ EXTRA_OECONF += "--with-sysroot=/ \ EXTRA_OECONF_class-native = "--enable-targets=all \ --enable-64-bit-bfd \ --enable-install-libiberty \ - --enable-install-libbfd" + --enable-install-libbfd \ + --disable-werror" do_install_class-native () { autotools_do_install
Signature · 1 line
2.8.2
PATCH 14/42 grub: Fix build with gcc-6
In reply to Khem RajBackport patch which silences following
'../../grub-2.00/grub-core/'`gfxmenu/model.c ../../grub-2.00/grub-core/gettext/gettext.c:37:36: error: storage size of 'main_context' isn't known
static struct grub_gettext_context main_context, secondary_context;
^~~~~~~~~~~~make[3]: *** [gettext/gettext_module-gettext.o] Error 1
--- ...ettext-gettext.c-main_context-secondary_c.patch | 39 ++++++++++++++++++++++ meta/recipes-bsp/grub/grub2.inc | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-bsp/grub/files/0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch
meta/recipes-bsp/grub/files/0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch new file +39 -0
@@ -0,0 +1,39 @@ +From f30c692c1f9ef0e93bee2b408a24baa017f1ca9d Mon Sep 17 00:00:00 2001 +From: Vladimir Serbinenko <[email protected]> +Date: Thu, 7 Nov 2013 01:01:47 +0100 +Subject: [PATCH] * grub-core/gettext/gettext.c (main_context), + (secondary_context): Define after defining type and not before. + +--- +Signed-off-by: Khem Raj <[email protected]> +Upstream-Status: Backport + + ChangeLog | 5 +++++ + grub-core/gettext/gettext.c | 4 ++-- + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/grub-core/gettext/gettext.c b/grub-core/gettext/gettext.c +index df73570..4880cef 100644 +--- a/grub-core/gettext/gettext.c ++++ b/grub-core/gettext/gettext.c +@@ -34,8 +34,6 @@ GRUB_MOD_LICENSE ("GPLv3+"); + http://www.gnu.org/software/autoconf/manual/gettext/MO-Files.html . + */ + +-static struct grub_gettext_context main_context, secondary_context; +- + static const char *(*grub_gettext_original) (const char *s); + + struct grub_gettext_msg +@@ -69,6 +67,8 @@ struct grub_gettext_context + struct grub_gettext_msg *grub_gettext_msg_list; + }; + ++static struct grub_gettext_context main_context, secondary_context; ++ + #define MO_MAGIC_NUMBER 0x950412de + + static grub_err_t +-- +1.9.1 +
meta/recipes-bsp/grub/grub2.inc +1 -0
@@ -30,6 +30,7 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ file://0001-Fix-CVE-2015-8370-Grub2-user-pass-vulnerability.patch \ file://0001-Remove-direct-_llseek-code-and-require-long-filesyst.patch \ file://fix-texinfo.patch \ + file://0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch \ " DEPENDS = "flex-native bison-native"
Signature · 1 line
2.8.2
PATCH 15/42 valgrind: Fix build with gcc6
In reply to Khem Raj--- .../valgrind/valgrind/gcc5-port.patch | 64 ++++++++++++++++++++++ meta/recipes-devtools/valgrind/valgrind_3.11.0.bb | 1 + 2 files changed, 65 insertions(+) create mode 100644 meta/recipes-devtools/valgrind/valgrind/gcc5-port.patch
meta/recipes-devtools/valgrind/valgrind/gcc5-port.patch new file +64 -0
@@ -0,0 +1,64 @@ +backport fix from upstream to fix build errors with gcc 6 + +http://valgrind.10908.n7.nabble.com/Valgrind-r15773-in-trunk-configure-ac-drd-tests-std-thread-cpp-drd-tests-std-thread2-cpp-td56109.html + +../../../valgrind-3.11.0/drd/tests/std_thread.cpp:30:3: error: '_Impl_base' is not a member of 'std::thread' + std::thread::_Impl_base* __t = static_cast<std::thread::_Impl_base*>(__p); + ^~~ +../../../valgrind-3.11.0/drd/tests/std_thread.cpp:30:28: error: '__t' was not declared in this scope + std::thread::_Impl_base* __t = static_cast<std::thread::_Impl_base*>(__p); + ^~~ +../../../valgrind-3.11.0/drd/tests/std_thread.cpp:30:59: error: '_Impl_base' in 'class std::thread' does not name a type + std::thread::_Impl_base* __t = static_cast<std::thread::_Impl_base*>(__p); + ^~~~~~~~~~ + +Signed-off-by: Khem Raj <[email protected]> +Upstream-Status: Backport + +Index: configure.ac +=================================================================== +--- a/configure.ac (revision 15772) ++++ b/configure.ac (revision 15773) +@@ -160,7 +160,7 @@ + icc-1[[3-9]].*) + AC_MSG_RESULT([ok (ICC version ${gcc_version})]) + ;; +- notclang-[[3-9]].*|notclang-[[1-9][0-9]]*) ++ notclang-[[3-9]]|notclang-[[3-9]].*|notclang-[[1-9][0-9]]*) + AC_MSG_RESULT([ok (${gcc_version})]) + ;; + clang-2.9|clang-[[3-9]].*|clang-[[1-9][0-9]]*) +Index: drd/tests/std_thread2.cpp +=================================================================== +--- a/drd/tests/std_thread2.cpp (revision 15772) ++++ b/drd/tests/std_thread2.cpp (revision 15773) +@@ -26,6 +26,7 @@ + return 0; + } + ++#if defined(__GNUC__) && __GNUC__ -0 < 6 + // + // From libstdc++-v3/src/c++11/thread.cc + // +@@ -70,3 +71,4 @@ + } + } + } ++#endif +Index: drd/tests/std_thread.cpp +=================================================================== +--- a/drd/tests/std_thread.cpp (revision 15772) ++++ b/drd/tests/std_thread.cpp (revision 15773) +@@ -21,6 +21,7 @@ + return 0; + } + ++#if defined(__GNUC__) && __GNUC__ -0 < 6 + // + // From libstdc++-v3/src/c++11/thread.cc + // +@@ -65,3 +66,4 @@ + } + } + } ++#endif
meta/recipes-devtools/valgrind/valgrind_3.11.0.bb +1 -0
@@ -23,6 +23,7 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ file://0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch \ file://use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch \ file://avoid-neon-for-targets-which-don-t-support-it.patch \ + file://gcc5-port.patch \ " SRC_URI_append_libc-musl = "\ file://0001-fix-build-for-musl-targets.patch \
Signature · 1 line
2.8.2
PATCH 16/42 busybox/mdev: Ensure /sys is mounted before using it
In reply to Khem Rajecho would fail if /sys is not mounted and boot would abort
--- meta/recipes-core/busybox/files/mdev | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/busybox/files/mdev +3 -1
@@ -1,10 +1,12 @@ #!/bin/sh - +mount -t proc proc /proc +mount -t sysfs sysfs /sys mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 mkdir /dev/pts /dev/shm chmod 777 /dev/shm mount -t devpts devpts /dev/pts touch /dev/mdev.seq +#sysctl -w kernel.hotplug=/sbin/mdev echo "/sbin/mdev" > /proc/sys/kernel/hotplug mdev -s
Signature · 1 line
2.8.2
Re: [PATCH 16/42] busybox/mdev: Ensure /sys is mounted before using it
Dear Khem,
Quoted 1 line · Khem Raj
echo would fail if /sys is not mounted and boot would abort
this sentence still doesn't make sense (hint: /proc).
Regards,
Andreas
Quoted 25 lines
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-core/busybox/files/mdev | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta/recipes-core/busybox/files/mdev +3
-1@@ -1,10 +1,12 @@ #!/bin/sh - +mount -t proc proc /proc +mount -t sysfs sysfs /sys mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 mkdir /dev/pts /dev/shm chmod 777 /dev/shm mount -t devpts devpts /dev/pts touch /dev/mdev.seq +#sysctl -w kernel.hotplug=/sbin/mdev echo "/sbin/mdev" > /proc/sys/kernel/hotplug mdev -s
PATCH 17/42 libc-common.bbclass: Use sed instead of grep
In reply to Khem RajSquash two install cmds into one
Replace grep with sed substitution logic, optimizes away mv cmd
--- meta/classes/libc-common.bbclass | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
meta/classes/libc-common.bbclass +2 -4
@@ -4,14 +4,12 @@ do_install() { h=`echo $r|sed -e's,\.x$,.h,'` install -m 0644 ${S}/sunrpc/rpcsvc/$h ${D}/${includedir}/rpcsvc/ done - install -d ${D}/${sysconfdir}/ - install -m 0644 ${WORKDIR}/etc/ld.so.conf ${D}/${sysconfdir}/ + install -Dm 0644 ${WORKDIR}/etc/ld.so.conf ${D}/${sysconfdir}/ld.so.conf install -d ${D}${localedir} make -f ${WORKDIR}/generate-supported.mk IN="${S}/localedata/SUPPORTED" OUT="${WORKDIR}/SUPPORTED" # get rid of some broken files... for i in ${GLIBC_BROKEN_LOCALES}; do - grep -v $i ${WORKDIR}/SUPPORTED > ${WORKDIR}/SUPPORTED.tmp - mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED + sed -i "/$i/d" ${WORKDIR}/SUPPORTED done rm -f ${D}${sysconfdir}/rpc rm -rf ${D}${datadir}/zoneinfo
Signature · 1 line
2.8.2
PATCH 18/42 conf: bump minimum kernel to 3.2.0
In reply to Khem Rajglibc 2.24 have raised the bar for minimum supported kernel for more details see
http://repo.or.cz/glibc.git/commit/5b4ecd3f95695ef593e4474b4ab5a117291ba5fc
--- meta/classes/populate_sdk_base.bbclass | 2 +- meta/conf/bitbake.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/classes/populate_sdk_base.bbclass +1 -1
@@ -90,7 +90,7 @@ SDK_POSTPROCESS_COMMAND = " create_sdk_files; check_sdk_sysroots; tar_sdk; ${SDK # Some archs override this, we need the nativesdk version # turns out this is hard to get from the datastore due to TRANSLATED_TARGET_ARCH # manipulation. -SDK_OLDEST_KERNEL = "2.6.32" +SDK_OLDEST_KERNEL = "3.2.0" fakeroot python do_populate_sdk() { from oe.sdk import populate_sdk
meta/conf/bitbake.conf +1 -1
@@ -403,7 +403,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" # Kernel info. ################################################################## -OLDEST_KERNEL = "2.6.32" +OLDEST_KERNEL = "3.2.0" OLDEST_KERNEL_aarch64 = "3.14" STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"
Signature · 1 line
2.8.2
Re: [PATCH 18/42] conf: bump minimum kernel to 3.2.0
Hi,
Quoted 29 lines · Khem Raj
glibc 2.24 have raised the bar for minimum supported kernel for more details see
http://repo.or.cz/glibc.git/commit/5b4ecd3f95695ef593e4474b4ab5a117291ba5fc
Signed-off-by Khem Raj <[email protected]>--- meta/classes/populate_sdk_base.bbclass | 2 +- meta/conf/bitbake.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)meta/classes/populate_sdk_base.bbclass +1
-1@@ -90,7 +90,7 @@ SDK_POSTPROCESS_COMMAND = " create_sdk_files; check_sdk_sysroots; tar_sdk; ${SDK # Some archs override this, we need the nativesdk version # turns out this is hard to get from the datastore due to TRANSLATED_TARGET_ARCH # manipulation. -SDK_OLDEST_KERNEL = "2.6.32" +SDK_OLDEST_KERNEL = "3.2.0" fakeroot python do_populate_sdk() { from oe.sdk import populate_sdkmeta/conf/bitbake.conf +0
-0
meta/conf/bitbake.conf SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" · line 409
Quoted 8 lines
meta/conf/bitbake.conf +1
-1@@ -403,7 +403,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" # Kernel info. ################################################################## -OLDEST_KERNEL = "2.6.32" +OLDEST_KERNEL = "3.2.0" OLDEST_KERNEL_aarch64 = "3.14" STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"
Could you please keep 2.6.32 for i386/x86_64? In mentioned glibc commit
http://repo.or.cz/glibc.git/commit/5b4ecd3f95695ef593e4474b4ab5a117291ba5fc
I see that Linux v3.2 is required for all architectures except x86 / x86_64. Currently we build OE and use SDK on x86_64 hosts and some of them run Linux based on kernel 2.6.32 so we would like to still have ability to use OE/SDK on such machines
Thanks,
Ruslan
Re: [PATCH 18/42] conf: bump minimum kernel to 3.2.0
Quoted 39 lines · Ruslan Bilovol
Hi,
Quoted 33 lines · Khem Raj
glibc 2.24 have raised the bar for minimum supported kernel for more details see
http://repo.or.cz/glibc.git/commit/5b4ecd3f95695ef593e4474b4ab5a117291ba5fc
Signed-off-by Khem Raj <[email protected]>--- meta/classes/populate_sdk_base.bbclass | 2 +- meta/conf/bitbake.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)meta/classes/populate_sdk_base.bbclass +1
-1@@ -90,7 +90,7 @@ SDK_POSTPROCESS_COMMAND = " create_sdk_files; check_sdk_sysroots; tar_sdk; ${SDK # Some archs override this, we need the nativesdk version # turns out this is hard to get from the datastore due to TRANSLATED_TARGET_ARCH # manipulation. -SDK_OLDEST_KERNEL = "2.6.32" +SDK_OLDEST_KERNEL = "3.2.0" fakeroot python do_populate_sdk() { from oe.sdk import populate_sdkmeta/conf/bitbake.conf +1
-0@@ -403,7 +403,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" # Kernel info. ################################################################## -OLDEST_KERNEL = "2.6.32" +OLDEST_KERNEL = "3.2.0" OLDEST_KERNEL_aarch64 = "3.14"
Quoted 9 lines
meta/conf/bitbake.conf SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" · line 409
Quoted 2 lines
meta/conf/bitbake.conf +0
-0STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"Could you please keep 2.6.32 for i386/x86_64? In mentioned glibc commit
http://repo.or.cz/glibc.git/commit/5b4ecd3f95695ef593e4474b4ab5a117291ba5fc
I see that Linux v3.2 is required for all architectures except x86 /x86_64. Currently we build OE and use SDK onx86_64hosts and some of them run Linux based on kernel 2.6.32 so we would like to still have ability to use OE/SDK on such machines
this is for sdkhost and build host, then lets not hold x86 targets for that you can override the OLDEST_KERNEL for native and nativesdk glibc in your local config metadata.
Quoted 2 lines
Thanks,
Ruslan
PATCH 19/42 systemd: Create missing sysusers offline
In reply to Khem RajSome system users which are needed by systemd components were missing create these users knobbed with relevant packageconfig
--- meta/recipes-core/systemd/systemd_229.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_229.bb +7 -1
@@ -319,10 +319,16 @@ PACKAGES =+ "\ SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${PN}-binfmt', '', d)}" SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service" -USERADD_PACKAGES = "${PN}" +USERADD_PACKAGES = "${PN} ${PN}-extra-utils" USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '--system -d / -M --shell /bin/nologin systemd-journal-gateway;', '', d)}" +USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '--system -d / -M --shell /bin/nologin systemd-journal-remote;', '', d)}" +USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'journal-upload', '--system -d / -M --shell /bin/nologin systemd-journal-upload;', '', d)}" USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'timesyncd', '--system -d / -M --shell /bin/nologin systemd-timesync;', '', d)}" +USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'networkd', '--system -d / -M --shell /bin/nologin systemd-network;', '', d)}" +USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'coredump', '--system -d / -M --shell /bin/nologin systemd-coredump;', '', d)}" +USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'resolved', '--system -d / -M --shell /bin/nologin systemd-resolve;', '', d)}" GROUPADD_PARAM_${PN} = "-r lock; -r systemd-journal" +USERADD_PARAM_${PN}-extra-utils += "--system -d / -M --shell /bin/nologin systemd-bus-proxy;" FILES_${PN}-analyze = "${bindir}/systemd-analyze"
Signature · 1 line
2.8.2
Re: [PATCH 19/42] systemd: Create missing sysusers offline
Quoted 7 lines · Khem Raj
Some system users which are needed by systemd components were missing create these users knobbed with relevant packageconfig
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-core/systemd/systemd_229.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
This still breaks on the autobuilder so I dropped it from -next:
https://autobuilder.yoctoproject.org/main/builders/nightly-qa-systemd/b
uilds/759
Cheers,
Richard
PATCH 20/42 grub_git: Upgrade to latest tip
In reply to Khem RajGets past the gcc6 issues seen on aarch64
| make[3]: *** [cmp.mod] Error 1
| build-grub-module-verifier: error: unsupported relocation 0x113.
--- meta/recipes-bsp/grub/grub_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-bsp/grub/grub_git.bb +1 -1
@@ -8,7 +8,7 @@ DEFAULT_PREFERENCE_arm = "1" FILESEXTRAPATHS =. "${FILE_DIRNAME}/grub-git:" PV = "2.00+${SRCPV}" -SRCREV = "b95e92678882f56056c64ae29092bc9cf129905f" +SRCREV = "7a5b301e3adb8e054288518a325135a1883c1c6c" SRC_URI = "git://git.savannah.gnu.org/grub.git \ file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \ file://autogen.sh-exclude-pc.patch \
Signature · 1 line
2.8.2
PATCH 21/42 libunwind: Upgrade to 1.2rc1+
In reply to Khem RajThis helps in compiling with gcc6
drop patches backported to 1.1
remove musl conditional patches, they should work
on glibc too now
---
...rf-opcodes-can-cause-references-beyond-th.patch | 29 -
.../libunwind-1.1/0001-disable-tests.patch | 31 -
.../libunwind/libunwind-1.1/AArch64-port.patch | 2529 --------------------
...k-failure-on-PowerPC-systems-with-Altivec.patch | 28 -
...-libunwind-to-libgcc_s-rather-than-libgcc.patch | 42 -
.../Support-building-with-older-compilers.patch | 72 -
.../0001-Fix-build-on-mips-musl.patch | 33 +-
...-backtrace-Use-only-with-glibc-and-uclibc.patch | 0
.../0001-x86-Stub-out-x86_local_resume.patch | 0
...Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch | 0
meta/recipes-support/libunwind/libunwind_1.1.bb | 24 -
meta/recipes-support/libunwind/libunwind_git.bb | 25 +
12 files changed, 37 insertions(+), 2776 deletions(-)
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-Invalid-dwarf-opcodes-can-cause-references-beyond-th.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-disable-tests.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/AArch64-port.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch
delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Support-building-with-older-compilers.patch
rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-Fix-build-on-mips-musl.patch (68%)
rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-backtrace-Use-only-with-glibc-and-uclibc.patch (100%)
rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-x86-Stub-out-x86_local_resume.patch (100%)
rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch (100%)
delete mode 100644 meta/recipes-support/libunwind/libunwind_1.1.bb
create mode 100644 meta/recipes-support/libunwind/libunwind_git.bbmeta/recipes-support/libunwind/libunwind-1.1/0001-Invalid-dwarf-opcodes-can-cause-references-beyond-th.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From 396b6c7ab737e2bff244d640601c436a26260ca1 Mon Sep 17 00:00:00 2001 -From: Arun Sharma <[email protected]> -Date: Fri, 19 Jun 2015 19:47:22 -0700 -Subject: [PATCH] Invalid dwarf opcodes can cause references beyond the end of - the array. - -Upstream-Status: backport - -Signed-off-by: Li Zhou <[email protected]> ---- - include/dwarf_i.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/dwarf_i.h b/include/dwarf_i.h -index 1e6231e..4a02a7d 100644 ---- a/include/dwarf_i.h -+++ b/include/dwarf_i.h -@@ -20,7 +20,7 @@ - extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH]; - /* REG is evaluated multiple times; it better be side-effects free! */ - # define dwarf_to_unw_regnum(reg) \ -- (((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) -+ (((reg) < DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) - #endif - - #ifdef UNW_LOCAL_ONLY --- -1.7.9.5 -
meta/recipes-support/libunwind/libunwind-1.1/0001-disable-tests.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From b07435a90bd636ee718e2238fb46c74a6dd5e069 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Tue, 22 Mar 2016 16:41:13 +0000 -Subject: [PATCH] disable tests - -Tests use getcontext() API which is -not there on musl - -Signed-off-by: Khem Raj <[email protected]> ---- -Upstream-Status: Inappropriate [MUSL-only] - - Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.am b/Makefile.am -index e24fe1e..15380e4 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -39,7 +39,7 @@ endif - - nodist_include_HEADERS = include/libunwind-common.h - --SUBDIRS = src tests doc -+SUBDIRS = src doc - - noinst_HEADERS = include/dwarf.h include/dwarf_i.h include/dwarf-eh.h \ - include/compiler.h include/libunwind_i.h include/mempool.h \ --- -1.8.3.1 -
meta/recipes-support/libunwind/libunwind-1.1/AArch64-port.patch deleted +0 -2529
2,529 lines not on this page · raw message
meta/recipes-support/libunwind/libunwind-1.1/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch deleted +0 -28
@@ -1,28 +0,0 @@ -Fix test case link failure on PowerPC systems with Altivec - -Upstream-Status:backport - -On systems where the system compiler supports Altivec by default, -the libunwind Makefile will attempt to build an extra test case -ppc64-test-altivec. Unfortunately, the link step will fail since -the Makefile does not actually link against the libunwind library. - -Fixed by adding the appropriate LDADD macro. - -Signed-off-by: Ulrich Weigand <address@hidden> ---- - tests/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/tests/Makefile.am b/tests/Makefile.am -index 0e30536..9c76628 100644 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -201,3 +201,4 @@ Lia64_test_rbs_LDADD = $(LIBUNWIND_local) - Lia64_test_readonly_LDADD = $(LIBUNWIND_local) - ia64_test_dyn1_LDADD = $(LIBUNWIND) - ia64_test_sig_LDADD = $(LIBUNWIND) -+ppc64_test_altivec_LDADD = $(LIBUNWIND) --- -1.8.5 -
meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch deleted +0 -42
42 lines not on this page · raw message
meta/recipes-support/libunwind/libunwind-1.1/Support-building-with-older-compilers.patch deleted +0 -72
72 lines not on this page · raw message
meta/recipes-support/libunwind/libunwind/0001-Fix-build-on-mips-musl.patch renamed from meta/recipes-support/libunwind/libunwind-1.1/0001-Fix-build-on-mips-musl.patch +12 -21
@@ -15,23 +15,17 @@ Upstream-Status: Pending src/mips/getcontext.S | 3 +-- 2 files changed, 35 insertions(+), 2 deletions(-) -diff --git a/src/coredump/_UCD_internal.h b/src/coredump/_UCD_internal.h -index 3c95a2a..80acc15 100644 ---- a/src/coredump/_UCD_internal.h -+++ b/src/coredump/_UCD_internal.h -@@ -34,6 +34,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ - #ifdef HAVE_SYS_PROCFS_H - #include <sys/procfs.h> /* struct elf_prstatus */ - #endif -+#include <sys/reg.h> - #include <errno.h> - #include <string.h> - #include <limits.h> -@@ -44,6 +45,39 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +Index: git/src/coredump/_UCD_internal.h +=================================================================== +--- git.orig/src/coredump/_UCD_internal.h ++++ git/src/coredump/_UCD_internal.h +@@ -44,6 +44,41 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE #include "libunwind_i.h" +#ifndef __GLIBC__ ++#include <sys/reg.h> ++ +#define EF_REG0 6 +#define EF_REG1 7 +#define EF_REG2 8
@@ -67,11 +61,11 @@ index 3c95a2a..80acc15 100644 #if SIZEOF_OFF_T == 4 typedef uint32_t uoff_t; -diff --git a/src/mips/getcontext.S b/src/mips/getcontext.S -index d1dbd57..de9b681 100644 ---- a/src/mips/getcontext.S -+++ b/src/mips/getcontext.S -@@ -24,12 +24,11 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +Index: git/src/mips/getcontext.S +=================================================================== +--- git.orig/src/mips/getcontext.S ++++ git/src/mips/getcontext.S +@@ -24,12 +24,11 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "offsets.h"
@@ -85,6 +79,3 @@ index d1dbd57..de9b681 100644 # define OFFSET 4 # else # define OFFSET 0 --- -1.8.3.1 -
meta/recipes-support/libunwind/libunwind/0001-backtrace-Use-only-with-glibc-and-uclibc.patch renamed from meta/recipes-support/libunwind/libunwind-1.1/0001-backtrace-Use-only-with-glibc-and-uclibc.patch +0 -0
meta/recipes-support/libunwind/libunwind/0001-x86-Stub-out-x86_local_resume.patch renamed from meta/recipes-support/libunwind/libunwind-1.1/0001-x86-Stub-out-x86_local_resume.patch +0 -0
meta/recipes-support/libunwind/libunwind/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch renamed from meta/recipes-support/libunwind/libunwind-1.1/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch +0 -0
meta/recipes-support/libunwind/libunwind_1.1.bb deleted +0 -24
@@ -1,24 +0,0 @@ -require libunwind.inc - -SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ - file://Support-building-with-older-compilers.patch \ - file://AArch64-port.patch \ - file://Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch \ - file://Link-libunwind-to-libgcc_s-rather-than-libgcc.patch \ - file://0001-Invalid-dwarf-opcodes-can-cause-references-beyond-th.patch \ - file://Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch \ - file://0001-backtrace-Use-only-with-glibc-and-uclibc.patch \ - file://0001-aarch64-introduce-build-support-for-aarch64_be-targe.patch \ - file://0002-aarch64-fix-wrong-big_endian-flag-in-aarch64_be-case.patch \ -" -SRC_URI_append_libc-musl = "\ - file://0001-x86-Stub-out-x86_local_resume.patch \ - file://0001-disable-tests.patch \ - file://0001-Fix-build-on-mips-musl.patch \ -" -SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce" -SRC_URI[sha256sum] = "9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a" - -# http://errors.yoctoproject.org/Errors/Details/20487/ -ARM_INSTRUCTION_SET_armv4 = "arm" -ARM_INSTRUCTION_SET_armv5 = "arm"
meta/recipes-support/libunwind/libunwind_git.bb new file +25 -0
@@ -0,0 +1,25 @@ +require libunwind.inc + +PV = "1.1+git${SRCPV}" + +SRCREV = "bc8698fd7ed13a629a8ec3cb2a89bd74f9d8b5c0" + +SRC_URI = "git://git.sv.gnu.org/libunwind.git \ + file://Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch \ + file://0001-backtrace-Use-only-with-glibc-and-uclibc.patch \ + file://0001-x86-Stub-out-x86_local_resume.patch \ + file://0001-Fix-build-on-mips-musl.patch \ +" + +EXTRA_OECONF_append_libc-musl = " --disable-documentation" + +# http://errors.yoctoproject.org/Errors/Details/20487/ +ARM_INSTRUCTION_SET_armv4 = "arm" +ARM_INSTRUCTION_SET_armv5 = "arm" + +# see https://sourceware.org/bugzilla/show_bug.cgi?id=19987 +SECURITY_CFLAGS_remove_aarch64 = "-fpie" +SECURITY_CFLAGS_append_aarch64 = " -fPIE" + +S = "${WORKDIR}/git" +
Signature · 1 line
2.8.2
PATCH 22/42 linux-yocto: Fix build on ppc with gcc-6
In reply to Khem Raj--- ...ace-Fix-out-of-bounds-array-access-warnin.patch | 50 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.4.bb | 4 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +50 -0
@@ -0,0 +1,50 @@ +From 32acc1d9a5738b02e8815047af8886978aa40ead Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Mon, 25 Apr 2016 05:47:01 +0000 +Subject: [PATCH V2] powerpc/ptrace: Fix out of bounds array access warning + +gcc-6 correctly warns about a out of bounds access + +arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes an offset greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Warray-bounds] + offsetof(struct thread_fp_state, fpr[32][0])); + ^ + +check the end of array instead of beginning of next element to fix this + +Signed-off-by: Khem Raj <[email protected]> +Cc: Kees Cook <[email protected]> +Cc: Michael Ellerman <[email protected]> +Cc: Segher Boessenkool <[email protected]> +--- +Changes from v1 to v2: + +- Check for fpr[32] instead of fpr[31][1] + + arch/powerpc/kernel/ptrace.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c +index 737c0d0..b38fd08 100644 +--- a/arch/powerpc/kernel/ptrace.c ++++ b/arch/powerpc/kernel/ptrace.c +@@ -376,7 +376,7 @@ static int fpr_get(struct task_struct *target, const struct user_regset *regset, + + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyout(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +@@ -404,7 +404,7 @@ static int fpr_set(struct task_struct *target, const struct user_regset *regset, + return 0; + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyin(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +-- +1.9.1 +
meta/recipes-kernel/linux/linux-yocto_4.4.bb +3 -1
@@ -22,7 +22,9 @@ SRCREV_machine ?= "b18090556c1d1b449233cd555c27a04d38272d6d" SRCREV_meta ?= "9ab4787fe2aea2ae0fcc31a5e067eaba19ef64c8" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \ - git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}" + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA} \ + file://0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch \ +" LINUX_VERSION ?= "4.4.3"
Signature · 1 line
2.8.2
Re: [PATCH 22/42] linux-yocto: Fix build on ppc with gcc-6
Quoted 2 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>
These shouldn't be carried out of tree. So can you drop the linux-yocto changes from the
series, and I'll look at getting them integrated later.
Bruce
Quoted 103 lines
--- ...ace-Fix-out-of-bounds-array-access-warnin.patch | 50 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.4.bb | 4 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchdiff --git
a/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchb/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchnew file mode 100644
index 0000000..05315ed
---/dev/null
+++b/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchmeta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +8
-0@@ -0,0 +1,50 @@ +From 32acc1d9a5738b02e8815047af8886978aa40ead Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Mon, 25 Apr 2016 05:47:01 +0000 +Subject: [PATCH V2] powerpc/ptrace: Fix out of bounds array access warning + +gcc-6 correctly warns about a out of bounds access + +arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes an offsetgreater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Warray-bounds]
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +22
-0+ offsetof(struct thread_fp_state, fpr[32][0])); + ^ + +check the end of array instead of beginning of next element to fix this + +Signed-off-by: Khem Raj <[email protected]> +Cc: Kees Cook <[email protected]> +Cc: Michael Ellerman <[email protected]> +Cc: Segher Boessenkool <[email protected]> +--- +Changes from v1 to v2: + +- Check for fpr[32] instead of fpr[31][1] + + arch/powerpc/kernel/ptrace.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c +index 737c0d0..b38fd08 100644 +--- a/arch/powerpc/kernel/ptrace.c ++++ b/arch/powerpc/kernel/ptrace.c +@@ -376,7 +376,7 @@ static int fpr_get(struct task_struct *target, conststruct
user_regset*regset,meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +9
-0+ + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyout(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +@@ -404,7 +404,7 @@ static int fpr_set(struct task_struct *target, conststruct
user_regset*regset,meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +11
-0+ return 0; + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyin(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +-- +1.9.1 +meta/recipes-kernel/linux/linux-yocto_4.4.bb +0
-0@@ -22,7 +22,9 @@ SRCREV_machine ?="
b18090556c1d1b449233cd555c27a04d38272d6d"
SRCREV_meta?= "9ab4787fe2aea2ae0fcc31a5e067eaba19ef64c8"
SRC_URI= "git://
git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \
-git://
git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA} "
+git://
git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA} \
+
file://0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch \
+"
LINUX_VERSION?= "4.4.3"--
2.8.2--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 22/42] linux-yocto: Fix build on ppc with gcc-6
Quoted 11 lines · Bruce Ashfield
Quoted 2 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>These shouldn't be carried out of tree. So can you drop the linux-yocto changes from the
series, and I'll look at getting them integrated later.
I could but, this series switches to using gcc6 which will start to fail.
Quoted 114 lines
Bruce
Quoted 96 lines
--- ...ace-Fix-out-of-bounds-array-access-warnin.patch | 50 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.4.bb | 4 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchdiff --git
a/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchb/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchnew file mode 100644
index 0000000..05315ed
---/dev/null
+++b/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchmeta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +4
-0@@ -0,0 +1,50 @@ +From 32acc1d9a5738b02e8815047af8886978aa40ead Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Mon, 25 Apr 2016 05:47:01 +0000 +Subject: [PATCH V2] powerpc/ptrace: Fix out of bounds array accesswarning
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +4
-0+ +gcc-6 correctly warns about a out of bounds access + +arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes an offsetgreater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Warray-bounds]
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +22
-0+ offsetof(struct thread_fp_state, fpr[32][0])); + ^ + +check the end of array instead of beginning of next element to fix this + +Signed-off-by: Khem Raj <[email protected]> +Cc: Kees Cook <[email protected]> +Cc: Michael Ellerman <[email protected]> +Cc: Segher Boessenkool <[email protected]> +--- +Changes from v1 to v2: + +- Check for fpr[32] instead of fpr[31][1] + + arch/powerpc/kernel/ptrace.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c +index 737c0d0..b38fd08 100644 +--- a/arch/powerpc/kernel/ptrace.c ++++ b/arch/powerpc/kernel/ptrace.c +@@ -376,7 +376,7 @@ static int fpr_get(struct task_struct *target, conststruct
user_regset*regset,meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +9
-0+ + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyout(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +@@ -404,7 +404,7 @@ static int fpr_set(struct task_struct *target, conststruct
user_regset*regset,meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +11
-0+ return 0; + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyin(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +-- +1.9.1 +meta/recipes-kernel/linux/linux-yocto_4.4.bb +0
-0@@ -22,7 +22,9 @@ SRCREV_machine ?="
b18090556c1d1b449233cd555c27a04d38272d6d"
SRCREV_meta?= "9ab4787fe2aea2ae0fcc31a5e067eaba19ef64c8"
SRC_URI=
"git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \
-git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}"
+git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}
\
+ file://0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch \
+"
LINUX_VERSION?= "4.4.3"Quoted 8 lines
--
2.8.2--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 22/42] linux-yocto: Fix build on ppc with gcc-6
Quoted 10 lines · Khem Raj
Quoted 8 lines · Bruce Ashfield
Quoted 2 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>
Quoted 6 lines
Quoted 3 lines
These shouldn't be carried out of tree. So can you drop the linux-yocto changes from the
series, and I'll look at getting them integrated later.I could but, this series switches to using gcc6 which will start to fail.
I can coordinate the fix. We just don't carry patches like this for linux yocto. As you
can see, your series will no longer apply with the consolidated pull requests that
I just sent.
Bruce
Quoted 129 lines
Quoted 12 lines
Bruce
Quoted 8 lines
--- ...ace-Fix-out-of-bounds-array-access-warnin.patch | 50 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.4.bb | 4 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 3 lines
Quoted 3 lines
diff --git
a/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 1 line
Quoted 1 line
b/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 5 lines
Quoted 5 lines
new file mode 100644
index 0000000..05315ed
---/dev/null
+++
b/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 10 lines
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch
Quoted 10 lines
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +4
-0@@ -0,0 +1,50 @@ +From 32acc1d9a5738b02e8815047af8886978aa40ead Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Mon, 25 Apr 2016 05:47:01 +0000 +Subject: [PATCH V2] powerpc/ptrace: Fix out of bounds array accesswarning
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +4
-0+ +gcc-6 correctly warns about a out of bounds access + +arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes anoffset
Quoted 12 lines
Quoted 12 lines
greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Warray-bounds]
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +10
-0+ offsetof(struct thread_fp_state, fpr[32][0])); + ^ + +check the end of array instead of beginning of next element to fix this + +Signed-off-by: Khem Raj <[email protected]> +Cc: Kees Cook <[email protected]> +Cc: Michael Ellerman <[email protected]> +Cc: Segher Boessenkool <[email protected]> +---Quoted 8 lines
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch
Quoted 8 lines
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +8
-0+Changes from v1 to v2: + +- Check for fpr[32] instead of fpr[31][1] + + arch/powerpc/kernel/ptrace.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/powerpc/kernel/ptrace.c
b/arch/powerpc/kernel/ptrace.cQuoted 4 lines
Quoted 4 lines
+index 737c0d0..b38fd08 100644
+---a/arch/powerpc/kernel/ptrace.c
++++b/arch/powerpc/kernel/ptrace.c
+@@ -376,7 +376,7 @@ static int fpr_get(structtask_struct*target,const
Quoted 10 lines
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch
Quoted 10 lines
struct
user_regset*regset,meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +9
-0+ + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyout(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +@@ -404,7 +404,7 @@ static int fpr_set(struct task_struct *target,const
Quoted 21 lines
Quoted 21 lines
struct
user_regset*regset,meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +11
-0+ return 0; + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyin(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +-- +1.9.1 +meta/recipes-kernel/linux/linux-yocto_4.4.bb +0
-0@@ -22,7 +22,9 @@ SRCREV_machine ?="
b18090556c1d1b449233cd555c27a04d38272d6d"
SRCREV_meta?= "9ab4787fe2aea2ae0fcc31a5e067eaba19ef64c8"Quoted 2 lines
Quoted 2 lines
SRC_URI=
"git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH};
Quoted 3 lines
Quoted 3 lines
\
-git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA} "
Quoted 2 lines
Quoted 2 lines
+
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}
Quoted 19 lines
Quoted 7 lines
\
+ file://0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch \
+"
LINUX_VERSION?= "4.4.3"Quoted 8 lines
--
2.8.2--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-coreQuoted 2 lines
--
"Thou shalt not follow the NULL pointer, for chaos and madness awaitthee at
Quoted 1 line
its end"
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 22/42] linux-yocto: Fix build on ppc with gcc-6
Quoted 18 lines · Bruce Ashfield
Quoted 15 lines · Khem Raj
Quoted 11 lines · Bruce Ashfield
Quoted 2 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>These shouldn't be carried out of tree. So can you drop the linux-yocto changes from the
series, and I'll look at getting them integrated later.
Quoted 8 lines
Quoted 1 line
I could but, this series switches to using gcc6 which will start to fail.
I can coordinate the fix. We just don't carry patches like this for linux yocto. As you
can see, your series will no longer apply with the consolidated pull requests that
I just sent.
Just include these patches in your pull request and send a v2. I will then drop it from my list.
since these patches should work fine with older gcc as well your changes then can go in first
or along with my changes.
Quoted 140 lines
Bruce
Quoted 117 lines
Quoted 117 lines
Bruce
Quoted 112 lines
--- ...ace-Fix-out-of-bounds-array-access-warnin.patch | 50 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.4.bb | 4 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchdiff --git
a/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch
b/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchnew file mode 100644
index 0000000..05315ed
---/dev/null
+++
b/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchmeta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +4
-0@@ -0,0 +1,50 @@ +From 32acc1d9a5738b02e8815047af8886978aa40ead Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Mon, 25 Apr 2016 05:47:01 +0000 +Subject: [PATCH V2] powerpc/ptrace: Fix out of bounds array accesswarning
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +4
-0+ +gcc-6 correctly warns about a out of bounds access + +arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes anoffset
greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Warray-bounds]meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +4
-0+ offsetof(struct thread_fp_state, fpr[32][0])); + ^ + +check the end of array instead of beginning of next element to fixthis
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +14
-0+ +Signed-off-by: Khem Raj <[email protected]> +Cc: Kees Cook <[email protected]> +Cc: Michael Ellerman <[email protected]> +Cc: Segher Boessenkool <[email protected]> +--- +Changes from v1 to v2: + +- Check for fpr[32] instead of fpr[31][1] + + arch/powerpc/kernel/ptrace.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/powerpc/kernel/ptrace.c
b/arch/powerpc/kernel/ptrace.c
+index 737c0d0..b38fd08 100644
+---a/arch/powerpc/kernel/ptrace.c
++++b/arch/powerpc/kernel/ptrace.c
+@@ -376,7 +376,7 @@ static int fpr_get(structtask_struct*target, const
structuser_regset*regset,meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +9
-0+ + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyout(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +@@ -404,7 +404,7 @@ static int fpr_set(struct task_struct *target,const
structuser_regset*regset,meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +11
-0+ return 0; + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyin(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +-- +1.9.1 +meta/recipes-kernel/linux/linux-yocto_4.4.bb +0
-0@@ -22,7 +22,9 @@ SRCREV_machine ?="
b18090556c1d1b449233cd555c27a04d38272d6d"
SRCREV_meta?= "9ab4787fe2aea2ae0fcc31a5e067eaba19ef64c8"
SRC_URI="
git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \
-
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}"
+
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}
\
+ file://0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch \
+"
LINUX_VERSION?= "4.4.3"--
2.8.2Quoted 13 lines
Quoted 9 lines
Quoted 5 lines
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-coreQuoted 4 lines
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at
its end"--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 22/42] linux-yocto: Fix build on ppc with gcc-6
Quoted 31 lines · Khem Raj
Quoted 8 lines · Bruce Ashfield
Quoted 5 lines · Khem Raj
Quoted 2 lines · Bruce Ashfield
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Khem Raj
Quoted 2 lines
Signed-off-by Khem Raj <[email protected]>These shouldn't be carried out of tree. So can you drop the
linux-yocto
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
changes from the
series, and I'll look at getting them integrated later.I could but, this series switches to using gcc6 which will start to
fail.
Quoted 7 lines
I can coordinate the fix. We just don't carry patches like this for linux yocto. As you
can see, your series will no longer apply with the consolidated pull requests that
I just sent.
Quoted 6 lines
Just include these patches in your pull request and send a v2. I will then drop it from my list.
since these patches should work fine with older gcc as well your changes then can go in first
or along with my changes.
Sounds good. I'll have them out first thing in the morning Thursday.
Bruce
Quoted 153 lines
Quoted 18 lines
Bruce
Quoted 14 lines
Quoted 14 lines
Bruce
Quoted 9 lines
--- ...ace-Fix-out-of-bounds-array-access-warnin.patch | 50 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.4.bb | 4 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
diff --git
a/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
b/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
new file mode 100644
index 0000000..05315ed
---/dev/null
+++
b/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
Review line 1
Quoted 2 lines
(quoted diff) +1
-0@@ -0,0 +1,50 @@ +From 32acc1d9a5738b02e8815047af8886978aa40ead Mon Sep 17 00:00:002001
Quoted 68 lines
Quoted 68 lines
Quoted 68 lines
Quoted 68 lines
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +3
-0+From: Khem Raj <[email protected]> +Date: Mon, 25 Apr 2016 05:47:01 +0000 +Subject: [PATCH V2] powerpc/ptrace: Fix out of bounds array accesswarning
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +4
-0+ +gcc-6 correctly warns about a out of bounds access + +arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes anoffset
greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Warray-bounds]meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +4
-0+ offsetof(struct thread_fp_state, fpr[32][0])); + ^ + +check the end of array instead of beginning of next element to fixthis
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +14
-0+ +Signed-off-by: Khem Raj <[email protected]> +Cc: Kees Cook <[email protected]> +Cc: Michael Ellerman <[email protected]> +Cc: Segher Boessenkool <[email protected]> +--- +Changes from v1 to v2: + +- Check for fpr[32] instead of fpr[31][1] + + arch/powerpc/kernel/ptrace.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/powerpc/kernel/ptrace.c
b/arch/powerpc/kernel/ptrace.c
+index 737c0d0..b38fd08 100644
+---a/arch/powerpc/kernel/ptrace.c
++++b/arch/powerpc/kernel/ptrace.c
+@@ -376,7 +376,7 @@ static int fpr_get(structtask_struct*target, const
structuser_regset*regset,meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +9
-0+ + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyout(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +@@ -404,7 +404,7 @@ static int fpr_set(struct task_struct *target,const
structuser_regset*regset,meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch new file +11
-0+ return 0; + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyin(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +-- +1.9.1 +meta/recipes-kernel/linux/linux-yocto_4.4.bb +0
-0@@ -22,7 +22,9 @@ SRCREV_machine ?="
b18090556c1d1b449233cd555c27a04d38272d6d"
SRCREV_meta?= "9ab4787fe2aea2ae0fcc31a5e067eaba19ef64c8"Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
SRC_URI="
git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH};
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
\
-
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA} "
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
+
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
\
+file://0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch
Quoted 25 lines
Quoted 17 lines
Quoted 17 lines
Quoted 13 lines
\
+"
LINUX_VERSION?= "4.4.3"--
2.8.2--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-coreQuoted 4 lines
Quoted 4 lines
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at
its end"Quoted 2 lines
--
"Thou shalt not follow the NULL pointer, for chaos and madness awaitthee at
Quoted 1 line
its end"
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 22/42] linux-yocto: Fix build on ppc with gcc-6
Quoted 37 lines · Bruce Ashfield
Quoted 33 lines · Khem Raj
Quoted 9 lines · Bruce Ashfield
Quoted 6 lines · Khem Raj
Quoted 3 lines · Bruce Ashfield
On Wed, May 11, 2016 at 1:35 PM, Khem Raj <[email protected]>
Quoted 6 lines · wrote:
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Signed-off-by Khem Raj <[email protected]>These shouldn't be carried out of tree. So can you drop the
linux-yocto
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
changes from the
series, and I'll look at getting them integrated later.I could but, this series switches to using gcc6 which will start to
fail.
Quoted 3 lines
I can coordinate the fix. We just don't carry patches like this for
linux
Quoted 4 lines
yocto. As you
can see, your series will no longer apply with the consolidated pull requests that
I just sent.
Quoted 9 lines
Quoted 6 lines
Just include these patches in your pull request and send a v2. I will then drop it from my list.
since these patches should work fine with older gcc as well your changes then can go in first
or along with my changes.Sounds good. I'll have them out first thing in the morning Thursday.
The patches are not integrated into linux-yocto-4.4 and I added the patch I've
attached o my zedd/kernel poky-contrib branch:
Bruce
Quoted 169 lines
Bruce
Quoted 153 lines
Quoted 18 lines
Bruce
Quoted 14 lines
Quoted 14 lines
Bruce
Quoted 9 lines
--- ...ace-Fix-out-of-bounds-array-access-warnin.patch | 50 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.4.bb | 4 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644
meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
diff --git
a/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
b/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
new file mode 100644
index 0000000..05315ed
---/dev/null
+++
b/meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patchQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
Review line 1
Quoted 2 lines
(quoted diff) +1
-0@@ -0,0 +1,50 @@ +From 32acc1d9a5738b02e8815047af8886978aa40ead Mon Sep 17 00:00:002001
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
(quoted diff) +3
-0+From: Khem Raj <[email protected]> +Date: Mon, 25 Apr 2016 05:47:01 +0000 +Subject: [PATCH V2] powerpc/ptrace: Fix out of bounds array accesswarning
(quoted diff) +4
-0+ +gcc-6 correctly warns about a out of bounds access + +arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes anoffset
greater than size of 'u64[32][1] {aka long long unsignedint[32][1]}'
Quoted 58 lines
Quoted 58 lines
Quoted 58 lines
Quoted 58 lines
[-Warray-bounds]
(quoted diff) +4
-0+ offsetof(struct thread_fp_state, fpr[32][0])); + ^ + +check the end of array instead of beginning of next element to fixthis
(quoted diff) +14
-0+ +Signed-off-by: Khem Raj <[email protected]> +Cc: Kees Cook <[email protected]> +Cc: Michael Ellerman <[email protected]> +Cc: Segher Boessenkool <[email protected]> +--- +Changes from v1 to v2: + +- Check for fpr[32] instead of fpr[31][1] + + arch/powerpc/kernel/ptrace.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/powerpc/kernel/ptrace.c
b/arch/powerpc/kernel/ptrace.c
+index 737c0d0..b38fd08 100644
+---a/arch/powerpc/kernel/ptrace.c
++++b/arch/powerpc/kernel/ptrace.c
+@@ -376,7 +376,7 @@ static int fpr_get(structtask_struct*target, const
structuser_regset*regset,(quoted diff) +9
-0+ + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyout(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +@@ -404,7 +404,7 @@ static int fpr_set(struct task_struct *target,const
structuser_regset*regset,(quoted diff) +11
-0+ return 0; + #else + BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != +- offsetof(struct thread_fp_state, fpr[32][0])); ++ offsetof(struct thread_fp_state, fpr[32])); + + return user_regset_copyin(&pos, &count, &kbuf, &ubuf, + &target->thread.fp_state, 0, -1); +-- +1.9.1 +meta/recipes-kernel/linux/linux-yocto_4.4.bb +0
-0@@ -22,7 +22,9 @@ SRCREV_machine ?="
b18090556c1d1b449233cd555c27a04d38272d6d"
SRCREV_meta?= "9ab4787fe2aea2ae0fcc31a5e067eaba19ef64c8"Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
SRC_URI="
git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}
<http://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=$%7BKBRANCH%7D>
;Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
\
-
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=$%7BKMETA%7D>
"Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
+
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=$%7BKMETA%7D>Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
\
+file://0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch
Quoted 25 lines
Quoted 21 lines
Quoted 21 lines
Quoted 5 lines
\
+"
LINUX_VERSION?= "4.4.3"Quoted 8 lines
--
2.8.2--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at
its end"Quoted 5 lines
Quoted 2 lines
--
"Thou shalt not follow the NULL pointer, for chaos and madness awaitthee at
Quoted 1 line
its end"
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
From 1f7a13193c013d5b8095124a678fb431a9ddbd4c Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <[email protected]>
Date: Thu, 12 May 2016 01:05:53 -0400
Subject: [PATCH] linux-yocto/4.4: gcc6 build fixes (powerpc and mips)
Khem provided fixes to fix gcc6 build issues, these are safe for all gcc versions, so we integrate them directly.
--- meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto_4.4.bb | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb +2 -2
@@ -2,8 +2,8 @@ KBRANCH ?= "standard/preempt-rt" require recipes-kernel/linux/linux-yocto.inc -SRCREV_machine ?= "449fe1dca2c1f972f1ec02091a20691f3e19a28b" -SRCREV_meta ?= "b7ce076447c0e3cc07f8d3ed4a11070fdeae41e6" +SRCREV_machine ?= "7ef3fe56827bd9c20021e3a52bc36ebd4c6b2ce3" +SRCREV_meta ?= "d6ee402d461048cf1afd10375fee5769c06d21d6" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb +2 -2
@@ -9,8 +9,8 @@ LINUX_VERSION ?= "4.4.10" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f" -SRCREV_meta ?= "b7ce076447c0e3cc07f8d3ed4a11070fdeae41e6" +SRCREV_machine ?= "578ff2a88676d20439dbf3877768370d06a22d8f" +SRCREV_meta ?= "d6ee402d461048cf1afd10375fee5769c06d21d6" PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_4.4.bb +9 -9
@@ -11,15 +11,15 @@ KBRANCH_qemux86 ?= "standard/base" KBRANCH_qemux86-64 ?= "standard/base" KBRANCH_qemumips64 ?= "standard/mti-malta64" -SRCREV_machine_qemuarm ?= "bdda97014e55200e704ecd8d112da09176dcb7dc" -SRCREV_machine_qemuarm64 ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f" -SRCREV_machine_qemumips ?= "f60887555f78ae5f5338d41181e848082109429b" -SRCREV_machine_qemuppc ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f" -SRCREV_machine_qemux86 ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f" -SRCREV_machine_qemux86-64 ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f" -SRCREV_machine_qemumips64 ?= "b783512062c5081fa9b01e89e811d0508e62895f" -SRCREV_machine ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f" -SRCREV_meta ?= "b7ce076447c0e3cc07f8d3ed4a11070fdeae41e6" +SRCREV_machine_qemuarm ?= "1d343b327d97843de4a32fda9015bc87a46dea9b" +SRCREV_machine_qemuarm64 ?= "578ff2a88676d20439dbf3877768370d06a22d8f" +SRCREV_machine_qemumips ?= "f89dd8336dcb0b7bf0291aee7ee33531564ea3b5" +SRCREV_machine_qemuppc ?= "578ff2a88676d20439dbf3877768370d06a22d8f" +SRCREV_machine_qemux86 ?= "578ff2a88676d20439dbf3877768370d06a22d8f" +SRCREV_machine_qemux86-64 ?= "578ff2a88676d20439dbf3877768370d06a22d8f" +SRCREV_machine_qemumips64 ?= "5faa3c8de491435842024b24b6a95fccdbe3f72a" +SRCREV_machine ?= "578ff2a88676d20439dbf3877768370d06a22d8f" +SRCREV_meta ?= "d6ee402d461048cf1afd10375fee5769c06d21d6" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}"
Signature · 1 line
2.5.0
Re: [PATCH 22/42] linux-yocto: Fix build on ppc with gcc-6
Quoted 4 lines · Bruce Ashfield
The patches are not integrated into linux-yocto-4.4 and I added the patch I've
attached o my zedd/kernel poky-contrib branch:
Nice, is this branch already proposed for merge ?
Re: [PATCH 22/42] linux-yocto: Fix build on ppc with gcc-6
Quoted 9 lines · Khem Raj
Quoted 4 lines · Bruce Ashfield
The patches are not integrated into linux-yocto-4.4 and I added the patch I've
attached o my zedd/kernel poky-contrib branch:Nice, is this branch already proposed for merge ?
Yes. I stacked it on top of the -stable updates I sent yesterday, so it is proposed to merge
for master and krogoth.
Bruce
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 22/42] linux-yocto: Fix build on ppc with gcc-6
Quoted 12 lines · Bruce Ashfield
Quoted 9 lines · Khem Raj
Quoted 5 lines · Bruce Ashfield
The patches are not integrated into linux-yocto-4.4 and I added the patch
I've
attached o my zedd/kernel poky-contrib branch:
Quoted 6 lines
Quoted 1 line
Nice, is this branch already proposed for merge ?
Yes. I stacked it on top of the -stable updates I sent yesterday, so it is proposed to merge
for master and krogoth.
perfect thanks
Quoted 9 lines
Bruce
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 22/42] linux-yocto: Fix build on ppc with gcc-6
Quoted 14 lines · Khem Raj
Quoted 12 lines · Bruce Ashfield
Quoted 9 lines · Khem Raj
Quoted 5 lines · Bruce Ashfield
The patches are not integrated into linux-yocto-4.4 and I added the patch
I've
attached o my zedd/kernel poky-contrib branch:
Quoted 7 lines
Quoted 6 lines
Quoted 1 line
Nice, is this branch already proposed for merge ?
Yes. I stacked it on top of the -stable updates I sent yesterday, so it is proposed to merge
for master and krogoth.
I have now merged your pull branch into mine and dropped my kernel patches from my original pull requests.
http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/gcc-6
PATCH 23/42 linux-yocto: Fix build with gcc6 on mips
In reply to Khem Raj--- ...oration-of-MSA-context-in-non-MSA-kernels.patch | 76 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.4.bb | 1 + 2 files changed, 77 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto/v2-MIPS-Prevent-restoration-of-MSA-context-in-non-MSA-kernels.patch
meta/recipes-kernel/linux/linux-yocto/v2-MIPS-Prevent-restoration-of-MSA-context-in-non-MSA-kernels.patch new file +76 -0
@@ -0,0 +1,76 @@ +From patchwork Thu Apr 21 17:04:53 2016 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Subject: [v2] MIPS: Prevent "restoration" of MSA context in non-MSA kernels +From: Paul Burton <[email protected]> +X-Patchwork-Id: 13164 +Message-Id: <[email protected]> +To: <[email protected]>, Ralf Baechle <[email protected]> +Cc: Michal Toman <[email protected]>, + Paul Burton <[email protected]>, James Hogan <[email protected]>, + "stable # v4 . 3+" <[email protected]> +Date: Thu, 21 Apr 2016 18:04:53 +0100 + +If a kernel doesn't support MSA context (ie. CONFIG_CPU_HAS_MSA=n) then +it will only keep 64 bits per FP register in thread context, and the +calls to set_fpr64 in restore_msa_extcontext will overrun the end of the +FP register context into the FCSR & MSACSR values. GCC 6.x has become +smart enough to detect this & complain like so: + + arch/mips/kernel/signal.c: In function 'protected_restore_fp_context': + ./arch/mips/include/asm/processor.h:114:17: error: array subscript is above array bounds [-Werror=array-bounds] + fpr->val##width[FPR_IDX(width, idx)] = val; \ + ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ + ./arch/mips/include/asm/processor.h:118:1: note: in expansion of macro 'BUILD_FPR_ACCESS' + BUILD_FPR_ACCESS(64) + +The only way to trigger this code to run would be for a program to set +up an artificial extended MSA context structure following a sigframe & +execute sigreturn. Whilst this doesn't allow a program to write to any +state that it couldn't already, it makes little sense to allow this +"restoration" of MSA context in a system that doesn't support MSA. + +Fix this by killing a program with SIGSYS if it tries something as crazy +as "restoring" fake MSA context in this way, also fixing the build error +& allowing for most of restore_msa_extcontext to be optimised out of +kernels without support for MSA. + +Signed-off-by: Paul Burton <[email protected]> +Reported-by: Michal Toman <[email protected]> +Fixes: bf82cb30c7e5 ("MIPS: Save MSA extended context around signals") +Cc: James Hogan <[email protected]> +Cc: stable <[email protected]> # v4.3+ +--- + +Changes in v2: +- Prevent potential for malformed errno/signal from protected_restore_fp_context. + + arch/mips/kernel/signal.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c +index bf792e2..fc7c1f0 100644 +--- a/arch/mips/kernel/signal.c ++++ b/arch/mips/kernel/signal.c +@@ -195,6 +195,9 @@ static int restore_msa_extcontext(void __user *buf, unsigned int size) + unsigned int csr; + int i, err; + ++ if (!config_enabled(CONFIG_CPU_HAS_MSA)) ++ return SIGSYS; ++ + if (size != sizeof(*msa)) + return -EINVAL; + +@@ -398,8 +401,8 @@ int protected_restore_fp_context(void __user *sc) + } + + fp_done: +- if (used & USED_EXTCONTEXT) +- err |= restore_extcontext(sc_to_extcontext(sc)); ++ if (!err && (used & USED_EXTCONTEXT)) ++ err = restore_extcontext(sc_to_extcontext(sc)); + + return err ?: sig; + }
meta/recipes-kernel/linux/linux-yocto_4.4.bb +1 -0
@@ -24,6 +24,7 @@ SRCREV_meta ?= "9ab4787fe2aea2ae0fcc31a5e067eaba19ef64c8" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA} \ file://0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch \ + file://v2-MIPS-Prevent-restoration-of-MSA-context-in-non-MSA-kernels.patch \ " LINUX_VERSION ?= "4.4.3"
Signature · 1 line
2.8.2
PATCH 24/42 python-native: Point to expat in native sysroot
In reply to Khem RajThis fixes inconsistency where expat dependency is then depending upon build host having it or not having it
Fixes errors like
WARNING: renaming "pyexpat" since importing it failed: build/lib.linux-x86_64-2.7/pyexpat.so: undefined symbol: XML_SetCommentHandler
also reported here
https://dev.openwrt.org/ticket/20087
This work due to the fact that we use -isystem pointing to native sysroot so the search order of native includedir is moved after buildhosts system includdirs. Moment we replace it with -I, build falls apart
--- meta/recipes-devtools/python/python-native_2.7.11.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python-native_2.7.11.bb +1 -1
@@ -27,7 +27,7 @@ inherit native RPROVIDES += "python-distutils-native python-compression-native python-textutils-native python-codecs-native python-core-native python-unittest-native" -EXTRA_OECONF_append = " --bindir=${bindir}/${PN}" +EXTRA_OECONF_append = " --bindir=${bindir}/${PN} --with-system-expat=${STAGING_DIR_HOST}" EXTRA_OEMAKE = '\ BUILD_SYS="" \
Signature · 1 line
2.8.2
Re: [PATCH 24/42] python-native: Point to expat in native sysroot
Added missed dependency on expat-native as well is required pushed a v2 of this patch as well. It was saught during world build on musl
Quoted 36 lines · Khem Raj
This fixes inconsistency where expat dependency is then depending upon build host having it or not having it
Fixes errors like
WARNING: renaming "pyexpat" since importing it failed: build/lib.linux-x86_64-2.7/pyexpat.so: undefined symbol:XML_SetCommentHandleralso reported here
https://dev.openwrt.org/ticket/20087This work due to the fact that we use -isystem pointing to native sysroot so the search order of native includedir is moved after buildhosts system includdirs. Moment we replace it with -I, build falls apart
Signed-off-by Khem Raj <[email protected]>---
meta/recipes-devtools/python/python-native_2.7.11.bb | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-devtools/python/python-native_2.7.11.bb +0
-0@@ -27,7 +27,7 @@ inherit nativeRPROVIDES += "python-distutils-native python-compression-native python-textutils-native python-codecs-native python-core-native python-unittest-native"
meta/recipes-devtools/python/python-native_2.7.11.bb +1
-1-EXTRA_OECONF_append = " --bindir=${bindir}/${PN}" +EXTRA_OECONF_append = " --bindir=${bindir}/${PN} --with-system-expat=${STAGING_DIR_HOST}"
EXTRA_OEMAKE= '\
BUILD_SYS="" \
--
2.8.2
PATCH 25/42 bitbake.conf: Empty out BUILDSDK_CPPFLAGS
In reply to Khem RajThe nativesdk sysroot is already being passed in via --sysroot option, adding -isystem is redundant and more so it causes build failures with gcc-6 since it messed with internal search order for system includedirs
--- meta/conf/bitbake.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta/conf/bitbake.conf +1 -2
@@ -495,10 +495,9 @@ PATCHRESOLVE = "noop" ################################################################## export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}" -BUILDSDK_CPPFLAGS = "-isystem${STAGING_INCDIR}" +BUILDSDK_CPPFLAGS = "" export CPPFLAGS = "${TARGET_CPPFLAGS}" export TARGET_CPPFLAGS = "" -#export TARGET_CPPFLAGS = "-isystem${STAGING_DIR_TARGET}${includedir}" export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION}"
Signature · 1 line
2.8.2
PATCH 26/42 strace: Remove pipe.expected
In reply to Khem Rajfile utility on some OSes e.g. archlinux'like which use file 5.26 can not recognise a file in strace testsuite e.g.
file ./strace-4.11/tests/pipe.expected ./strace-4.11/tests/pipe.expected: ERROR: EOF computing DER offset
This ends up in QA errors
ERROR: strace-4.11-r0 do_populate_sysroot: split_and_strip_files: 'file /a/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/strace/4.11-r0/sysroot-destdir/usr/lib/strace/ptest/tests/pipe.expected' failed
--- meta/recipes-devtools/strace/strace_4.11.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/strace/strace_4.11.bb +1 -0
@@ -46,6 +46,7 @@ do_compile_ptest() { do_install_ptest() { oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR} sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile + rm -rf ${D}${libdir}/strace/ptest/tests/pipe.expected } BBCLASSEXTEND = "native"
Signature · 1 line
2.8.2
Re: [PATCH 26/42] strace: Remove pipe.expected
Quoted 12 lines · Khem Raj
file utility on some OSes e.g. archlinux'like which use file 5.26 can not recognise a file in strace testsuite e.g.
file ./strace-4.11/tests/pipe.expected ./strace-4.11/tests/pipe.expected: ERROR: EOF computing DER offset
this is due to a bug in archlinux file utility, please drop it. I have also removed it from pull branch
Quoted 23 lines
This ends up in QA errors
ERROR: strace-4.11-r0do_populate_sysroot:split_and_strip_files: 'file /a/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/strace/4.11-r0/sysroot-destdir/usr/lib/strace/ptest/tests/pipe.expected' failedSigned-off-by Khem Raj <[email protected]>---
meta/recipes-devtools/strace/strace_4.11.bb | 1 +1 file changed, 1 insertion(+)meta/recipes-devtools/strace/strace_4.11.bb +1
-0@@ -46,6 +46,7 @@ do_compile_ptest() { do_install_ptest() { oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR} sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile + rm -rf ${D}${libdir}/strace/ptest/tests/pipe.expected }BBCLASSEXTEND = "native"
--
2.8.2
PATCH 27/42 musl: Upgrade to tip of tree
In reply to Khem RajCOPYRIGHT file was changed to clarfiy the MIT Licence which resulted in checksum change, see
http://git.musl-libc.org/cgit/musl/commit/?id=f0a61399330bae42beeb27d6ecd05570b3382a60
below are changes in upgrade
Andrew Kelley (1):
fix incorrect protocol name and number for egp
Bobby Bingham (1):
add powerpc64 port
LeMay, Michael (1):
fix redundant processing of --build flag in configure script
Petr Vaněk (1):
remove dead store in res_msend
Rich Felker (10):
fix undefined pointer comparison in stdio-internal __toread fix regression disabling use of pause instruction for x86 a_spin fix read past end of haystack buffer for short needles in memmem add support for mips and mips64 r6 isa
add mips n32 port (ILP32 ABI for mips64)
fix thread structure/dtv-pointer corruption on powerpc fix FILE buffer underflow in ungetwc
update COPYRIGHT file to clarify that permissions apply for all files follow standard configure behavior for cross compile prefix fix spurious trailing whitespace in powerpc & powerpc64 bits/errno.h
--- meta/recipes-core/musl/musl.inc | 2 +- meta/recipes-core/musl/musl_git.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/musl/musl.inc +1 -1
@@ -9,7 +9,7 @@ standards-conformance and safety." HOMEPAGE = "http://www.musl-libc.org/" LICENSE = "MIT" SECTION = "libs" -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=082411391b4d1ace0d30f4c84317cc05" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=7928b7ad32ceda04932478e330e52f7f" PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}"
meta/recipes-core/musl/musl_git.bb +1 -1
@@ -3,7 +3,7 @@ require musl.inc -SRCREV = "5978eb703ce0e64dd778a88c1ffffb76fe5e2202" +SRCREV = "49631b7b6c8b8c055aae5b6948930c219b95fdef" PV = "1.1.14+git${SRCPV}"
Signature · 1 line
2.8.2
PATCH 28/42 libgcc: Ensure that gcc configure options are passed to libgcc too
In reply to Khem Rajlibgcc uses certain options from EXTRA_OECONF as well, curently we are ignoring them, as a result we do not configure libgcc to match cross gcc in some cases e.g. ppc/musl should have used 64bit long doubles but it went for 128-ldbls which is default, works on glibc but not on musl
--- meta/recipes-devtools/gcc/gcc-common.inc | 2 ++ meta/recipes-devtools/gcc/libgcc-common.inc | 7 +++++++ 2 files changed, 9 insertions(+)
meta/recipes-devtools/gcc/gcc-common.inc +2 -0
@@ -33,6 +33,8 @@ def get_gcc_ppc_plt_settings(bb, d): def get_long_double_setting(bb, d): if d.getVar('TRANSLATED_TARGET_ARCH', True) in [ 'powerpc', 'powerpc64' ] and d.getVar('TCLIBC', True) in [ 'uclibc', 'glibc' ]: return "--with-long-double-128" + else: + return "--without-long-double-128" return "" def get_gcc_multiarch_setting(bb, d):
meta/recipes-devtools/gcc/libgcc-common.inc +7 -0
@@ -4,6 +4,13 @@ require gcc-shared-source.inc INHIBIT_DEFAULT_DEPS = "1" +EXTRA_OECONF += "\ + ${@get_gcc_mips_plt_setting(bb, d)} \ + ${@get_gcc_ppc_plt_settings(bb, d)} \ + ${@get_long_double_setting(bb, d)} \ + ${@get_gcc_multiarch_setting(bb, d)} \ +" + do_configure () { target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` install -d ${D}${base_libdir} ${D}${libdir}
Signature · 1 line
2.8.2
PATCH 29/42 libunwind: Upgrade to 1.2rc1+
In reply to Khem RajThis helps in compiling with gcc6
drop patches backported to 1.1
remove musl conditional patches, they should work
on glibc too now
--- ...roduce-build-support-for-aarch64_be-targe.patch | 33 --------------------- ...-wrong-big_endian-flag-in-aarch64_be-case.patch | 34 ---------------------- 2 files changed, 67 deletions(-) delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-aarch64-introduce-build-support-for-aarch64_be-targe.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0002-aarch64-fix-wrong-big_endian-flag-in-aarch64_be-case.patch
meta/recipes-support/libunwind/libunwind-1.1/0001-aarch64-introduce-build-support-for-aarch64_be-targe.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 743668f66916b6bb03c92b04be5216400951ace6 Mon Sep 17 00:00:00 2001 -From: Victor Kamensky <[email protected]> -Date: Wed, 3 Dec 2014 17:35:43 -0800 -Subject: [PATCH 1/2] aarch64: introduce build support for aarch64_be target - -Upstream-Status: backport - -Introduce support for aarch64_be, aarch64 big endian, target. -We would like to reuse all code that was done for aarch64 -(little endian) target. So we do similar thing that is done -for ARM v7 (arm) target for any aarch64* arch we set it -just to aarch64. - -Signed-off-by: Victor Kamensky <[email protected]> ---- - configure.ac | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/configure.ac b/configure.ac -index 582e71f..c59f526 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -88,6 +88,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - - AC_DEFUN([SET_ARCH],[ - AS_CASE([$1], -+ [aarch64*],[$2=aarch64], - [arm*],[$2=arm], - [i?86],[$2=x86], - [hppa*],[$2=hppa], --- -1.9.1 -
meta/recipes-support/libunwind/libunwind-1.1/0002-aarch64-fix-wrong-big_endian-flag-in-aarch64_be-case.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From 16e98c8cf37b006c3879ee57acc23c9af13c40d5 Mon Sep 17 00:00:00 2001 -From: Victor Kamensky <[email protected]> -Date: Wed, 3 Dec 2014 17:35:44 -0800 -Subject: [PATCH 2/2] aarch64: fix wrong big_endian flag in aarch64_be case - -Upstream-Status: backport - -Set local_addr_space.big_endian flag according to current target -endianness. Before it was set by memset to 0, which corresponds -to little endian and it worked perfectly fine for aarch64. -But it breaks aarch64_be because dwarf_readu16, dwarf_readu32, -etc functions do not read values correctly since they operate -with wrong idea about current target endianness. - -Signed-off-by: Victor Kamensky <[email protected]> ---- - src/aarch64/Ginit.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/aarch64/Ginit.c b/src/aarch64/Ginit.c -index 0bc8997..b9181ef 100644 ---- a/src/aarch64/Ginit.c -+++ b/src/aarch64/Ginit.c -@@ -181,6 +181,7 @@ aarch64_local_addr_space_init (void) - local_addr_space.acc.access_fpreg = access_fpreg; - local_addr_space.acc.resume = aarch64_local_resume; - local_addr_space.acc.get_proc_name = get_static_proc_name; -+ local_addr_space.big_endian = (__BYTE_ORDER == __BIG_ENDIAN); - unw_flush_cache (&local_addr_space, 0, 0); - } - --- -1.9.1 -
Signature · 1 line
2.8.2
PATCH 30/42 libgcc: Ensure that gcc configure options are passed to libgcc too
In reply to Khem Rajlibgcc uses certain options from EXTRA_OECONF as well, curently we are ignoring them, as a result we do not configure libgcc to match cross gcc in some cases e.g. ppc/musl should have used 64bit long doubles but it went for 128-ldbls which is default, works on glibc but not on musl
--- meta/recipes-devtools/gcc/libgcc-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/gcc/libgcc-common.inc +1 -1
@@ -1,6 +1,6 @@ BPN = "libgcc" -require gcc-shared-source.inc +require gcc-configure-common.inc INHIBIT_DEFAULT_DEPS = "1"
Signature · 1 line
2.8.2
PATCH 31/42 gdb,strace: Fix builds on ppc/musl
In reply to Khem Rajptrace namespace is polluted in glibc for ppc
which is highlighted with musl, these fixes
tries to undo it
--- meta/recipes-devtools/gdb/gdb.inc | 16 ++++--- ...Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 52 ++++++++++++++++++++++ ...hen-using-non-glibc-libc-implementation-o.patch | 36 +++++++++++++++ meta/recipes-devtools/strace/strace_4.11.bb | 3 +- 4 files changed, 99 insertions(+), 8 deletions(-) create mode 100644 meta/recipes-devtools/gdb/gdb/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch create mode 100644 meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch
meta/recipes-devtools/gdb/gdb.inc +9 -7
@@ -2,13 +2,15 @@ require gdb-common.inc inherit gettext -SRC_URI += "file://0002-Change-order-of-CFLAGS.patch \ - file://0003-Add-support-for-Renesas-SH-sh4-architecture.patch \ - file://0001-Use-exported-definitions-of-SIGRTMIN.patch \ - file://0001-include-sys-types.h-for-mode_t.patch \ - file://0001-use-asm-sgidefs.h.patch \ - file://force-readline-static.patch \ - file://0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \ +SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \ + file://0002-Change-order-of-CFLAGS.patch \ + file://0003-Add-support-for-Renesas-SH-sh4-architecture.patch \ + file://0001-Use-exported-definitions-of-SIGRTMIN.patch \ + file://0001-include-sys-types.h-for-mode_t.patch \ + file://0001-use-asm-sgidefs.h.patch \ + file://force-readline-static.patch \ + file://0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \ + file://0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \ " #LDFLAGS_append = " -s" #export CFLAGS_append=" -L${STAGING_LIBDIR}"
meta/recipes-devtools/gdb/gdb/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch new file +52 -0
52 lines not on this page · raw message
meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 1f0c22b79045cfcdc976643f383c1d09589d3087 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sat, 30 Apr 2016 16:23:56 +0000 +Subject: [PATCH] Fix build when using non-glibc libc implementation on ppc + +glibc includes the kernel header into its own header for macros +musl does not + +Upstream-Status: Pending +Signed-off-by: Khem Raj <[email protected]> +--- + ptrace.h | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/ptrace.h b/ptrace.h +index d8af976..4978a69 100644 +--- a/ptrace.h ++++ b/ptrace.h +@@ -52,7 +52,13 @@ extern long ptrace(int, int, char *, long); + # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args + #endif + +-#include <linux/ptrace.h> ++#if defined(POWERPC) && !defined(__GLIBC__) ++#define pt_regs uapi_pt_regs ++#endif ++# include <linux/ptrace.h> ++#if defined(POWERPC) && !defined(__GLIBC__) ++# undef pt_regs ++#endif + + #ifdef HAVE_STRUCT_IA64_FPREG + # undef ia64_fpreg +-- +1.8.3.1 +
meta/recipes-devtools/strace/strace_4.11.bb +2 -1
@@ -16,7 +16,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \ file://0001-Move-gcc-compat-macros-to-gcc_compat.h.patch \ file://0001-tests-introduce-libtests.patch \ file://run-ptest \ - " + file://0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch \ + " SRC_URI[md5sum] = "a15d2555a7febb56d00c6e1a51c655dc" SRC_URI[sha256sum] = "e86a5f6cd8f941f67f3e4b28f4e60f3d9185c951cf266404533210a2e5cd8152"
Signature · 1 line
2.8.2
PATCH 32/42 libunwind: Add a confgure option for tests
In reply to Khem RajTests dont compile on musl due to its use
of {get|set}context APIs, adding this option
to disable tests helps it to compile
--- .../0001-add-knobs-to-disable-enable-tests.patch | 69 ++++++++++++++++++++++ meta/recipes-support/libunwind/libunwind_git.bb | 5 +- 2 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-support/libunwind/libunwind/0001-add-knobs-to-disable-enable-tests.patch
meta/recipes-support/libunwind/libunwind/0001-add-knobs-to-disable-enable-tests.patch new file +69 -0
@@ -0,0 +1,69 @@ +From 459e471fcc33d300f7bbcdaf3e0dc338d9dc15b9 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sat, 30 Apr 2016 16:56:34 +0000 +Subject: [PATCH] add knobs to disable/enable tests + +Some tests do not compile on musl libc +in general its good to have such a knob +since not all builds may want to enable +tests + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <[email protected]> +--- + Makefile.am | 6 +++++- + configure.ac | 12 ++++++++++-- + 2 files changed, 15 insertions(+), 3 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 6a3ed9e..0c29b3e 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -42,7 +42,11 @@ endif + + nodist_include_HEADERS = include/libunwind-common.h + +-SUBDIRS = src tests ++SUBDIRS = src ++ ++if CONFIG_TESTS ++SUBDIRS += tests ++endif + + if CONFIG_DOCS + SUBDIRS += doc +diff --git a/configure.ac b/configure.ac +index 85d78f8..d362387 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -129,6 +129,10 @@ AC_ARG_ENABLE(documentation, + AS_HELP_STRING([--disable-documentation],[Disable generating the man pages]),, + [enable_documentation=yes]) + ++AC_ARG_ENABLE(tests, ++ AS_HELP_STRING([--disable-tests],[Disable building tests]),, ++ [enable_tests=yes]) ++ + AC_MSG_CHECKING([if we should build libunwind-setjmp]) + AC_MSG_RESULT([$enable_setjmp]) + +@@ -395,9 +399,13 @@ AM_CONDITIONAL([CONFIG_DOCS], [test x$enable_documentation = xyes]) + if test "x$enable_documentation" = "xyes"; then + AC_CONFIG_FILES(doc/Makefile doc/common.tex) + fi ++AM_CONDITIONAL([CONFIG_TESTS], [test x$enable_tests = xyes]) ++if test "x$enable_tests" = "xyes"; then ++ AC_CONFIG_FILES(tests/Makefile tests/check-namespace.sh) ++fi ++ + +-AC_CONFIG_FILES(Makefile src/Makefile tests/Makefile tests/check-namespace.sh +- include/libunwind-common.h ++AC_CONFIG_FILES(Makefile src/Makefile include/libunwind-common.h + include/libunwind.h include/tdep/libunwind_i.h) + AC_CONFIG_FILES(src/unwind/libunwind.pc src/coredump/libunwind-coredump.pc + src/ptrace/libunwind-ptrace.pc src/setjmp/libunwind-setjmp.pc +-- +1.8.3.1 +
meta/recipes-support/libunwind/libunwind_git.bb +3 -2
@@ -9,9 +9,10 @@ SRC_URI = "git://git.sv.gnu.org/libunwind.git \ file://0001-backtrace-Use-only-with-glibc-and-uclibc.patch \ file://0001-x86-Stub-out-x86_local_resume.patch \ file://0001-Fix-build-on-mips-musl.patch \ -" + file://0001-add-knobs-to-disable-enable-tests.patch \ + " -EXTRA_OECONF_append_libc-musl = " --disable-documentation" +EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests " # http://errors.yoctoproject.org/Errors/Details/20487/ ARM_INSTRUCTION_SET_armv4 = "arm"
Signature · 1 line
2.8.2
PATCH 33/42 gdb: Upgrade to 7.11
In reply to Khem Raj---
.../gdb/{gdb-7.10.1.inc => gdb-7.11.inc} | 0
meta/recipes-devtools/gdb/gdb-common.inc | 20 +++++++--
...nadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} | 0
meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb | 4 --
meta/recipes-devtools/gdb/gdb-cross_7.11.bb | 2 +
meta/recipes-devtools/gdb/gdb.inc | 10 -----
.../gdb/0001-include-sys-types.h-for-mode_t.patch | 10 ++---
...002-make-man-install-relative-to-DESTDIR.patch} | 8 ++--
...-linux-nat-Define-_ABIO32-if-not-defined.patch} | 8 ++--
...efine-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} | 11 ++---
...-support-for-Renesas-SH-sh4-architecture.patch} | 32 +++++++--------
...-libreadline.a-when-using-disable-static.patch} | 21 ++++++++--
...gidefs.h.patch => 0007-use-asm-sgidefs.h.patch} | 15 +++----
...0008-Use-exorted-definitions-of-SIGRTMIN.patch} | 44 +++++++++-----------
...AGS.patch => 0009-Change-order-of-CFLAGS.patch} | 18 ++++----
.../0010-resolve-restrict-keyword-conflict.patch | 48 ++++++++++++++++++++++
.../gdb/{gdb_7.10.1.bb => gdb_7.11.bb} | 0
17 files changed, 155 insertions(+), 96 deletions(-)
rename meta/recipes-devtools/gdb/{gdb-7.10.1.inc => gdb-7.11.inc} (100%)
rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} (100%)
delete mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb
create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.11.bb
rename meta/recipes-devtools/gdb/gdb/{0001-make-man-install-relative-to-DESTDIR.patch => 0002-make-man-install-relative-to-DESTDIR.patch} (78%)
rename meta/recipes-devtools/gdb/gdb/{0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch => 0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch} (84%)
rename meta/recipes-devtools/gdb/gdb/{0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch => 0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} (83%)
rename meta/recipes-devtools/gdb/gdb/{0003-Add-support-for-Renesas-SH-sh4-architecture.patch => 0005-Add-support-for-Renesas-SH-sh4-architecture.patch} (97%)
rename meta/recipes-devtools/gdb/gdb/{force-readline-static.patch => 0006-Dont-disable-libreadline.a-when-using-disable-static.patch} (67%)
rename meta/recipes-devtools/gdb/gdb/{0001-use-asm-sgidefs.h.patch => 0007-use-asm-sgidefs.h.patch} (69%)
rename meta/recipes-devtools/gdb/gdb/{0001-Use-exported-definitions-of-SIGRTMIN.patch => 0008-Use-exorted-definitions-of-SIGRTMIN.patch} (49%)
rename meta/recipes-devtools/gdb/gdb/{0002-Change-order-of-CFLAGS.patch => 0009-Change-order-of-CFLAGS.patch} (69%)
create mode 100644 meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch
rename meta/recipes-devtools/gdb/{gdb_7.10.1.bb => gdb_7.11.bb} (100%)meta/recipes-devtools/gdb/gdb-7.11.inc renamed from meta/recipes-devtools/gdb/gdb-7.10.1.inc +0 -0
meta/recipes-devtools/gdb/gdb-common.inc +16 -4
@@ -16,8 +16,6 @@ LTTNGUST_mips64eln32 = "" LTTNGUST_sh4 = "" LTTNGUST_libc-musl = "" -INC_PR = "r0" - LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \ file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
@@ -25,8 +23,22 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ inherit autotools texinfo -SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \ - " +SRCREV = "1a982b689ce4e20523bdf69e47fdd574c4f63934" + +SRC_URI = "git://sourceware.org/git/binutils-gdb.git;branch=gdb-7.11-branch \ + file://0001-include-sys-types.h-for-mode_t.patch \ + file://0002-make-man-install-relative-to-DESTDIR.patch \ + file://0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \ + file://0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \ + file://0005-Add-support-for-Renesas-SH-sh4-architecture.patch \ + file://0006-Dont-disable-libreadline.a-when-using-disable-static.patch \ + file://0007-use-asm-sgidefs.h.patch \ + file://0008-Use-exorted-definitions-of-SIGRTMIN.patch \ + file://0009-Change-order-of-CFLAGS.patch \ + file://0010-resolve-restrict-keyword-conflict.patch \ +" + +S = "${WORKDIR}/git" B = "${WORKDIR}/build-${TARGET_SYS}"
meta/recipes-devtools/gdb/gdb-cross-canadian_7.11.bb renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_7.10.1.bb +0 -0
meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb deleted +0 -4
@@ -1,4 +0,0 @@ -require gdb-cross.inc -require gdb-${PV}.inc - -SRC_URI += "file://0001-make-man-install-relative-to-DESTDIR.patch"
meta/recipes-devtools/gdb/gdb-cross_7.11.bb new file +2 -0
@@ -0,0 +1,2 @@ +require gdb-cross.inc +require gdb-${PV}.inc
meta/recipes-devtools/gdb/gdb.inc +0 -10
@@ -2,16 +2,6 @@ require gdb-common.inc inherit gettext -SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \ - file://0002-Change-order-of-CFLAGS.patch \ - file://0003-Add-support-for-Renesas-SH-sh4-architecture.patch \ - file://0001-Use-exported-definitions-of-SIGRTMIN.patch \ - file://0001-include-sys-types.h-for-mode_t.patch \ - file://0001-use-asm-sgidefs.h.patch \ - file://force-readline-static.patch \ - file://0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \ - file://0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \ - " #LDFLAGS_append = " -s" #export CFLAGS_append=" -L${STAGING_LIBDIR}"
meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch +5 -5
@@ -1,7 +1,7 @@ -From acbee4edacb80b5eeaff2480712fe98e56443997 Mon Sep 17 00:00:00 2001 +From fddd7178915968acf680814411b8b3cb137d0587 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 19 Jan 2016 18:18:52 -0800 -Subject: [PATCH] include sys/types.h for mode_t +Subject: [PATCH 01/10] include sys/types.h for mode_t mode_t is used in target.h, so we need to include sys/types.h to get the defintion
@@ -14,10 +14,10 @@ Upstream-Status: Pending 1 file changed, 1 insertion(+) diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h -index 9a40867..aaecab9 100644 +index 5af2051..f42c510 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h -@@ -27,6 +27,7 @@ +@@ -28,6 +28,7 @@ #include "target/waitstatus.h" #include "mem-break.h" #include "btrace-common.h"
@@ -26,5 +26,5 @@ index 9a40867..aaecab9 100644 struct emit_ops; struct buffer; -- -2.7.0 +2.8.2
meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch renamed from meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch +4 -4
@@ -1,7 +1,7 @@ -From 12b0506951460c3cc37d775478d024db3f95e9d8 Mon Sep 17 00:00:00 2001 +From 3229cb09033eeb5003a08d91fa9d43be8ba4c86b Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 02:27:55 +0000 -Subject: [PATCH 1/3] make man install relative to DESTDIR +Subject: [PATCH 02/10] make man install relative to DESTDIR Upstream-Status: Pending
@@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/common/Makefile.in b/sim/common/Makefile.in -index d49a93b..2121c46 100644 +index a05f507..8d0fa64 100644 --- a/sim/common/Makefile.in +++ b/sim/common/Makefile.in @@ -35,7 +35,7 @@ tooldir = $(libdir)/$(target_alias)
@@ -24,5 +24,5 @@ index d49a93b..2121c46 100644 includedir = @includedir@ -- -2.1.4 +2.8.2
meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch renamed from meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch +4 -4
@@ -1,7 +1,7 @@ -From e92f8932ef488de2a56db4299131ce6a4eb170bd Mon Sep 17 00:00:00 2001 +From 88e67caed662d8344c8db56176c9f1221e6cd2a2 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 23 Mar 2016 06:30:09 +0000 -Subject: [PATCH] mips-linux-nat: Define _ABIO32 if not defined +Subject: [PATCH 03/10] mips-linux-nat: Define _ABIO32 if not defined This helps building gdb on mips64 on musl, since musl does not provide sgidefs.h this define is
@@ -17,7 +17,7 @@ Upstream-Status: Pending 1 file changed, 5 insertions(+) diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c -index fd5c705..753f29d 100644 +index bfe9fcb..449b43a 100644 --- a/gdb/mips-linux-nat.c +++ b/gdb/mips-linux-nat.c @@ -46,6 +46,11 @@
@@ -33,5 +33,5 @@ index fd5c705..753f29d 100644 we'll clear this and use PTRACE_PEEKUSER instead. */ static int have_ptrace_regsets = 1; -- -1.8.3.1 +2.8.2
meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch renamed from meta/recipes-devtools/gdb/gdb/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +6 -5
@@ -1,7 +1,8 @@ -From 33a2cdb731298b73277507f01b9a21cd340c5b5c Mon Sep 17 00:00:00 2001 +From bec564eb454bc7fc6ecfcb573aa53040bf39c1d5 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 30 Apr 2016 16:46:03 +0000 -Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems +Subject: [PATCH 04/10] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC + systems Upstream-Status: Pending
@@ -12,7 +13,7 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 12 insertions(+) diff --git a/gdb/gdbserver/linux-ppc-low.c b/gdb/gdbserver/linux-ppc-low.c -index 188fac0..f71d5ab 100644 +index 2145c50..777905d 100644 --- a/gdb/gdbserver/linux-ppc-low.c +++ b/gdb/gdbserver/linux-ppc-low.c @@ -21,7 +21,13 @@
@@ -30,7 +31,7 @@ index 188fac0..f71d5ab 100644 #include "nat/ppc-linux.h" diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h -index 0ff2223..c978daa 100644 +index 85fbcd8..cbec9c5 100644 --- a/gdb/nat/ppc-linux.h +++ b/gdb/nat/ppc-linux.h @@ -18,7 +18,13 @@
@@ -48,5 +49,5 @@ index 0ff2223..c978daa 100644 /* This sometimes isn't defined. */ -- -1.8.3.1 +2.8.2
meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch renamed from meta/recipes-devtools/gdb/gdb/0003-Add-support-for-Renesas-SH-sh4-architecture.patch +16 -16
@@ -1,7 +1,7 @@ -From 407cb13cfb70697f45dfb761304e005e1ecbd0e9 Mon Sep 17 00:00:00 2001 +From 8c5fe58c5a0044ddb517a41b277ed27fb3d3bedc Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 02:31:12 +0000 -Subject: [PATCH 3/3] Add support for Renesas SH (sh4) architecture. +Subject: [PATCH 05/10] Add support for Renesas SH (sh4) architecture. gdb (7.4-1~cvs20111117.2) experimental; urgency=low .
@@ -27,10 +27,10 @@ Signed-off-by: Khem Raj <[email protected]> 11 files changed, 617 insertions(+), 29 deletions(-) diff --git a/gdb/Makefile.in b/gdb/Makefile.in -index 7937801..63baf81 100644 +index ec2af52..df8e84d 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in -@@ -1707,6 +1707,7 @@ ALLDEPFILES = \ +@@ -1736,6 +1736,7 @@ ALLDEPFILES = \ score-tdep.c \ ser-go32.c ser-pipe.c ser-tcp.c ser-mingw.c \ sh-tdep.c sh64-tdep.c shnbsd-tdep.c shnbsd-nat.c \
@@ -39,10 +39,10 @@ index 7937801..63baf81 100644 solib-svr4.c \ sparc-linux-nat.c sparc-linux-tdep.c \ diff --git a/gdb/configure.host b/gdb/configure.host -index d07be4b..b6391c5 100644 +index ef265eb..322a1e2 100644 --- a/gdb/configure.host +++ b/gdb/configure.host -@@ -150,6 +150,7 @@ powerpc*-*-linux*) gdb_host=linux ;; +@@ -149,6 +149,7 @@ powerpc*-*-linux*) gdb_host=linux ;; s390*-*-linux*) gdb_host=linux ;;
@@ -51,7 +51,7 @@ index d07be4b..b6391c5 100644 gdb_host=nbsd ;; sh*-*-openbsd*) gdb_host=nbsd ;; diff --git a/gdb/sh-linux-tdep.c b/gdb/sh-linux-tdep.c -index 2ff2ee8..1a11262 100644 +index 2418d25..ac8ea9e 100644 --- a/gdb/sh-linux-tdep.c +++ b/gdb/sh-linux-tdep.c @@ -18,14 +18,37 @@
@@ -599,7 +599,7 @@ index 2ff2ee8..1a11262 100644 /* GNU/Linux uses SVR4-style shared libraries. */ diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c -index 82cf2f4..b443e46 100644 +index 336b48e..847b271 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -21,6 +21,9 @@
@@ -702,7 +702,7 @@ index 82cf2f4..b443e46 100644 if (regnum < SH_NUM_REGS && cache->saved_regs[regnum] != -1) return frame_unwind_got_memory (this_frame, regnum, -@@ -2237,8 +2224,8 @@ sh_return_in_first_hidden_param_p (struct gdbarch *gdbarch, +@@ -2240,8 +2227,8 @@ sh_return_in_first_hidden_param_p (struct gdbarch *gdbarch, static struct gdbarch * sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) {
@@ -712,7 +712,7 @@ index 82cf2f4..b443e46 100644 /* SH5 is handled entirely in sh64-tdep.c. */ if (info.bfd_arch_info->mach == bfd_mach_sh5) -@@ -2254,6 +2241,18 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) +@@ -2257,6 +2244,18 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) tdep = XCNEW (struct gdbarch_tdep); gdbarch = gdbarch_alloc (&info, tdep);
@@ -731,7 +731,7 @@ index 82cf2f4..b443e46 100644 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT); set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); -@@ -2404,10 +2403,11 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) +@@ -2407,10 +2406,11 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) break; }
@@ -745,7 +745,7 @@ index 82cf2f4..b443e46 100644 frame_unwind_append_unwinder (gdbarch, &sh_frame_unwind); diff --git a/gdb/sh-tdep.h b/gdb/sh-tdep.h -index fc671a5..699f59f 100644 +index 666968f..62c65b5 100644 --- a/gdb/sh-tdep.h +++ b/gdb/sh-tdep.h @@ -21,6 +21,12 @@
@@ -828,10 +828,10 @@ index fc671a5..699f59f 100644 where each general-purpose register is stored inside the associated core file section. */ diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp -index 8854af0..ef44682 100644 +index 6d9aef8..5b66b42 100644 --- a/gdb/testsuite/gdb.asm/asm-source.exp +++ b/gdb/testsuite/gdb.asm/asm-source.exp -@@ -113,6 +113,11 @@ switch -glob -- [istarget] { +@@ -116,6 +116,11 @@ switch -glob -- [istarget] { append link-flags " -m elf32ppc" } }
@@ -873,7 +873,7 @@ index 424e1b8..0de2e7b 100644 void handle_USR1 (int sig) diff --git a/gdb/testsuite/gdb.base/annota3.c b/gdb/testsuite/gdb.base/annota3.c -index 424e1b8..952aaf2 100644 +index 424e1b8..952aaf21 100644 --- a/gdb/testsuite/gdb.base/annota3.c +++ b/gdb/testsuite/gdb.base/annota3.c @@ -1,6 +1,10 @@
@@ -917,5 +917,5 @@ index 7566068..1205a9b 100644 static int count = 0; -- -2.1.4 +2.8.2
meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch renamed from meta/recipes-devtools/gdb/gdb/force-readline-static.patch +17 -4
@@ -1,3 +1,8 @@ +From f3932cb2960fd54655a448b13d5a5b80f356f8de Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sat, 30 Apr 2016 15:25:03 -0700 +Subject: [PATCH 06/10] Dont disable libreadline.a when using --disable-static + If gdb is configured with --disable-static then this is dutifully passed to readline which then disables libreadline.a, which causes a problem when gdb tries to link against that.
@@ -7,12 +12,17 @@ the sub-configure. Upstream-Status: Pending Signed-off-by: Ross Burton <[email protected]> +Signed-off-by: Khem Raj <[email protected]> +--- + Makefile.def | 3 ++- + Makefile.in | 2 +- + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.def b/Makefile.def -index 4394188..05c661a 100644 +index ea8453e..0fc66c6 100644 --- a/Makefile.def +++ b/Makefile.def -@@ -100,7 +100,8 @@ host_modules= { module= libiconv; +@@ -104,7 +104,8 @@ host_modules= { module= libiconv; missing= install-html; missing= install-info; }; host_modules= { module= m4; };
@@ -23,10 +33,10 @@ index 4394188..05c661a 100644 host_modules= { module= sim; }; host_modules= { module= texinfo; no_install= true; }; diff --git a/Makefile.in b/Makefile.in -index 61e0ab6..837f36e 100644 +index 2733c4d..3e04e80 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -24971,7 +24971,7 @@ configure-readline: +@@ -25380,7 +25380,7 @@ configure-readline: $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
@@ -35,3 +45,6 @@ index 61e0ab6..837f36e 100644 || exit 1 @endif readline +-- +2.8.2 +
meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch renamed from meta/recipes-devtools/gdb/gdb/0001-use-asm-sgidefs.h.patch +8 -7
@@ -1,7 +1,7 @@ -From 677b5b56135141c0d259e370aacd0e11c810aa15 Mon Sep 17 00:00:00 2001 -From: Andre McCurdy <[email protected]> -Date: Fri, 5 Feb 2016 14:00:00 -0800 -Subject: [PATCH] use <asm/sgidefs.h> +From 048675a915a72989f2613386975730da016e7c5d Mon Sep 17 00:00:00 2001 +From: Andre McCurdy <[email protected]> +Date: Sat, 30 Apr 2016 15:29:06 -0700 +Subject: [PATCH 07/10] use <asm/sgidefs.h> Build fix for MIPS with musl libc
@@ -13,12 +13,13 @@ instead. Upstream-Status: Pending Signed-off-by: Andre McCurdy <[email protected]> +Signed-off-by: Khem Raj <[email protected]> --- gdb/mips-linux-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c -index a36bb63..fd5c705 100644 +index 449b43a..09603da 100644 --- a/gdb/mips-linux-nat.c +++ b/gdb/mips-linux-nat.c @@ -31,7 +31,7 @@
@@ -27,9 +28,9 @@ index a36bb63..fd5c705 100644 -#include <sgidefs.h> +#include <asm/sgidefs.h> - #include <sys/ptrace.h> + #include "nat/gdb_ptrace.h" #include <asm/ptrace.h> -- -1.9.1 +2.8.2
meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch renamed from meta/recipes-devtools/gdb/gdb/0001-Use-exported-definitions-of-SIGRTMIN.patch +20 -24
70 lines not on this page · raw message
meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch renamed from meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch +9 -9
@@ -1,7 +1,7 @@ -From 262ccc4fdb2a3df0f16c61a807046964ae7729c9 Mon Sep 17 00:00:00 2001 +From ba0bbf887d4911ccee9df57cb13eafb1de34bb31 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> -Date: Mon, 2 Mar 2015 02:29:23 +0000 -Subject: [PATCH 2/3] Change order of CFLAGS +Date: Sat, 30 Apr 2016 15:35:39 -0700 +Subject: [PATCH 09/10] Change order of CFLAGS Lets us override Werror if need be
@@ -13,22 +13,22 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in -index 1ed2ec8..0cef95b 100644 +index 1e874e3..91e8550 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in -@@ -131,10 +131,10 @@ CFLAGS = @CFLAGS@ +@@ -138,10 +138,10 @@ CXXFLAGS = @CXXFLAGS@ CPPFLAGS = @CPPFLAGS@ # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. --INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ -+INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ +-INTERNAL_CFLAGS_BASE = ${COMPILER_CFLAGS} ${GLOBAL_CFLAGS} \ ++INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS} INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) -INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER -+INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER ++INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${COMPILER_CFLAGS} -DGDBSERVER # LDFLAGS is specifically reserved for setting from the command line # when running make. -- -2.1.4 +2.8.2
meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch new file +48 -0
48 lines not on this page · raw message
meta/recipes-devtools/gdb/gdb_7.11.bb renamed from meta/recipes-devtools/gdb/gdb_7.10.1.bb +0 -0
Signature · 1 line
2.8.2
Re: [PATCH 33/42] gdb: Upgrade to 7.11
There is a v2 of this which I pushed to pull tree. I had to do to fix the build on musl/ppc target Added
CFLAGS_append_libc-musl = " -Drpl_gettimeofday=gettimeofday”
Quoted 681 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>---
.../gdb/{gdb-7.10.1.inc => gdb-7.11.inc} | 0 meta/recipes-devtools/gdb/gdb-common.inc | 20 +++++++-- ...nadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} | 0 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb | 4 -- meta/recipes-devtools/gdb/gdb-cross_7.11.bb | 2 + meta/recipes-devtools/gdb/gdb.inc | 10 ----- .../gdb/0001-include-sys-types.h-for-mode_t.patch | 10 ++--- ...002-make-man-install-relative-to-DESTDIR.patch} | 8 ++-- ...-linux-nat-Define-_ABIO32-if-not-defined.patch} | 8 ++-- ...efine-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} | 11 ++--- ...-support-for-Renesas-SH-sh4-architecture.patch} | 32 +++++++-------- ...-libreadline.a-when-using-disable-static.patch} | 21 ++++++++-- ...gidefs.h.patch => 0007-use-asm-sgidefs.h.patch} | 15 +++---- ...0008-Use-exorted-definitions-of-SIGRTMIN.patch} | 44 +++++++++----------- ...AGS.patch => 0009-Change-order-of-CFLAGS.patch} | 18 ++++---- .../0010-resolve-restrict-keyword-conflict.patch | 48 ++++++++++++++++++++++ .../gdb/{gdb_7.10.1.bb => gdb_7.11.bb} | 0 17 files changed, 155 insertions(+), 96 deletions(-)rename meta/recipes-devtools/gdb/{gdb-7.10.1.inc => gdb-7.11.inc} (100%)
rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} (100%)
delete mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb
create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.11.bb
renamemeta/recipes-devtools/gdb/gdb/{0001-make-man-install-relative-to-DESTDIR.patch=> 0002-make-man-install-relative-to-DESTDIR.patch} (78%) renamemeta/recipes-devtools/gdb/gdb/{0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch=> 0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch} (84%) renamemeta/recipes-devtools/gdb/gdb/{0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch=> 0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} (83%) renamemeta/recipes-devtools/gdb/gdb/{0003-Add-support-for-Renesas-SH-sh4-architecture.patch=> 0005-Add-support-for-Renesas-SH-sh4-architecture.patch} (97%) renamemeta/recipes-devtools/gdb/gdb/{force-readline-static.patch=> 0006-Dont-disable-libreadline.a-when-using-disable-static.patch} (67%)
renamemeta/recipes-devtools/gdb/gdb/{0001-use-asm-sgidefs.h.patch=> 0007-use-asm-sgidefs.h.patch} (69%)
renamemeta/recipes-devtools/gdb/gdb/{0001-Use-exported-definitions-of-SIGRTMIN.patch=> 0008-Use-exorted-definitions-of-SIGRTMIN.patch} (49%) renamemeta/recipes-devtools/gdb/gdb/{0002-Change-order-of-CFLAGS.patch=> 0009-Change-order-of-CFLAGS.patch} (69%)
create mode 100644meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch
rename meta/recipes-devtools/gdb/{gdb_7.10.1.bb => gdb_7.11.bb} (100%)meta/recipes-devtools/gdb/gdb-7.11.inc renamed from meta/recipes-devtools/gdb/gdb-7.10.1.inc +0
-0meta/recipes-devtools/gdb/gdb-common.inc +0
-0@@ -16,8 +16,6 @@ LTTNGUST_mips64eln32 = ""
LTTNGUST_sh4= ""
LTTNGUST_libc-musl = ""meta/recipes-devtools/gdb/gdb-common.inc +0
-2-INC_PR = "r0" -LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \ file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \meta/recipes-devtools/gdb/gdb-common.inc +0
-0@@ -25,8 +23,22 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \inherit autotools texinfo
meta/recipes-devtools/gdb/gdb-common.inc +16
-2-SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \ - " +SRCREV = "1a982b689ce4e20523bdf69e47fdd574c4f63934" + +SRC_URI = "git://sourceware.org/git/binutils-gdb.git;branch=gdb-7.11-branch \ + file://0001-include-sys-types.h-for-mode_t.patch \ + file://0002-make-man-install-relative-to-DESTDIR.patch \ + file://0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \ + file://0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \ + file://0005-Add-support-for-Renesas-SH-sh4-architecture.patch \ + file://0006-Dont-disable-libreadline.a-when-using-disable-static.patch \ + file://0007-use-asm-sgidefs.h.patch \ + file://0008-Use-exorted-definitions-of-SIGRTMIN.patch \ + file://0009-Change-order-of-CFLAGS.patch \ + file://0010-resolve-restrict-keyword-conflict.patch \ +" + +S = "${WORKDIR}/git"B = "${WORKDIR}/build-${TARGET_SYS}"
meta/recipes-devtools/gdb/gdb-cross-canadian_7.11.bb renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_7.10.1.bb +0
-0meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb deleted +0
-4@@ -1,4 +0,0 @@ -require gdb-cross.inc -require gdb-${PV}.inc - -SRC_URI += "file://0001-make-man-install-relative-to-DESTDIR.patch"meta/recipes-devtools/gdb/gdb-cross_7.11.bb new file +2
-0@@ -0,0 +1,2 @@ +require gdb-cross.inc +require gdb-${PV}.incmeta/recipes-devtools/gdb/gdb.inc +0
-0@@ -2,16 +2,6 @@ require gdb-common.incinherit gettext
meta/recipes-devtools/gdb/gdb.inc +0
-10-SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \ - file://0002-Change-order-of-CFLAGS.patch \ - file://0003-Add-support-for-Renesas-SH-sh4-architecture.patch \ - file://0001-Use-exported-definitions-of-SIGRTMIN.patch \ - file://0001-include-sys-types.h-for-mode_t.patch \ - file://0001-use-asm-sgidefs.h.patch \ - file://force-readline-static.patch \ - file://0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \ - file://0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \ - "#LDFLAGS_append = " -s"
#export CFLAGS_append=" -L${STAGING_LIBDIR}"meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch +1
-1@@ -1,7 +1,7 @@ -From acbee4edacb80b5eeaff2480712fe98e56443997 Mon Sep 17 00:00:00 2001 +From fddd7178915968acf680814411b8b3cb137d0587 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Tue, 19 Jan 2016 18:18:52 -0800meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch +1
-1-Subject: [PATCH] include sys/types.h for mode_t +Subject: [PATCH 01/10] include sys/types.h for mode_t
mode_tis used intarget.h, so we need to includesys/types.hto get the defintionmeta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch +0
-0@@ -14,10 +14,10 @@ Upstream-Status: Pending 1 file changed, 1 insertion(+)gdb/gdbserver/target.h +1
-1-index 9a40867..aaecab9 100644 +index 5af2051..f42c510 100644gdb/gdbserver/target.h +2
-3-@@ -27,6 +27,7 @@ +@@ -28,6 +28,7 @@#include "target/waitstatus.h" #include "mem-break.h" #include "btrace-common.h" @@ -26,5 +26,5 @@ index 9a40867..aaecab9 100644struct emit_ops ;struct buffer ; -- -2.7.0 +2.8.2meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch renamed from meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch +1
-1@@ -1,7 +1,7 @@ -From 12b0506951460c3cc37d775478d024db3f95e9d8 Mon Sep 17 00:00:00 2001 +From 3229cb09033eeb5003a08d91fa9d43be8ba4c86b Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Mon, 2 Mar 2015 02:27:55 +0000meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch renamed from meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch +1
-1-Subject: [PATCH 1/3] make man install relative to DESTDIR +Subject: [PATCH 02/10] make man install relative to DESTDIRUpstream-Status: Pending
meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch renamed from meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch +0
-0@@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-)sim/common/Makefile.in +1
-1-index d49a93b..2121c46 100644 +index a05f507..8d0fa64 100644sim/common/Makefile.in +1
-2@@ -35,7 +35,7 @@ tooldir = $(libdir)/$(target_alias)@@ -24,5 +24,5 @@ index d49a93b..2121c46 100644 includedir = @includedir@ -- -2.1.4 +2.8.2meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch renamed from meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch +1
-1@@ -1,7 +1,7 @@ -From e92f8932ef488de2a56db4299131ce6a4eb170bd Mon Sep 17 00:00:00 2001 +From 88e67caed662d8344c8db56176c9f1221e6cd2a2 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Wed, 23 Mar 2016 06:30:09 +0000meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch renamed from meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch +1
-1-Subject: [PATCH] mips-linux-nat: Define _ABIO32 if not defined +Subject: [PATCH 03/10] mips-linux-nat: Define _ABIO32 if not definedThis helps building gdb on mips64 on musl, since
musl does not providesgidefs.hthis define ismeta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch renamed from meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch +0
-0@@ -17,7 +17,7 @@ Upstream-Status: Pending 1 file changed, 5 insertions(+)gdb/mips-linux-nat.c +1
-1-index fd5c705..753f29d 100644 +index bfe9fcb..449b43a 100644gdb/mips-linux-nat.c +1
-2@@ -46,6 +46,11 @@@@ -33,5 +33,5 @@ index fd5c705..753f29d 100644we'll clear this and use PTRACE_PEEKUSER instead. */ static int have_ptrace_regsets =1 ; -- -1.8.3.1 +2.8.2meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch renamed from meta/recipes-devtools/gdb/gdb/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +1
-1@@ -1,7 +1,8 @@ -From 33a2cdb731298b73277507f01b9a21cd340c5b5c Mon Sep 17 00:00:00 2001 +From bec564eb454bc7fc6ecfcb573aa53040bf39c1d5 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Sat, 30 Apr 2016 16:46:03 +0000meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch renamed from meta/recipes-devtools/gdb/gdb/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +2
-1-Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems +Subject: [PATCH 04/10] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC + systemsUpstream-Status: Pending
meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch renamed from meta/recipes-devtools/gdb/gdb/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +0
-0@@ -12,7 +13,7 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 12 insertions(+)gdb/gdbserver/linux-ppc-low.c +1
-1-index 188fac0..f71d5ab 100644 +index 2145c50..777905d 100644gdb/gdbserver/linux-ppc-low.c +0
-0@@ -21,7 +21,13 @@@@ -30,7 +31,7 @@ index 188fac0..f71d5ab 100644#include "nat/ppc-linux.h" gdb/nat/ppc-linux.h +1
-1-index 0ff2223..c978daa 100644 +index 85fbcd8..cbec9c5 100644gdb/nat/ppc-linux.h +1
-2@@ -18,7 +18,13 @@@@ -48,5 +49,5 @@ index 0ff2223..c978daa 100644/* This sometimes isn't defined. */ -- -1.8.3.1 +2.8.2meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch renamed from meta/recipes-devtools/gdb/gdb/0003-Add-support-for-Renesas-SH-sh4-architecture.patch +1
-1@@ -1,7 +1,7 @@ -From 407cb13cfb70697f45dfb761304e005e1ecbd0e9 Mon Sep 17 00:00:00 2001 +From 8c5fe58c5a0044ddb517a41b277ed27fb3d3bedc Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
Date: Mon, 2 Mar 2015 02:31:12 +0000meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch renamed from meta/recipes-devtools/gdb/gdb/0003-Add-support-for-Renesas-SH-sh4-architecture.patch +1
-1-Subject: [PATCH 3/3] Add support for Renesas SH (sh4) architecture. +Subject: [PATCH 05/10] Add support for Renesas SH (sh4) architecture.gdb (7.4-1~cvs20111117.2) experimental; urgency=low
.meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch renamed from meta/recipes-devtools/gdb/gdb/0003-Add-support-for-Renesas-SH-sh4-architecture.patch +0
-0@@ -27,10 +27,10 @@ Signed-off-by: Khem Raj <[email protected]> 11 files changed, 617 insertions(+), 29 deletions(-)gdb/Makefile.in +1
-1-index 7937801..63baf81 100644 +index ec2af52..df8e84d 100644gdb/Makefile.in +1
-1-@@ -1707,6 +1707,7 @@ ALLDEPFILES = \ +@@ -1736,6 +1736,7 @@ ALLDEPFILES = \ score-tdep.c \ ser-go32.c ser-pipe.c ser-tcp.c ser-mingw.c \ sh-tdep.c sh64-tdep.c shnbsd-tdep.c shnbsd-nat.c \@@ -39,10 +39,10 @@ index 7937801..63baf81 100644 solib-svr4.c \ sparc-linux-nat.c sparc-linux-tdep.c \gdb/configure.host +1
-1-index d07be4b..b6391c5 100644 +index ef265eb..322a1e2 100644gdb/configure.host +1
-1-@@ -150,6 +150,7 @@ powerpc*-*-linux*) gdb_host=linux ;; +@@ -149,6 +149,7 @@ powerpc*-*-linux*) gdb_host=linux ;; s390*-*-linux*) gdb_host=linux ;;@@ -51,7 +51,7 @@ index d07be4b..b6391c5 100644 gdb_host=nbsd ;; sh*-*-openbsd*) gdb_host=nbsd ;;gdb/sh-linux-tdep.c +1
-1-index 2ff2ee8..1a11262 100644 +index 2418d25..ac8ea9e 100644gdb/sh-linux-tdep.c +0
-0@@ -18,14 +18,37 @@@@ -599,7 +599,7 @@ index 2ff2ee8..1a11262 100644/* GNU/Linux uses SVR4-style shared libraries. */ gdb/sh-tdep.c +1
-1-index 82cf2f4..b443e46 100644 +index 336b48e..847b271 100644gdb/sh-tdep.c +3
-3@@ -21,6 +21,9 @@@@ -702,7 +702,7 @@ index 82cf2f4..b443e46 100644 if (regnum < SH_NUM_REGS && cache->saved_regs[regnum] != -1) return frame_unwind_got_memory (this_frame, regnum, -@@ -2237,8 +2224,8 @@ sh_return_in_first_hidden_param_p (struct gdbarch *gdbarch, +@@ -2240,8 +2227,8 @@ sh_return_in_first_hidden_param_p (struct gdbarch *gdbarch, static struct gdbarch * sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) {@@ -712,7 +712,7 @@ index 82cf2f4..b443e46 100644/* SH5 is handled entirely in sh64-tdep.c. */ if (info.bfd_arch_info->mach == bfd_mach_sh5) -@@ -2254,6 +2241,18 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) +@@ -2257,6 +2244,18 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) tdep = XCNEW (struct gdbarch_tdep); gdbarch =gdbarch_alloc (&info, tdep);@@ -731,7 +731,7 @@ index 82cf2f4..b443e46 100644set_gdbarch_short_bit (gdbarch,2 *TARGET_CHAR_BIT );set_gdbarch_int_bit (gdbarch,4 *TARGET_CHAR_BIT );set_gdbarch_long_bit (gdbarch,4 *TARGET_CHAR_BIT ); -@@ -2404,10 +2403,11 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) +@@ -2407,10 +2406,11 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) break; }@@ -745,7 +745,7 @@ index 82cf2f4..b443e46 100644frame_unwind_append_unwinder (gdbarch, &sh_frame_unwind);gdb/sh-tdep.h +1
-1-index fc671a5..699f59f 100644 +index 666968f..62c65b5 100644gdb/sh-tdep.h +0
-0@@ -21,6 +21,12 @@@@ -828,10 +828,10 @@ index fc671a5..699f59f 100644where each general-purpose register is stored inside the associated core file section. */ gdb/testsuite/gdb.asm/asm-source.exp +1
-1-index 8854af0..ef44682 100644 +index 6d9aef8..5b66b42 100644gdb/testsuite/gdb.asm/asm-source.exp +1
-1-@@ -113,6 +113,11 @@ switch -glob -- [istarget] { +@@ -116,6 +116,11 @@ switch -glob -- [istarget] { append link-flags " -m elf32ppc" } }@@ -873,7 +873,7 @@ index 424e1b8..0de2e7b 100644 void handle_USR1 (int sig)gdb/testsuite/gdb.base/annota3.c +1
-1-index 424e1b8..952aaf2 100644 +index 424e1b8..952aaf21 100644gdb/testsuite/gdb.base/annota3.c +1
-2@@ -1,6 +1,10 @@@@ -917,5 +917,5 @@ index 7566068..1205a9b 100644static int count =0 ; -- -2.1.4 +2.8.2meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch renamed from meta/recipes-devtools/gdb/gdb/force-readline-static.patch +5
-0@@ -1,3 +1,8 @@ +From f3932cb2960fd54655a448b13d5a5b80f356f8de Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sat, 30 Apr 2016 15:25:03 -0700 +Subject: [PATCH 06/10] Dont disable libreadline.a when using --disable-static +If gdb is configured with --disable-static then this is dutifully passed to readline which then disables libreadline.a, which causes a problem when gdb tries to link against that.
meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch renamed from meta/recipes-devtools/gdb/gdb/force-readline-static.patch +0
-0@@ -7,12 +12,17 @@ the sub-configure.Upstream-Status: Pending
Signed-off-by Ross Burton <[email protected]>meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch renamed from meta/recipes-devtools/gdb/gdb/force-readline-static.patch +5
-0+Signed-off-by: Khem Raj <[email protected]> +--- + Makefile.def | 3 ++- + Makefile.in | 2 +- + 2 files changed, 3 insertions(+), 2 deletions(-)Makefile.def +1
-1-index 4394188..05c661a 100644 +index ea8453e..0fc66c6 100644Makefile.def +1
-1-@@ -100,7 +100,8 @@ host_modules= { module= libiconv; +@@ -104,7 +104,8 @@ host_modules= { module= libiconv; missing= install-html; missing= install-info; }; host_modules= { module= m4; };@@ -23,10 +33,10 @@ index 4394188..05c661a 100644 host_modules= { module= sim; }; host_modules= { module= texinfo; no_install= true; };Makefile.in +1
-1-index 61e0ab6..837f36e 100644 +index 2733c4d..3e04e80 100644Makefile.in +4
-1-@@ -24971,7 +24971,7 @@ configure-readline: +@@ -25380,7 +25380,7 @@ configure-readline: $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \@@ -35,3 +45,6 @@ index 61e0ab6..837f36e 100644 || exit 1 @endif readline +-- +2.8.2 +meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch renamed from meta/recipes-devtools/gdb/gdb/0001-use-asm-sgidefs.h.patch +4
-4@@ -1,7 +1,7 @@ -From 677b5b56135141c0d259e370aacd0e11c810aa15 Mon Sep 17 00:00:00 2001 -From: Andre McCurdy <[email protected]> -Date: Fri, 5 Feb 2016 14:00:00 -0800 -Subject: [PATCH] use <asm/sgidefs.h> +From 048675a915a72989f2613386975730da016e7c5d Mon Sep 17 00:00:00 2001 +From: Andre McCurdy <[email protected]> +Date: Sat, 30 Apr 2016 15:29:06 -0700 +Subject: [PATCH 07/10] use <asm/sgidefs.h>Build fix for MIPS with musl libc
meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch renamed from meta/recipes-devtools/gdb/gdb/0001-use-asm-sgidefs.h.patch +0
-0@@ -13,12 +13,13 @@ instead.Upstream-Status: Pending
Signed-off-by Andre McCurdy <[email protected]>meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch renamed from meta/recipes-devtools/gdb/gdb/0001-use-asm-sgidefs.h.patch +1
-1+Signed-off-by: Khem Raj <[email protected]> --- gdb/mips-linux-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)gdb/mips-linux-nat.c +1
-1-index a36bb63..fd5c705 100644 +index 449b43a..09603da 100644gdb/mips-linux-nat.c +3
-4@@ -31,7 +31,7 @@@@ -27,9 +28,9 @@ index a36bb63..fd5c705 100644 -#include <sgidefs.h> +#include <asm/sgidefs.h> -#include <sys/ptrace.h> +#include "nat/gdb_ptrace.h" #include <asm/ptrace.h> -- -1.9.1 +2.8.2meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch renamed from meta/recipes-devtools/gdb/gdb/0001-Use-exported-definitions-of-SIGRTMIN.patch +1
-1@@ -1,7 +1,7 @@ -From 2f97e89e9e4e5797d0d973e1d05c1f44c46b4912 Mon Sep 17 00:00:00 2001 +From e54ead9d81f4d38412751b815f909db3cb144bb1 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch renamed from meta/recipes-devtools/gdb/gdb/0001-Use-exported-definitions-of-SIGRTMIN.patch +2
-2-Date: Fri, 5 Jun 2015 20:21:38 -0700 -Subject: [PATCH] Use exorted definitions of SIGRTMIN +Date: Sat, 30 Apr 2016 15:31:40 -0700 +Subject: [PATCH 08/10] Use exorted definitions of SIGRTMINDefine
W_STOPCODEif not defined alreadymeta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch renamed from meta/recipes-devtools/gdb/gdb/0001-Use-exported-definitions-of-SIGRTMIN.patch +0
-0@@ -11,38 +11,34 @@ may not provide themFixes
https://sourceware.org/bugzilla/show_bug.cgi?id=13012-Signed-off-by: Khem Raj <[email protected]>
----
Upstream-Status: Submittedmeta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch renamed from meta/recipes-devtools/gdb/gdb/0001-Use-exported-definitions-of-SIGRTMIN.patch +2
-0+Signed-off-by: Khem Raj <[email protected]> +--- gdb/linux-nat.c | 4 ++-- gdb/nat/linux-nat.h | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-)gdb/linux-nat.c +1
-1-index 396c30c..50320ee 100644 +index 0829bcb..3b8a896 100644gdb/linux-nat.c +9
-13-@@ -4856,10 +4856,10 @@ lin_thread_get_thread_signals (sigset_t *set) -fortunately they don't change! */ - -if (restart ==0 ) -- restart = __SIGRTMIN; -+ restart =SIGRTMIN ; - -if (cancel ==0 ) -- cancel = __SIGRTMIN +1 ; -+ cancel =SIGRTMIN +1 ; - -sigaddset (set, restart); -sigaddset (set, cancel); +@@ -4845,6 +4845,6 @@ lin_thread_get_thread_signals (sigset_t *set) +/* NPTL reserves the first two RT signals, but does not provide any +way for the debugger to query the signal numbers - fortunately +they don't change. */ +-sigaddset (set, __SIGRTMIN); +-sigaddset (set, __SIGRTMIN +1 ); ++sigaddset (set,SIGRTMIN ); ++sigaddset (set,SIGRTMIN +1 ); + }gdb/nat/linux-nat.h +1
-1-index 83a6d91..efbe0fd 100644 +index 2b485db..d058afc 100644gdb/nat/linux-nat.h +7
-5-@@ -25,4 +25,8 @@ -instead SIGTRAP with bit 7 set. */ -#define SYSCALL_SIGTRAP (SIGTRAP | 0x80) +@@ -85,4 +85,8 @@ extern enum target_stop_reason lwp_stop_reason (struct lwp_info *lwp); + +extern void linux_stop_lwp (struct lwp_info *lwp); +#ifndef W_STOPCODE +#define W_STOPCODE (sig) ((sig) << 8 | 0x7f)@@ -50,5 +46,5 @@ index 83a6d91..efbe0fd 100644 +#endif /* LINUX_NAT_H */ -- -2.1.4 +2.8.2meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch renamed from meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch +1
-1@@ -1,7 +1,7 @@ -From 262ccc4fdb2a3df0f16c61a807046964ae7729c9 Mon Sep 17 00:00:00 2001 +From ba0bbf887d4911ccee9df57cb13eafb1de34bb31 Mon Sep 17 00:00:00 2001From: Khem Raj <[email protected]>
meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch renamed from meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch +2
-2-Date: Mon, 2 Mar 2015 02:29:23 +0000 -Subject: [PATCH 2/3] Change order of CFLAGS +Date: Sat, 30 Apr 2016 15:35:39 -0700 +Subject: [PATCH 09/10] Change order of CFLAGSLets us override Werror if need be
meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch renamed from meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch +0
-0@@ -13,22 +13,22 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 2 insertions(+), 2 deletions(-)gdb/gdbserver/Makefile.in +1
-1-index 1ed2ec8..0cef95b 100644 +index 1e874e3..91e8550 100644gdb/gdbserver/Makefile.in +5
-7-@@ -131,10 +131,10 @@ CFLAGS = @CFLAGS@ +@@ -138,10 +138,10 @@ CXXFLAGS = @CXXFLAGS@ CPPFLAGS = @CPPFLAGS@ # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. --INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ -+INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ +-INTERNAL_CFLAGS_BASE = ${COMPILER_CFLAGS} ${GLOBAL_CFLAGS} \ ++INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS} INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) -INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER -+INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER ++INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${COMPILER_CFLAGS} -DGDBSERVER # LDFLAGS is specifically reserved for setting from the command line # when running make. -- -2.1.4 +2.8.2meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch new file +48
-0@@ -0,0 +1,48 @@ +From 5a9ccb8c0728b658fc4f7f0f7b36873c64274f10 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Tue, 10 May 2016 08:47:05 -0700 +Subject: [PATCH 10/10] resolve restrict keyword conflict + +GCC detects that we call 'restrict' as param name in function +signatures and complains since both params are called 'restrict' +therefore we use __restrict to denote the C99 keywork + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <[email protected]> +--- + gdb/gnulib/import/sys_time.in.h | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/gdb/gnulib/import/sys_time.in.h b/gdb/gnulib/import/sys_time.in.h +index c556c5d..2a6107f 100644 +--- a/gdb/gnulib/import/sys_time.in.h ++++ b/gdb/gnulib/import/sys_time.in.h +@@ -93,20 +93,20 @@ struct timeval + # define gettimeofday rpl_gettimeofday + # endif + _GL_FUNCDECL_RPL (gettimeofday, int, +- (struct timeval *restrict, void *restrict) ++ (struct timeval *__restrict, void *__restrict) + _GL_ARG_NONNULL ((1))); + _GL_CXXALIAS_RPL (gettimeofday, int, +- (struct timeval *restrict, void *restrict)); ++ (struct timeval *__restrict, void *__restrict)); + # else + # if !@HAVE_GETTIMEOFDAY@ + _GL_FUNCDECL_SYS (gettimeofday, int, +- (struct timeval *restrict, void *restrict) ++ (struct timeval *__restrict, void *__restrict) + _GL_ARG_NONNULL ((1))); + # endif + /* Need to cast, because on glibc systems, by default, the second argument is + struct timezone *. */ + _GL_CXXALIAS_SYS_CAST (gettimeofday, int, +- (struct timeval *restrict, void *restrict)); ++ (struct timeval *__restrict, void *__restrict)); + # endif + _GL_CXXALIASWARN (gettimeofday); + #elif defined GNULIB_POSIXCHECK +-- +2.8.2 +meta/recipes-devtools/gdb/gdb_7.11.bb renamed from meta/recipes-devtools/gdb/gdb_7.10.1.bb +0
-1--2.8.2
PATCH 34/42 gdb: Disable binutils components
In reply to Khem Rajwhen building from git we also get the binutils components since the tree for gdb and binutils is same, this can then casue building binutils with gdb as well and cause packaging conflicts, hence disable the binutils pieces in configure itself
--- meta/recipes-devtools/gdb/gdb-common.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-devtools/gdb/gdb-common.inc +4 -1
@@ -52,7 +52,10 @@ EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \ ${GDBPROPREFIX} ${EXPAT} \ ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \ --disable-rpath \ - " + --disable-gas --disable-binutils \ + --disable-ld --disable-gold \ + --disable-gprof \ +" PACKAGECONFIG ??= "readline" # Use --without-system-readline to compile with readline 5.
Signature · 1 line
2.8.2
PATCH 35/42 tcmode-default: Bump gcc,glibc,gdb
In reply to Khem Rajgcc 6.1, glibc 2.24, gdb 7.11
--- meta/conf/distro/include/tcmode-default.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/conf/distro/include/tcmode-default.inc +3 -3
@@ -22,11 +22,11 @@ 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 ?= "5.3%" +GCCVERSION ?= "6.1%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.26%" -GDBVERSION ?= "7.10%" -GLIBCVERSION ?= "2.23" +GDBVERSION ?= "7.11%" +GLIBCVERSION ?= "2.24" UCLIBCVERSION ?= "1.0%" LINUXLIBCVERSION ?= "4.4"
Signature · 1 line
2.8.2
PATCH 36/42 bitbake: Oldest kernel for nios2 is 3.19
In reply to Khem RajFrom: Marek Vasut <[email protected]>
The oldest kernel version for nios2 is 3.19.0, set it so, otherwise qemu-nios2 -r ${OLDEST_KERNEL} fails with "FATAL: kernel too old" message from glibc.
--- meta/conf/bitbake.conf | 2 ++ 1 file changed, 2 insertions(+)
meta/conf/bitbake.conf +2 -0
@@ -405,6 +405,8 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" OLDEST_KERNEL = "3.2.0" OLDEST_KERNEL_aarch64 = "3.14" +OLDEST_KERNEL_nios2 = "3.19" + STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"
Signature · 1 line
2.8.2
PATCH 37/42 musl: Create symlinks for stub libraries
In reply to Khem RajSome libraries e.g. libm.so are needed to be created so that SDKs built with distros which disable static librararies can have the stubs and since default linker script requires -lm this helps in compiling applications with SDK
there are .a equivalents for these libraries but they do not land in SDKs when static libs are disabled distrowide
--- meta/recipes-core/musl/musl_git.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-core/musl/musl_git.bb +4 -0
@@ -52,6 +52,10 @@ do_install() { install -d ${D}${bindir} ln -s ../../${libdir}/libc.so ${D}${bindir}/ldd + for l in crypt dl m pthread resolv rt util xnet + do + ln -s libc.so ${D}${libdir}/lib$l.so + done } RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev"
Signature · 1 line
2.8.2
PATCH 38/42 mdadm: Fix build with clang
In reply to Khem Raj--- ...dadm.h-Undefine-dprintf-before-redefining.patch | 43 ++++++++++++++++++++++ meta/recipes-extended/mdadm/mdadm_3.4.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 meta/recipes-extended/mdadm/files/0001-mdadm.h-Undefine-dprintf-before-redefining.patch
meta/recipes-extended/mdadm/files/0001-mdadm.h-Undefine-dprintf-before-redefining.patch new file +43 -0
@@ -0,0 +1,43 @@ +From 6d369e8f226594632ce4260129509daf7030de0a Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Mon, 9 May 2016 22:03:57 +0000 +Subject: [PATCH] mdadm.h: Undefine dprintf before redefining + +dprintf is also defined in libc see +usr/include/bits/stdio2.h, this comes into +play especially when fortify sources is enabled +and compilers like clang reports the override + +In file included from policy.c:25: +./mdadm.h:1562:9: error: 'dprintf' macro redefined [-Werror,-Wmacro-redefined] + ^ +/mnt/oe/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/bits/stdio2.h:145:12: note: previous definition is here + +Signed-off-by: Khem Raj <[email protected]> +--- +Upstream-Status: Pending + + mdadm.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/mdadm.h b/mdadm.h +index 230e60f..8c8f4d1 100755 +--- a/mdadm.h ++++ b/mdadm.h +@@ -1554,11 +1554,13 @@ static inline char *to_subarray(struct mdstat_ent *ent, char *container) + } + + #ifdef DEBUG ++#undef dprintf + #define dprintf(fmt, arg...) \ + fprintf(stderr, "%s: %s: "fmt, Name, __func__, ##arg) + #define dprintf_cont(fmt, arg...) \ + fprintf(stderr, fmt, ##arg) + #else ++#undef dprintf + #define dprintf(fmt, arg...) \ + ({ if (0) fprintf(stderr, "%s: %s: " fmt, Name, __func__, ##arg); 0; }) + #define dprintf_cont(fmt, arg...) \ +-- +1.9.1 +
meta/recipes-extended/mdadm/mdadm_3.4.bb +1 -0
@@ -20,6 +20,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \ file://0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch \ file://run-ptest \ file://0001-raid6check-Fix-if-else-indentation.patch \ + file://0001-mdadm.h-Undefine-dprintf-before-redefining.patch \ " SRC_URI[md5sum] = "04b8b21f637540350f8517c7e68d3c63" SRC_URI[sha256sum] = "27d0be4627d38a12ddcd1c1c3721d649d4e89e1093914497e22b57245cda8808"
Signature · 1 line
2.8.2
PATCH 39/42 distcc: Upgrade to 3.2
In reply to Khem RajHelps compiling with clang as a side effect
---
.../distcc/{distcc_3.1.bb => distcc_3.2.bb} | 8 ++++----
meta/recipes-devtools/distcc/files/separatebuilddir.patch | 14 +++++++-------
2 files changed, 11 insertions(+), 11 deletions(-)
rename meta/recipes-devtools/distcc/{distcc_3.1.bb => distcc_3.2.bb} (91%)meta/recipes-devtools/distcc/distcc_3.2.bb renamed from meta/recipes-devtools/distcc/distcc_3.1.bb +4 -4
@@ -5,7 +5,7 @@ SECTION = "devel" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -DEPENDS = "avahi" +DEPENDS = "avahi binutils" GTKCONFIG = "gtk" GTKCONFIG_libc-uclibc = ""
@@ -17,19 +17,19 @@ PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt" RRECOMMENDS_${PN} = "avahi-daemon" -SRC_URI = "git://github.com/distcc/distcc.git \ +SRC_URI = "git://github.com/distcc/distcc.git;branch=${PV} \ file://separatebuilddir.patch \ file://0001-zeroconf-Include-fcntl.h.patch \ file://default \ file://distccmon-gnome.desktop \ file://distcc \ file://distcc.service" -SRCREV = "9a172d3d20042754a30c0cd9a5d63fd1a8120c31" +SRCREV = "d8b18df3e9dcbe4f092bed565835d3975e99432c" S = "${WORKDIR}/git" inherit autotools pkgconfig update-rc.d useradd systemd -EXTRA_OECONF += "--disable-Werror PYTHON=/dev/null" +EXTRA_OECONF += "--disable-Werror PYTHON='' --disable-pump-mode" USERADD_PACKAGES = "${PN}" USERADD_PARAM_${PN} = "--system \
meta/recipes-devtools/distcc/files/separatebuilddir.patch +7 -7
@@ -6,16 +6,16 @@ RP 2013/3/8 Upstream-Status: Pending -Index: distcc-3.1/Makefile.in +Index: git/Makefile.in =================================================================== ---- distcc-3.1.orig/Makefile.in 2008-12-02 21:50:31.000000000 +0000 -+++ distcc-3.1/Makefile.in 2013-03-08 10:49:24.224400937 +0000 -@@ -1088,7 +1088,7 @@ +--- git.orig/Makefile.in ++++ git/Makefile.in +@@ -1117,7 +1117,7 @@ install-example: $(example_DOCS) install-gnome-data: $(gnome_data) $(mkinstalldirs) "$(DESTDIR)$(pkgdatadir)" - for p in $(gnome_data); do \ -- $(INSTALL_DATA) "$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ -+ $(INSTALL_DATA) "$(srcdir)/$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ + for p in $(gnome_data); do \ +- $(INSTALL_DATA) "$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ ++ $(INSTALL_DATA) "$(srcdir)/$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ done install-conf: $(conf_files) $(default_files)
Signature · 1 line
2.8.2
PATCH 40/42 ruby: Upgrade to 2.2.5
In reply to Khem RajThis is latest in 2.2 series, helps with compile
using clang
---
meta/recipes-devtools/ruby/{ruby_2.2.2.bb => ruby_2.2.5.bb} | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
rename meta/recipes-devtools/ruby/{ruby_2.2.2.bb => ruby_2.2.5.bb} (86%)meta/recipes-devtools/ruby/ruby_2.2.5.bb renamed from meta/recipes-devtools/ruby/ruby_2.2.2.bb +2 -6
@@ -1,7 +1,7 @@ require ruby.inc -SRC_URI[md5sum] = "326e99ddc75381c7b50c85f7089f3260" -SRC_URI[sha256sum] = "5ffc0f317e429e6b29d4a98ac521c3ce65481bfd22a8cf845fa02a7b113d9b44" +SRC_URI[md5sum] = "bd8e349d4fb2c75d90817649674f94be" +SRC_URI[sha256sum] = "30c4b31697a4ca4ea0c8db8ad30cf45e6690a0f09687e5d483c933c03ca335e3" # it's unknown to configure script, but then passed to extconf.rb # maybe it's not really needed as we're hardcoding the result with
@@ -23,10 +23,6 @@ EXTRA_OECONF = "\ --enable-load-relative \ " -EXTRA_OEMAKE = " \ - LIBRUBYARG='-lruby-static' \ -" - do_install() { oe_runmake 'DESTDIR=${D}' install }
Signature · 1 line
2.8.2
PATCH 41/42 mpfr: Upgrade to 3.1.4
In reply to Khem Raj---
meta/recipes-support/mpfr/{mpfr-3.1.3 => mpfr}/long-long-thumb.patch | 0
meta/recipes-support/mpfr/{mpfr_3.1.3.bb => mpfr_3.1.4.bb} | 5 ++---
2 files changed, 2 insertions(+), 3 deletions(-)
rename meta/recipes-support/mpfr/{mpfr-3.1.3 => mpfr}/long-long-thumb.patch (100%)
rename meta/recipes-support/mpfr/{mpfr_3.1.3.bb => mpfr_3.1.4.bb} (75%)meta/recipes-support/mpfr/mpfr/long-long-thumb.patch renamed from meta/recipes-support/mpfr/mpfr-3.1.3/long-long-thumb.patch +0 -0
meta/recipes-support/mpfr/mpfr_3.1.4.bb renamed from meta/recipes-support/mpfr/mpfr_3.1.3.bb +2 -3
@@ -8,9 +8,8 @@ DEPENDS = "gmp" SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.xz \ file://long-long-thumb.patch \ " - -SRC_URI[md5sum] = "6969398cd2fbc56a6af570b5273c56a9" -SRC_URI[sha256sum] = "6835a08bd992c8257641791e9a6a2b35b02336c8de26d0a8577953747e514a16" +SRC_URI[md5sum] = "064b2c18185038e404a401b830d59be8" +SRC_URI[sha256sum] = "761413b16d749c53e2bfd2b1dfaa3b027b0e793e404b90b5fbaeef60af6517f5" UPSTREAM_CHECK_URI = "http://www.mpfr.org/mpfr-current/"
Signature · 1 line
2.8.2
PATCH 42/42 gcc-runtime, libgcc: Symlink c++ header and startup files in target_triplet for SDK use
In reply to Khem RajWe build SDKs such that gcc-cross-candian is built for only one target *-*-linux and then use -muclibc or -mmusl to let it compile code for other libc variants. This works fine when libc = glibc however it does not work for c++ programs when libc != glibc since there are c++ headers installed under ${includedir}/c++/${BINV}/${TARGET_SYS} which is fine when gcc-runtime and gcc-cross-candian uses same --target options gxx includedir searches in right triplet, but it fails with musl/uclibc since gcc will look for glibc based triplet but gcc-runtime will install them under musl/uclibc triplet.
This patch symlinks the musl/uclibc triplet to glibc triplet when libc != glibc
This fixes SDKs for musl/uclibc
--- meta/classes/cross-canadian.bbclass | 1 + meta/recipes-devtools/gcc/gcc-runtime.inc | 12 ++++++++++++ meta/recipes-devtools/gcc/libgcc.inc | 12 ++++++++++++ 3 files changed, 25 insertions(+)
meta/classes/cross-canadian.bbclass +1 -0
@@ -68,6 +68,7 @@ python () { elif tarch == "mips64": d.appendVar("CANADIANEXTRAOS", " linux-gnun32 linux-uclibcn32 linux-musln32") if tarch == "arm" or tarch == "armeb": + d.appendVar("CANADIANEXTRAOS", " linux-musleabi linux-uclibceabi") d.setVar("TARGET_OS", "linux-gnueabi") else: d.setVar("TARGET_OS", "linux")
meta/recipes-devtools/gcc/gcc-runtime.inc +12 -0
@@ -73,9 +73,21 @@ do_install () { if [ "${TARGET_VENDOR_MULTILIB_ORIGINAL}" != "" -a "${TARGET_VENDOR}" != "${TARGET_VENDOR_MULTILIB_ORIGINAL}" ]; then ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR_MULTILIB_ORIGINAL}-${TARGET_OS} fi + +} + +do_install_append_class-target () { if [ "${TARGET_OS}" = "linux-gnuspe" ]; then ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux fi + if [ "${TCLIBC}" != "glibc" ]; then + case "${TARGET_OS}" in + "linux-musl" | "linux-uclibc" | "linux-*spe") extra_target_os="linux";; + "linux-musleabi" | "linux-uclibceabi") extra_target_os="linux-gnueabi";; + *) extra_target_os="linux";; + esac + ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-$extra_target_os + fi chown -R root:root ${D} }
meta/recipes-devtools/gcc/libgcc.inc +12 -0
@@ -2,6 +2,17 @@ require libgcc-common.inc DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" +do_install_append_class-target () { + if [ "${TCLIBC}" != "glibc" ]; then + case "${TARGET_OS}" in + "linux-musl" | "linux-uclibc" | "linux-*spe") extra_target_os="linux";; + "linux-musleabi" | "linux-uclibceabi") extra_target_os="linux-gnueabi";; + *) extra_target_os="linux";; + esac + ln -s ${TARGET_SYS} ${D}${libdir}/${TARGET_ARCH}${TARGET_VENDOR}-$extra_target_os + fi +} + PACKAGES = "\ ${PN} \ ${PN}-dev \
@@ -19,6 +30,7 @@ FILES_${PN}-dev = "\ ${base_libdir}/libgcc*.so \ ${@base_conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ ${libdir}/${TARGET_SYS}/${BINV}* \ + ${libdir}/${TARGET_ARCH}${TARGET_VENDOR}* \ " LIBGCCBUILDTREENAME = "gcc-build-internal-"
Signature · 1 line
2.8.2
Re: [PATCH 01/42] gcc: Add gcc6 recipes
In reply to Khem RajQuoted 4 lines · Khem Raj
(quoted diff) +2
-0+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz download comes from? It increased the size of my downloads-directory by >30% -- and I must have quite a bit of old junk in that directory already.
Is there no other solution to this than a 2.5G git copy (honest question, I don't know gcc)?
Jussi
Re: [PATCH 01/42] gcc: Add gcc6 recipes
Quoted 11 lines · On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote:
Quoted 3 lines · Khem Raj
(quoted diff) +2
-0+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz download comes from? It increased the size of my downloads-directory by >30% -- and I must have quite a bit of old junk in that directory already.
Is there no other solution to this than a 2.5G git copy (honest question, I don't know gcc)?
We went down this road before and it wasn't great for users. There is at least a tarball for 6.1, we'd presumably need some patches on top of that (~43 if we were to simply take what's in the gcc-6-branch between 6.1 and bd9a826, minus the "daily bumps").
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [PATCH 01/42] gcc: Add gcc6 recipes
Quoted 11 lines · On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote:
Quoted 10 lines · On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote:
Quoted 3 lines · Khem Raj
(quoted diff) +2
-0+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz download comes from? It increased the size of my downloads-directory by >30% -- and I must
have quite a bit of old junk in that directory already.
Quoted 8 lines
Quoted 3 lines
Is there no other solution to this than a 2.5G git copy (honest question, I
don't know gcc)?We went down this road before and it wasn't great for users. There is at least a tarball for 6.1, we'd presumably need some patches on top of that (~43 if we were to simply take what's in the gcc-6-branch between 6.1 and bd9a826, minus the "daily bumps").
Perhaps that was a little unclear - when I say "we went down this road before" I'm agreeing with Jussi - we pointed to a git branch in a previous release with the same resulting huge download for everyone, something I think we should avoid if at all possible.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [PATCH 01/42] gcc: Add gcc6 recipes
Quoted 21 lines · Paul Eggleton
Quoted 11 lines · On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote:
Quoted 10 lines · On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote:
Quoted 3 lines · Khem Raj
(quoted diff) +2
-0+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz download comes from? It increased the size of my downloads-directory by >30% -- and I must
have quite a bit of old junk in that directory already.Quoted 8 lines
Quoted 3 lines
Is there no other solution to this than a 2.5G git copy (honest question, I
don't know gcc)?We went down this road before and it wasn't great for users. There is at least a tarball for 6.1, we'd presumably need some patches on top of that (~43 if we were to simply take what's in the gcc-6-branch between 6.1 and bd9a826, minus the "daily bumps").
Quoted 4 lines
Perhaps that was a little unclear - when I say "we went down this road before" I'm agreeing with Jussi - we pointed to a git branch in a previous release with the same resulting huge download for everyone, something I think we should avoid if at all possible.
Maybe it's biggest but at least there is only one copy of it:
top 10 in my downloads (archives and then git clones).
823M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.14.git.tar.gz 831M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.10.git.tar.gz 893M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.17.git.tar.gz 934M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.19.git.tar.gz 969M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-4.1.git.tar.gz 1.2G /OE/downloads/git2_git.yoctoproject.org.linux-yocto-dev.git.tar.gz
2.4G /OE/downloads/git2_github.com.gcc-mirror.gcc.tar.gz
854M /OE/downloads/git2/github.com.qtproject.qtwebengine-chromium.git
877M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.10.git 900M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git 921M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.17.git 964M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.19.git 999M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.1.git 1.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-dev.git 2.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.4.git
Quoted 13 lines
Cheers,
PaulSignature · 7 lines
Paul Eggleton Intel Open Source Technology Centre -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCH 01/42] gcc: Add gcc6 recipes
Quoted 40 lines · On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote:
Quoted 19 lines · Paul Eggleton
Quoted 10 lines · On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote:
Quoted 9 lines · On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote:
Quoted 3 lines · Khem Raj
(quoted diff) +2
-0+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz download comes from? It increased the size of my downloads-directory by >30% -- and I must have quite a bit of old junk in that directory already.
Quoted 7 lines
Quoted 2 lines
Is there no other solution to this than a 2.5G git copy (honest question, I don't know gcc)?
We went down this road before and it wasn't great for users. There is at least a tarball for 6.1, we'd presumably need some patches on top of that (~43 if we were to simply take what's in the gcc-6-branch between 6.1 and bd9a826, minus the "daily bumps").
Quoted 4 lines
Perhaps that was a little unclear - when I say "we went down this road before" I'm agreeing with Jussi - we pointed to a git branch in a previous release with the same resulting huge download for everyone, something I think we should avoid if at all possible.
Maybe it's biggest but at least there is only one copy of it:
top 10 in my downloads (archives and then git clones).
823M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.14.git.tar.gz 831M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.10.git.tar.gz 893M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.17.git.tar.gz 934M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.19.git.tar.gz 969M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-4.1.git.tar.gz 1.2G /OE/downloads/git2_git.yoctoproject.org.linux-yocto-dev.git.tar.gz2.4G /OE/downloads/git2_github.com.gcc-mirror.gcc.tar.gz
854M /OE/downloads/git2/github.com.qtproject.qtwebengine-chromium.git
Quoted 7 lines
877M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.10.git 900M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git 921M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.17.git 964M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.19.git 999M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.1.git 1.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-dev.git 2.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.4.git
No argument from me there - it does seem a little wasteful given that there must be a huge overlap between those repos.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [PATCH 01/42] gcc: Add gcc6 recipes
Quoted 49 lines · Paul Eggleton
Quoted 40 lines · On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote:
Quoted 19 lines · Paul Eggleton
Quoted 10 lines · On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote:
Quoted 9 lines · On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote:
Quoted 3 lines · Khem Raj
(quoted diff) +2
-0+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz download comes from? It increased the size of my downloads-directory by >30% -- and I must have quite a bit of old junk in that directory already.
Quoted 7 lines
Quoted 2 lines
Is there no other solution to this than a 2.5G git copy (honest question, I don't know gcc)?
We went down this road before and it wasn't great for users. There is at least a tarball for 6.1, we'd presumably need some patches on top of that (~43 if we were to simply take what's in the gcc-6-branch between 6.1 and bd9a826, minus the "daily bumps").
Quoted 4 lines
Perhaps that was a little unclear - when I say "we went down this road before" I'm agreeing with Jussi - we pointed to a git branch in a previous release with the same resulting huge download for everyone, something I think we should avoid if at all possible.
Maybe it's biggest but at least there is only one copy of it:
top 10 in my downloads (archives and then git clones).
823M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.14.git.tar.gz 831M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.10.git.tar.gz 893M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.17.git.tar.gz 934M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.19.git.tar.gz 969M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-4.1.git.tar.gz 1.2G /OE/downloads/git2_git.yoctoproject.org.linux-yocto-dev.git.tar.gz2.4G /OE/downloads/git2_github.com.gcc-mirror.gcc.tar.gz
854M /OE/downloads/git2/github.com.qtproject.qtwebengine-chromium.git
Quoted 7 lines
877M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.10.git 900M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git 921M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.17.git 964M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.19.git 999M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.1.git 1.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-dev.git 2.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.4.git
Quoted 2 lines
No argument from me there - it does seem a little wasteful given that there must be a huge overlap between those repos.
In other build systems, I've simply been able to reference a common repository for the majority of the blobs. That isn't an option with oe/bitbake (as far as I know).
We could also do shallow clones, but I'm also unsure of how well that is supported.
With the amount of series that are completely rebased and dynamic in content, the trees do need to be separate per version. It becomes completely un-bisectable and maintainable any other way.
Bruce
Quoted 4 lines
Cheers,
Paul
Re: [PATCH 01/42] gcc: Add gcc6 recipes
Quoted 57 lines · On Thu, 02 Jun 2016 15:19:37 Bruce Ashfield wrote:
Quoted 56 lines · Paul Eggleton
Quoted 54 lines · On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote:
Quoted 20 lines · Paul Eggleton
Quoted 10 lines · On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote:
Quoted 9 lines · On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote:
Quoted 3 lines · Khem Raj
(quoted diff) +2
-0+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz download comes from? It increased the size of my downloads-directory by >30% -- and I must have quite a bit of old junk in that directory already.
Quoted 8 lines
Quoted 2 lines
Is there no other solution to this than a 2.5G git copy (honest question, I don't know gcc)?
We went down this road before and it wasn't great for users. There is at
least a tarball for 6.1, we'd presumably need some patches on top of that (~43 if we were to simply take what's in the gcc-6-branch between 6.1 and bd9a826, minus the "daily bumps").Quoted 4 lines
Perhaps that was a little unclear - when I say "we went down this road before" I'm agreeing with Jussi - we pointed to a git branch in a previous release with the same resulting huge download for everyone, something I think we should avoid if at all possible.
Maybe it's biggest but at least there is only one copy of it:
top 10 in my downloads (archives and then git clones).
823M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.14.git.tar.gz 831M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.10.git.tar.gz 893M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.17.git.tar.gz 934M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.19.git.tar.gz 969M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-4.1.git.tar.gz 1.2G /OE/downloads/git2_git.yoctoproject.org.linux-yocto-dev.git.tar.gz
2.4G /OE/downloads/git2_github.com.gcc-mirror.gcc.tar.gz
854M /OE/downloads/git2/github.com.qtproject.qtwebengine-chromium.git
877M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.10.git 900M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git 921M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.17.git 964M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.19.git 999M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.1.git 1.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-dev.git 2.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.4.git
Quoted 6 lines
Quoted 2 lines
No argument from me there - it does seem a little wasteful given that there must be a huge overlap between those repos.
In other build systems, I've simply been able to reference a common repository for the majority of the blobs. That isn't an option with oe/bitbake (as far as I know).
It's possible we could add functionality along those lines to at least save download time; disk usage would probably be unaffected though.
Quoted 2 lines
We could also do shallow clones, but I'm also unsure of how well that is supported.
I know Chris looked into adding this, I don't recall how far he got.
Quoted 3 lines
With the amount of series that are completely rebased and dynamic in content, the trees do need to be separate per version. It becomes completely un-bisectable and maintainable any other way.
Bisectability is function of how the branch is managed, not the repository - surely? Perhaps I'm missing something.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [PATCH 01/42] gcc: Add gcc6 recipes
Quoted 61 lines · Paul Eggleton
Quoted 60 lines · On Thu, 02 Jun 2016 15:19:37 Bruce Ashfield wrote:
Quoted 58 lines · Paul Eggleton
Quoted 47 lines · On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote:
Quoted 20 lines · Paul Eggleton
Quoted 10 lines · On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote:
Quoted 9 lines · On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote:
Quoted 3 lines · Khem Raj
(quoted diff) +2
-0+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz download comes from? It increased the size of my downloads-directory by >30% -- and I must have quite a bit of old junk in that directory already.
Quoted 8 lines
Quoted 2 lines
Is there no other solution to this than a 2.5G git copy (honest question, I don't know gcc)?
We went down this road before and it wasn't great for users. There is at
least a tarball for 6.1, we'd presumably need some patches on top of that (~43 if we were to simply take what's in the gcc-6-branch between 6.1 and bd9a826, minus the "daily bumps").Quoted 4 lines
Perhaps that was a little unclear - when I say "we went down this road before" I'm agreeing with Jussi - we pointed to a git branch in a previous release with the same resulting huge download for everyone, something I think we should avoid if at all possible.
Maybe it's biggest but at least there is only one copy of it:
top 10 in my downloads (archives and then git clones).
823M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.14.git.tar.gz 831M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.10.git.tar.gz 893M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.17.git.tar.gz 934M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.19.git.tar.gz 969M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-4.1.git.tar.gz 1.2G /OE/downloads/git2_git.yoctoproject.org.linux-yocto-dev.git.tar.gz
2.4G /OE/downloads/git2_github.com.gcc-mirror.gcc.tar.gz
854M /OE/downloads/git2/github.com.qtproject.qtwebengine-chromium.git
Quoted 7 lines
877M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.10.git 900M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git 921M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.17.git 964M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.19.git 999M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.1.git 1.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-dev.git 2.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.4.gitNo argument from me there - it does seem a little wasteful given that there must be a huge overlap between those repos.
Quoted 6 lines
Quoted 3 lines
In other build systems, I've simply been able to reference a common repository for the majority of the blobs. That isn't an option with oe/bitbake (as far as I know).
It's possible we could add functionality along those lines to at least save download time; disk usage would probably be unaffected though.
Nope. Disk usage goes down as well. With alternate objects, each repo is only the size of what is unique to the repo.
Quoted 4 lines
Quoted 3 lines
We could also do shallow clones, but I'm also unsure of how well that is supported.
Quoted 8 lines
I know Chris looked into adding this, I don't recall how far he got.
Quoted 3 lines
With the amount of series that are completely rebased and dynamic in content, the trees do need to be separate per version. It becomes completely un-bisectable and maintainable any other way.
Bisectability is function of how the branch is managed, not the repository - surely? Perhaps I'm missing something.
Terminology perhaps? branch, repository .. whatever. They are all the same.
Granularity of kernel commits. Over time with features like lttng,
aufs, preempt-rt, backports, etc, etc, It becomes impossible to integrate new features and kernel updates without conflicts.
You end up with a tree riddled with merge commits, reverts and other garbage that obscure the real changes.
I've lived that life, and its a not fun.
Bruce
Quoted 4 lines
Cheers,
Paul
Re: [PATCH 01/42] gcc: Add gcc6 recipes
Quoted 69 lines · On Thu, 02 Jun 2016 15:30:14 Bruce Ashfield wrote:
Quoted 68 lines · Paul Eggleton
Quoted 66 lines · On Thu, 02 Jun 2016 15:19:37 Bruce Ashfield wrote:
Quoted 59 lines · Paul Eggleton
Quoted 50 lines · On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote:
Quoted 22 lines · Paul Eggleton
Quoted 14 lines · On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote:
Quoted 10 lines · On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote:
Quoted 3 lines · Khem Raj
(quoted diff) +2
-0+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz download comes from? It increased the size of my downloads-directory by >30% --
and I must have quite a bit of old junk in that directory already.Quoted 2 lines
Is there no other solution to this than a 2.5G git copy (honest question, I don't know gcc)?
Quoted 6 lines
We went down this road before and it wasn't great for users. There is at
least a tarball for 6.1, we'd presumably need some patches on top of that (~43 if we were to simply take what's in the gcc-6-branch between
6.1 and bd9a826, minus the "daily bumps").Quoted 4 lines
Perhaps that was a little unclear - when I say "we went down this road before" I'm agreeing with Jussi - we pointed to a git branch in a previous release with the same resulting huge download for everyone, something I think we should avoid if at all possible.
Maybe it's biggest but at least there is only one copy of it:
top 10 in my downloads (archives and then git clones).
823M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.14.git.tar.gz 831M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.10.git.tar.gz 893M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.17.git.tar.gz 934M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.19.git.tar.gz 969M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-4.1.git.tar.gz 1.2G /OE/downloads/git2_git.yoctoproject.org.linux-yocto-dev.git.tar.gz
2.4G /OE/downloads/git2_github.com.gcc-mirror.gcc.tar.gz
854M /OE/downloads/git2/github.com.qtproject.qtwebengine-chromium.git
Quoted 7 lines
877M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.10.git 900M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git 921M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.17.git 964M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.19.git 999M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.1.git 1.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-dev.git 2.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.4.gitQuoted 2 lines
No argument from me there - it does seem a little wasteful given that there must be a huge overlap between those repos.
In other build systems, I've simply been able to reference a common repository for the majority of the blobs. That isn't an option with oe/bitbake (as far as I know).
Quoted 5 lines
Quoted 2 lines
It's possible we could add functionality along those lines to at least save download time; disk usage would probably be unaffected though.
Nope. Disk usage goes down as well. With alternate objects, each repo is only the size of what is unique to the repo.
I guess it depends on how you do it. Reducing both would be ideal, of course.
Quoted 15 lines
Quoted 11 lines
Quoted 2 lines
We could also do shallow clones, but I'm also unsure of how well that is supported.
I know Chris looked into adding this, I don't recall how far he got.
Quoted 3 lines
With the amount of series that are completely rebased and dynamic in content, the trees do need to be separate per version. It becomes completely un-bisectable and maintainable any other way.
Bisectability is function of how the branch is managed, not the repository
- surely? Perhaps I'm missing something.Terminology perhaps? branch, repository .. whatever. They are all the same.
Quoted 8 lines
Granularity of kernel commits. Over time with features like lttng, aufs, preempt-rt, backports, etc, etc, It becomes impossible to integrate new features and kernel updates without conflicts.
You end up with a tree riddled with merge commits, reverts and other garbage that obscure the real changes.
I've lived that life, and its a not fun.
I don't think anyone would want to move to that model, I agree it's ugly. It seems to me that one repo doesn't mandate that though - all it would require would be unique branch names, so you'd end up multiplying the number of standard/xxx branches by the number of versions. We should definitely try going down the alternate objects / shallow clones routes first before potentially breaking people's workflow however.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [PATCH 01/42] gcc: Add gcc6 recipes
Quoted 70 lines · Paul Eggleton
Quoted 69 lines · On Thu, 02 Jun 2016 15:30:14 Bruce Ashfield wrote:
Quoted 68 lines · Paul Eggleton
Quoted 66 lines · On Thu, 02 Jun 2016 15:19:37 Bruce Ashfield wrote:
Quoted 59 lines · Paul Eggleton
Quoted 50 lines · On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote:
Quoted 22 lines · Paul Eggleton
Quoted 14 lines · On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote:
Quoted 10 lines · On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote:
Quoted 3 lines · Khem Raj
(quoted diff) +2
-0+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz download comes from? It increased the size of my downloads-directory by >30% --
and I must have quite a bit of old junk in that directory already.Quoted 2 lines
Is there no other solution to this than a 2.5G git copy (honest question, I don't know gcc)?
Quoted 6 lines
We went down this road before and it wasn't great for users. There is at
least a tarball for 6.1, we'd presumably need some patches on top of that (~43 if we were to simply take what's in the gcc-6-branch between
6.1 and bd9a826, minus the "daily bumps").Quoted 4 lines
Perhaps that was a little unclear - when I say "we went down this road before" I'm agreeing with Jussi - we pointed to a git branch in a previous release with the same resulting huge download for everyone, something I think we should avoid if at all possible.
Maybe it's biggest but at least there is only one copy of it:
top 10 in my downloads (archives and then git clones).
823M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.14.git.tar.gz 831M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.10.git.tar.gz 893M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.17.git.tar.gz 934M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.19.git.tar.gz 969M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-4.1.git.tar.gz 1.2G /OE/downloads/git2_git.yoctoproject.org.linux-yocto-dev.git.tar.gz
2.4G /OE/downloads/git2_github.com.gcc-mirror.gcc.tar.gz
854M /OE/downloads/git2/github.com.qtproject.qtwebengine-chromium.git
Quoted 7 lines
877M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.10.git 900M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git 921M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.17.git 964M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.19.git 999M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.1.git 1.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-dev.git 2.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.4.gitQuoted 2 lines
No argument from me there - it does seem a little wasteful given that there must be a huge overlap between those repos.
In other build systems, I've simply been able to reference a common repository for the majority of the blobs. That isn't an option with oe/bitbake (as far as I know).
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
It's possible we could add functionality along those lines to at least save download time; disk usage would probably be unaffected though.
Nope. Disk usage goes down as well. With alternate objects, each repo is only the size of what is unique to the repo.
I guess it depends on how you do it. Reducing both would be ideal, of course.
Both can absolutely be reduced.
In the past, I've had a korg pristine clone available. That's your big fetch (download and disk), after that all kernel clones refer to it. They are only 10's of Megabytes on disk and on the wire after that.
Quoted 22 lines
Quoted 22 lines
Quoted 11 lines
Quoted 2 lines
We could also do shallow clones, but I'm also unsure of how well that is supported.
I know Chris looked into adding this, I don't recall how far he got.
Quoted 3 lines
With the amount of series that are completely rebased and dynamic in content, the trees do need to be separate per version. It becomes completely un-bisectable and maintainable any other way.
Bisectability is function of how the branch is managed, not the repository
- surely? Perhaps I'm missing something.Terminology perhaps? branch, repository .. whatever. They are all the same.
Granularity of kernel commits. Over time with features like lttng, aufs, preempt-rt, backports, etc, etc, It becomes impossible to integrate new features and kernel updates without conflicts.
You end up with a tree riddled with merge commits, reverts and other garbage that obscure the real changes.
Quoted 8 lines
Quoted 1 line
I've lived that life, and its a not fun.
I don't think anyone would want to move to that model, I agree it's ugly. It seems to me that one repo doesn't mandate that though - all it would require would be unique branch names, so you'd end up multiplying the number of standard/xxx branches by the number of versions. We should definitely try going down the alternate objects / shallow clones routes first before potentially breaking people's workflow however.
Yep. I've also tried that, in fact, that's where we started. You can have a jungle of branches .. and it can definitely work. But I keep getting pressed to reduce branches, not add more. But if push came to shove .. it definitely is viable (and less nasty than the alternatives).
Bruce
Quoted 4 lines
Cheers,
Paul
Re: [PATCH 01/42] gcc: Add gcc6 recipes
In reply to Paul EggletonQuoted 71 lines · Paul Eggleton
Quoted 11 lines · On Thu, 02 Jun 2016 15:19:37 Bruce Ashfield wrote:
Quoted 10 lines · Paul Eggleton
Quoted 9 lines · On Thu, 02 Jun 2016 18:05:35 Martin Jansa wrote:
Quoted 8 lines · Paul Eggleton
Quoted 7 lines · On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote:
Quoted 6 lines · On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote:
Quoted 3 lines · Khem Raj
(quoted diff) +2
-0+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz
download
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
comes from? It increased the size of my downloads-directory by
30% --
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
and I must have quite a bit of old junk in that directory already.
Is there no other solution to this than a 2.5G git copy (honest question, I don't know gcc)?
We went down this road before and it wasn't great for users. There
is
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
at
least a tarball for 6.1, we'd presumably need some patches on top of that (~43 if we were to simply take what's in the gcc-6-branchbetween
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
6.1 and bd9a826, minus the "daily bumps").
Perhaps that was a little unclear - when I say "we went down this
road
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 3 lines
before" I'm agreeing with Jussi - we pointed to a git branch in a previous release with the same resulting huge download for everyone, something I think we should avoid if at all possible.
Maybe it's biggest but at least there is only one copy of it:
top 10 in my downloads (archives and then git clones).
823M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.14.git.tar.gz 831M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.10.git.tar.gz 893M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.17.git.tar.gz 934M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-3.19.git.tar.gz 969M /OE/downloads/git2_git.yoctoproject.org.linux-yocto-4.1.git.tar.gz 1.2G /OE/downloads/git2_git.yoctoproject.org.linux-yocto-dev.git.tar.gz
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
2.4G /OE/downloads/git2_github.com.gcc-mirror.gcc.tar.gz
854M
/OE/downloads/git2/github.com.qtproject.qtwebengine-chromium.git
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
877M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.10.git 900M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git 921M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.17.git 964M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-3.19.git 999M /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.1.git 1.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-dev.git 2.3G /OE/downloads/git2/git.yoctoproject.org.linux-yocto-4.4.gitQuoted 6 lines
Quoted 2 lines
No argument from me there - it does seem a little wasteful given that there must be a huge overlap between those repos.
In other build systems, I've simply been able to reference a common repository for the majority of the blobs. That isn't an option with oe/bitbake (as far as I know).
Quoted 7 lines
It's possible we could add functionality along those lines to at least save download time; disk usage would probably be unaffected though.
Quoted 2 lines
We could also do shallow clones, but I'm also unsure of how well that is supported.
I know Chris looked into adding this, I don't recall how far he got.
I did work on shallow support, yes.
Shallow mirror tarball support is on the bitbake list awaiting Richard's review and merge for 2.2, assuming there are no major objections. There is a caveat, however. Since git's shallow clone capability is limited to specifying the depth, we can't really do shallow *clones*, as we don't know the distance from branch HEAD to SRCREV at the time we're going to clone.
What we can support is shallow mirror tarballs, where a mirror is populated with shallow mirror tarballs which the user's build will fetch, if available, instead of full mirror tarballs, and this is what my patch series implements. Of course, each time the recipe SRCREVs change, we'd get new shallow tarballs that'd need fetching, enough of those would outweigh the benefits vs just doing a straight up front clone, but I think the benefit is clear. A shallow kernel tarball for a repo of this sort is around 100 megs instead of a gig.
We've been using it at mentor for a while now with good results, so far. I'd love to see someone other than us test out the patches, though, or give some feedback on either the concept or the code :) See "[master][PATCH 0/3] Implement support for shallow git mirror tarballs" on the bitbake-devel list.
Signature · 5 lines
Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
Hello
Can the gcc 6 fixes be pulled into the krogoth branch as well?
Quoted 415 lines · On Wed, 11 May 2016 10:35:25 -0700 Khem Raj <[email protected]> wrote:
This patchset covers gcc 6 upgrade along with gdb 7.11 and glibc 2.24 ( upcoming ) release.
Rest of upgrades are necessaciated by gcc-6 due to backports that were already in newer versions of packages
It has been boot tested with core-image-minimal on all qemu machines
The following changes since commit
a5970809a2f01dbd152684266e2a3d946d896620:oeqa/lic-checksum: Update after recent
LIC_FILES_CHKSUMchanges (2016-05-11 10:33:16 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/gcc-6
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-6Dan McGregor (2):
pkgconfig: Fix build with gcc-6 and upgrade to 0.29.1
binutils: disable werror on native buildKhem Raj (39):
gcc: Add gcc6 recipes
glibc: Add recipes for 2.24 release
glib-2.0: Ignore useless warning found with gcc-6
elfutils: Upgrade to 0.166
rpm: Fix build with gcc6
alsa-tools: Fix build with gcc6
lzop: Fix build with gcc-6
webkitgtk: Upgrade to 2.12.1
oprofile: Fix with gcc6
mdadm: Fix gcc 6 warnings
nss: Upgrade to 3.23
grub: Fix build with gcc-6
valgrind: Fix build with gcc6
busybox/mdev: Ensure /sys is mounted before using it libc-common.bbclass: Use sed instead of grep
conf: bump minimum kernel to 3.2.0
systemd: Create missing sysusers offline
grub_git: Upgrade to latest tip
libunwind: Upgrade to 1.2rc1+
linux-yocto: Fix build on ppc with gcc-6
linux-yocto: Fix build with gcc6 on mips
python-native: Point to expat in native sysroot bitbake.conf: Empty outBUILDSDK_CPPFLAGS
strace: Remove pipe.expected
musl: Upgrade to tip of tree
libgcc: Ensure that gcc configure options are passed to libgcc too
libunwind: Upgrade to 1.2rc1+
libgcc: Ensure that gcc configure options are passed to libgcc too gdb,strace: Fix builds on ppc/musl
libunwind: Add a confgure option for tests
gdb: Upgrade to 7.11
gdb: Disable binutils components
tcmode-default: Bump gcc,glibc,gdb
musl: Create symlinks for stub libraries
mdadm: Fix build with clang
distcc: Upgrade to 3.2
ruby: Upgrade to 2.2.5
mpfr: Upgrade to 3.1.4
gcc-runtime,libgcc: Symlink c++ header and startup files in
target_tripletfor SDK useMarek Vasut (1):
bitbake: Oldest kernel for nios2 is 3.19meta/classes/cross-canadian.bbclass | 1 + meta/classes/libc-common.bbclass | 6 +- meta/classes/populate_sdk_base.bbclass | 2 +- meta/conf/bitbake.conf | 7 +- meta/conf/distro/include/tcmode-default.inc | 6 +- ...ettext-gettext.c-main_context-secondary_c.patch | 39 + meta/recipes-bsp/grub/grub2.inc | 1 + meta/recipes-bsp/grub/grub_git.bb | 2 +- meta/recipes-core/busybox/files/mdev | 4 +- .../0001-Do-not-ignore-return-value-of-write.patch | 42 + .../glib-2.0/0002-tests-Ignore-y2k-warnings.patch | 42 + .../ignore-format-nonliteral-warning.patch | 39 + meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb | 7 +- .../fix_for_centos_5.8.patch | 18 - ...tive_2.23.bb => cross-localedef-native_2.24.bb} | 26 +- ...glibc-initial_2.23.bb => glibc-initial_2.24.bb} | 0 .../{glibc-locale_2.23.bb => glibc-locale_2.24.bb} | 0 .../{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} | 0 ...glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} | 0 ...libc-Look-for-host-system-ld.so.cache-as-.patch | 8 +- ...libc-Fix-buffer-overrun-with-a-relocated-.patch | 8 +- ...libc-Raise-the-size-of-arrays-containing-.patch | 34 +- ...ivesdk-glibc-Allow-64-bit-atomics-for-x86.patch | 10 +- ...500-e5500-e6500-603e-fsqrt-implementation.patch | 6 +- ...-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch | 8 +- ...-Fix-undefined-reference-to-__sqrt_finite.patch | 6 +- ...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +- ...bug-1443-which-explains-what-the-patch-do.patch | 8 +- ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch | 10 +- ...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +- ...ersion-output-matching-grok-gold-s-output.patch | 14 +- ...-configure.ac-handle-correctly-libc_cv_ro.patch | 6 +- .../glibc/glibc/0014-Add-unused-attribute.patch | 8 +- ...thin-the-path-sets-wrong-config-variables.patch | 10 +- ...-timezone-re-written-tzselect-as-posix-sh.patch | 16 +- ...move-bash-dependency-for-nscd-init-script.patch | 8 +- ...c-Cross-building-and-testing-instructions.patch | 6 +- ...019-eglibc-Help-bootstrap-cross-toolchain.patch | 8 +- .../glibc/0020-eglibc-cherry-picked-from.patch | 18 +- .../0021-eglibc-Clear-cache-lines-on-ppc8xx.patch | 10 +- ...0022-eglibc-Resolve-__fpscr_values-on-SH4.patch | 8 +- .../glibc/0023-eglibc-Install-PIC-archives.patch | 8 +- ...ard-port-cross-locale-generation-support.patch} | 30 +- ...0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | 32 + ...ing-SSE-make-sure-fpmath-is-not-set-to-us.patch | 48 - .../glibc/{glibc_2.23.bb => glibc_2.24.bb} | 12 +- meta/recipes-core/musl/musl.inc | 2 +- meta/recipes-core/musl/musl_git.bb | 6 +- meta/recipes-core/systemd/systemd_229.bb | 8 +- meta/recipes-devtools/binutils/binutils_2.26.bb | 3 +- .../distcc/{distcc_3.1.bb => distcc_3.2.bb} | 8 +- .../distcc/files/separatebuilddir.patch | 14 +- ...ferences-between-mips-machine-identifiers.patch | 0 ...de-alternatives-for-glibc-assumptions-hel.patch | 488 ++-- ...m-Silence-Werror-maybe-uninitialized-fals.patch | 0 .../0001-fix-a-stack-usage-warning.patch | 0 .../0001-remove-the-unneed-checking.patch | 0 ...-support-for-mips64-abis-in-mips_retval.c.patch | 0 .../0003-Add-mips-n64-relocation-format-hack.patch | 0 .../aarch64_uio.patch | 0 .../arm_backend.diff | 0 .../elfcmp-fix-self-comparision.patch | 41 + .../fixheadercheck.patch | 0 .../hppa_backend.diff | 0 .../kfreebsd_path.patch | 0 .../m68k_backend.diff | 0 .../mips_backend.diff | 0 .../mips_readelf_w.patch | 0 .../shadow.patch | 0 .../testsuite-ignore-elflint.diff | 0 .../uclibc-support.patch | 37 +- .../{elfutils_0.164.bb => elfutils_0.166.bb} | 6 +- ...-Symlink-c-header-in-target_triplet-for-S.patch | 49 + meta/recipes-devtools/gcc/gcc-6.1.inc | 131 + .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 42 + .../gcc/gcc-6.1/0002-uclibc-conf.patch | 53 + .../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 87 + .../gcc/gcc-6.1/0004-uclibc-locale.patch | 2862 ++++++++++++++++++++ .../gcc/gcc-6.1/0005-uclibc-locale-no__x.patch | 257 ++ .../gcc/gcc-6.1/0006-uclibc-locale-wchar_fix.patch | 68 + .../gcc/gcc-6.1/0007-uclibc-locale-update.patch | 542 ++++ .../gcc/gcc-6.1/0008-missing-execinfo_h.patch | 28 + .../gcc/gcc-6.1/0009-c99-snprintf.patch | 28 + .../0010-gcc-poison-system-directories.patch | 192 ++ .../gcc/gcc-6.1/0011-gcc-poison-dir-extend.patch | 39 + .../0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 73 + .../gcc/gcc-6.1/0013-64-bit-multilib-hack.patch | 85 + .../gcc/gcc-6.1/0014-optional-libstdc.patch | 125 + ...0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 59 + .../gcc/gcc-6.1/0016-COLLECT_GCC_OPTIONS.patch | 38 + ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 96 + .../gcc-6.1/0018-fortran-cross-compile-hack.patch | 46 + .../gcc/gcc-6.1/0019-cpp-honor-sysroot.patch | 54 + .../gcc-6.1/0020-MIPS64-Default-to-N64-ABI.patch | 57 + ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 234 ++ ...0022-gcc-Fix-argument-list-too-long-error.patch | 40 + .../gcc/gcc-6.1/0023-Disable-sdt.patch | 113 + .../gcc/gcc-6.1/0024-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-6.1/0028-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 + .../0035-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 + .../0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 28 + .../gcc/gcc-6.1/0041-ssp_nonshared.patch | 28 + ...c-libcpp-support-ffile-prefix-map-old-new.patch | 292 ++ ...ug-prefix-map-to-replace-ffile-prefix-map.patch | 43 + ...-fdebug-prefix-map-support-to-remap-sourc.patch | 54 + ...45-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 125 + ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 29 + meta/recipes-devtools/gcc/gcc-common.inc | 2 + .../recipes-devtools/gcc/gcc-cross-canadian_6.1.bb | 5 + meta/recipes-devtools/gcc/gcc-cross-initial_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-cross_6.1.bb | 3 + .../gcc/gcc-crosssdk-initial_6.1.bb | 3 + meta/recipes-devtools/gcc/gcc-crosssdk_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-runtime.inc | 12 + meta/recipes-devtools/gcc/gcc-runtime_6.1.bb | 7 + meta/recipes-devtools/gcc/gcc-sanitizers_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-source_6.1.bb | 4 + meta/recipes-devtools/gcc/gcc_6.1.bb | 15 + meta/recipes-devtools/gcc/libgcc-common.inc | 9 +- meta/recipes-devtools/gcc/libgcc-initial_6.1.bb | 2 + meta/recipes-devtools/gcc/libgcc.inc | 12 + meta/recipes-devtools/gcc/libgcc_6.1.bb | 2 + meta/recipes-devtools/gcc/libgfortran_6.1.bb | 3 + .../gdb/{gdb-7.10.1.inc => gdb-7.11.inc} | 0 meta/recipes-devtools/gdb/gdb-common.inc | 25 +- ...nadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} | 0 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb | 4 - meta/recipes-devtools/gdb/gdb-cross_7.11.bb | 2 + meta/recipes-devtools/gdb/gdb.inc | 8 - .../gdb/0001-include-sys-types.h-for-mode_t.patch | 10 +- ...002-make-man-install-relative-to-DESTDIR.patch} | 8 +- ...-linux-nat-Define-_ABIO32-if-not-defined.patch} | 8 +- ...Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 53 + ...-support-for-Renesas-SH-sh4-architecture.patch} | 32 +- ...-libreadline.a-when-using-disable-static.patch} | 21 +- ...gidefs.h.patch => 0007-use-asm-sgidefs.h.patch} | 15 +- ...0008-Use-exorted-definitions-of-SIGRTMIN.patch} | 44 +- ...AGS.patch => 0009-Change-order-of-CFLAGS.patch} | 18 +- .../0010-resolve-restrict-keyword-conflict.patch | 48 + .../gdb/{gdb_7.10.1.bb => gdb_7.11.bb} | 0 ...e-Move-warning-pragma-outside-of-function.patch | 39 + meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 1 + .../python/python-native_2.7.11.bb | 2 +- meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch | 54 + meta/recipes-devtools/rpm/rpm_5.4.16.bb | 3 +- .../ruby/{ruby_2.2.2.bb => ruby_2.2.5.bb} | 8 +- ...hen-using-non-glibc-libc-implementation-o.patch | 36 + meta/recipes-devtools/strace/strace_4.11.bb | 4 +- .../valgrind/valgrind/gcc5-port.patch | 64 + meta/recipes-devtools/valgrind/valgrind_3.11.0.bb | 1 + ...dadm.h-Undefine-dprintf-before-redefining.patch | 43 + .../0001-raid6check-Fix-if-else-indentation.patch | 37 + meta/recipes-extended/mdadm/mdadm_3.4.bb | 4 +- ...ace-Fix-out-of-bounds-array-access-warnin.patch | 50 + ...oration-of-MSA-context-in-non-MSA-kernels.patch | 76 + meta/recipes-kernel/linux/linux-yocto_4.4.bb | 5 +- meta/recipes-kernel/oprofile/oprofile.inc | 4 +- .../0001-Fix-FTBFS-problem-with-GCC-6.patch | 51 + ...idi-Explicitly-cast-constant-to-char-type.patch | 75 + meta/recipes-multimedia/alsa/alsa-tools_1.1.0.bb | 6 +- ...cmake-drop-the-hardcoded-introspection-gt.patch | 19 +- ...bKitMacros-Append-to-I-and-not-to-isystem.patch | 223 ++ ...ng-introspection-files-add-CMAKE_C_FLAGS-.patch | 19 +- meta/recipes-sato/webkit/files/musl-fixes.patch | 48 + ...nable-backtrace-on-linux-when-using-glibc.patch | 39 - ...x-build-with-non-glibc-libraries-on-linux.patch | 61 - meta/recipes-sato/webkit/webkitgtk/clang.patch | 25 - .../{webkitgtk_2.10.7.bb => webkitgtk_2.12.1.bb} | 12 +- ...rf-opcodes-can-cause-references-beyond-th.patch | 29 - ...roduce-build-support-for-aarch64_be-targe.patch | 33 - .../libunwind-1.1/0001-disable-tests.patch | 31 - ...-wrong-big_endian-flag-in-aarch64_be-case.patch | 34 - .../libunwind/libunwind-1.1/AArch64-port.patch | 2529 ----------------- ...k-failure-on-PowerPC-systems-with-Altivec.patch | 28 - ...-libunwind-to-libgcc_s-rather-than-libgcc.patch | 42 - .../Support-building-with-older-compilers.patch | 72 - .../0001-Fix-build-on-mips-musl.patch | 33 +- .../0001-add-knobs-to-disable-enable-tests.patch | 69 + ...-backtrace-Use-only-with-glibc-and-uclibc.patch | 0 .../0001-x86-Stub-out-x86_local_resume.patch | 0 ...Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch | 0 meta/recipes-support/libunwind/libunwind_1.1.bb | 24 - meta/recipes-support/libunwind/libunwind_git.bb | 26 + .../recipes-support/lzop/lzop/lzop-1.03-gcc6.patch | 37 + meta/recipes-support/lzop/lzop_1.03.bb | 6 +- .../{mpfr-3.1.3 => mpfr}/long-long-thumb.patch | 0 .../mpfr/{mpfr_3.1.3.bb => mpfr_3.1.4.bb} | 5 +- .../nss/{nss_3.21.bb => nss_3.23.bb} | 8 +- 201 files changed, 9095 insertions(+), 3627 deletions(-) create mode 100644 meta/recipes-bsp/grub/files/0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/ignore-format-nonliteral-warning.patch delete mode 100644 meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch rename meta/recipes-core/glibc/{cross-localedef-native_2.23.bb => cross-localedef-native_2.24.bb} (79%) rename meta/recipes-core/glibc/{glibc-initial_2.23.bb => glibc-initial_2.24.bb} (100%) rename meta/recipes-core/glibc/{glibc-locale_2.23.bb => glibc-locale_2.24.bb} (100%) rename meta/recipes-core/glibc/{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} (100%) rename meta/recipes-core/glibc/{glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} (100%) rename meta/recipes-core/glibc/glibc/{0025-eglibc-Forward-port-cross-locale-generation-support.patch => 0024-eglibc-Forward-port-cross-locale-generation-support.patch} (97%) create mode 100644 meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch delete mode 100644 meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch rename meta/recipes-core/glibc/{glibc_2.23.bb => glibc_2.24.bb} (93%) rename meta/recipes-devtools/distcc/{distcc_3.1.bb => distcc_3.2.bb} (91%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-Ignore-differences-between-mips-machine-identifiers.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch (71%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-fix-a-stack-usage-warning.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-remove-the-unneed-checking.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0003-Add-mips-n64-relocation-format-hack.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/aarch64_uio.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/arm_backend.diff (100%) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.166/elfcmp-fix-self-comparision.patch rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/fixheadercheck.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/hppa_backend.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/kfreebsd_path.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/m68k_backend.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/mips_backend.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/mips_readelf_w.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/shadow.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/testsuite-ignore-elflint.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/uclibc-support.patch (82%) rename meta/recipes-devtools/elfutils/{elfutils_0.164.bb => elfutils_0.166.bb} (94%) create mode 100644 meta/recipes-devtools/gcc/0001-gcc-runtime-Symlink-c-header-in-target_triplet-for-S.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1.inc create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0002-uclibc-conf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0004-uclibc-locale.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0005-uclibc-locale-no__x.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0006-uclibc-locale-wchar_fix.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0007-uclibc-locale-update.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0008-missing-execinfo_h.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0009-c99-snprintf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0010-gcc-poison-system-directories.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0011-gcc-poison-dir-extend.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0013-64-bit-multilib-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0014-optional-libstdc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0016-COLLECT_GCC_OPTIONS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0018-fortran-cross-compile-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0019-cpp-honor-sysroot.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0020-MIPS64-Default-to-N64-ABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0022-gcc-Fix-argument-list-too-long-error.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0023-Disable-sdt.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0024-libtool.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0028-export-CPP.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0031-Ensure-target-gcc-headers-can-be-included.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0035-aarch64-Add-support-for-musl-ldso.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0037-handle-sysroot-support-for-nativesdk-gcc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0039-Fix-various-_FOR_BUILD-and-related-variables.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0041-ssp_nonshared.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-cross-canadian_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-runtime_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-sanitizers_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-source_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgfortran_6.1.bb rename meta/recipes-devtools/gdb/{gdb-7.10.1.inc => gdb-7.11.inc} (100%) rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} (100%) delete mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.11.bb rename meta/recipes-devtools/gdb/gdb/{0001-make-man-install-relative-to-DESTDIR.patch => 0002-make-man-install-relative-to-DESTDIR.patch} (78%) rename meta/recipes-devtools/gdb/gdb/{0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch => 0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch} (84%) create mode 100644 meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch rename meta/recipes-devtools/gdb/gdb/{0003-Add-support-for-Renesas-SH-sh4-architecture.patch => 0005-Add-support-for-Renesas-SH-sh4-architecture.patch} (97%) rename meta/recipes-devtools/gdb/gdb/{force-readline-static.patch => 0006-Dont-disable-libreadline.a-when-using-disable-static.patch} (67%) rename meta/recipes-devtools/gdb/gdb/{0001-use-asm-sgidefs.h.patch => 0007-use-asm-sgidefs.h.patch} (69%) rename meta/recipes-devtools/gdb/gdb/{0001-Use-exported-definitions-of-SIGRTMIN.patch => 0008-Use-exorted-definitions-of-SIGRTMIN.patch} (49%) rename meta/recipes-devtools/gdb/gdb/{0002-Change-order-of-CFLAGS.patch => 0009-Change-order-of-CFLAGS.patch} (69%) create mode 100644 meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch rename meta/recipes-devtools/gdb/{gdb_7.10.1.bb => gdb_7.11.bb} (100%) create mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-Move-warning-pragma-outside-of-function.patch create mode 100644 meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch rename meta/recipes-devtools/ruby/{ruby_2.2.2.bb => ruby_2.2.5.bb} (86%) create mode 100644 meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch create mode 100644 meta/recipes-devtools/valgrind/valgrind/gcc5-port.patch create mode 100644 meta/recipes-extended/mdadm/files/0001-mdadm.h-Undefine-dprintf-before-redefining.patch create mode 100644 meta/recipes-extended/mdadm/files/0001-raid6check-Fix-if-else-indentation.patch create mode 100644 meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch create mode 100644 meta/recipes-kernel/linux/linux-yocto/v2-MIPS-Prevent-restoration-of-MSA-context-in-non-MSA-kernels.patch create mode 100644 meta/recipes-kernel/oprofile/oprofile/0001-Fix-FTBFS-problem-with-GCC-6.patch create mode 100644 meta/recipes-multimedia/alsa/alsa-tools/0001-Cus428Midi-Explicitly-cast-constant-to-char-type.patch create mode 100644 meta/recipes-sato/webkit/files/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch create mode 100644 meta/recipes-sato/webkit/files/musl-fixes.patch delete mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-Enable-backtrace-on-linux-when-using-glibc.patch delete mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-non-glibc-libraries-on-linux.patch delete mode 100644 meta/recipes-sato/webkit/webkitgtk/clang.patch rename meta/recipes-sato/webkit/{webkitgtk_2.10.7.bb => webkitgtk_2.12.1.bb} (92%) delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-Invalid-dwarf-opcodes-can-cause-references-beyond-th.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-aarch64-introduce-build-support-for-aarch64_be-targe.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-disable-tests.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0002-aarch64-fix-wrong-big_endian-flag-in-aarch64_be-case.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/AArch64-port.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Support-building-with-older-compilers.patch rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-Fix-build-on-mips-musl.patch (68%) create mode 100644 meta/recipes-support/libunwind/libunwind/0001-add-knobs-to-disable-enable-tests.patch rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-backtrace-Use-only-with-glibc-and-uclibc.patch (100%) rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-x86-Stub-out-x86_local_resume.patch (100%) rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch (100%) delete mode 100644 meta/recipes-support/libunwind/libunwind_1.1.bb create mode 100644 meta/recipes-support/libunwind/libunwind_git.bb create mode 100644 meta/recipes-support/lzop/lzop/lzop-1.03-gcc6.patch rename meta/recipes-support/mpfr/{mpfr-3.1.3 => mpfr}/long-long-thumb.patch (100%) rename meta/recipes-support/mpfr/{mpfr_3.1.3.bb => mpfr_3.1.4.bb} (75%) rename meta/recipes-support/nss/{nss_3.21.bb => nss_3.23.bb} (97%)
Quoted 3 lines · Ioan-Adrian Ratiu
Hello
Can the gcc 6 fixes be pulled into the krogoth branch as well?
GCC 6 is new so we wont be pull that over to Krogoth. Any fixes you are interested in, patches are welcome.
- armin
Quoted 420 lines
Quoted 415 lines · On Wed, 11 May 2016 10:35:25 -0700 Khem Raj <[email protected]> wrote:
This patchset covers gcc 6 upgrade along with gdb 7.11 and glibc 2.24 ( upcoming ) release.
Rest of upgrades are necessaciated by gcc-6 due to backports that were already in newer versions of packages
It has been boot tested with core-image-minimal on all qemu machines
The following changes since commit
a5970809a2f01dbd152684266e2a3d946d896620:oeqa/lic-checksum: Update after recent
LIC_FILES_CHKSUMchanges (2016-05-11 10:33:16 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/gcc-6
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-6Dan McGregor (2):
pkgconfig: Fix build with gcc-6 and upgrade to 0.29.1
binutils: disable werror on native buildKhem Raj (39):
gcc: Add gcc6 recipes
glibc: Add recipes for 2.24 release
glib-2.0: Ignore useless warning found with gcc-6
elfutils: Upgrade to 0.166
rpm: Fix build with gcc6
alsa-tools: Fix build with gcc6
lzop: Fix build with gcc-6
webkitgtk: Upgrade to 2.12.1
oprofile: Fix with gcc6
mdadm: Fix gcc 6 warnings
nss: Upgrade to 3.23
grub: Fix build with gcc-6
valgrind: Fix build with gcc6
busybox/mdev: Ensure /sys is mounted before using it libc-common.bbclass: Use sed instead of grep
conf: bump minimum kernel to 3.2.0
systemd: Create missing sysusers offline
grub_git: Upgrade to latest tip
libunwind: Upgrade to 1.2rc1+
linux-yocto: Fix build on ppc with gcc-6
linux-yocto: Fix build with gcc6 on mips
python-native: Point to expat in native sysroot bitbake.conf: Empty outBUILDSDK_CPPFLAGS
strace: Remove pipe.expected
musl: Upgrade to tip of tree
libgcc: Ensure that gcc configure options are passed to libgcc too
libunwind: Upgrade to 1.2rc1+
libgcc: Ensure that gcc configure options are passed to libgcc too gdb,strace: Fix builds on ppc/musl
libunwind: Add a confgure option for tests
gdb: Upgrade to 7.11
gdb: Disable binutils components
tcmode-default: Bump gcc,glibc,gdb
musl: Create symlinks for stub libraries
mdadm: Fix build with clang
distcc: Upgrade to 3.2
ruby: Upgrade to 2.2.5
mpfr: Upgrade to 3.1.4
gcc-runtime,libgcc: Symlink c++ header and startup files in
target_tripletfor SDK useMarek Vasut (1):
bitbake: Oldest kernel for nios2 is 3.19meta/classes/cross-canadian.bbclass | 1 + meta/classes/libc-common.bbclass | 6 +- meta/classes/populate_sdk_base.bbclass | 2 +- meta/conf/bitbake.conf | 7 +- meta/conf/distro/include/tcmode-default.inc | 6 +- ...ettext-gettext.c-main_context-secondary_c.patch | 39 + meta/recipes-bsp/grub/grub2.inc | 1 + meta/recipes-bsp/grub/grub_git.bb | 2 +- meta/recipes-core/busybox/files/mdev | 4 +- .../0001-Do-not-ignore-return-value-of-write.patch | 42 + .../glib-2.0/0002-tests-Ignore-y2k-warnings.patch | 42 + .../ignore-format-nonliteral-warning.patch | 39 + meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb | 7 +- .../fix_for_centos_5.8.patch | 18 - ...tive_2.23.bb => cross-localedef-native_2.24.bb} | 26 +- ...glibc-initial_2.23.bb => glibc-initial_2.24.bb} | 0 .../{glibc-locale_2.23.bb => glibc-locale_2.24.bb} | 0 .../{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} | 0 ...glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} | 0 ...libc-Look-for-host-system-ld.so.cache-as-.patch | 8 +- ...libc-Fix-buffer-overrun-with-a-relocated-.patch | 8 +- ...libc-Raise-the-size-of-arrays-containing-.patch | 34 +- ...ivesdk-glibc-Allow-64-bit-atomics-for-x86.patch | 10 +- ...500-e5500-e6500-603e-fsqrt-implementation.patch | 6 +- ...-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch | 8 +- ...-Fix-undefined-reference-to-__sqrt_finite.patch | 6 +- ...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +- ...bug-1443-which-explains-what-the-patch-do.patch | 8 +- ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch | 10 +- ...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +- ...ersion-output-matching-grok-gold-s-output.patch | 14 +- ...-configure.ac-handle-correctly-libc_cv_ro.patch | 6 +- .../glibc/glibc/0014-Add-unused-attribute.patch | 8 +- ...thin-the-path-sets-wrong-config-variables.patch | 10 +- ...-timezone-re-written-tzselect-as-posix-sh.patch | 16 +- ...move-bash-dependency-for-nscd-init-script.patch | 8 +- ...c-Cross-building-and-testing-instructions.patch | 6 +- ...019-eglibc-Help-bootstrap-cross-toolchain.patch | 8 +- .../glibc/0020-eglibc-cherry-picked-from.patch | 18 +- .../0021-eglibc-Clear-cache-lines-on-ppc8xx.patch | 10 +- ...0022-eglibc-Resolve-__fpscr_values-on-SH4.patch | 8 +- .../glibc/0023-eglibc-Install-PIC-archives.patch | 8 +- ...ard-port-cross-locale-generation-support.patch} | 30 +- ...0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | 32 + ...ing-SSE-make-sure-fpmath-is-not-set-to-us.patch | 48 - .../glibc/{glibc_2.23.bb => glibc_2.24.bb} | 12 +- meta/recipes-core/musl/musl.inc | 2 +- meta/recipes-core/musl/musl_git.bb | 6 +- meta/recipes-core/systemd/systemd_229.bb | 8 +- meta/recipes-devtools/binutils/binutils_2.26.bb | 3 +- .../distcc/{distcc_3.1.bb => distcc_3.2.bb} | 8 +- .../distcc/files/separatebuilddir.patch | 14 +- ...ferences-between-mips-machine-identifiers.patch | 0 ...de-alternatives-for-glibc-assumptions-hel.patch | 488 ++-- ...m-Silence-Werror-maybe-uninitialized-fals.patch | 0 .../0001-fix-a-stack-usage-warning.patch | 0 .../0001-remove-the-unneed-checking.patch | 0 ...-support-for-mips64-abis-in-mips_retval.c.patch | 0 .../0003-Add-mips-n64-relocation-format-hack.patch | 0 .../aarch64_uio.patch | 0 .../arm_backend.diff | 0 .../elfcmp-fix-self-comparision.patch | 41 + .../fixheadercheck.patch | 0 .../hppa_backend.diff | 0 .../kfreebsd_path.patch | 0 .../m68k_backend.diff | 0 .../mips_backend.diff | 0 .../mips_readelf_w.patch | 0 .../shadow.patch | 0 .../testsuite-ignore-elflint.diff | 0 .../uclibc-support.patch | 37 +- .../{elfutils_0.164.bb => elfutils_0.166.bb} | 6 +- ...-Symlink-c-header-in-target_triplet-for-S.patch | 49 + meta/recipes-devtools/gcc/gcc-6.1.inc | 131 + .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 42 + .../gcc/gcc-6.1/0002-uclibc-conf.patch | 53 + .../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 87 + .../gcc/gcc-6.1/0004-uclibc-locale.patch | 2862 ++++++++++++++++++++ .../gcc/gcc-6.1/0005-uclibc-locale-no__x.patch | 257 ++ .../gcc/gcc-6.1/0006-uclibc-locale-wchar_fix.patch | 68 + .../gcc/gcc-6.1/0007-uclibc-locale-update.patch | 542 ++++ .../gcc/gcc-6.1/0008-missing-execinfo_h.patch | 28 + .../gcc/gcc-6.1/0009-c99-snprintf.patch | 28 + .../0010-gcc-poison-system-directories.patch | 192 ++ .../gcc/gcc-6.1/0011-gcc-poison-dir-extend.patch | 39 + .../0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 73 + .../gcc/gcc-6.1/0013-64-bit-multilib-hack.patch | 85 + .../gcc/gcc-6.1/0014-optional-libstdc.patch | 125 + ...0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 59 + .../gcc/gcc-6.1/0016-COLLECT_GCC_OPTIONS.patch | 38 + ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 96 + .../gcc-6.1/0018-fortran-cross-compile-hack.patch | 46 + .../gcc/gcc-6.1/0019-cpp-honor-sysroot.patch | 54 + .../gcc-6.1/0020-MIPS64-Default-to-N64-ABI.patch | 57 + ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 234 ++ ...0022-gcc-Fix-argument-list-too-long-error.patch | 40 + .../gcc/gcc-6.1/0023-Disable-sdt.patch | 113 + .../gcc/gcc-6.1/0024-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-6.1/0028-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 + .../0035-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 + .../0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 28 + .../gcc/gcc-6.1/0041-ssp_nonshared.patch | 28 + ...c-libcpp-support-ffile-prefix-map-old-new.patch | 292 ++ ...ug-prefix-map-to-replace-ffile-prefix-map.patch | 43 + ...-fdebug-prefix-map-support-to-remap-sourc.patch | 54 + ...45-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 125 + ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 29 + meta/recipes-devtools/gcc/gcc-common.inc | 2 + .../recipes-devtools/gcc/gcc-cross-canadian_6.1.bb | 5 + meta/recipes-devtools/gcc/gcc-cross-initial_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-cross_6.1.bb | 3 + .../gcc/gcc-crosssdk-initial_6.1.bb | 3 + meta/recipes-devtools/gcc/gcc-crosssdk_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-runtime.inc | 12 + meta/recipes-devtools/gcc/gcc-runtime_6.1.bb | 7 + meta/recipes-devtools/gcc/gcc-sanitizers_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-source_6.1.bb | 4 + meta/recipes-devtools/gcc/gcc_6.1.bb | 15 + meta/recipes-devtools/gcc/libgcc-common.inc | 9 +- meta/recipes-devtools/gcc/libgcc-initial_6.1.bb | 2 + meta/recipes-devtools/gcc/libgcc.inc | 12 + meta/recipes-devtools/gcc/libgcc_6.1.bb | 2 + meta/recipes-devtools/gcc/libgfortran_6.1.bb | 3 + .../gdb/{gdb-7.10.1.inc => gdb-7.11.inc} | 0 meta/recipes-devtools/gdb/gdb-common.inc | 25 +- ...nadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} | 0 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb | 4 - meta/recipes-devtools/gdb/gdb-cross_7.11.bb | 2 + meta/recipes-devtools/gdb/gdb.inc | 8 - .../gdb/0001-include-sys-types.h-for-mode_t.patch | 10 +- ...002-make-man-install-relative-to-DESTDIR.patch} | 8 +- ...-linux-nat-Define-_ABIO32-if-not-defined.patch} | 8 +- ...Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 53 + ...-support-for-Renesas-SH-sh4-architecture.patch} | 32 +- ...-libreadline.a-when-using-disable-static.patch} | 21 +- ...gidefs.h.patch => 0007-use-asm-sgidefs.h.patch} | 15 +- ...0008-Use-exorted-definitions-of-SIGRTMIN.patch} | 44 +- ...AGS.patch => 0009-Change-order-of-CFLAGS.patch} | 18 +- .../0010-resolve-restrict-keyword-conflict.patch | 48 + .../gdb/{gdb_7.10.1.bb => gdb_7.11.bb} | 0 ...e-Move-warning-pragma-outside-of-function.patch | 39 + meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 1 + .../python/python-native_2.7.11.bb | 2 +- meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch | 54 + meta/recipes-devtools/rpm/rpm_5.4.16.bb | 3 +- .../ruby/{ruby_2.2.2.bb => ruby_2.2.5.bb} | 8 +- ...hen-using-non-glibc-libc-implementation-o.patch | 36 + meta/recipes-devtools/strace/strace_4.11.bb | 4 +- .../valgrind/valgrind/gcc5-port.patch | 64 + meta/recipes-devtools/valgrind/valgrind_3.11.0.bb | 1 + ...dadm.h-Undefine-dprintf-before-redefining.patch | 43 + .../0001-raid6check-Fix-if-else-indentation.patch | 37 + meta/recipes-extended/mdadm/mdadm_3.4.bb | 4 +- ...ace-Fix-out-of-bounds-array-access-warnin.patch | 50 + ...oration-of-MSA-context-in-non-MSA-kernels.patch | 76 + meta/recipes-kernel/linux/linux-yocto_4.4.bb | 5 +- meta/recipes-kernel/oprofile/oprofile.inc | 4 +- .../0001-Fix-FTBFS-problem-with-GCC-6.patch | 51 + ...idi-Explicitly-cast-constant-to-char-type.patch | 75 + meta/recipes-multimedia/alsa/alsa-tools_1.1.0.bb | 6 +- ...cmake-drop-the-hardcoded-introspection-gt.patch | 19 +- ...bKitMacros-Append-to-I-and-not-to-isystem.patch | 223 ++ ...ng-introspection-files-add-CMAKE_C_FLAGS-.patch | 19 +- meta/recipes-sato/webkit/files/musl-fixes.patch | 48 + ...nable-backtrace-on-linux-when-using-glibc.patch | 39 - ...x-build-with-non-glibc-libraries-on-linux.patch | 61 - meta/recipes-sato/webkit/webkitgtk/clang.patch | 25 - .../{webkitgtk_2.10.7.bb => webkitgtk_2.12.1.bb} | 12 +- ...rf-opcodes-can-cause-references-beyond-th.patch | 29 - ...roduce-build-support-for-aarch64_be-targe.patch | 33 - .../libunwind-1.1/0001-disable-tests.patch | 31 - ...-wrong-big_endian-flag-in-aarch64_be-case.patch | 34 - .../libunwind/libunwind-1.1/AArch64-port.patch | 2529 ----------------- ...k-failure-on-PowerPC-systems-with-Altivec.patch | 28 - ...-libunwind-to-libgcc_s-rather-than-libgcc.patch | 42 - .../Support-building-with-older-compilers.patch | 72 - .../0001-Fix-build-on-mips-musl.patch | 33 +- .../0001-add-knobs-to-disable-enable-tests.patch | 69 + ...-backtrace-Use-only-with-glibc-and-uclibc.patch | 0 .../0001-x86-Stub-out-x86_local_resume.patch | 0 ...Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch | 0 meta/recipes-support/libunwind/libunwind_1.1.bb | 24 - meta/recipes-support/libunwind/libunwind_git.bb | 26 + .../recipes-support/lzop/lzop/lzop-1.03-gcc6.patch | 37 + meta/recipes-support/lzop/lzop_1.03.bb | 6 +- .../{mpfr-3.1.3 => mpfr}/long-long-thumb.patch | 0 .../mpfr/{mpfr_3.1.3.bb => mpfr_3.1.4.bb} | 5 +- .../nss/{nss_3.21.bb => nss_3.23.bb} | 8 +- 201 files changed, 9095 insertions(+), 3627 deletions(-) create mode 100644 meta/recipes-bsp/grub/files/0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/ignore-format-nonliteral-warning.patch delete mode 100644 meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch rename meta/recipes-core/glibc/{cross-localedef-native_2.23.bb => cross-localedef-native_2.24.bb} (79%) rename meta/recipes-core/glibc/{glibc-initial_2.23.bb => glibc-initial_2.24.bb} (100%) rename meta/recipes-core/glibc/{glibc-locale_2.23.bb => glibc-locale_2.24.bb} (100%) rename meta/recipes-core/glibc/{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} (100%) rename meta/recipes-core/glibc/{glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} (100%) rename meta/recipes-core/glibc/glibc/{0025-eglibc-Forward-port-cross-locale-generation-support.patch => 0024-eglibc-Forward-port-cross-locale-generation-support.patch} (97%) create mode 100644 meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch delete mode 100644 meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch rename meta/recipes-core/glibc/{glibc_2.23.bb => glibc_2.24.bb} (93%) rename meta/recipes-devtools/distcc/{distcc_3.1.bb => distcc_3.2.bb} (91%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-Ignore-differences-between-mips-machine-identifiers.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch (71%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-fix-a-stack-usage-warning.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-remove-the-unneed-checking.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0003-Add-mips-n64-relocation-format-hack.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/aarch64_uio.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/arm_backend.diff (100%) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.166/elfcmp-fix-self-comparision.patch rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/fixheadercheck.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/hppa_backend.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/kfreebsd_path.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/m68k_backend.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/mips_backend.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/mips_readelf_w.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/shadow.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/testsuite-ignore-elflint.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/uclibc-support.patch (82%) rename meta/recipes-devtools/elfutils/{elfutils_0.164.bb => elfutils_0.166.bb} (94%) create mode 100644 meta/recipes-devtools/gcc/0001-gcc-runtime-Symlink-c-header-in-target_triplet-for-S.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1.inc create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0002-uclibc-conf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0004-uclibc-locale.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0005-uclibc-locale-no__x.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0006-uclibc-locale-wchar_fix.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0007-uclibc-locale-update.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0008-missing-execinfo_h.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0009-c99-snprintf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0010-gcc-poison-system-directories.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0011-gcc-poison-dir-extend.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0013-64-bit-multilib-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0014-optional-libstdc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0016-COLLECT_GCC_OPTIONS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0018-fortran-cross-compile-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0019-cpp-honor-sysroot.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0020-MIPS64-Default-to-N64-ABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0022-gcc-Fix-argument-list-too-long-error.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0023-Disable-sdt.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0024-libtool.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0028-export-CPP.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0031-Ensure-target-gcc-headers-can-be-included.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0035-aarch64-Add-support-for-musl-ldso.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0037-handle-sysroot-support-for-nativesdk-gcc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0039-Fix-various-_FOR_BUILD-and-related-variables.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0041-ssp_nonshared.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-cross-canadian_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-runtime_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-sanitizers_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-source_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgfortran_6.1.bb rename meta/recipes-devtools/gdb/{gdb-7.10.1.inc => gdb-7.11.inc} (100%) rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} (100%) delete mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.11.bb rename meta/recipes-devtools/gdb/gdb/{0001-make-man-install-relative-to-DESTDIR.patch => 0002-make-man-install-relative-to-DESTDIR.patch} (78%) rename meta/recipes-devtools/gdb/gdb/{0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch => 0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch} (84%) create mode 100644 meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch rename meta/recipes-devtools/gdb/gdb/{0003-Add-support-for-Renesas-SH-sh4-architecture.patch => 0005-Add-support-for-Renesas-SH-sh4-architecture.patch} (97%) rename meta/recipes-devtools/gdb/gdb/{force-readline-static.patch => 0006-Dont-disable-libreadline.a-when-using-disable-static.patch} (67%) rename meta/recipes-devtools/gdb/gdb/{0001-use-asm-sgidefs.h.patch => 0007-use-asm-sgidefs.h.patch} (69%) rename meta/recipes-devtools/gdb/gdb/{0001-Use-exported-definitions-of-SIGRTMIN.patch => 0008-Use-exorted-definitions-of-SIGRTMIN.patch} (49%) rename meta/recipes-devtools/gdb/gdb/{0002-Change-order-of-CFLAGS.patch => 0009-Change-order-of-CFLAGS.patch} (69%) create mode 100644 meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch rename meta/recipes-devtools/gdb/{gdb_7.10.1.bb => gdb_7.11.bb} (100%) create mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-Move-warning-pragma-outside-of-function.patch create mode 100644 meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch rename meta/recipes-devtools/ruby/{ruby_2.2.2.bb => ruby_2.2.5.bb} (86%) create mode 100644 meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch create mode 100644 meta/recipes-devtools/valgrind/valgrind/gcc5-port.patch create mode 100644 meta/recipes-extended/mdadm/files/0001-mdadm.h-Undefine-dprintf-before-redefining.patch create mode 100644 meta/recipes-extended/mdadm/files/0001-raid6check-Fix-if-else-indentation.patch create mode 100644 meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch create mode 100644 meta/recipes-kernel/linux/linux-yocto/v2-MIPS-Prevent-restoration-of-MSA-context-in-non-MSA-kernels.patch create mode 100644 meta/recipes-kernel/oprofile/oprofile/0001-Fix-FTBFS-problem-with-GCC-6.patch create mode 100644 meta/recipes-multimedia/alsa/alsa-tools/0001-Cus428Midi-Explicitly-cast-constant-to-char-type.patch create mode 100644 meta/recipes-sato/webkit/files/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch create mode 100644 meta/recipes-sato/webkit/files/musl-fixes.patch delete mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-Enable-backtrace-on-linux-when-using-glibc.patch delete mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-non-glibc-libraries-on-linux.patch delete mode 100644 meta/recipes-sato/webkit/webkitgtk/clang.patch rename meta/recipes-sato/webkit/{webkitgtk_2.10.7.bb => webkitgtk_2.12.1.bb} (92%) delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-Invalid-dwarf-opcodes-can-cause-references-beyond-th.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-aarch64-introduce-build-support-for-aarch64_be-targe.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-disable-tests.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0002-aarch64-fix-wrong-big_endian-flag-in-aarch64_be-case.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/AArch64-port.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Support-building-with-older-compilers.patch rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-Fix-build-on-mips-musl.patch (68%) create mode 100644 meta/recipes-support/libunwind/libunwind/0001-add-knobs-to-disable-enable-tests.patch rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-backtrace-Use-only-with-glibc-and-uclibc.patch (100%) rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-x86-Stub-out-x86_local_resume.patch (100%) rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch (100%) delete mode 100644 meta/recipes-support/libunwind/libunwind_1.1.bb create mode 100644 meta/recipes-support/libunwind/libunwind_git.bb create mode 100644 meta/recipes-support/lzop/lzop/lzop-1.03-gcc6.patch rename meta/recipes-support/mpfr/{mpfr-3.1.3 => mpfr}/long-long-thumb.patch (100%) rename meta/recipes-support/mpfr/{mpfr_3.1.3.bb => mpfr_3.1.4.bb} (75%) rename meta/recipes-support/nss/{nss_3.21.bb => nss_3.23.bb} (97%)
Quoted 7 lines · On Thu, 12 May 2016 07:19:50 -0700 akuster808 <[email protected]> wrote:
Quoted 3 lines · Ioan-Adrian Ratiu
Hello
Can the gcc 6 fixes be pulled into the krogoth branch as well?
GCC 6 is new so we wont be pull that over to Krogoth. Any fixes you are interested in, patches are welcome.
I'm not talking about putting gcc 6 inside the krogoth branches, I'm talking about using gcc 6 on the native system which builds the krogoth branches, specifically about the patches which fix the -native packages which are compiled using the native gcc 6.
Khem's patches for master apply cleanly and fix the -native build errors, I'll pick and resend them for Krogoth if you want, but they are identical.
Ionel
Quoted 423 lines
- armin
Quoted 420 lines
Quoted 415 lines · On Wed, 11 May 2016 10:35:25 -0700 Khem Raj <[email protected]> wrote:
This patchset covers gcc 6 upgrade along with gdb 7.11 and glibc 2.24 ( upcoming ) release.
Rest of upgrades are necessaciated by gcc-6 due to backports that were already in newer versions of packages
It has been boot tested with core-image-minimal on all qemu machines
The following changes since commit
a5970809a2f01dbd152684266e2a3d946d896620:oeqa/lic-checksum: Update after recent
LIC_FILES_CHKSUMchanges (2016-05-11 10:33:16 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/gcc-6
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-6Dan McGregor (2):
pkgconfig: Fix build with gcc-6 and upgrade to 0.29.1
binutils: disable werror on native buildKhem Raj (39):
gcc: Add gcc6 recipes
glibc: Add recipes for 2.24 release
glib-2.0: Ignore useless warning found with gcc-6
elfutils: Upgrade to 0.166
rpm: Fix build with gcc6
alsa-tools: Fix build with gcc6
lzop: Fix build with gcc-6
webkitgtk: Upgrade to 2.12.1
oprofile: Fix with gcc6
mdadm: Fix gcc 6 warnings
nss: Upgrade to 3.23
grub: Fix build with gcc-6
valgrind: Fix build with gcc6
busybox/mdev: Ensure /sys is mounted before using it libc-common.bbclass: Use sed instead of grep
conf: bump minimum kernel to 3.2.0
systemd: Create missing sysusers offline
grub_git: Upgrade to latest tip
libunwind: Upgrade to 1.2rc1+
linux-yocto: Fix build on ppc with gcc-6
linux-yocto: Fix build with gcc6 on mips
python-native: Point to expat in native sysroot bitbake.conf: Empty outBUILDSDK_CPPFLAGS
strace: Remove pipe.expected
musl: Upgrade to tip of tree
libgcc: Ensure that gcc configure options are passed to libgcc too
libunwind: Upgrade to 1.2rc1+
libgcc: Ensure that gcc configure options are passed to libgcc too gdb,strace: Fix builds on ppc/musl
libunwind: Add a confgure option for tests
gdb: Upgrade to 7.11
gdb: Disable binutils components
tcmode-default: Bump gcc,glibc,gdb
musl: Create symlinks for stub libraries
mdadm: Fix build with clang
distcc: Upgrade to 3.2
ruby: Upgrade to 2.2.5
mpfr: Upgrade to 3.1.4
gcc-runtime,libgcc: Symlink c++ header and startup files in
target_tripletfor SDK useMarek Vasut (1):
bitbake: Oldest kernel for nios2 is 3.19meta/classes/cross-canadian.bbclass | 1 + meta/classes/libc-common.bbclass | 6 +- meta/classes/populate_sdk_base.bbclass | 2 +- meta/conf/bitbake.conf | 7 +- meta/conf/distro/include/tcmode-default.inc | 6 +- ...ettext-gettext.c-main_context-secondary_c.patch | 39 + meta/recipes-bsp/grub/grub2.inc | 1 + meta/recipes-bsp/grub/grub_git.bb | 2 +- meta/recipes-core/busybox/files/mdev | 4 +- .../0001-Do-not-ignore-return-value-of-write.patch | 42 + .../glib-2.0/0002-tests-Ignore-y2k-warnings.patch | 42 + .../ignore-format-nonliteral-warning.patch | 39 + meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb | 7 +- .../fix_for_centos_5.8.patch | 18 - ...tive_2.23.bb => cross-localedef-native_2.24.bb} | 26 +- ...glibc-initial_2.23.bb => glibc-initial_2.24.bb} | 0 .../{glibc-locale_2.23.bb => glibc-locale_2.24.bb} | 0 .../{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} | 0 ...glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} | 0 ...libc-Look-for-host-system-ld.so.cache-as-.patch | 8 +- ...libc-Fix-buffer-overrun-with-a-relocated-.patch | 8 +- ...libc-Raise-the-size-of-arrays-containing-.patch | 34 +- ...ivesdk-glibc-Allow-64-bit-atomics-for-x86.patch | 10 +- ...500-e5500-e6500-603e-fsqrt-implementation.patch | 6 +- ...-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch | 8 +- ...-Fix-undefined-reference-to-__sqrt_finite.patch | 6 +- ...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +- ...bug-1443-which-explains-what-the-patch-do.patch | 8 +- ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch | 10 +- ...qrt-f-are-now-inline-functions-and-call-o.patch | 6 +- ...ersion-output-matching-grok-gold-s-output.patch | 14 +- ...-configure.ac-handle-correctly-libc_cv_ro.patch | 6 +- .../glibc/glibc/0014-Add-unused-attribute.patch | 8 +- ...thin-the-path-sets-wrong-config-variables.patch | 10 +- ...-timezone-re-written-tzselect-as-posix-sh.patch | 16 +- ...move-bash-dependency-for-nscd-init-script.patch | 8 +- ...c-Cross-building-and-testing-instructions.patch | 6 +- ...019-eglibc-Help-bootstrap-cross-toolchain.patch | 8 +- .../glibc/0020-eglibc-cherry-picked-from.patch | 18 +- .../0021-eglibc-Clear-cache-lines-on-ppc8xx.patch | 10 +- ...0022-eglibc-Resolve-__fpscr_values-on-SH4.patch | 8 +- .../glibc/0023-eglibc-Install-PIC-archives.patch | 8 +- ...ard-port-cross-locale-generation-support.patch} | 30 +- ...0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | 32 + ...ing-SSE-make-sure-fpmath-is-not-set-to-us.patch | 48 - .../glibc/{glibc_2.23.bb => glibc_2.24.bb} | 12 +- meta/recipes-core/musl/musl.inc | 2 +- meta/recipes-core/musl/musl_git.bb | 6 +- meta/recipes-core/systemd/systemd_229.bb | 8 +- meta/recipes-devtools/binutils/binutils_2.26.bb | 3 +- .../distcc/{distcc_3.1.bb => distcc_3.2.bb} | 8 +- .../distcc/files/separatebuilddir.patch | 14 +- ...ferences-between-mips-machine-identifiers.patch | 0 ...de-alternatives-for-glibc-assumptions-hel.patch | 488 ++-- ...m-Silence-Werror-maybe-uninitialized-fals.patch | 0 .../0001-fix-a-stack-usage-warning.patch | 0 .../0001-remove-the-unneed-checking.patch | 0 ...-support-for-mips64-abis-in-mips_retval.c.patch | 0 .../0003-Add-mips-n64-relocation-format-hack.patch | 0 .../aarch64_uio.patch | 0 .../arm_backend.diff | 0 .../elfcmp-fix-self-comparision.patch | 41 + .../fixheadercheck.patch | 0 .../hppa_backend.diff | 0 .../kfreebsd_path.patch | 0 .../m68k_backend.diff | 0 .../mips_backend.diff | 0 .../mips_readelf_w.patch | 0 .../shadow.patch | 0 .../testsuite-ignore-elflint.diff | 0 .../uclibc-support.patch | 37 +- .../{elfutils_0.164.bb => elfutils_0.166.bb} | 6 +- ...-Symlink-c-header-in-target_triplet-for-S.patch | 49 + meta/recipes-devtools/gcc/gcc-6.1.inc | 131 + .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 42 + .../gcc/gcc-6.1/0002-uclibc-conf.patch | 53 + .../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 87 + .../gcc/gcc-6.1/0004-uclibc-locale.patch | 2862 ++++++++++++++++++++ .../gcc/gcc-6.1/0005-uclibc-locale-no__x.patch | 257 ++ .../gcc/gcc-6.1/0006-uclibc-locale-wchar_fix.patch | 68 + .../gcc/gcc-6.1/0007-uclibc-locale-update.patch | 542 ++++ .../gcc/gcc-6.1/0008-missing-execinfo_h.patch | 28 + .../gcc/gcc-6.1/0009-c99-snprintf.patch | 28 + .../0010-gcc-poison-system-directories.patch | 192 ++ .../gcc/gcc-6.1/0011-gcc-poison-dir-extend.patch | 39 + .../0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 73 + .../gcc/gcc-6.1/0013-64-bit-multilib-hack.patch | 85 + .../gcc/gcc-6.1/0014-optional-libstdc.patch | 125 + ...0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 59 + .../gcc/gcc-6.1/0016-COLLECT_GCC_OPTIONS.patch | 38 + ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 96 + .../gcc-6.1/0018-fortran-cross-compile-hack.patch | 46 + .../gcc/gcc-6.1/0019-cpp-honor-sysroot.patch | 54 + .../gcc-6.1/0020-MIPS64-Default-to-N64-ABI.patch | 57 + ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 234 ++ ...0022-gcc-Fix-argument-list-too-long-error.patch | 40 + .../gcc/gcc-6.1/0023-Disable-sdt.patch | 113 + .../gcc/gcc-6.1/0024-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-6.1/0028-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 + .../0035-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 + .../0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 28 + .../gcc/gcc-6.1/0041-ssp_nonshared.patch | 28 + ...c-libcpp-support-ffile-prefix-map-old-new.patch | 292 ++ ...ug-prefix-map-to-replace-ffile-prefix-map.patch | 43 + ...-fdebug-prefix-map-support-to-remap-sourc.patch | 54 + ...45-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 125 + ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 29 + meta/recipes-devtools/gcc/gcc-common.inc | 2 + .../recipes-devtools/gcc/gcc-cross-canadian_6.1.bb | 5 + meta/recipes-devtools/gcc/gcc-cross-initial_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-cross_6.1.bb | 3 + .../gcc/gcc-crosssdk-initial_6.1.bb | 3 + meta/recipes-devtools/gcc/gcc-crosssdk_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-runtime.inc | 12 + meta/recipes-devtools/gcc/gcc-runtime_6.1.bb | 7 + meta/recipes-devtools/gcc/gcc-sanitizers_6.1.bb | 2 + meta/recipes-devtools/gcc/gcc-source_6.1.bb | 4 + meta/recipes-devtools/gcc/gcc_6.1.bb | 15 + meta/recipes-devtools/gcc/libgcc-common.inc | 9 +- meta/recipes-devtools/gcc/libgcc-initial_6.1.bb | 2 + meta/recipes-devtools/gcc/libgcc.inc | 12 + meta/recipes-devtools/gcc/libgcc_6.1.bb | 2 + meta/recipes-devtools/gcc/libgfortran_6.1.bb | 3 + .../gdb/{gdb-7.10.1.inc => gdb-7.11.inc} | 0 meta/recipes-devtools/gdb/gdb-common.inc | 25 +- ...nadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} | 0 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb | 4 - meta/recipes-devtools/gdb/gdb-cross_7.11.bb | 2 + meta/recipes-devtools/gdb/gdb.inc | 8 - .../gdb/0001-include-sys-types.h-for-mode_t.patch | 10 +- ...002-make-man-install-relative-to-DESTDIR.patch} | 8 +- ...-linux-nat-Define-_ABIO32-if-not-defined.patch} | 8 +- ...Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 53 + ...-support-for-Renesas-SH-sh4-architecture.patch} | 32 +- ...-libreadline.a-when-using-disable-static.patch} | 21 +- ...gidefs.h.patch => 0007-use-asm-sgidefs.h.patch} | 15 +- ...0008-Use-exorted-definitions-of-SIGRTMIN.patch} | 44 +- ...AGS.patch => 0009-Change-order-of-CFLAGS.patch} | 18 +- .../0010-resolve-restrict-keyword-conflict.patch | 48 + .../gdb/{gdb_7.10.1.bb => gdb_7.11.bb} | 0 ...e-Move-warning-pragma-outside-of-function.patch | 39 + meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 1 + .../python/python-native_2.7.11.bb | 2 +- meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch | 54 + meta/recipes-devtools/rpm/rpm_5.4.16.bb | 3 +- .../ruby/{ruby_2.2.2.bb => ruby_2.2.5.bb} | 8 +- ...hen-using-non-glibc-libc-implementation-o.patch | 36 + meta/recipes-devtools/strace/strace_4.11.bb | 4 +- .../valgrind/valgrind/gcc5-port.patch | 64 + meta/recipes-devtools/valgrind/valgrind_3.11.0.bb | 1 + ...dadm.h-Undefine-dprintf-before-redefining.patch | 43 + .../0001-raid6check-Fix-if-else-indentation.patch | 37 + meta/recipes-extended/mdadm/mdadm_3.4.bb | 4 +- ...ace-Fix-out-of-bounds-array-access-warnin.patch | 50 + ...oration-of-MSA-context-in-non-MSA-kernels.patch | 76 + meta/recipes-kernel/linux/linux-yocto_4.4.bb | 5 +- meta/recipes-kernel/oprofile/oprofile.inc | 4 +- .../0001-Fix-FTBFS-problem-with-GCC-6.patch | 51 + ...idi-Explicitly-cast-constant-to-char-type.patch | 75 + meta/recipes-multimedia/alsa/alsa-tools_1.1.0.bb | 6 +- ...cmake-drop-the-hardcoded-introspection-gt.patch | 19 +- ...bKitMacros-Append-to-I-and-not-to-isystem.patch | 223 ++ ...ng-introspection-files-add-CMAKE_C_FLAGS-.patch | 19 +- meta/recipes-sato/webkit/files/musl-fixes.patch | 48 + ...nable-backtrace-on-linux-when-using-glibc.patch | 39 - ...x-build-with-non-glibc-libraries-on-linux.patch | 61 - meta/recipes-sato/webkit/webkitgtk/clang.patch | 25 - .../{webkitgtk_2.10.7.bb => webkitgtk_2.12.1.bb} | 12 +- ...rf-opcodes-can-cause-references-beyond-th.patch | 29 - ...roduce-build-support-for-aarch64_be-targe.patch | 33 - .../libunwind-1.1/0001-disable-tests.patch | 31 - ...-wrong-big_endian-flag-in-aarch64_be-case.patch | 34 - .../libunwind/libunwind-1.1/AArch64-port.patch | 2529 ----------------- ...k-failure-on-PowerPC-systems-with-Altivec.patch | 28 - ...-libunwind-to-libgcc_s-rather-than-libgcc.patch | 42 - .../Support-building-with-older-compilers.patch | 72 - .../0001-Fix-build-on-mips-musl.patch | 33 +- .../0001-add-knobs-to-disable-enable-tests.patch | 69 + ...-backtrace-Use-only-with-glibc-and-uclibc.patch | 0 .../0001-x86-Stub-out-x86_local_resume.patch | 0 ...Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch | 0 meta/recipes-support/libunwind/libunwind_1.1.bb | 24 - meta/recipes-support/libunwind/libunwind_git.bb | 26 + .../recipes-support/lzop/lzop/lzop-1.03-gcc6.patch | 37 + meta/recipes-support/lzop/lzop_1.03.bb | 6 +- .../{mpfr-3.1.3 => mpfr}/long-long-thumb.patch | 0 .../mpfr/{mpfr_3.1.3.bb => mpfr_3.1.4.bb} | 5 +- .../nss/{nss_3.21.bb => nss_3.23.bb} | 8 +- 201 files changed, 9095 insertions(+), 3627 deletions(-) create mode 100644 meta/recipes-bsp/grub/files/0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/ignore-format-nonliteral-warning.patch delete mode 100644 meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch rename meta/recipes-core/glibc/{cross-localedef-native_2.23.bb => cross-localedef-native_2.24.bb} (79%) rename meta/recipes-core/glibc/{glibc-initial_2.23.bb => glibc-initial_2.24.bb} (100%) rename meta/recipes-core/glibc/{glibc-locale_2.23.bb => glibc-locale_2.24.bb} (100%) rename meta/recipes-core/glibc/{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} (100%) rename meta/recipes-core/glibc/{glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} (100%) rename meta/recipes-core/glibc/glibc/{0025-eglibc-Forward-port-cross-locale-generation-support.patch => 0024-eglibc-Forward-port-cross-locale-generation-support.patch} (97%) create mode 100644 meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch delete mode 100644 meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch rename meta/recipes-core/glibc/{glibc_2.23.bb => glibc_2.24.bb} (93%) rename meta/recipes-devtools/distcc/{distcc_3.1.bb => distcc_3.2.bb} (91%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-Ignore-differences-between-mips-machine-identifiers.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch (71%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-fix-a-stack-usage-warning.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0001-remove-the-unneed-checking.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/0003-Add-mips-n64-relocation-format-hack.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/aarch64_uio.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/arm_backend.diff (100%) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.166/elfcmp-fix-self-comparision.patch rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/fixheadercheck.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/hppa_backend.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/kfreebsd_path.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/m68k_backend.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/mips_backend.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/mips_readelf_w.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/shadow.patch (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/testsuite-ignore-elflint.diff (100%) rename meta/recipes-devtools/elfutils/{elfutils-0.164 => elfutils-0.166}/uclibc-support.patch (82%) rename meta/recipes-devtools/elfutils/{elfutils_0.164.bb => elfutils_0.166.bb} (94%) create mode 100644 meta/recipes-devtools/gcc/0001-gcc-runtime-Symlink-c-header-in-target_triplet-for-S.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1.inc create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0002-uclibc-conf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0004-uclibc-locale.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0005-uclibc-locale-no__x.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0006-uclibc-locale-wchar_fix.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0007-uclibc-locale-update.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0008-missing-execinfo_h.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0009-c99-snprintf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0010-gcc-poison-system-directories.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0011-gcc-poison-dir-extend.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0013-64-bit-multilib-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0014-optional-libstdc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0016-COLLECT_GCC_OPTIONS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0018-fortran-cross-compile-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0019-cpp-honor-sysroot.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0020-MIPS64-Default-to-N64-ABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0022-gcc-Fix-argument-list-too-long-error.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0023-Disable-sdt.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0024-libtool.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0028-export-CPP.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0031-Ensure-target-gcc-headers-can-be-included.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0035-aarch64-Add-support-for-musl-ldso.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0037-handle-sysroot-support-for-nativesdk-gcc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0039-Fix-various-_FOR_BUILD-and-related-variables.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0041-ssp_nonshared.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.1/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-cross-canadian_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-runtime_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-sanitizers_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc-source_6.1.bb create mode 100644 meta/recipes-devtools/gcc/gcc_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc-initial_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgcc_6.1.bb create mode 100644 meta/recipes-devtools/gcc/libgfortran_6.1.bb rename meta/recipes-devtools/gdb/{gdb-7.10.1.inc => gdb-7.11.inc} (100%) rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} (100%) delete mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.11.bb rename meta/recipes-devtools/gdb/gdb/{0001-make-man-install-relative-to-DESTDIR.patch => 0002-make-man-install-relative-to-DESTDIR.patch} (78%) rename meta/recipes-devtools/gdb/gdb/{0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch => 0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch} (84%) create mode 100644 meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch rename meta/recipes-devtools/gdb/gdb/{0003-Add-support-for-Renesas-SH-sh4-architecture.patch => 0005-Add-support-for-Renesas-SH-sh4-architecture.patch} (97%) rename meta/recipes-devtools/gdb/gdb/{force-readline-static.patch => 0006-Dont-disable-libreadline.a-when-using-disable-static.patch} (67%) rename meta/recipes-devtools/gdb/gdb/{0001-use-asm-sgidefs.h.patch => 0007-use-asm-sgidefs.h.patch} (69%) rename meta/recipes-devtools/gdb/gdb/{0001-Use-exported-definitions-of-SIGRTMIN.patch => 0008-Use-exorted-definitions-of-SIGRTMIN.patch} (49%) rename meta/recipes-devtools/gdb/gdb/{0002-Change-order-of-CFLAGS.patch => 0009-Change-order-of-CFLAGS.patch} (69%) create mode 100644 meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch rename meta/recipes-devtools/gdb/{gdb_7.10.1.bb => gdb_7.11.bb} (100%) create mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-Move-warning-pragma-outside-of-function.patch create mode 100644 meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch rename meta/recipes-devtools/ruby/{ruby_2.2.2.bb => ruby_2.2.5.bb} (86%) create mode 100644 meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch create mode 100644 meta/recipes-devtools/valgrind/valgrind/gcc5-port.patch create mode 100644 meta/recipes-extended/mdadm/files/0001-mdadm.h-Undefine-dprintf-before-redefining.patch create mode 100644 meta/recipes-extended/mdadm/files/0001-raid6check-Fix-if-else-indentation.patch create mode 100644 meta/recipes-kernel/linux/linux-yocto/0001-powerpc-ptrace-Fix-out-of-bounds-array-access-warnin.patch create mode 100644 meta/recipes-kernel/linux/linux-yocto/v2-MIPS-Prevent-restoration-of-MSA-context-in-non-MSA-kernels.patch create mode 100644 meta/recipes-kernel/oprofile/oprofile/0001-Fix-FTBFS-problem-with-GCC-6.patch create mode 100644 meta/recipes-multimedia/alsa/alsa-tools/0001-Cus428Midi-Explicitly-cast-constant-to-char-type.patch create mode 100644 meta/recipes-sato/webkit/files/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch create mode 100644 meta/recipes-sato/webkit/files/musl-fixes.patch delete mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-Enable-backtrace-on-linux-when-using-glibc.patch delete mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-non-glibc-libraries-on-linux.patch delete mode 100644 meta/recipes-sato/webkit/webkitgtk/clang.patch rename meta/recipes-sato/webkit/{webkitgtk_2.10.7.bb => webkitgtk_2.12.1.bb} (92%) delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-Invalid-dwarf-opcodes-can-cause-references-beyond-th.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-aarch64-introduce-build-support-for-aarch64_be-targe.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0001-disable-tests.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/0002-aarch64-fix-wrong-big_endian-flag-in-aarch64_be-case.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/AArch64-port.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch delete mode 100644 meta/recipes-support/libunwind/libunwind-1.1/Support-building-with-older-compilers.patch rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-Fix-build-on-mips-musl.patch (68%) create mode 100644 meta/recipes-support/libunwind/libunwind/0001-add-knobs-to-disable-enable-tests.patch rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-backtrace-Use-only-with-glibc-and-uclibc.patch (100%) rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/0001-x86-Stub-out-x86_local_resume.patch (100%) rename meta/recipes-support/libunwind/{libunwind-1.1 => libunwind}/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch (100%) delete mode 100644 meta/recipes-support/libunwind/libunwind_1.1.bb create mode 100644 meta/recipes-support/libunwind/libunwind_git.bb create mode 100644 meta/recipes-support/lzop/lzop/lzop-1.03-gcc6.patch rename meta/recipes-support/mpfr/{mpfr-3.1.3 => mpfr}/long-long-thumb.patch (100%) rename meta/recipes-support/mpfr/{mpfr_3.1.3.bb => mpfr_3.1.4.bb} (75%) rename meta/recipes-support/nss/{nss_3.21.bb => nss_3.23.bb} (97%)
Quoted 12 lines · Khem Raj
This patchset covers gcc 6 upgrade along with gdb 7.11 and glibc 2.24 ( upcoming ) release.
Rest of upgrades are necessaciated by gcc-6 due to backports that were already in newer versions of packages
It has been boot tested with core-image-minimal on all qemu machines
The following changes since commit
a5970809a2f01dbd152684266e2a3d946d896620:
Quoted 8 lines
oeqa/lic-checksum: Update after recent
LIC_FILES_CHKSUMchanges
(2016-05-11 10:33:16 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/gcc-6
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log
/?h=kraj/gcc-6
I went through and included a subset of this into -next, with a view to getting the basic pieces out the way. There were a number of pieces I didn't get in the first pass, either due to v2's which I couldn't easily update to, a failure on the autobuilder, or that the change was significant and I wanted to get the "easy" bulk of the patches out the way before for example the gcc version switch.
If you could therefore rebase against master, fix the systemd issue and resend what is left that would be extremely helpful, thanks!
Cheers,
Richard
Quoted 32 lines · Richard Purdie
Quoted 12 lines · Khem Raj
This patchset covers gcc 6 upgrade along with gdb 7.11 and glibc 2.24 ( upcoming ) release.
Rest of upgrades are necessaciated by gcc-6 due to backports that were already in newer versions of packages
It has been boot tested with core-image-minimal on all qemu machines
The following changes since commit
a5970809a2f01dbd152684266e2a3d946d896620:Quoted 8 lines
oeqa/lic-checksum: Update after recent
LIC_FILES_CHKSUMchanges
(2016-05-11 10:33:16 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/gcc-6
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log
/?h=kraj/gcc-6I went through and included a subset of this into -next, with a view to getting the basic pieces out the way. There were a number of pieces I didn't get in the first pass, either due to v2's which I couldn't easily update to, a failure on the autobuilder, or that the change was significant and I wanted to get the "easy" bulk of the patches out the way before for example the gcc version switch.
Quoted 2 lines
If you could therefore rebase against master, fix the systemd issue and resend what is left that would be extremely helpful, thanks!
I have rebased with master, dropped systemd patch and added a rpi fix sent another pull request with remaining patches.
Thank you
-Khem