GCC5 optimization level causes runtime error in WINE

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

 



Hello,

I am attempting to debug why WINE[1], when compiled with GCC 5[2] on Fedora Rawhide, cannot run when an optimization level is specified.

-O0 : works
-O1 : segfault
-O2 : segfault

I have enabled -O1 flags manually and WINE works. What other settings is GCC 5 enabling between optimization levels? I have run -Q --help=optimizers and that's what I based my flag settings on, but there is something obviously missing that -O1 enables.

Thanks,
MIchael

[1] https://www.winehq.org/
[2] gcc (GCC) 5.0.0 20150226 (Red Hat 5.0.0-0.18)




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux