Richard W.M. Jones schreef op di 16-11-2010 om 11:20 [+0000]:
[CC-ing to the cross-compiler mailing list]
On Tue, Nov 16, 2010 at 12:09:29PM +0100, Matthias Bolte wrote:
> 2010/11/16 Richard W.M. Jones <rjones(a)redhat.com>:
> > On Tue, Nov 16, 2010 at 11:56:12AM +0100, Matthias Bolte wrote:
> >> I recently tested the Fedora provided mingw32-libvirt on Windows and
> >> virsh just segfaults before main() for me.
> >
> > Sounds like a bug in a shared library. Can you get a stack trace
> > from this?
>
> Sure, here it is:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x6cc7cf5f in _pei386_runtime_relocator ()
> from
F:\msys_setup\msys\fedora\usr\i686-pc-mingw32\sys-root\mingw\bin\libvirt-0.dll
> (gdb) bt
> #0 0x6cc7cf5f in _pei386_runtime_relocator ()
> from
F:\msys_setup\msys\fedora\usr\i686-pc-mingw32\sys-root\mingw\bin\libvirt-0.dll
> #1 0x00000001 in ?? ()
> #2 0x0022f9f0 in ?? ()
> #3 0x6cc0113d in DllMainCRTStartup@12 (hDll=<value optimized out>,
> dwReason=<value optimized out>, lpReserved=<value optimized out>)
> at dllcrt1.c:67
> #4 0x7c9111a7 in ntdll!LdrSetAppCompatDllRedirectionCallback ()
> from C:\WINDOWS\system32\ntdll.dll
> #5 0x6cc00000 in ?? ()
> #6 0x7c92cbab in ntdll!LdrHotPatchRoutine ()
> from C:\WINDOWS\system32\ntdll.dll
> #7 0x7c93173e in ntdll!RtlMapGenericMask ()
> from C:\WINDOWS\system32\ntdll.dll
> #8 0x7c931639 in ntdll!RtlMapGenericMask ()
> from C:\WINDOWS\system32\ntdll.dll
> #9 0x7c91eac7 in ntdll!LdrCreateOutOfProcessImage ()
> from C:\WINDOWS\system32\ntdll.dll
> (gdb)
>
> I used this packages from
http://kojipkgs.fedoraproject.org/packages
>
> mingw32-libvirt-0.8.3-1.fc15.noarch.rpm
> mingw32-libvirt-debuginfo-0.8.3-1.fc15.noarch.rpm
> mingw32-gnutls-2.6.4-3.fc13.noarch.rpm
> mingw32-libgcrypt-1.4.4-4.fc12.noarch.rpm
> mingw32-libgpg-error-1.6-13.fc13.noarch.rpm
> mingw32-gettext-0.17-12.fc12.noarch.rpm
> mingw32-iconv-1.12-12.fc12.noarch.rpm
> mingw32-zlib-1.2.3-19.fc12.noarch.rpm
> mingw32-portablexdr-4.9.1-1.fc15.noarch.rpm
> mingw32-libxml2-2.7.6-1.fc13.noarch.rpm
> mingw32-readline-5.2-7.fc12.noarch.rpm
> mingw32-termcap-1.3.1-8.fc12.noarch.rpm
>
> Matthias
Hi Matthias,
There are currently some known issues with the mingw32 toolchain in
Fedora 15. See
https://bugzilla.redhat.com/show_bug.cgi?id=629209 for
more details. As I'm currently preparing the introduction of a mingw-w64
based tool chain (which can build both win32 as well as win64 targets) I
don't plan to spend much time in researching these issues.
For now I would recommend to use the F14 packages. Those should be fully
stable.
Regards,
Erik van Pienbroek