Build failure for cross-compiled aarch64-none-elf
Corinna Vinschen
vinschen@redhat.com
Thu Aug 25 15:23:00 GMT 2016
On Aug 25 15:32, Matthew Wahab wrote:
> 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*' ?
Yes. Did you try? You might want to send patches... ;)
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20160825/51ec5153/attachment.sig>
More information about the Newlib
mailing list