[ECOS] idle_thread_loops with arm-eabi-gcc

Heidet, Christophe Christophe.Heidet@Gunnebo.com
Wed Aug 12 07:09:00 GMT 2009


I have a strange problem with arm-eabi-gcc. 
I use the version from ecos website : arm-eabi-gcc V4.3.2
If I build with the -O2 optimization flag, I can't use the cpuload
package, because the "idle_thread_loops" never increase ...
If I decrease the optimization (to -O0) I have no problem and the
cpuload works very well.

Does anybody have a solution ? instead of decrease the optimization ...


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list