Dan Berrange reported compilation failure of libvirt on Fedora 20
when cross-compiling to mingw; the problem was traced to bogus
macros in the winpthreads header shipped as part of
mingw-headers 3.0.
CC util/libvirt_util_la-virerror.lo
In file included from
/usr/i686-w64-mingw32/sys-root
On 01/22/2014 09:27 AM, Daniel P. Berrange wrote:
> I'm attempting to make libvirt capable of building with mingw64 toolchain's
> pthread.h, instead of directly using Windows thread primitives.
>
> When attempting to build though I see failures
>
> CC util/libvirt_util_la-virerror.lo
> I
* m4/acl.m4 (gl_FUNC_ACL): Check for fchmod, since acl-internal.h
and qset-acl.c both use HAVE_FCHMOD.
---
ChangeLog | 6 ++
m4/acl.m4 | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index e273b83..b7c3e0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -
On Wed, Jan 22, 2014 at 04:27:43PM +, Daniel P. Berrange wrote:
> I'm attempting to make libvirt capable of building with mingw64 toolchain's
> pthread.h, instead of directly using Windows thread primitives.
Sorry, I should have mentioned the versions, Fedora 20, with mingw64 3.0.0
mingw32-
I'm attempting to make libvirt capable of building with mingw64 toolchain's
pthread.h, instead of directly using Windows thread primitives.
As a quick hack I just changed libvirt logic to force use of pthreads,
since configure is already doing the neccessary pthread.h probes for us
even on win32 e