Bug#789789: Musl fails to compile stuff that depends on kernel headers

2015-06-25 Thread Kevin Bortis
I am not able to upload a copy of sabotage linux kernel headers due to debian policy. In the current state it is very unlikly that the official debian linux kernel maintainers are willing to provide the appropriate sanitized headers under the musl libc folder. Please see also debian bug 764335 for

Bug#789789: Musl fails to compile stuff that depends on kernel headers

2015-06-24 Thread Juliusz Chroboczek
According to information received on #musl: you need to install the kernel headers into the musl prefix optimally a set of sanitized kernel-headers, like those from http://github.com/sabotage-linux/kernel-headers -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with

Bug#789789: Musl fails to compile stuff that depends on kernel headers

2015-06-24 Thread Juliusz Chroboczek
This can apparently be worked around by doing: ln -s /usr/include/linux /usr/include/x86_64-linux-musl/ ln -s /usr/include/asm-generic /usr/include/x86_64-linux-musl/ ln -s /usr/include/x86_64-linux-gnu/asm /usr/include/x86_64-linux-musl/ -- Juliusz -- To UNSUBSCRIBE, email to debi

Bug#789789: Musl fails to compile stuff that depends on kernel headers

2015-06-24 Thread Juliusz Chroboczek
Package: musl-tools Version: 1.1.9-1 Having a musl toolchain in Debian is great for working on OpenWRT, which now uses musl by default. Unfortunately, I'm finding that some of my code which works fine under both glibc/Debian and musl/OpenWRT fails to compile with musl/Debian: kernel_netli