[U-Boot] undefined reference to `abort'

Wolfgang Denk wd at denx.de
Mon Dec 5 21:05:42 CET 2011


Dear "Shadid, Bill",

In message <E7F97B349C2A6843B718B2DDF2F9A8F016941C55 at EMAIL.corp.neptec.com> you wrote:
>
> 
> Its surprising that this code compiled and ran fine with ELDK 4.0 but
> has compile issues with 4.2. I guess some floating-point support was
> removed. I'm still not clear why the abort function is called and I
> say called because when we do throw in our own abort function that
> calls printf or forever loops, its gets executed and hangs u-boot.

On contrary. ELDK 4.2 added VFP floating point support, so now you
are actually generating such code while before with ELDk 4.0
everything was soft-float.

Fact is, U-Boot does not support floating point code.  Don't use it.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Einstein argued that there must be simplified explanations of nature,
because God is not capricious or arbitrary. No  such  faith  comforts
the software engineer.                             - Fred Brooks, Jr.


More information about the U-Boot mailing list