Re: buildroot-s6: s6 Supervision for Embedded Devices

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Mon, 5 Oct 2015 14:09:41 +0200

On 05/10/2015 11:52, Eric Le Bihan wrote:
> In order to use s6 and friends on embedded devices, I added support for them in
> [Buildroot](http://buildroot.org), a set of Makefiles which make building Linux
> embedded systems easy.
>
> As these patches are not available upstream yet, I've created a playground:
> [buildroot-s6](https://github.com/elebihan/buildroot-s6/).

  Yay! Thanks Eric!


> - To cross-compile skalibs the documentation of skalibs recommends generating
> the sysdeps offline. This is a problem for Buildroot, as many architectures
> are supported and providing sysdeps for them is a no-go. I provide a patch for
> skalibs which replaces the run time tests for some type sizes and endianness
> with some compile time tests. This removes the need for offline sysdeps.

  I don't understand: if you cross-compile, compile-time tests will always
give the wrong results. How do other systems handle cross-compilation, for
instance wrt endianness? There has to be a database of sysdeps somewhere,
that lists the functionalities of various archs. How does Buildroot handle it?
It's certainly possible to make skalibs tap into that database to extract its
own sysdeps; please tell me if I can help.

-- 
  Laurent
Received on Mon Oct 05 2015 - 12:09:41 UTC

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