Skip to contentSkip to conversation

How to debug u-boot

U-Boot-Users Brian S. Park 2 participants 2 messages Jun 6, 2008

lore
Share & tools
lore
#0 lore raw

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

===============================================================
Brian S. Park brian.park at corelis.com (562) 926-6727 x132
---------------------------------------------------------------
Everything we do helps our customers get to market FASTER with HIGHER quality and LOWER cost
===============================================================

#1 lore raw
Quoted 6 lines · Brian S. Park

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.

Quoted 7 lines

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