public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] How to debug u-boot
Date: Fri, 06 Jun 2008 12:31:58 -0400	[thread overview]
Message-ID: <4849667E.8010601@ge.com> (raw)
In-Reply-To: <200806061626.m56GQEZ2022127@mail.corelis.com>

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

      reply	other threads:[~2008-06-06 16:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4849667E.8010601@ge.com \
    --to=gerald.vanbaren@ge.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox