Skip to contentSkip to conversation

Building U-Boot 1.0.1 with -g -Os.

U-Boot-Users Reza Salehi 2 participants 2 messages Jul 22, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I have been able to build U-Boot, without -g and with -O0, with gcc 3.3.2 and glibc 2.3.2, with a cross compiler provided by Dan Kegel. I am using a MPC8540.

However, when I do a build with -g and Os, the
resulting U-Boot binary hangs!

Has anybody experienced the same type of problem? And if you have, can you tell me how you resolved the problem.

Regards,

Reza.

__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

#1 lore raw
Quoted 8 lines · In message <[email protected]> you wrote:

I have been able to build U-Boot, without -g and with -O0, with gcc 3.3.2 and glibc 2.3.2, with a cross compiler provided by Dan Kegel. I am using a MPC8540.

However, when I do a build with -g and Os, the
resulting U-Boot binary hangs!

-g -Os are the standard options. The have always been working for all systems that are in good shape.

Seems you have a problem with your port, and/or with your tools.

Best regards,

Wolfgang Denk

Signature · 7 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Many companies that have made themselves dependent on [the  equipment
of  a  certain  major  manufacturer] (and in doing so have sold their
soul to the devil) will collapse under the sheer weight  of  the  un-
mastered complexity of their data processing systems.
          -- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5