[Libguestfs] nbdkit / mingw support

Richard W.M. Jones rjones at redhat.com
Tue Mar 24 18:54:03 UTC 2020


On Tue, Mar 24, 2020 at 01:43:52PM -0500, Eric Blake wrote:
> On 3/21/20 7:06 AM, Richard W.M. Jones wrote:
> >Eric:
> >
> >Yifan Gu has posted a few patches for mingw support.  My comments
> >below.
> >
> >https://github.com/gyf304/nbdkit/commit/a37c4ca6546dfc4e96e305af97b62e5a9d6174ca
> >
> >* I think the SHARED_LDFLAGS idea is good.  I pushed a slightly
> >   different take on the idea here:
> >   https://github.com/libguestfs/nbdkit/commit/1d634009ab8e43592065ec469df6312400525cc8
> >   It's slightly different from what Yifan posted above, because I
> >   replaced -module -avoid-version -shared with $(SHARED_LDFLAGS),
> >   adding -no-undefined additionally on mingw.
> 
> Why are we trying to avoid -no-undefined on other platforms?

Isn't it because we rely on it, since our plugins need symbols that
are undefined at link time such as nbdkit_*?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the Libguestfs mailing list