Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH V2 00/27] ssp rework and glibc drop obsolete nsl/rpc
Date: Fri,  4 May 2018 17:14:06 -0700	[thread overview]
Message-ID: <cover.1525478935.git.raj.khem@gmail.com> (raw)

This patchset is primarily fixing how we use ssp support
in system runtime, Now we use the glibc/musl version consistently and suppliment
musl implementation with libssp_nonshared.a due to gcc needing it. mingw will
use the gcc implementation of libssp

Second major change is to drop the obsoleted features of glibc
we have been carrying them for some releases now and its time to
drop the ball on rpc/nsl eventually in a followup when we upgrade to glibc
2.28 we should drop crypt as well, this also means that the changes we did
for musl for rpc/nsl can now we applied generally and thats evident from
few commits in the series

Added libnss-nis and rpcsvc-proto for stubborn recipes until they migrate
to use libtirpc

Few upgrades are generally helping gcc8 upgrade which I will post separately
once this patchset is baked and applied.

This series have been tested with poky-lsb/core-image-sato on all qemu
machines with both musl/glibc combinations

The following changes since commit ae8b78f2ef5df4b24f8e2294c5e2760367b8bf8d:

  settings-daemon: Drop pointless apply=yes in SRC_URI (2018-05-04 09:55:00 +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

Khem Raj (27):
  libssp-nonshared: Add recipe
  musl: Depend on libssp-nonshared
  gcc-runtime: Disable gcc version of libssp
  libunwind: Drop adding libssp to linker flags
  musl: Upgrade to latest
  pbzip2: Fix C++11 warnings found with clang
  alsa-tools: Update to 1.1.6
  alsa-lib: Upgrade to 1.1.6
  glibc: Drop obsolete rpc and libnsl
  rpcsvc-proto: Add recipe
  libnss-nis: Add recipe
  libtirpc: Upgrade to 1.0.4-tc1
  libnsl: Upgrade to tip beyond 1.2.0 release
  ltp: Fix build after removing rpc and libnsl in glibc
  xinetd: Use libtirpc even on glibc
  tcp-wrapper: Use external libnsl
  Use libtirpc even on glibc
  perl: Account for libnsl being dropped from glibc
  mdadm: Fix build with gcc8
  libnsl2: Install into /usr/include and /usr/lib
  ppp: Install net/ppp_defs.h on musl
  allarch.bbclass: Exclude package_do_shlibs from do_package signature
  packagegroup: Do not add libssp to SDK
  Disable using GST_GL if gst does not enable it
  mesa: Define PYTHON2
  strace: Upgrade to 4.22
  gdb: Upgrade to 8.1 release

 meta/classes/allarch.bbclass                  |   1 +
 meta/classes/libc-common.bbclass              |   4 -
 .../distro/include/default-distrovars.inc     |   2 +-
 meta/conf/distro/include/maintainers.inc      |   2 +
 meta/conf/distro/include/tcmode-default.inc   |   2 +-
 meta/conf/local.conf.sample.extended          |   2 +-
 meta/recipes-connectivity/ppp/ppp_2.4.7.bb    |   4 +
 .../glibc/cross-localedef-native_2.27.bb      |   1 -
 meta/recipes-core/glibc/glibc-initial.inc     |   4 +-
 meta/recipes-core/glibc/glibc-package.inc     |   5 +-
 meta/recipes-core/glibc/glibc.inc             |   4 -
 .../0021-eglibc-Install-PIC-archives.patch    | 123 ---
 meta/recipes-core/glibc/glibc_2.27.bb         |  18 +-
 meta/recipes-core/musl/libssp-nonshared.bb    |  39 +
 .../musl/libssp-nonshared/ssp-local.c         |  45 +
 meta/recipes-core/musl/musl_git.bb            |   5 +-
 ...packagegroup-core-standalone-sdk-target.bb |   2 +-
 .../packagegroups/packagegroup-self-hosted.bb |  11 +-
 meta/recipes-devtools/gcc/gcc-7.3.inc         |   7 +-
 ...cc-override-TARGET_LIBC_PROVIDES_SSP.patch | 204 ++++
 meta/recipes-devtools/gcc/gcc-runtime.inc     |   4 +-
 .../gdb/{gdb-8.0.1.inc => gdb-8.1.inc}        |   5 +-
 ...ian_8.0.1.bb => gdb-cross-canadian_8.1.bb} |   0
 .../{gdb-cross_8.0.1.bb => gdb-cross_8.1.bb}  |   0
 .../0001-include-sys-types.h-for-mode_t.patch |  12 +-
 ...port-for-Renesas-SH-sh4-architecture.patch | 153 ++-
 ...0012-Unbreak-GDBserver-build-for-x32.patch | 101 --
 .../gdb/{gdb_8.0.1.bb => gdb_8.1.bb}          |   0
 meta/recipes-devtools/perl/perl_5.24.1.bb     |   2 +-
 .../strace/disable-git-version-gen.patch      |  12 +-
 ...st-test-for-m32-mx32-compile-support.patch |  22 +-
 .../strace/{strace_4.20.bb => strace_4.22.bb} |  11 +-
 .../0001-include-sys-cdefs.h-explicitly.patch |  68 --
 ...de-stdint.h-for-uintptr_t-definition.patch |  27 -
 .../0002-Define-glibc-specific-macros.patch   |  57 --
 meta/recipes-extended/libnsl/libnsl2_git.bb   |  19 +-
 .../recipes-extended/libnss-nis/libnss-nis.bb |  36 +
 .../0001-include-stdint.h-for-uintptr_t.patch |  29 -
 ...0001-replace-__bzero-with-memset-API.patch |  64 --
 .../libtirpc/Use-netbsd-queue.h.patch         | 878 ------------------
 .../export_key_secretkey_is_set.patch         |  31 -
 .../libtirpc/libtirpc-1.0.4-rc1.patch         | 103 ++
 .../libtirpc/libtirpc/musl.patch              |  18 +
 .../{libtirpc_1.0.2.bb => libtirpc_1.0.3.bb}  |  13 +-
 ...0001-Disable-rpc01-on-glibc-and-musl.patch |  29 +
 ...option-to-select-libc-implementation.patch |  14 -
 meta/recipes-extended/ltp/ltp_20180118.bb     |   1 +
 ...able-errors-due-to-new-gcc8-warnings.patch |  30 +
 ...tead-of-memcpy-on-overlapping-region.patch |  31 +
 meta/recipes-extended/mdadm/mdadm_4.0.bb      |   2 +
 ...valid-suffix-on-literal-C-11-warning.patch |  73 ++
 meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb |   4 +-
 .../rpcsvc-proto/rpcsvc-proto.bb              |  37 +
 .../0001-Use-cross-compiled-rpcgen.patch      |  26 +
 .../tcp-wrappers/tcp-wrappers_7.6.bb          |   2 +-
 .../watchdog/watchdog_5.15.bb                 |  11 +-
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb |   7 +-
 meta/recipes-graphics/mesa/mesa.inc           |   1 +
 .../{alsa-lib_1.1.5.bb => alsa-lib_1.1.6.bb}  |   9 +-
 ...served-user-defined-literal-warnings.patch |  28 +
 .../alsa/alsa-tools/autotools.patch           |  42 +-
 ...lsa-tools_1.1.5.bb => alsa-tools_1.1.6.bb} |  25 +-
 .../webkitgtk/detect-gstreamer-gl.patch       |  20 +
 meta/recipes-sato/webkit/webkitgtk_2.20.0.bb  |   1 +
 meta/recipes-support/libunwind/libunwind.inc  |   2 -
 65 files changed, 933 insertions(+), 1612 deletions(-)
 delete mode 100644 meta/recipes-core/glibc/glibc/0021-eglibc-Install-PIC-archives.patch
 create mode 100644 meta/recipes-core/musl/libssp-nonshared.bb
 create mode 100644 meta/recipes-core/musl/libssp-nonshared/ssp-local.c
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.3/0049-gcc-override-TARGET_LIBC_PROVIDES_SSP.patch
 rename meta/recipes-devtools/gdb/{gdb-8.0.1.inc => gdb-8.1.inc} (85%)
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_8.0.1.bb => gdb-cross-canadian_8.1.bb} (100%)
 rename meta/recipes-devtools/gdb/{gdb-cross_8.0.1.bb => gdb-cross_8.1.bb} (100%)
 delete mode 100644 meta/recipes-devtools/gdb/gdb/0012-Unbreak-GDBserver-build-for-x32.patch
 rename meta/recipes-devtools/gdb/{gdb_8.0.1.bb => gdb_8.1.bb} (100%)
 rename meta/recipes-devtools/strace/{strace_4.20.bb => strace_4.22.bb} (85%)
 delete mode 100644 meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch
 delete mode 100644 meta/recipes-extended/libnsl/libnsl2/0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch
 delete mode 100644 meta/recipes-extended/libnsl/libnsl2/0002-Define-glibc-specific-macros.patch
 create mode 100644 meta/recipes-extended/libnss-nis/libnss-nis.bb
 delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch
 delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-replace-__bzero-with-memset-API.patch
 delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/Use-netbsd-queue.h.patch
 delete mode 100644 meta/recipes-extended/libtirpc/libtirpc/export_key_secretkey_is_set.patch
 create mode 100644 meta/recipes-extended/libtirpc/libtirpc/libtirpc-1.0.4-rc1.patch
 create mode 100644 meta/recipes-extended/libtirpc/libtirpc/musl.patch
 rename meta/recipes-extended/libtirpc/{libtirpc_1.0.2.bb => libtirpc_1.0.3.bb} (63%)
 create mode 100644 meta/recipes-extended/ltp/ltp/0001-Disable-rpc01-on-glibc-and-musl.patch
 create mode 100644 meta/recipes-extended/mdadm/files/0001-Disable-errors-due-to-new-gcc8-warnings.patch
 create mode 100644 meta/recipes-extended/mdadm/files/0001-use-memmove-instead-of-memcpy-on-overlapping-region.patch
 create mode 100644 meta/recipes-extended/pbzip2/pbzip2/0001-pbzip2-Fix-invalid-suffix-on-literal-C-11-warning.patch
 create mode 100644 meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb
 create mode 100644 meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch
 rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.5.bb => alsa-lib_1.1.6.bb} (75%)
 create mode 100644 meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch
 rename meta/recipes-multimedia/alsa/{alsa-tools_1.1.5.bb => alsa-tools_1.1.6.bb} (62%)
 create mode 100644 meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch

