Skip to contentSkip to conversation

Fix lvm2 build against musl libc

linux-lvm [email protected] 1 participant 2 messages Mar 7, 2018

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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.patch

Patch 2: https://github.com/gentoo/musl/blob/master/sys-fs/lvm2/files/l
vm2-2.02.166-portability.patch

Thanks,
Bjorn Pagen

Signature · 1 line
Bjorn Pagen