This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Build failure for cross-compiled aarch64-none-elf
On 25/08/16 15:06, Corinna Vinschen wrote:
On Aug 25 14:38, Matthew Wahab wrote:
Hello,
Cross-compiling newlib for aarch64-none-elf fails with the error:
----
I applied a patch.
Thanks. That got further but the build now fails in include/locale.h:
----
newlib-cygwin/newlib/libc/include/locale.h:74:1: error: unknown type name
'locale_t'; did you mean 'clockid_t'?
locale_t _newlocale_r (struct _reent *, int, const char *, struct __locale_t *);
^~~~~~~~
clockid_t
-----
and
----
newlib-cygwin/newlib/libc/include/locale.h:76:1: error: unknown type name
'locale_t'; did you mean 'clockid_t'?
locale_t _duplocale_r (struct _reent *, struct __locale_t *);
^~~~~~~~
clockid_t
----
Should 'locale_t' be 'struct __locale_t*' ?
Matthew