-- 
2.17.0



             reply	other threads:[~2018-05-05  0:14 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-05  0:14 Khem Raj [this message]
2018-05-05  0:13 ` [PATCH 01/27] libssp-nonshared: Add recipe Khem Raj
2018-05-05  0:13 ` [PATCH 02/27] musl: Depend on libssp-nonshared Khem Raj
2018-05-05  0:13 ` [PATCH 03/27] gcc-runtime: Disable gcc version of libssp Khem Raj
2018-05-05  0:13 ` [PATCH 04/27] libunwind: Drop adding libssp to linker flags Khem Raj
2018-05-05  0:13 ` [PATCH 05/27] musl: Upgrade to latest Khem Raj
2018-05-05  0:14 ` [PATCH 06/27] pbzip2: Fix C++11 warnings found with clang Khem Raj
2018-05-05  0:14 ` [PATCH 07/27] alsa-tools: Update to 1.1.6 Khem Raj
2018-05-05  0:14 ` [PATCH 08/27] alsa-lib: Upgrade " Khem Raj
2018-05-05  0:14 ` [PATCH 09/27] glibc: Drop obsolete rpc and libnsl Khem Raj
2018-05-05  0:14 ` [PATCH 10/27] rpcsvc-proto: Add recipe Khem Raj
2018-05-05  0:14 ` [PATCH 11/27] libnss-nis: " Khem Raj
2018-05-05  0:14 ` [PATCH 12/27] libtirpc: Upgrade to 1.0.4-tc1 Khem Raj
2018-05-05  0:14 ` [PATCH 13/27] libnsl: Upgrade to tip beyond 1.2.0 release Khem Raj
2018-05-05  0:14 ` [PATCH 14/27] ltp: Fix build after removing rpc and libnsl in glibc Khem Raj
2018-05-05  0:14 ` [PATCH 15/27] xinetd: Use libtirpc even on glibc Khem Raj
2018-05-05  0:14 ` [PATCH 16/27] tcp-wrapper: Use external libnsl Khem Raj
2018-05-05  0:14 ` [PATCH 17/27] Use libtirpc even on glibc Khem Raj
2018-05-05  0:14 ` [PATCH 18/27] perl: Account for libnsl being dropped from glibc Khem Raj
2018-05-05  0:14 ` [PATCH 19/27] mdadm: Fix build with gcc8 Khem Raj
2018-05-05  0:14 ` [PATCH 20/27] libnsl2: Install into /usr/include and /usr/lib Khem Raj
2018-05-05  0:14 ` [PATCH 21/27] ppp: Install net/ppp_defs.h on musl Khem Raj
2018-05-05  0:14 ` [PATCH 22/27] allarch.bbclass: Exclude package_do_shlibs from do_package signature Khem Raj
2018-05-05  0:14 ` [PATCH 23/27] packagegroup: Do not add libssp to SDK Khem Raj
2018-05-05  0:14 ` [PATCH 24/27] Disable using GST_GL if gst does not enable it Khem Raj
2018-05-05  0:14 ` [PATCH 25/27] mesa: Define PYTHON2 Khem Raj
2018-05-05  0:14 ` [PATCH 26/27] strace: Upgrade to 4.22 Khem Raj
2018-05-05  0:14 ` [PATCH 27/27] gdb: Upgrade to 8.1 release Khem Raj
2018-05-05  0:34 ` ✗ patchtest: failure for ssp rework and glibc drop obsolete nsl/rpc (rev2) 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.1525478935.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