Re: skalibs: how to properly detect posix_spawnp() when using uclibc-ng?

From: Eric Le Bihan <eric.le.bihan.dev_at_free.fr>
Date: Tue, 16 Aug 2016 13:13:09 +0200

Hi!

Le Fri, 12 Aug 2016 19:53:58 +0200,
Laurent Bercot <ska-skaware_at_skarnet.org> a écrit :

> On 12/08/2016 12:23, Laurent Bercot wrote:
> > I need a more invasive patch. Going to work on it.
>
> That was painful.
> Eric: please test the current git versions of the whole skarnet.org
> stack (compatibility's broken with the previous versions, next
> release will have major version bumps) and tell me whether it works
> with uclibc-ng.

This looks good! I had to patch here and there for the static build to
work (see attached patches), but now it is possible to build
buildroot-s6 with uclibc-ng using the HEAD of the feature/uclibc branch
(commit 207c36f) [1].

The following configurations have been tested OK:

- demo_s6_uclibc_shared_qemu_x86_defconfig
- demo_s6_uclibc_static_qemu_x86_defconfig

I'll give a spin to demo_s6_uclibc_both_qemu_x86_defconfig later. I'll
do the same for the glibc/musl ones too, to see that nothing is broken.

Once the stable versions of skarnet programs and libraries will be
available, I'll respin the patch series I sent to upstream Buildroot.
Note that this series contains a patch for skalibs to check target
endianness using pre-processor directives instead of a runtime test. It
looks like the same can be used for size type check, so I'll work on
this too [2].

Thank you very much!

[1] https://github.com/elebihan/buildroot-s6/tree/feature/uclibc
[2] http://lists.busybox.net/pipermail/buildroot/2016-August/169456.html

--
ELB






Received on Tue Aug 16 2016 - 11:13:09 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC