Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 00/22] Glibc 2.26 update and musl updates
Date: Thu,  6 Jul 2017 07:33:10 -0700	[thread overview]
Message-ID: <cover.1499351361.git.raj.khem@gmail.com> (raw)

The patchset 1-10 are already proposed via kraj/hardening so ignore them here
but they are needed for rest of patches thats why its included here, literally
patch 11-22 is whats being proposed here.


The following changes since commit 2d7a58ef7a9597fde868a0582153d1f9a3007f1e:

  image.bbclass: create root symlinks in nativesdk target sysroot (2017-07-06 14:38:09 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib kraj/pu
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/pu

Jose Perez Carranza (1):
  oeqa/sdk: Replace buildiptables for buildlzip tests

Khem Raj (21):
  gcc: Introduce a knob to configure gcc to default to PIE
  security_flags.inc: Delete pinnings for SECURITY_NO_PIE_CFLAGS
  distutils,setuptools: Delete use of SECURITY_NO_PIE_CFLAGS
  gcc7: Enable static PIE
  gcc: Link libssp_nonshared.a only on musl targets
  sysklogd: Improve build and fix runtime crash
  libunwind: We set -fPIE in security flags now if gcc is not configured
    for default PIE
  gstreamer1.0-plugins-bad: Fix missing library with bcm egl
  security_flags.inc: Do not build gcc for powerpc with PIE defaults
  ovmf: Fix build with toolchain defaulting to PIE
  glibc: Upgrade to 2.25.90
  glibc: Drop obsoleted bits/string.h from multilibbing
  glibc: Enable obsoleted nsl
  gcc-sanitizer: Fix build with glibc 2.26
  gcc: Use ucontext_t instead of ucontext
  gcc: Fix libssh_nonshared linker specs for ppc/musl
  musl: Update to latest on master
  world-broken.inc: Remove packages which are now buildable on musl
  valgrind: tests build fixes for musl
  mpeg2dec: Fix textrels QA errors on arm
  testimage: Use the renamed buildlzip

 meta/classes/distutils-common-base.bbclass         |   2 -
 meta/classes/setuptools.bbclass                    |   2 -
 meta/classes/testimage.bbclass                     |   6 +-
 meta/conf/distro/include/security_flags.inc        |  86 ++++-------
 meta/conf/distro/include/tcmode-default.inc        |   2 +-
 meta/conf/distro/include/world-broken.inc          |  25 ----
 .../sdk/cases/{buildiptables.py => buildlzip.py}   |   8 +-
 ...e_2.25.bb => cross-localedef-native_2.25.90.bb} |  26 ++--
 ...bc-initial_2.25.bb => glibc-initial_2.25.90.bb} |   0
 ...libc-locale_2.25.bb => glibc-locale_2.25.90.bb} |   0
 ...libc-mtrace_2.25.bb => glibc-mtrace_2.25.90.bb} |   0
 meta/recipes-core/glibc/glibc-package.inc          |   2 +-
 ...bc-scripts_2.25.bb => glibc-scripts_2.25.90.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 |  36 ++---
 ...ivesdk-glibc-Allow-64-bit-atomics-for-x86.patch |  13 +-
 ...500-e5500-e6500-603e-fsqrt-implementation.patch |  44 +++---
 ...-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch |   8 +-
 ...-Fix-undefined-reference-to-__sqrt_finite.patch |  30 ++--
 ...qrt-f-are-now-inline-functions-and-call-o.patch |  30 ++--
 ...bug-1443-which-explains-what-the-patch-do.patch |  10 +-
 ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch |   8 +-
 ...qrt-f-are-now-inline-functions-and-call-o.patch |  10 +-
 ...ersion-output-matching-grok-gold-s-output.patch |  44 ------
 ...configure.ac-handle-correctly-libc_cv_ro.patch} |  10 +-
 ...ibute.patch => 0013-Add-unused-attribute.patch} |   8 +-
 ...hin-the-path-sets-wrong-config-variables.patch} |  30 ++--
 ...timezone-re-written-tzselect-as-posix-sh.patch} |  12 +-
 ...ove-bash-dependency-for-nscd-init-script.patch} |  11 +-
 ...-Cross-building-and-testing-instructions.patch} |  10 +-
 ...18-eglibc-Help-bootstrap-cross-toolchain.patch} |  10 +-
 ... 0019-eglibc-Clear-cache-lines-on-ppc8xx.patch} |  10 +-
 ...020-eglibc-Resolve-__fpscr_values-on-SH4.patch} |  10 +-
 .../glibc/0020-eglibc-cherry-picked-from.patch     |  64 ---------
 ...atch => 0021-eglibc-Install-PIC-archives.patch} |  20 +--
 ...ard-port-cross-locale-generation-support.patch} |  36 ++---
 ...023-Define-DUMMY_LOCALE_T-if-not-defined.patch} |   8 +-
 ...c-Make-_dl_build_local_scope-breadth-fir.patch} |   8 +-
 ...locale-fix-hard-coded-reference-to-gcc-E.patch} |  10 +-
 .../glibc/{glibc_2.25.bb => glibc_2.25.90.bb}      |  36 ++---
 meta/recipes-core/musl/musl_git.bb                 |   2 +-
 .../ovmf/ovmf/0001-ia32-Dont-use-pie.patch         |  27 ++--
 meta/recipes-devtools/gcc/gcc-7.1.inc              |   5 +-
 ...shared-to-link-commandline-for-musl-targe.patch |  87 +++++++++++
 .../gcc/gcc-7.1/0040-ssp_nonshared.patch           |  28 ----
 .../gcc/gcc-7.1/0048-gcc-Enable-static-PIE.patch   |  37 +++++
 ...r-Use-stack_t-instead-of-struct-sigaltsta.patch | 160 +++++++++++++++++++++
 ...0-replace-struct-ucontext-with-ucontext_t.patch | 149 +++++++++++++++++++
 meta/recipes-devtools/gcc/gcc-configure-common.inc |   3 +
 ...m64-Define-__THROW-if-not-already-defined.patch |  32 +++++
 ...emcheck-x86-Define-__THROW-if-not-defined.patch |  32 +++++
 ...verride-Replace-__modify_ldt-with-syscall.patch |  68 +++++++++
 meta/recipes-devtools/valgrind/valgrind_3.12.0.bb  |   3 +
 ...s-that-causes-a-segmentation-fault-under-.patch |  28 ++++
 ...way-for-respecting-flags-from-environment.patch |  35 +++++
 meta/recipes-extended/sysklogd/sysklogd.inc        |   6 +-
 .../link-with-libvchostif.patch                    |  35 +++++
 .../gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb   |   1 +
 ...001-check-for-available-arm-optimizations.patch |  55 +++++++
 ...ity-of-global-symbols-used-in-ARM-specifi.patch |  63 ++++++++
 meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.5.1.bb |   5 +-
 meta/recipes-support/libunwind/libunwind_1.2.bb    |   4 -
 63 files changed, 1083 insertions(+), 483 deletions(-)
 rename meta/lib/oeqa/sdk/cases/{buildiptables.py => buildlzip.py} (84%)
 rename meta/recipes-core/glibc/{cross-localedef-native_2.25.bb => cross-localedef-native_2.25.90.bb} (62%)
 rename meta/recipes-core/glibc/{glibc-initial_2.25.bb => glibc-initial_2.25.90.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-locale_2.25.bb => glibc-locale_2.25.90.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-mtrace_2.25.bb => glibc-mtrace_2.25.90.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-scripts_2.25.bb => glibc-scripts_2.25.90.bb} (100%)
 delete mode 100644 meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch
 rename meta/recipes-core/glibc/glibc/{0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch => 0012-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch} (82%)
 rename meta/recipes-core/glibc/glibc/{0014-Add-unused-attribute.patch => 0013-Add-unused-attribute.patch} (82%)
 rename meta/recipes-core/glibc/glibc/{0015-yes-within-the-path-sets-wrong-config-variables.patch => 0014-yes-within-the-path-sets-wrong-config-variables.patch} (94%)
 rename meta/recipes-core/glibc/glibc/{0016-timezone-re-written-tzselect-as-posix-sh.patch => 0015-timezone-re-written-tzselect-as-posix-sh.patch} (81%)
 rename meta/recipes-core/glibc/glibc/{0017-Remove-bash-dependency-for-nscd-init-script.patch => 0016-Remove-bash-dependency-for-nscd-init-script.patch} (89%)
 rename meta/recipes-core/glibc/glibc/{0018-eglibc-Cross-building-and-testing-instructions.patch => 0017-eglibc-Cross-building-and-testing-instructions.patch} (99%)
 rename meta/recipes-core/glibc/glibc/{0019-eglibc-Help-bootstrap-cross-toolchain.patch => 0018-eglibc-Help-bootstrap-cross-toolchain.patch} (94%)
 rename meta/recipes-core/glibc/glibc/{0021-eglibc-Clear-cache-lines-on-ppc8xx.patch => 0019-eglibc-Clear-cache-lines-on-ppc8xx.patch} (94%)
 rename meta/recipes-core/glibc/glibc/{0022-eglibc-Resolve-__fpscr_values-on-SH4.patch => 0020-eglibc-Resolve-__fpscr_values-on-SH4.patch} (88%)
 delete mode 100644 meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch
 rename meta/recipes-core/glibc/glibc/{0023-eglibc-Install-PIC-archives.patch => 0021-eglibc-Install-PIC-archives.patch} (90%)
 rename meta/recipes-core/glibc/glibc/{0024-eglibc-Forward-port-cross-locale-generation-support.patch => 0022-eglibc-Forward-port-cross-locale-generation-support.patch} (96%)
 rename meta/recipes-core/glibc/glibc/{0025-Define-DUMMY_LOCALE_T-if-not-defined.patch => 0023-Define-DUMMY_LOCALE_T-if-not-defined.patch} (80%)
 rename meta/recipes-core/glibc/glibc/{0026-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch => 0024-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch} (89%)
 rename meta/recipes-core/glibc/glibc/{0027-locale-fix-hard-coded-reference-to-gcc-E.patch => 0025-locale-fix-hard-coded-reference-to-gcc-E.patch} (82%)
 rename meta/recipes-core/glibc/{glibc_2.25.bb => glibc_2.25.90.bb} (80%)
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0040-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
 delete mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0040-ssp_nonshared.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0048-gcc-Enable-static-PIE.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0050-replace-struct-ucontext-with-ucontext_t.patch
 create mode 100644 meta/recipes-devtools/valgrind/valgrind/0001-memcheck-arm64-Define-__THROW-if-not-already-defined.patch
 create mode 100644 meta/recipes-devtools/valgrind/valgrind/0002-memcheck-x86-Define-__THROW-if-not-defined.patch
 create mode 100644 meta/recipes-devtools/valgrind/valgrind/0003-tests-seg_override-Replace-__modify_ldt-with-syscall.patch
 create mode 100644 meta/recipes-extended/sysklogd/files/0001-fix-problems-that-causes-a-segmentation-fault-under-.patch
 create mode 100644 meta/recipes-extended/sysklogd/files/0002-Make-way-for-respecting-flags-from-environment.patch
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/link-with-libvchostif.patch
 create mode 100644 meta/recipes-multimedia/mpeg2dec/files/0001-check-for-available-arm-optimizations.patch
 create mode 100644 meta/recipes-multimedia/mpeg2dec/files/0002-Set-visibility-of-global-symbols-used-in-ARM-specifi.patch

