Skip to content

musl fixes to run core-image-sato and core-image-weston

Khem Raj openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17mtd-utils: update to latest and fix static inliningmeta/recipes-devtools/mtd/mtd-utils/0001-hashtable-Remove-duplicate-hashtable_iterator_value-.patch meta/recipes-devtools/mtd/mtd-utils_git.bb+65 -00 replies
2/17var/volatile: Mount it if doing ro-rfsmeta/classes/image.bbclass meta/recipes-core/base-files/base-files/fstab meta/recipes-core/initscripts/initscripts-1.0/read-only-rootfs-hook.sh +1 more+8 -20 replies
3/17libproxy: Include select.h for posix compliancemeta/recipes-support/libproxy/libproxy/0001-test-Include-sys-select.h-for-select.patch meta/recipes-support/libproxy/libproxy_0.4.11.bb+38 -00 replies
4/17ppp: Add extra include dirsmeta/recipes-connectivity/ppp/ppp_2.4.7.bb+5 -10 replies
5/17musl: Enable NLSmeta/conf/distro/include/tclibc-musl.inc+1 -10 replies
6/17vte: Pass _GNU_SOURCE via CFLAGSmeta/recipes-support/vte/vte_0.28.2.bb+2 -00 replies
7/17libfm-extra: Add own nls.m4meta/recipes-support/libfm/libfm-extra/0001-nls.m4-Take-it-from-gettext-0.15.patch meta/recipes-support/libfm/libfm-extra_1.2.3.bb+57 -10 replies
8/17connman: Fix builds to compile on muslmeta/recipes-connectivity/connman/connman/0001-Enable-backtrace-API-only-when-compiling-for-glibc.patch meta/recipes-connectivity/connman/connman/0002-musl-header-fixes.patch meta/recipes-connectivity/connman/connman/0003-resolve-musl-does-not-implement-res_ninit.patch +2 more+400 -02 replies
9/17perl: Fix build for muslmeta/recipes-devtools/perl/perl_5.20.0.bb+23 -00 replies
10/17iptables: Fix build on muslmeta/recipes-extended/iptables/iptables/0001-fix-build-with-musl.patch meta/recipes-extended/iptables/iptables_1.4.21.bb+90 -00 replies
11/17xserver-xorg: Use __GLIBC__ instread of __linux__ to denote glibc dependent codemeta/recipes-graphics/xorg-xserver/xserver-xorg/0001-use-__GLIBC__-guard-for-glibc-specific-code.patch meta/recipes-graphics/xorg-xserver/xserver-xorg_1.16.3.bb+32 -00 replies
12/17pulseaudio: Fix build with muslmeta/recipes-multimedia/pulseaudio/pulseaudio/0001-padsp-Make-it-compile-on-musl.patch meta/recipes-multimedia/pulseaudio/pulseaudio_6.0.bb+71 -00 replies
13/17sudo: Disable hardening for muslmeta/recipes-extended/sudo/sudo.inc+2 -04 replies
14/17xserver-xf86-config: Preload graphics driver modules for muslmeta/recipes-graphics/xorg-xserver/xserver-xf86-config/10-preload-modules.conf meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb+18 -01 reply
15/17kbd: Mark glibc headers under __GLIBC__meta/recipes-core/kbd/kbd/0003-Only-inluclude-kernel-headers-with-glibc.patch meta/recipes-core/kbd/kbd_2.0.2.bb+30 -00 replies
16/17gdb: Refresh patches against gitmeta/recipes-devtools/gdb/gdb-cross_7.9.bb meta/recipes-devtools/gdb/gdb.inc meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch +6 more+286 -9010 replies
17/17e2fsprogs: Delete identical binaries and create symlinks insteadmeta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb+8 -04 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 to run core-image-sato and core-image-weston

This is further patchset to enable core-image-sato and core-image-weston to build and boot on qemux86 and qemumips

volatile mount patch is for ro-rfs with systemd

gdb patches are generated against git tree for better upstreamablity

e2fsprogs is general improvement

