Fix lvm2 build against musl libc
Hey all,
LVM2 currently does not compile against musl libc since it relies on some glibc-specific behavior. This also means that LVM2 is not fully POSIX compliant. The following patches have been tested on glibc and musl.
Patch 1: https://github.com/gentoo/musl/blob/master/sys-fs/lvm2/files/l
vm2-2.02.166-fix-stdio-usage.patch
Patch 2: https://github.com/gentoo/musl/blob/master/sys-fs/lvm2/files/l
vm2-2.02.166-portability.patch
Thanks,
Bjorn Pagen
Sorry, evolution screwed up my links. Here they are again:
Patch 1: https://github.com/gentoo/musl/blob/master/sys-fs/lvm2/files/lvm2-2.02.166-fix-stdio-usage.patch
Patch 2: https://github.com/gentoo/musl/blob/master/sys-fs/lvm2/files/lvm2-2.02.166-portability.patch
Quoted 16 lines · On Tue, Mar 6, 2018 at 7:21 PM, <[email protected]> wrote:
Hey all,
LVM2 currently does not compile against musl libc since it relies on some glibc-specific behavior. This also means that LVM2 is not fully POSIX compliant. The following patches have been tested on glibc and musl.
Patch 1: https://github.com/gentoo/musl/blob/master/sys-fs/lvm2/files/l
vm2-2.02.166-fix-stdio-usage.patchPatch 2: https://github.com/gentoo/musl/blob/master/sys-fs/lvm2/files/l
vm2-2.02.166-portability.patchThanks,
Bjorn Pagen
Signature · 1 line
Bjorn Pagen