From: Wolfgang Denk Date: Fri, 23 Jul 2004 00:57:38 +0200 Subject: [U-Boot-Users] Building U-Boot 1.0.1 with -g -Os. In-Reply-To: Your message of "Thu, 22 Jul 2004 15:43:05 PDT." <20040722224305.50089.qmail@web61106.mail.yahoo.com> Message-ID: <20040722225743.549E3C109F@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20040722224305.50089.qmail@web61106.mail.yahoo.com> 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 -- 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