Skip to content

musl fixes phase 2

Khem Raj openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17powertop: Include right headers for timval structmeta/recipes-kernel/powertop/powertop/0001-include-rquired-headers-for-typedefs.patch meta/recipes-kernel/powertop/powertop_2.8.bb+48 -11 reply
2/17dhcp: Include sys/types.h for u_int* defsmeta/recipes-connectivity/dhcp/dhcp/0001-include-missing-sys-types.h.patch meta/recipes-connectivity/dhcp/dhcp_4.3.2.bb+57 -01 reply
3/17blktrace: Include <sys/types.h for dev_tmeta/recipes-kernel/blktrace/blktrace/0001-include-sys-types.h-for-dev_t-definition.patch meta/recipes-kernel/blktrace/blktrace_git.bb+33 -11 reply
4/17ppp: Fix build with muslmeta/recipes-connectivity/ppp/ppp/0001-Fix-build-with-musl.patch meta/recipes-connectivity/ppp/ppp_2.4.7.bb+166 -00 replies
5/17tcp-wrappers: Fix build with muslmeta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/musl-decls.patch meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb+35 -00 replies
6/17tcmode-default: Use glibc for nativesdk version even on uclibc and muslmeta/conf/distro/include/tcmode-default.inc+2 -20 replies
7/17libtirpc: Fix build for muslmeta/recipes-extended/libtirpc/libtirpc/0002-Provide-getrpcbynumber-and-getrpcbyname-if-those-are.patch meta/recipes-extended/libtirpc/libtirpc/0003-Avoid-use-of-internal-glibc-sys-cdefs.h-header.patch meta/recipes-extended/libtirpc/libtirpc/0004-Add-configure-option-to-disable-DES-authentication.patch +5 more+3147 -01 reply
8/17fts: Add recipemeta/recipes-core/fts/fts.bb meta/recipes-core/fts/fts/fts-header-correctness.patch meta/recipes-core/fts/fts/fts-uclibc.patch +3 more+1540 -03 replies
9/17valgrind: Define __UCLIBC__ for uclibc based systemsmeta/recipes-devtools/valgrind/valgrind_3.10.1.bb+2 -02 replies
10/17connman: include config.h for HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDRmeta/recipes-connectivity/connman/connman/0003-Fix-header-inclusions-for-musl.patch+56 -231 reply
11/17libcgroup: Add dependency on fts when building on muslmeta/recipes-core/libcgroup/libcgroup/musl-decls-compat.patch meta/recipes-core/libcgroup/libcgroup_0.41.bb+239 -00 replies
12/17linux-libc-headers: Port patches for linux-headers for muslmeta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-libc-compat.h-fix-some-issues-arising-from-in6.h.patch meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0002-libc-compat.h-prevent-redefinition-of-struct-ethhdr.patch meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch +1 more+175 -00 replies
13/17xserver-xorg: Fix build with muslmeta/recipes-graphics/xorg-xserver/xserver-xorg/musl-arm-inb-outb.patch meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.0.bb+21 -12 replies
14/17gdk-pixbuf: Fix latent build issue exposed by muslmeta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/libc_memfuncs.patch meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.1.bb+26 -00 replies
15/17argp-standalone: Add recipemeta/recipes-support/argp-standalone/argp-standalone_1.3.bb meta/recipes-support/argp-standalone/files/0001-throw-in-funcdef.patch meta/recipes-support/argp-standalone/files/0002-isprint.patch+163 -00 replies
16/17gnutls: Link with libargp on musl and depend on argp-standalonemeta/recipes-support/gnutls/gnutls.inc+2 -00 replies
17/17util-linux: Fix ptest builds on muslmeta/recipes-core/util-linux/util-linux/uuid-test-error-api.patch meta/recipes-core/util-linux/util-linux_2.27.1.bb+93 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/17] musl fixes phase 2

