Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-11-09 Thread Peter Maydell
On 16 October 2015 at 08:32, Aaron Elkins wrote: > I built Qemu on Mac OS X 10.11 El Capitan with: > > ./configure > make > make install > > Successfully. > > And downloaded the official linux image, and ran it with the following: > > qemu-system-x86_64 -drive > fi

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-11-09 Thread Peter Maydell
On 9 November 2015 at 13:40, Paolo Bonzini wrote: > > > On 09/11/2015 14:30, Peter Maydell wrote: >> After a bunch of "try building specific object files with optimization >> off to see where the problem goes away" tests, I've narrowed the >> problem down further: if you tell clang to disable opti

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-11-09 Thread Paolo Bonzini
On 09/11/2015 14:30, Peter Maydell wrote: > After a bunch of "try building specific object files with optimization > off to see where the problem goes away" tests, I've narrowed the > problem down further: if you tell clang to disable optimization by > adding __attribute__ ((optnone)) to the two

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-11-09 Thread Peter Maydell
On 9 November 2015 at 11:46, Peter Maydell wrote: > Yep, just confirmed that current master with commit b553a0428 > reverted displays the bug again. After a bunch of "try building specific object files with optimization off to see where the problem goes away" tests, I've narrowed the problem down

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-11-09 Thread Peter Maydell
On 9 November 2015 at 11:06, Peter Maydell wrote: > On 9 November 2015 at 10:21, Paolo Bonzini wrote: >> Hmm, so the list is pretty short: > > The good news is that my second bisect conclusively fingered > the culprit for why the bug went away... > >> configure: disable FORTIFY_SOURCE under

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-11-09 Thread Peter Maydell
On 9 November 2015 at 10:21, Paolo Bonzini wrote: > Hmm, so the list is pretty short: The good news is that my second bisect conclusively fingered the culprit for why the bug went away... > configure: disable FORTIFY_SOURCE under clang ...the bad news is it's because this patch inadverten

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-11-09 Thread Paolo Bonzini
On 09/11/2015 11:02, Peter Maydell wrote: > On 9 November 2015 at 09:10, Paolo Bonzini wrote: >> >> >> On 08/11/2015 23:55, Peter Maydell wrote: >>> So the good news is that on mainline this doesn't happen any more. >>> The bad news is that something weird is going on such that git >>> bisect do

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-11-09 Thread Peter Maydell
On 9 November 2015 at 09:10, Paolo Bonzini wrote: > > > On 08/11/2015 23:55, Peter Maydell wrote: >> So the good news is that on mainline this doesn't happen any more. >> The bad news is that something weird is going on such that git >> bisect doesn't give helpful answers. Specifically if I start

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-11-09 Thread Paolo Bonzini
On 08/11/2015 23:55, Peter Maydell wrote: > So the good news is that on mainline this doesn't happen any more. > The bad news is that something weird is going on such that git > bisect doesn't give helpful answers. Specifically if I start by > compiling older versions and work forwards, then > 0

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-11-08 Thread Peter Maydell
On 18 October 2015 at 21:37, Peter Maydell wrote: > Sometimes it does manage to unwedge itself. Paolo, do you have > any suggestions for how to debug this kind of issue? So the good news is that on mainline this doesn't happen any more. The bad news is that something weird is going on such that g

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-10-18 Thread Aaron Elkins
> On Oct 19, 2015, at 4:37 AM, Peter Maydell wrote: > > On 18 October 2015 at 20:46, Peter Maydell wrote: >> On 16 October 2015 at 08:32, Aaron Elkins wrote: >>> I built Qemu on Mac OS X 10.11 El Capitan with: >>> >>>./configure >>>make >>>make install >>> >>> Success

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-10-18 Thread Peter Maydell
On 18 October 2015 at 20:46, Peter Maydell wrote: > On 16 October 2015 at 08:32, Aaron Elkins wrote: >> I built Qemu on Mac OS X 10.11 El Capitan with: >> >> ./configure >> make >> make install >> >> Successfully. >> >> And downloaded the official linux image, and ran it w

Re: [Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-10-18 Thread Peter Maydell
On 16 October 2015 at 08:32, Aaron Elkins wrote: > I built Qemu on Mac OS X 10.11 El Capitan with: > > ./configure > make > make install > > Successfully. > > And downloaded the official linux image, and ran it with the following: > > qemu-system-x86_64 -drive > fi

[Qemu-devel] Qemu: Guest Linux hangs on Mac OS X 10.11

2015-10-16 Thread Aaron Elkins
I built Qemu on Mac OS X 10.11 El Capitan with: ./configure make make install Successfully. And downloaded the official linux image, and ran it with the following: qemu-system-x86_64 -drive file=linux-0.2.img,index=0,media=disk,format=raw And th