[Drbd-dev] [PATCH 0/2] drbd-utils: build fixes for the musl C library

Christophe Vu-Brugier cvubrugier at fastmail.fm
Wed Sep 9 15:16:05 CEST 2015


Here are two patches that fix compilation errors when drbd-utils is
built with the musl C library.

The errors were encountered when building drbd-utils with Buildroot,
an embedded build system that supports musl toolchains. Buildroot has
a nice build bot that builds a set of packages for several target
architectures and with several toolchains. drbd-utils builds currently
fail when the build is performed with a musl toolchain.

Here is an example of a build that failed:


Christophe Vu-Brugier (2):
  drbd_endian: fix compilation error with the musl C library
  drbdmeta: drop usage of strndupa() which is not provided by musl

 user/shared/drbd_endian.h | 2 +-
 user/shared/drbdmeta.c    | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)


More information about the drbd-dev mailing list