-- 
2.13.2



             reply	other threads:[~2017-07-06 14:33 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06 14:33 Khem Raj [this message]
2017-07-06 14:33 ` [PATCH 01/22] gcc: Introduce a knob to configure gcc to default to PIE Khem Raj
2017-07-06 14:33 ` [PATCH 02/22] security_flags.inc: Delete pinnings for SECURITY_NO_PIE_CFLAGS Khem Raj
2017-07-06 14:33 ` [PATCH 03/22] distutils, setuptools: Delete use of SECURITY_NO_PIE_CFLAGS Khem Raj
2017-07-06 14:33 ` [PATCH 04/22] gcc7: Enable static PIE Khem Raj
2017-07-06 14:33 ` [PATCH 05/22] gcc: Link libssp_nonshared.a only on musl targets Khem Raj
2017-07-06 14:33 ` [PATCH 06/22] sysklogd: Improve build and fix runtime crash Khem Raj
2017-07-06 14:33 ` [PATCH 07/22] libunwind: We set -fPIE in security flags now if gcc is not configured for default PIE Khem Raj
2017-07-06 14:33 ` [PATCH 08/22] gstreamer1.0-plugins-bad: Fix missing library with bcm egl Khem Raj
2017-07-06 14:33 ` [PATCH 09/22] security_flags.inc: Do not build gcc for powerpc with PIE defaults Khem Raj
2017-07-06 14:33 ` [PATCH 10/22] ovmf: Fix build with toolchain defaulting to PIE Khem Raj
2017-07-06 14:33 ` [PATCH 11/22] glibc: Upgrade to 2.25.90 Khem Raj
2017-07-06 14:33 ` [PATCH 12/22] glibc: Drop obsoleted bits/string.h from multilibbing Khem Raj
2017-07-06 14:33 ` [PATCH 13/22] glibc: Enable obsoleted nsl Khem Raj
2017-07-06 14:33 ` [PATCH 14/22] gcc-sanitizer: Fix build with glibc 2.26 Khem Raj
2017-07-06 14:33 ` [PATCH 15/22] gcc: Use ucontext_t instead of ucontext Khem Raj
2017-07-06 14:33 ` [PATCH 16/22] gcc: Fix libssh_nonshared linker specs for ppc/musl Khem Raj
2017-07-06 14:33 ` [PATCH 17/22] musl: Update to latest on master Khem Raj
2017-07-06 14:33 ` [PATCH 18/22] world-broken.inc: Remove packages which are now buildable on musl Khem Raj
2017-07-06 14:33 ` [PATCH 19/22] valgrind: tests build fixes for musl Khem Raj
2017-07-06 14:33 ` [PATCH 20/22] mpeg2dec: Fix textrels QA errors on arm Khem Raj
2017-07-06 14:33 ` [PATCH 21/22] oeqa/sdk: Replace buildiptables for buildlzip tests Khem Raj
2017-07-06 14:33 ` [PATCH 22/22] testimage: Use the renamed buildlzip Khem Raj
2017-07-06 15:34   ` Jose Perez Carranza
2017-07-06 15:40     ` Khem Raj
2017-07-06 16:05       ` Jose Perez Carranza
2017-07-06 16:05         ` Khem Raj
2017-07-06 21:09   ` Jose Perez Carranza
2017-07-06 15:01 ` ✗ patchtest: failure for Glibc 2.26 update and musl updates Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1499351361.git.raj.khem@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox