lvm2-2.02.110 fails to compile against sys-libs/musl with various errors: - Bad usage of stdio constants - missing include to fcntl.h - missing phtread constant PTHREAD_MUTEX_RECURSIVE_NP Provided is two patches fixing these issues and one git formatted patch for addition to hardened-dev:musl overlay
Created attachment 403278 [details, diff] Fix stdio usage Patch fixing usage of stdio constants. Patch is taken from alpine linux (http://git.alpinelinux.org/cgit/aports/tree/main/lvm2/fix-stdio-usage.patch)
Created attachment 403280 [details, diff] fix missing include and pthread constant
Created attachment 403282 [details, diff] Git formatted patch for inclusion in hardened-dev:musl overlay
(In reply to Fredric Johansson from comment #3) > Created attachment 403282 [details, diff] [details, diff] > Git formatted patch for inclusion in hardened-dev:musl overlay Committed. Let's think about getting these patches upstream.
Thanks - we'll take a look at these for upstream. We've just added quite a bit of new code an another daemon too in today's 2.02.120 release so there could be some new things to deal with.
any more testing done for up-streaming this?