[U-Boot] Building for da830 fails
Nick Thompson
nick.thompson at ge.com
Tue May 11 10:59:16 CEST 2010
On 10/05/10 22:17, Wolfgang Denk wrote:
> In message <4BE43218.2060209 at freescale.com> you wrote:
>> which means that in order to support support printing 64-bit numbers on ARM,
>> we might need to completely rewrite print_size() to avoid division on 64-bit
>> numbers.
>
> This actually makes little sense to me. Avoiding this here will just
> make the problem pop up somewhare else later.
True, but the extra library (and abi workaround) bloat is not necessary in
this particular case.
The proper fix is to either insist on a toolchain that supports 64bit divides,
or avoid using features not available in all toolchains that you wish to support.
In the later case, rewriting the function would be a good idea wouldn't it?
The eabi stub you submitted is only good as long as C++ and exceptions are not
used by U-Boot. Exceptions in particular are a powerful way to clean up error
handling code - can we ever say never?
Regards,
Nick.
More information about the U-Boot
mailing list