Closed copy closed 5 months ago
eio_stubs.c
provides its own struct clone_args
for older kernels:
https://github.com/ocaml-multicore/eio/blob/77d881014d0abb3246dda6f7af8178e86f05061a/lib_eio_linux/eio_stubs.c#L39-L55
If you can figure out the right ifdef, it should be an easy fix!
I install musl-gcc and kernel-headers-musl on Arch Linux, then create a switch with
CC=musl-gcc opam switch create ...
. Installingeio_linux
fails as follows:Note that the kernel-headers-musl package uses 4.19.88 (LTS) headers, which don't have
struct clone_args
: https://github.com/sabotage-linux/kernel-headers