* [U-Boot-Users] How to debug u-boot
@ 2008-06-06 16:26 Brian S. Park
2008-06-06 16:31 ` Jerry Van Baren
0 siblings, 1 reply; 2+ messages in thread
From: Brian S. Park @ 2008-06-06 16:26 UTC (permalink / raw)
To: u-boot
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
===============================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] How to debug u-boot
2008-06-06 16:26 [U-Boot-Users] How to debug u-boot Brian S. Park
@ 2008-06-06 16:31 ` Jerry Van Baren
0 siblings, 0 replies; 2+ messages in thread
From: Jerry Van Baren @ 2008-06-06 16:31 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-06 16:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-06 16:26 [U-Boot-Users] How to debug u-boot Brian S. Park
2008-06-06 16:31 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox