[libvirt] [PATCH 1/2] qemu: fix build with musl libc
Daniel P. Berrangé
berrange at redhat.com
Thu Oct 17 09:13:33 UTC 2019
On Thu, Oct 17, 2019 at 11:06:25AM +0200, Michal Privoznik wrote:
> On 10/16/19 1:22 PM, casantos at redhat.com wrote:
> > From: Carlos Santos <casantos at redhat.com>
> >
> > On musl libc "stderr" is a preprocessor macro whose expansion leads to
> > compilation errors:
>
> Indeed, from their stdio.h:
>
> #define stdin (stdin)
> #define stdout (stdout)
> #define stderr (stderr)
>
> https://git.musl-libc.org/cgit/musl/tree/include/stdio.h#n66
>
> I've came accross some other musl related bugs lately and I like it less and
> less.
Ultimately we don't explicitly support musl right, so expectation should
be that it is broken and/or will be broken in future.
If we want to be serious about supporting builds with musl, then we need
it integrated into one of our Jenkins/GitLab/Travis CI systems via the
libvirt-jenkins-ci git repo 'lcitool'.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list