This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

android rowboat kernel build fails w/o optimizer set to -Os

 

Trying to debug android kernel code w/BDI 3000 debugger but the optimizer gets in the way of stepping code .  I tried to build with

KBUILD FLAGS set  with no optimizer and the build fails.  Tried -O1 and -O2 Seems to build only with

-Os  flag set.   is this a known condition? Is there a workaround?

Thanks