This set of fixes lets core-image-base/core-image-weston/core-image-sato compile and boot using TCLIBC=musl

The following changes since commit e1a37899da56014693f08d1c39cb6ec0a4ed2bf4:

buildstats-summary/toaster: Cope with removal of get_bn() (2015-12-18 13:50:54 +0000)

are available in the git repository at:

git://github.com/kraj/openembedded-core kraj/musl-fixes
https://github.com/kraj/openembedded-core/tree/kraj/musl-fixes

Khem Raj (17):
powertop: Include right headers for timval struct
dhcp: Include sys/types.h for u_int* defs
blktrace: Include <sys/types.h for dev_t
ppp: Fix build with musl
tcp-wrappers: Fix build with musl
tcmode-default: Use glibc for nativesdk version even on uclibc and
musl
libtirpc: Fix build for musl
fts: Add recipe
valgrind: Define __UCLIBC__ for uclibc based systems
connman: include config.h for HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR
libcgroup: Add dependency on fts when building on musl
linux-libc-headers: Port patches for linux-headers for musl
xserver-xorg: Fix build with musl
gdk-pixbuf: Fix latent build issue exposed by musl
argp-standalone: Add recipe
gnutls: Link with libargp on musl and depend on argp-standalone
util-linux: Fix ptest builds on musl

 meta/conf/distro/include/tcmode-default.inc        |    4 +-
 .../0003-Fix-header-inclusions-for-musl.patch      |   79 +-
 .../dhcp/0001-include-missing-sys-types.h.patch    |   56 +
 meta/recipes-connectivity/dhcp/dhcp_4.3.2.bb       |    1 +
 .../ppp/ppp/0001-Fix-build-with-musl.patch         |  163 ++
 meta/recipes-connectivity/ppp/ppp_2.4.7.bb         |    3 +
 meta/recipes-core/fts/fts.bb                       |   38 +
 .../fts/fts/fts-header-correctness.patch           |   20 +
 meta/recipes-core/fts/fts/fts-uclibc.patch         |   45 +
 meta/recipes-core/fts/fts/gcc5.patch               | 1363 +++++++++++++++
 meta/recipes-core/fts/fts/remove_cdefs.patch       |   64 +
 meta/recipes-core/fts/fts/stdint.patch             |   10 +
 .../libcgroup/libcgroup/musl-decls-compat.patch    |  235 +++
 meta/recipes-core/libcgroup/libcgroup_0.41.bb      |    4 +
 .../util-linux/uuid-test-error-api.patch           |   92 +
 meta/recipes-core/util-linux/util-linux_2.27.1.bb  |    1 +
 meta/recipes-devtools/valgrind/valgrind_3.10.1.bb  |    2 +
 ...rpcbynumber-and-getrpcbyname-if-those-are.patch |   89 +
 ...-use-of-internal-glibc-sys-cdefs.h-header.patch | 1754 ++++++++++++++++++++
 ...gure-option-to-disable-DES-authentication.patch |   99 ++
 ...-compile-error-IPPORT_RESERVED-undeclared.patch |   35 +
 ...0006-Define-struct-rpcent-on-non-GNU-libc.patch |   50 +
 .../libtirpc/libtirpc/0007-use-bsd-queue.patch     |  561 +++++++
 meta/recipes-extended/libtirpc/libtirpc/nis.h      |  545 ++++++
 meta/recipes-extended/libtirpc/libtirpc_0.2.5.bb   |   14 +
 .../tcp-wrappers/tcp-wrappers-7.6/musl-decls.patch |   31 +
 .../tcp-wrappers/tcp-wrappers_7.6.bb               |    4 +
 .../gdk-pixbuf/gdk-pixbuf/libc_memfuncs.patch      |   25 +
 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.1.bb |    1 +
 .../xserver-xorg/musl-arm-inb-outb.patch           |   18 +
 .../xorg-xserver/xserver-xorg_1.18.0.bb            |    4 +-
 ...-include-sys-types.h-for-dev_t-definition.patch |   30 +
 meta/recipes-kernel/blktrace/blktrace_git.bb       |    4 +-
 ...mpat.h-fix-some-issues-arising-from-in6.h.patch |   81 +
 ...t.h-prevent-redefinition-of-struct-ethhdr.patch |   58 +
 ...remove-inclusion-of-sysinfo.h-in-kernel.h.patch |   31 +
 .../linux-libc-headers/linux-libc-headers_4.1.bb   |    5 +
 ...0001-include-rquired-headers-for-typedefs.patch |   45 +
 meta/recipes-kernel/powertop/powertop_2.8.bb       |    4 +-
 .../argp-standalone/argp-standalone_1.3.bb         |   28 +
 .../files/0001-throw-in-funcdef.patch              |   84 +
 .../argp-standalone/files/0002-isprint.patch       |   51 +
 meta/recipes-support/gnutls/gnutls.inc             |    2 +
 43 files changed, 5805 insertions(+), 28 deletions(-)
 create mode 100644 meta/recipes-connectivity/dhcp/dhcp/0001-include-missing-sys-types.h.patch
 create mode 100644 meta/recipes-connectivity/ppp/ppp/0001-Fix-build-with-musl.patch
 create mode 100644 meta/recipes-core/fts/fts.bb
 create mode 100644 meta/recipes-core/fts/fts/fts-header-correctness.patch
 create mode 100644 meta/recipes-core/fts/fts/fts-uclibc.patch
 create mode 100644 meta/recipes-core/fts/fts/gcc5.patch
 create mode 100644 meta/recipes-core/fts/fts/remove_cdefs.patch
 create mode 100644 meta/recipes-core/fts/fts/stdint.patch
 create mode 100644 meta/recipes-core/libcgroup/libcgroup/musl-decls-compat.patch
 create mode 100644 meta/recipes-core/util-linux/util-linux/uuid-test-error-api.patch
 create mode 100644 meta/recipes-extended/libtirpc/libtirpc/0002-Provide-getrpcbynumber-and-getrpcbyname-if-those-are.patch
 create mode 100644 meta/recipes-extended/libtirpc/libtirpc/0003-Avoid-use-of-internal-glibc-sys-cdefs.h-header.patch
 create mode 100644 meta/recipes-extended/libtirpc/libtirpc/0004-Add-configure-option-to-disable-DES-authentication.patch
 create mode 100644 meta/recipes-extended/libtirpc/libtirpc/0005-Fix-compile-error-IPPORT_RESERVED-undeclared.patch
 create mode 100644 meta/recipes-extended/libtirpc/libtirpc/0006-Define-struct-rpcent-on-non-GNU-libc.patch
 create mode 100644 meta/recipes-extended/libtirpc/libtirpc/0007-use-bsd-queue.patch
 create mode 100644 meta/recipes-extended/libtirpc/libtirpc/nis.h
 create mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/musl-decls.patch
 create mode 100644 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/libc_memfuncs.patch
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/musl-arm-inb-outb.patch
 create mode 100644 meta/recipes-kernel/blktrace/blktrace/0001-include-sys-types.h-for-dev_t-definition.patch
 create mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-libc-compat.h-fix-some-issues-arising-from-in6.h.patch
 create mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0002-libc-compat.h-prevent-redefinition-of-struct-ethhdr.patch
 create mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch
 create mode 100644 meta/recipes-kernel/powertop/powertop/0001-include-rquired-headers-for-typedefs.patch
 create mode 100644 meta/recipes-support/argp-standalone/argp-standalone_1.3.bb
 create mode 100644 meta/recipes-support/argp-standalone/files/0001-throw-in-funcdef.patch
 create mode 100644 meta/recipes-support/argp-standalone/files/0002-isprint.patch
Signature · 1 line
2.6.4