04/10/2018 12:20, Anatoly Burakov: > This patchset fixes numerous issues with musl compatibility > in the core EAL libraries. It does not fix anything beyond > core EAL (so, PCI driver is still broken, so are a few other > drivers), but it's a good start. > > Tested on container with Alpine Linux. Alpine dependencies: > > build-base bsd-compat-headers libexecinfo-dev linux-headers numactl-dev > > For numactl-dev, testing repository needs to be enabled: > > echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> > /etc/apk/repositories > > If successful (using a very broad definition of "success"), > the build should fail somewhere in PCI bus driver in UIO. > > v3 -> v2: > - Made _GNU_SOURCE unconditional for all DPDK targets > - Fixed usage of __USE_GNU and _GNU_SOURCE accross DPDK > > v2 -> v1: > - Fixed patch 2 to use existing define if available > - Fixed patch 7 to use proper format specifier and > cast pthread ID to unsigned pointer type > > Anatoly Burakov (7): > mk: build with _GNU_SOURCE defined by default > pci/vfio: improve musl compatibility > fbarray: improve musl compatibility > eal/hugepage_info: improve musl compatibility > mem: improve musl compatibility > string_fns: improve musl compatibility > eal: improve musl compatibility
Applied, thanks Hope the _GNU_SOURCE source won't bring too much compilation surprises.