Khem Raj (17):
mtd-utils: update to latest and fix static inlining var/volatile: Mount it if doing ro-rfs
libproxy: Include select.h for posix compliance
ppp: Add extra include dirs
musl: Enable NLS
vte: Pass _GNU_SOURCE via CFLAGS
libfm-extra: Add own nls.m4
connman: Fix builds to compile on musl
perl: Fix build for musl
iptables: Fix build on musl
xserver-xorg: Use __GLIBC__ instread of __linux__ to denote glibc
dependent code
pulseaudio: Fix build with musl
sudo: Disable hardening for musl
xserver-xf86-config: Preload graphics driver modules for musl
kbd: Mark glibc headers under __GLIBC__
gdb: Refresh patches against git
e2fsprogs: Delete identical binaries and create symlinks instead

 meta/classes/image.bbclass                         |   1 +
 meta/conf/distro/include/tclibc-musl.inc           |   2 +-
 ...cktrace-API-only-when-compiling-for-glibc.patch |  41 +
 .../connman/connman/0002-musl-header-fixes.patch   | 235 ++++++
 ...resolve-musl-does-not-implement-res_ninit.patch |  77 ++
 ...Fix-duplicate-definitions-issue-with-musl.patch |  43 ++
 meta/recipes-connectivity/connman/connman_1.28.bb  |   4 +
 meta/recipes-connectivity/ppp/ppp_2.4.7.bb         |   6 +-
 meta/recipes-core/base-files/base-files/fstab      |   1 -
 .../initscripts-1.0/read-only-rootfs-hook.sh       |   2 +-
 ...-Only-inluclude-kernel-headers-with-glibc.patch |  29 +
 meta/recipes-core/kbd/kbd_2.0.2.bb                 |   1 +
 .../systemd/systemd/journald-volatile.conf         |   6 +
 .../recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb |   8 +
 meta/recipes-devtools/gdb/gdb-cross_7.9.bb         |   2 +-
 meta/recipes-devtools/gdb/gdb.inc                  |   5 +-
 ...0001-make-man-install-relative-to-DESTDIR.patch |  28 +
 ...last.diff => 0002-Change-order-of-CFLAGS.patch} |  23 +-
 ...-support-for-Renesas-SH-sh4-architecture.patch} | 835 +++++----------------
 .../gdb/0004-Change-comment-in-gdb-compile.patch   |  48 ++
 .../recipes-devtools/gdb/gdb/sim-install-6.6.patch |  14 -
 meta/recipes-devtools/gdb/gdb/sim-install.patch    |  36 -
 meta/recipes-devtools/gdb/gdb/uclibc.patch         | 196 -----
 ...emove-duplicate-hashtable_iterator_value-.patch |  64 ++
 meta/recipes-devtools/mtd/mtd-utils_git.bb         |   1 +
 meta/recipes-devtools/perl/perl_5.20.0.bb          |  23 +
 .../iptables/0001-fix-build-with-musl.patch        |  89 +++
 meta/recipes-extended/iptables/iptables_1.4.21.bb  |   1 +
 meta/recipes-extended/sudo/sudo.inc                |   2 +
 .../xserver-xf86-config/10-preload-modules.conf    |   9 +
 .../xorg-xserver/xserver-xf86-config_0.1.bb        |   9 +
 ...e-__GLIBC__-guard-for-glibc-specific-code.patch |  31 +
 .../xorg-xserver/xserver-xorg_1.16.3.bb            |   1 +
 .../0001-padsp-Make-it-compile-on-musl.patch       |  70 ++
 .../pulseaudio/pulseaudio_6.0.bb                   |   1 +
 .../0001-nls.m4-Take-it-from-gettext-0.15.patch    |  54 ++
 meta/recipes-support/libfm/libfm-extra_1.2.3.bb    |   4 +-
 ...0001-test-Include-sys-select.h-for-select.patch |  37 +
 meta/recipes-support/libproxy/libproxy_0.4.11.bb   |   1 +
 meta/recipes-support/vte/vte_0.28.2.bb             |   2 +
 40 files changed, 1136 insertions(+), 906 deletions(-)
 create mode 100644 meta/recipes-connectivity/connman/connman/0001-Enable-backtrace-API-only-when-compiling-for-glibc.patch
 create mode 100644 meta/recipes-connectivity/connman/connman/0002-musl-header-fixes.patch
 create mode 100644 meta/recipes-connectivity/connman/connman/0003-resolve-musl-does-not-implement-res_ninit.patch
 create mode 100644 meta/recipes-connectivity/connman/connman/0004-tethering-Fix-duplicate-definitions-issue-with-musl.patch
 create mode 100644 meta/recipes-core/kbd/kbd/0003-Only-inluclude-kernel-headers-with-glibc.patch
 create mode 100644 meta/recipes-core/systemd/systemd/journald-volatile.conf
 create mode 100644 meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch
 rename meta/recipes-devtools/gdb/gdb/{gdbserver-cflags-last.diff => 0002-Change-order-of-CFLAGS.patch} (55%)
 rename meta/recipes-devtools/gdb/gdb/{renesas-sh-native-support.patch => 0003-Add-support-for-Renesas-SH-sh4-architecture.patch} (60%)
 create mode 100644 meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch
 delete mode 100644 meta/recipes-devtools/gdb/gdb/sim-install-6.6.patch
 delete mode 100644 meta/recipes-devtools/gdb/gdb/sim-install.patch
 delete mode 100644 meta/recipes-devtools/gdb/gdb/uclibc.patch
 create mode 100644 meta/recipes-devtools/mtd/mtd-utils/0001-hashtable-Remove-duplicate-hashtable_iterator_value-.patch
 create mode 100644 meta/recipes-extended/iptables/iptables/0001-fix-build-with-musl.patch
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/10-preload-modules.conf
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-use-__GLIBC__-guard-for-glibc-specific-code.patch
 create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio/0001-padsp-Make-it-compile-on-musl.patch
 create mode 100644 meta/recipes-support/libfm/libfm-extra/0001-nls.m4-Take-it-from-gettext-0.15.patch
 create mode 100644 meta/recipes-support/libproxy/libproxy/0001-test-Include-sys-select.h-for-select.patch
Signature · 1 line
2.1.4