Skip to content

Add musl to OE-Core

Khem Raj openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13gcc: Add support for building musl configurationmeta/recipes-devtools/gcc/gcc-4.9.inc meta/recipes-devtools/gcc/gcc-4.9/0066-libstdc-musl.patch meta/recipes-devtools/gcc/gcc-4.9/0067-gcc-musl-support.patch +7 more+1052 -00 replies
2/13autoconf: Add musl supportmeta/recipes-devtools/autoconf/autoconf/add_musl_config.patch meta/recipes-devtools/autoconf/autoconf_2.69.bb+27 -00 replies
3/13gdb: Fix build with muslmeta/recipes-devtools/gdb/gdb.inc meta/recipes-devtools/gdb/gdb/0001-Use-exported-definitions-of-SIGRTMIN.patch+53 -03 replies
4/13mtd-utils: Backport and create patches to support muslmeta/recipes-devtools/mtd/mtd-utils/0001-Fix-build-with-musl.patch meta/recipes-devtools/mtd/mtd-utils/0001-mtd-utils-libfec-use-standard-C-type-instead-of-u_lo.patch meta/recipes-devtools/mtd/mtd-utils/010-fix-rpmatch.patch +1 more+137 -01 reply
5/13squashfs-tools: Define FNM_EXTMATCH if not definedmeta/recipes-devtools/squashfs-tools/squashfs-tools/fix-compat.patch meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb+64 -00 replies
6/13mtools: Use proper glibc override to add glibc packages to recommendationsmeta/recipes-devtools/mtools/mtools_4.0.18.bb+2 -20 replies
7/13musl: Add recipemeta/recipes-core/musl/musl.inc meta/recipes-core/musl/musl_git.bb+84 -00 replies
8/13sysvinit: Fix build with muslmeta/recipes-core/sysvinit/sysvinit/musl.patch meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb+75 -01 reply
9/13gettext: Delete libintl.h and charset.aliasmeta/recipes-core/gettext/gettext_0.16.1.bb meta/recipes-core/gettext/gettext_0.19.4.bb+9 -00 replies
10/13busybox: Add config for muslmeta/recipes-core/busybox/busybox/0001-linedit-deluser-use-POSIX-getpwent-instead-of-getpwe.patch meta/recipes-core/busybox/busybox/musl.cfg meta/recipes-core/busybox/busybox_1.23.2.bb+85 -00 replies
11/13openssl: Add musl configuration supportmeta/recipes-connectivity/openssl/openssl/configure-musl-target.patch meta/recipes-connectivity/openssl/openssl/linux-musl-libc-termios.patch meta/recipes-connectivity/openssl/openssl_1.0.2d.bb+48 -01 reply
12/13libpam: Fix build with muslmeta/recipes-extended/pam/libpam/0001-Add-support-for-defining-missing-funcitonality.patch meta/recipes-extended/pam/libpam/include_paths_header.patch meta/recipes-extended/pam/libpam_1.2.1.bb+131 -10 replies
13/13attr: Add patch to account for use of internal glibc headermeta/recipes-support/attr/attr_2.4.47.bb meta/recipes-support/attr/files/dont-use-decl-macros.patch+47 -11 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/13] Add musl to OE-Core

This is a mimimal set of changes brought in from meta-musl to OE-Core, with this set one can build core-image-minimal using musl by setting

TCLIBC=musl

for all supported architectures, eventually we will bring more changes to other packages which will enable more complex image builds and eventually world.

