Closed GoogleCodeExporter closed 8 years ago
This only happens with higher optimizations as -O0.
Original comment by ju.lec...@googlemail.com
on 28 Dec 2011 at 10:27
Hi, thanks for the bug report
so does -O0 give an error or is it for higher optimizations lik -O1 -O2?
i do know that -O1 or greater do have that issue. seems like some assembly code
gets optimized causing errors.
Original comment by abhirana
on 29 Dec 2011 at 12:02
No, only with -O1/2. -O0 is fine.
On gentoo we like to leave the choice of optimisation to the user. So I removed
the -O0 and hit the bug. THat is fixed now and i7z is bumped.
Could this problem fixed anyways? Do you need mor debugging?
Original comment by ju.lec...@googlemail.com
on 29 Dec 2011 at 8:50
Hi Ju
i think i found the issue after some trial and error. seems like -O2 and -O3
uses -fschedule-insns and -insns2 which does some kind of reordering of
instruction
http://gcc.gnu.org/onlinedocs/gcc-4.2.3/gcc/Optimize-Options.html
the updated makefile in the svn explicitly disables those optimization (i still
use -O0 in the makefile but i tested with -O3 and -O2) and it seems to run fine
if everything works for you then i will bump up a version.
thanks.
Original comment by abhirana
on 30 Dec 2011 at 1:30
Thanks, this version works perfect with my CFLAGS. Can be closed now.
Original comment by ju.lec...@googlemail.com
on 31 Dec 2011 at 10:14
Original comment by abhirana
on 31 Mar 2012 at 8:34
Original issue reported on code.google.com by
ju.lec...@googlemail.com
on 28 Dec 2011 at 10:24