Am 06.04.2012 12:38, schrieb Pavel Dovgaluk: > Hello. > > > > Recently I tried to build qemu-1.0 with MinGW and start it with qcow > file created with previous version of qemu. > > But after starting guest Windows loading process qemu had closed because > of an exception. > > > > I figured out that this exception is “stack smashing” and it happened in > qemu_coroutine_switch of coroutine-win32.c file. > > But when I remove -fstack-protector-all option from makefile nothing > changes – an exception occurs again. > > > > Does anyone have an idea about such behavior?
I guess it's this non-thread-local TLS once again, basically a compiler bug. Paolo, wasn't there a compiler option that works around the problem? Kevin