Khem Raj (13):
gcc: Add support for building musl configuration
autoconf: Add musl support
gdb: Fix build with musl
mtd-utils: Backport and create patches to support musl
squashfs-tools: Define FNM_EXTMATCH if not defined
mtools: Use proper glibc override to add glibc packages to
recommendations
musl: Add recipe
sysvinit: Fix build with musl
gettext: Delete libintl.h and charset.alias
busybox: Add config for musl
openssl: Add musl configuration support
libpam: Fix build with musl
attr: Add patch to account for use of internal glibc header

 .../openssl/openssl/configure-musl-target.patch    |  27 +++
 .../openssl/openssl/linux-musl-libc-termios.patch  |  19 ++
 .../recipes-connectivity/openssl/openssl_1.0.2d.bb |   2 +
 ...user-use-POSIX-getpwent-instead-of-getpwe.patch |  71 ++++++
 meta/recipes-core/busybox/busybox/musl.cfg         |  12 +
 meta/recipes-core/busybox/busybox_1.23.2.bb        |   2 +
 meta/recipes-core/gettext/gettext_0.16.1.bb        |   5 +
 meta/recipes-core/gettext/gettext_0.19.4.bb        |   4 +
 meta/recipes-core/musl/musl.inc                    |  26 ++
 meta/recipes-core/musl/musl_git.bb                 |  58 +++++
 meta/recipes-core/sysvinit/sysvinit/musl.patch     |  74 ++++++
 meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb     |   1 +
 .../autoconf/autoconf/add_musl_config.patch        |  26 ++
 meta/recipes-devtools/autoconf/autoconf_2.69.bb    |   1 +
 meta/recipes-devtools/gcc/gcc-4.9.inc              |   4 +
 .../gcc/gcc-4.9/0066-libstdc-musl.patch            |  32 +++
 .../gcc/gcc-4.9/0067-gcc-musl-support.patch        | 267 +++++++++++++++++++++
 .../gcc/gcc-4.9/0068-musl-dynamic-linker.patch     | 205 ++++++++++++++++
 .../gcc/gcc-4.9/0069-musl-no-fixincludes.patch     |  21 ++
 meta/recipes-devtools/gcc/gcc-5.2.inc              |   4 +
 .../gcc/gcc-5.2/0043-libstdc-musl.patch            |  32 +++
 .../gcc/gcc-5.2/0044-gcc-musl-support.patch        | 267 +++++++++++++++++++++
 .../gcc/gcc-5.2/0045-musl-dynamic-linker.patch     | 198 +++++++++++++++
 .../gcc/gcc-5.2/0046-musl-no-fixincludes.patch     |  22 ++
 meta/recipes-devtools/gdb/gdb.inc                  |   1 +
 ...0001-Use-exported-definitions-of-SIGRTMIN.patch |  52 ++++
 .../mtd/mtd-utils/0001-Fix-build-with-musl.patch   |  53 ++++
 ...ibfec-use-standard-C-type-instead-of-u_lo.patch |  56 +++++
 .../mtd/mtd-utils/010-fix-rpmatch.patch            |  24 ++
 meta/recipes-devtools/mtd/mtd-utils_git.bb         |   4 +
 meta/recipes-devtools/mtools/mtools_4.0.18.bb      |   4 +-
 .../squashfs-tools/squashfs-tools/fix-compat.patch |  63 +++++
 .../squashfs-tools/squashfs-tools_git.bb           |   1 +
 ...upport-for-defining-missing-funcitonality.patch |  68 ++++++
 .../pam/libpam/include_paths_header.patch          |  59 +++++
 meta/recipes-extended/pam/libpam_1.2.1.bb          |   5 +-
 meta/recipes-support/attr/attr_2.4.47.bb           |   4 +-
 .../attr/files/dont-use-decl-macros.patch          |  44 ++++
 38 files changed, 1814 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-connectivity/openssl/openssl/configure-musl-target.patch
 create mode 100644 meta/recipes-connectivity/openssl/openssl/linux-musl-libc-termios.patch
 create mode 100644 meta/recipes-core/busybox/busybox/0001-linedit-deluser-use-POSIX-getpwent-instead-of-getpwe.patch
 create mode 100644 meta/recipes-core/busybox/busybox/musl.cfg
 create mode 100644 meta/recipes-core/musl/musl.inc
 create mode 100644 meta/recipes-core/musl/musl_git.bb
 create mode 100644 meta/recipes-core/sysvinit/sysvinit/musl.patch
 create mode 100644 meta/recipes-devtools/autoconf/autoconf/add_musl_config.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0066-libstdc-musl.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0067-gcc-musl-support.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0068-musl-dynamic-linker.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0069-musl-no-fixincludes.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.2/0043-libstdc-musl.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.2/0044-gcc-musl-support.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.2/0045-musl-dynamic-linker.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.2/0046-musl-no-fixincludes.patch
 create mode 100644 meta/recipes-devtools/gdb/gdb/0001-Use-exported-definitions-of-SIGRTMIN.patch
 create mode 100644 meta/recipes-devtools/mtd/mtd-utils/0001-Fix-build-with-musl.patch
 create mode 100644 meta/recipes-devtools/mtd/mtd-utils/0001-mtd-utils-libfec-use-standard-C-type-instead-of-u_lo.patch
 create mode 100644 meta/recipes-devtools/mtd/mtd-utils/010-fix-rpmatch.patch
 create mode 100644 meta/recipes-devtools/squashfs-tools/squashfs-tools/fix-compat.patch
 create mode 100644 meta/recipes-extended/pam/libpam/0001-Add-support-for-defining-missing-funcitonality.patch
 create mode 100644 meta/recipes-extended/pam/libpam/include_paths_header.patch
 create mode 100644 meta/recipes-support/attr/files/dont-use-decl-macros.patch
Signature · 1 line
2.6.3