http://bugs.winehq.org/show_bug.cgi?id=19055
--- Comment #7 from Anastasius Focht focht@gmx.net 2009-06-24 17:47:55 --- Hello,
--- quote --- Does this make any difference? --- quote ---
yes, the emitted CFI helps libgcc's unwinder, preventing the segfault. I should have looked at gcc -S output of signal_i386.c to see gcc's emitted CFI of other functions ;-)
Maybe libgcc's unwinder just relied on the fact if there is any CFI present (call_thread_func: .cfi_startproc and .cfi_endproc) it will be complete CFI. Normally it would be the case if gcc's CFI generator produced the code.
The Wine packagers of Distros using gcc 4.4+ for building Wine 1.1.24 should be notified to include your patch.
Regards