qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: qemu-system-ppc 5.0 rc1 crashing on Windows


From: Alex Bennée
Subject: Re: qemu-system-ppc 5.0 rc1 crashing on Windows
Date: Thu, 02 Apr 2020 14:20:45 +0100
User-agent: mu4e 1.3.10; emacs 28.0.50

Howard Spoelstra <address@hidden> writes:

> On Thu, Apr 2, 2020 at 12:47 PM Philippe Mathieu-Daudé <address@hidden>
> wrote:
>
>> Cc'ing the persons referenced in the commit you referred,
>> who happened to be chatting about this issue few hours ago on IRC.
>>
>>
> Thanks, adding --disable-pie to configure solves this issue, but I guess
> the default detection should work ;-)

Could you try the following patch:

  Subject: [PATCH for-5.0] configure: Add -Werror to PIE probe
  Date: Wed,  1 Apr 2020 14:47:56 -0700
  Message-Id: <address@hidden>

which fixed the win mxe cross compile failures.

>
> Best,
> Howard
>
>
>
>> On 4/2/20 11:28 AM, Howard Spoelstra wrote:
>> > Hi,
>> >
>> > I just compiled qemu-system-ppc for Windows, using native msys2 on
>> > Windows 10 64 bit and the 64 bit mingw cross compiler on Fedora 31. Both
>> > create executables that crash:
>> >
>> > qemu-system-ppc.exe -L pc-bios -boot c -m 512 -M mac99,via=pmu -h
>> > da C:\Mac-disks\9.2.img
>> > Exception code=0xc0000005 flags=0x0 at 0x00007FFB2A602078. Access
>> > violation - attempting to write data at address 0x00000000034C76EC
>> >
>> > I bisected this down to:
>> >
>> > d2cd29e30736afd4a1e8cac3cf4da360bbc65978 is the first bad commit
>> > commit d2cd29e30736afd4a1e8cac3cf4da360bbc65978
>> > Author: Richard Henderson <address@hidden
>> > <mailto:address@hidden>>
>> > Date:   Tue Dec 17 13:47:37 2019 -1000
>> >
>> >      configure: Do not force pie=no for non-x86
>> >
>> >      PIE is supported on many other hosts besides x86.
>> >
>> >      The default for non-x86 is now the same as x86: pie is used
>> >      if supported, and may be forced via --enable/--disable-pie.
>> >
>> >      The original commit (40d6444e91c) said:
>> >
>> >        "Non-x86 are not changed, as they require TCG changes"
>> >
>> >      but I think that's wrong -- there's nothing about PIE that
>> >      affects TCG one way or another.
>> >
>> >      Tested on aarch64 (bionic) and ppc64le (centos 7) hosts.
>> >
>> >      Tested-by: Alex Bennée <address@hidden
>> > <mailto:address@hidden>>
>> >      Reviewed-by: Alex Bennée <address@hidden
>> > <mailto:address@hidden>>
>> >      Reviewed-by: Philippe Mathieu-Daudé <address@hidden
>> > <mailto:address@hidden>>
>> >      Signed-off-by: Richard Henderson <address@hidden
>> > <mailto:address@hidden>>
>> >
>> > Please note that I tried again after applying patch
>> > https://patchwork.ozlabs.org/patch/1265368/ However, this has not
>> solved
>> > my issue.
>> >
>> > Best,
>> > Howard
>> >
>> >
>>
>>


-- 
Alex Bennée



reply via email to

[Prev in Thread] Current Thread [Next in Thread]