|
From: | Stefan Weil |
Subject: | Re: [Qemu-devel] Bugs when cross-compiling qemu for Windows with mingw 8.1, executable doesn't run |
Date: | Mon, 20 Aug 2018 21:47:03 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Am 20.08.2018 um 21:41 schrieb Stefan Weil: > That's a problem triggered by gcc 8 for Mingw-w64 with compiler options > -fstack-protector-all and -fstack-protector-strong. With any of those > options this simple test program also fails with SIGSEGV: > > #include <windows.h> > int main(void) { > SYSTEM_INFO system_info; > GetSystemInfo(&system_info); > return system_info.dwPageSize; > } > > With configure option --disable-stack-protector, the resulting binary > should work. I could confirm that now. The following build works for me: ./configure --cross-prefix=x86_64-w64-mingw32- --enable-debug \ --disable-stack-protector --target-list=ppc-softmmu && make Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |