public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Compiling with arm-eabi and YAFFS2
@ 2009-10-23 14:29 Chris Isbell
  2009-10-24 18:31 ` Tom
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Isbell @ 2009-10-23 14:29 UTC (permalink / raw)
  To: u-boot

U-Boot 2009.08 fails to compile with the arm-eabi compiler (V4.1.0 and
V4.3.1) when YAFFS2 support is enabled (CONFIG_YAFFS2 defined as 1). It
reports undefined symbols. (JFFS2 support compiles successfully.)

Having investigated, it appears that a work around is to create dummy
functions as follows:

#ifdef CONFIG_YAFFS2
/*
* These stub functions are needed when using the arm-eabi compiler with
YAFFS2 
* support. This is a complete hack and will probably need to be revised.
* (Chris Isbell 23rd October 2009.)
*/
void abort(void)
{

}

void __exidx_start(void)
{

}

void __exidx_end(void)
{

}
#endif

For convenience, I included these temporarily with my board-specific
initialisation code - which is clearly not a good place.

Has anyone else run into this problem and is there a more elegant
solution?

Thanks,


-- 
Chris Isbell
Systems Integration Manager, CDSRail
Fareham, Hampshire, UK.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-26 14:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23 14:29 [U-Boot] Compiling with arm-eabi and YAFFS2 Chris Isbell
2009-10-24 18:31 ` Tom
2009-10-26  7:42   ` Chris Isbell
2009-10-26  8:27     ` Jello huang
2009-10-26 12:41       ` Tom
2009-10-26 14:36         ` Chris Isbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox