http://bugs.winehq.org/show_bug.cgi?id=22925
--- Comment #2 from Wylda wylda@volny.cz 2010-05-29 11:27:38 --- (In reply to comment #1)
Please try to narrow down which dll, then which file breaks when compiled with -O0.
Gladly, but i will need at least a little help to do it right.
This link tells me, that only file which was changed is dlls/ntdll/heap.c: http://source.winehq.org/git/wine.git/?a=commit;h=90f31aa3811ef3e9920796d51b...
Final product is ntdll.dll.so, right?. So that's the dll you are talking about? And now i should compile each *.c file in dlls/ntdll/ with -O2, than touch one .c file and recompile just the one .c file with -O0 and see the difference?
* How do i do that? Something like make -C xyz.c ?? * Do i need to be in folder "wine-git" or "wine-git/dlls/ntdll/" ???
Thanks in advance.