[OE-core] [PATCH 00/13] glibc/musl/go updates

Khem Raj raj.khem at gmail.com
Sun Jan 26 19:27:39 UTC 2020


This patchet addresses few things together

* Glibc is updated to latest snapshot before 2.31 release
* Drop clang helping glibc fortify patch
* Drop ppc cacheline optimization patch from eglibc days
* Update musl to latest, add libucontext to help musl app world
* Support Go on RISCV, support is currently not upstream and enabled in
  meta-riscv but few pieces are needed in core to make it work
* Fix gcc10 found issues in ruby and fix nss build failure
* rv32 will now ask for 5.4 for minimum kernel starting glibc 2.31+

The following changes since commit ca3993cc4b13d4e661228cee6fb9448adfd0a4ba:

  bitbake: tests/fetch: Allow wget upgrade tests to run against a local server (2020-01-22 15:56:39 +0000)

are available in the Git repository at:

  git://git.yoctoproject.org/poky-contrib kraj/pu
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=kraj/pu

Khem Raj (13):
  libucontext: Add recipe
  nss: Pass NSS_USE_ARM_HW_CRYPTO as define in CFLAGS
  ruby: Remove __has_include and __has_include_next from preprocessed
    header file
  perf: Pass LDSHARED and CCLD via EXTRA_OEMAKE
  Musl: Update to latest master
  glibc: Update to final 2.31 release
  glibc: Drop fortify refactoring patch
  gettext: Drop overloadable attibute for getcwd declaration
  riscv32: Bump oldest kernel to 5.4
  go.bbclass: Disable PIE on riscv
  go-dep: Fix bolt for riscv64
  Disable CGO on riscv64
  go: Disable PIE on RISCV

 meta/classes/go.bbclass                       |    3 +-
 meta/conf/bitbake.conf                        |    2 +-
 meta/conf/distro/include/maintainers.inc      |    1 +
 .../gettext/gettext-0.20.1/overloadable.patch |   22 -
 meta/recipes-core/gettext/gettext_0.20.1.bb   |    2 -
 .../glibc/cross-localedef-native_2.31.bb      |    9 +-
 meta/recipes-core/glibc/glibc-version.inc     |    2 +-
 ...dd-hardlink-resolver-from-util-linux.patch |    2 +-
 ...-fix-ups-hardlink-to-make-it-compile.patch |    2 +-
 ...Look-for-host-system-ld.so.cache-as-.patch |    2 +-
 ...Fix-buffer-overrun-with-a-relocated-.patch |    2 +-
 ...Raise-the-size-of-arrays-containing-.patch |    2 +-
 ...k-glibc-Allow-64-bit-atomics-for-x86.patch |    2 +-
 ...Make-relocatable-install-for-locales.patch |    2 +-
 ...5500-e6500-603e-fsqrt-implementation.patch |    2 +-
 ...RE_KNOWN_INTERPRETER_NAMES-to-known-.patch |    2 +-
 ...undefined-reference-to-__sqrt_finite.patch |    2 +-
 ...-are-now-inline-functions-and-call-o.patch |    2 +-
 ...443-which-explains-what-the-patch-do.patch |    2 +-
 ...m-err-tab.pl-with-specific-dirs-in-S.patch |    2 +-
 ...-are-now-inline-functions-and-call-o.patch |    2 +-
 ...igure.ac-handle-correctly-libc_cv_ro.patch |    2 +-
 .../glibc/0016-Add-unused-attribute.patch     |    2 +-
 ...the-path-sets-wrong-config-variables.patch |    2 +-
 ...zone-re-written-tzselect-as-posix-sh.patch |    2 +-
 ...bash-dependency-for-nscd-init-script.patch |    2 +-
 ...ss-building-and-testing-instructions.patch |    2 +-
 ...glibc-Help-bootstrap-cross-toolchain.patch |    2 +-
 ...2-eglibc-Clear-cache-lines-on-ppc8xx.patch |   80 -
 ...glibc-Resolve-__fpscr_values-on-SH4.patch} |    2 +-
 ...ort-cross-locale-generation-support.patch} |    2 +-
 ...efine-DUMMY_LOCALE_T-if-not-defined.patch} |    2 +-
 ...archive-uses-a-hard-coded-locale-pa.patch} |    2 +-
 ...e-_dl_build_local_scope-breadth-fir.patch} |    2 +-
 ...t-no-lines-in-bison-generated-files.patch} |    2 +-
 ...028-inject-file-assembly-directives.patch} |    2 +-
 ...ybe-uninitialized-errors-with-Os-BZ.patch} |    2 +-
 .../0031-Refactor-FORTIFY-in-glibc.patch      | 2780 -----------------
 meta/recipes-core/glibc/glibc_2.31.bb         |   18 +-
 .../0001-pass-LDFLAGS-to-link-step.patch      |   31 +
 meta/recipes-core/musl/libucontext_git.bb     |   62 +
 meta/recipes-core/musl/musl_git.bb            |    2 +-
 ...bolt_riscv64-Add-support-for-riscv64.patch |   33 +
 meta/recipes-devtools/go/go-dep_0.5.4.bb      |    1 +
 meta/recipes-devtools/go/go_1.13.bb           |    6 +-
 .../ruby/ruby/remove_has_include_macros.patch |   26 +
 meta/recipes-devtools/ruby/ruby_2.6.5.bb      |    1 +
 meta/recipes-kernel/perf/perf.bb              |    2 +
 ...figure-option-to-disable-ARM-HW-cryp.patch |   25 +-
 49 files changed, 227 insertions(+), 2939 deletions(-)
 delete mode 100644 meta/recipes-core/gettext/gettext-0.20.1/overloadable.patch
 delete mode 100644 meta/recipes-core/glibc/glibc/0022-eglibc-Clear-cache-lines-on-ppc8xx.patch
 rename meta/recipes-core/glibc/glibc/{0023-eglibc-Resolve-__fpscr_values-on-SH4.patch => 0022-eglibc-Resolve-__fpscr_values-on-SH4.patch} (96%)
 rename meta/recipes-core/glibc/glibc/{0024-eglibc-Forward-port-cross-locale-generation-support.patch => 0023-eglibc-Forward-port-cross-locale-generation-support.patch} (99%)
 rename meta/recipes-core/glibc/glibc/{0025-Define-DUMMY_LOCALE_T-if-not-defined.patch => 0024-Define-DUMMY_LOCALE_T-if-not-defined.patch} (92%)
 rename meta/recipes-core/glibc/glibc/{0026-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch => 0025-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch} (97%)
 rename meta/recipes-core/glibc/glibc/{0027-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch => 0026-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch} (95%)
 rename meta/recipes-core/glibc/glibc/{0028-intl-Emit-no-lines-in-bison-generated-files.patch => 0027-intl-Emit-no-lines-in-bison-generated-files.patch} (93%)
 rename meta/recipes-core/glibc/glibc/{0029-inject-file-assembly-directives.patch => 0028-inject-file-assembly-directives.patch} (99%)
 rename meta/recipes-core/glibc/glibc/{0030-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch => 0029-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch} (96%)
 delete mode 100644 meta/recipes-core/glibc/glibc/0031-Refactor-FORTIFY-in-glibc.patch
 create mode 100644 meta/recipes-core/musl/libucontext/0001-pass-LDFLAGS-to-link-step.patch
 create mode 100644 meta/recipes-core/musl/libucontext_git.bb
 create mode 100644 meta/recipes-devtools/go/go-dep/0001-bolt_riscv64-Add-support-for-riscv64.patch
 create mode 100644 meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch

-- 
2.25.0



More information about the Openembedded-core mailing list