This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build failure for cross-compiled aarch64-none-elf


On Aug 25 17:23, Corinna Vinschen wrote:
> 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... ;)

I pushed a patch for this.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]