[U-Boot-Users] How to debug u-boot

Jerry Van Baren gerald.vanbaren at ge.com
Fri Jun 6 18:31:58 CEST 2008


Brian S. Park wrote:
> Hi every one.
> I need help with debugging u-boot. If I comple u-Boot without -Os 
> optimization, I get bunch of errors about missing functions. They are 
> inline functions (in_be32, out_be32, out_8, etc) and I'm not sure how 
> to make sure they are included when building the code without optimization.
> 
> I'm using ELDK4.1 for windows and u-Boot-1.3.3
> 
> Any help or pointers will be appreciated.
> 
> Thanks
> 
> Brian

My vague recollections of gcc folklore is that you must use optimization 
when you use inlined functions.

Maybe -fkeep-inline-functions fixes it?
<http://gcc.gnu.org/onlinedocs/gcc/Inline.html>

Sorry,
gvb




More information about the U-Boot mailing list