mogorva
2011-Apr-25 07:45 UTC
[Wine] Detail level of backtrace depending on the used CFLAGS
Hello, I've just noticed that I'm getting different backtraces depending on if I use the -O2 or -O0 cflags during compilation. Here is a backtrace with -O2: http://pastebin.com/bGXCJBND And here is the one with -O0: http://pastebin.com/axPZQUaD Both were produced by the same Wine version (wine-1.3.18-170-gfa2e4bb). I'm using Fedora 14 32 bits and I always use the following CFLAGS when compiling Wine: "-g -gdwarf-2 -O2" Which one is preferred e.g. when reporting bugs? What is causing this difference? Regards
vitamin
2011-Apr-27 01:08 UTC
[Wine] Re: Detail level of backtrace depending on the used CFLAGS
mogorva wrote:> I've just noticed that I'm getting different backtraces depending on if I use the -O2 or -O0 cflags during compilation.The only time this can happen is when you get stack corruption with one and not the other.