[U-Boot] [PATCH] nds32: Add a basic errno.h

Simon Glass sjg at chromium.org
Sun Jan 6 18:24:21 CET 2013


Hi Tom,

On Sun, Jan 6, 2013 at 9:16 AM, Tom Rini <trini at ti.com> wrote:
> On Sun, Jan 06, 2013 at 08:28:39AM -0800, Simon Glass wrote:
>
> [snip]
>> If you don't support a gcc option it should be possible to disable it
>> in U-Boot for your toolchain as a temporary workaround. It would be
>> good to get a pointer to your toolchain at some point.
>
> Unfortunately gcc doesn't error nicely when you try and test for
> -fstack-usage support.  The 'cc-option' check says that -fstack-usage
> works but then fails in real usage.  It's possible that a more
> heavy-weight test would correctly detect the failure however.

Well, if the problem is going to exist for a while, perhaps we could
put up with explicit nds32 check?

>
> --
> Tom

Regards,
Simon


More information about the U-Boot mailing list