Skip to content

ssp rework and glibc drop obsolete nsl/rpc

Khem Raj openembedded-core 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest27 patches 1 replyIn review
  2. v124 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/27libssp-nonshared: Add recipemeta/recipes-core/musl/libssp-nonshared.bb meta/recipes-core/musl/libssp-nonshared/ssp-local.c+84 -00 replies
2/27musl: Depend on libssp-nonsharedmeta/recipes-core/musl/musl_git.bb+2 -10 replies
3/27gcc-runtime: Disable gcc version of libsspmeta/recipes-devtools/gcc/gcc-7.3.inc meta/recipes-devtools/gcc/gcc-7.3/0049-gcc-override-TARGET_LIBC_PROVIDES_SSP.patch meta/recipes-devtools/gcc/gcc-runtime.inc+212 -30 replies
4/27libunwind: Drop adding libssp to linker flagsmeta/recipes-support/libunwind/libunwind.inc+0 -20 replies
5/27musl: Upgrade to latestmeta/recipes-core/musl/musl_git.bb+1 -10 replies
6/27pbzip2: Fix C++11 warnings found with clangmeta/recipes-extended/pbzip2/pbzip2/0001-pbzip2-Fix-invalid-suffix-on-literal-C-11-warning.patch meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb+76 -10 replies
7/27alsa-tools: Update to 1.1.6meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch meta/recipes-multimedia/alsa/alsa-tools/autotools.patch meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb+75 -200 replies
8/27alsa-lib: Upgrade to 1.1.6meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb+5 -40 replies
9/27glibc: Drop obsolete rpc and libnslmeta/classes/libc-common.bbclass meta/conf/distro/include/default-distrovars.inc meta/conf/local.conf.sample.extended +6 more+7 -1560 replies
10/27rpcsvc-proto: Add recipemeta/conf/distro/include/maintainers.inc meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb meta/recipes-extended/rpcsvc-proto/rpcsvc-proto/0001-Use-cross-compiled-rpcgen.patch+64 -00 replies
11/27libnss-nis: Add recipemeta/conf/distro/include/maintainers.inc meta/recipes-extended/libnss-nis/libnss-nis.bb+37 -00 replies
12/27libtirpc: Upgrade to 1.0.4-tc1meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch meta/recipes-extended/libtirpc/libtirpc/0001-replace-__bzero-with-memset-API.patch meta/recipes-extended/libtirpc/libtirpc/Use-netbsd-queue.h.patch +4 more+125 -10110 replies
13/27libnsl: Upgrade to tip beyond 1.2.0 releasemeta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch meta/recipes-extended/libnsl/libnsl2/0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch meta/recipes-extended/libnsl/libnsl2/0002-Define-glibc-specific-macros.patch +1 more+2 -1580 replies
14/27ltp: Fix build after removing rpc and libnsl in glibcmeta/recipes-extended/ltp/ltp/0001-Disable-rpc01-on-glibc-and-musl.patch meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch meta/recipes-extended/ltp/ltp_20180118.bb+30 -140 replies
15/27xinetd: Use libtirpc even on glibcmeta/recipes-extended/xinetd/xinetd_2.3.15.bb+3 -40 replies
16/27tcp-wrapper: Use external libnslmeta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb+1 -10 replies
17/27Use libtirpc even on glibcmeta/recipes-extended/watchdog/watchdog_5.15.bb+6 -50 replies
18/27perl: Account for libnsl being dropped from glibcmeta/recipes-devtools/perl/perl_5.24.1.bb+1 -10 replies
19/27mdadm: Fix build with gcc8meta/recipes-extended/mdadm/files/0001-Disable-errors-due-to-new-gcc8-warnings.patch meta/recipes-extended/mdadm/files/0001-use-memmove-instead-of-memcpy-on-overlapping-region.patch meta/recipes-extended/mdadm/mdadm_4.0.bb+63 -00 replies
20/27libnsl2: Install into /usr/include and /usr/libmeta/recipes-extended/libnsl/libnsl2_git.bb+1 -100 replies
21/27ppp: Install net/ppp_defs.h on muslmeta/recipes-connectivity/ppp/ppp_2.4.7.bb+4 -00 replies
22/27allarch.bbclass: Exclude package_do_shlibs from do_package signaturemeta/classes/allarch.bbclass+1 -00 replies
23/27packagegroup: Do not add libssp to SDKmeta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb meta/recipes-core/packagegroups/packagegroup-self-hosted.bb+8 -50 replies
24/27Disable using GST_GL if gst does not enable itmeta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch meta/recipes-sato/webkit/webkitgtk_2.20.0.bb+21 -00 replies
25/27mesa: Define PYTHON2meta/recipes-graphics/mesa/mesa.inc+1 -00 replies
26/27strace: Upgrade to 4.22meta/recipes-devtools/strace/strace/disable-git-version-gen.patch meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch meta/recipes-devtools/strace/strace_4.22.bb+23 -220 replies
27/27gdb: Upgrade to 8.1 releasemeta/conf/distro/include/tcmode-default.inc meta/recipes-devtools/gdb/gdb-8.1.inc meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb +5 more+80 -1930 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 00/27] ssp rework and glibc drop obsolete nsl/rpc

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
Signature · 1 line
2.17.0