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 14:38, Matthew Wahab wrote:
> Hello,
> 
> Cross-compiling newlib for aarch64-none-elf fails with the error:
> ----
> In file included from newlib-cygwin/newlib/libc/locale/locale.c:181:0:
> newlib-cygwin/newlib/libc/locale/../ctype/ctype_.h:14:15: error: conflicting
> types for '_ctype_'
>    extern char _ctype_[];
>                ^~~~~~~
> In file included from newlib-cygwin/newlib/libc/locale/../ctype/ctype_.h:1:0,
>                  from newlib-cygwin/newlib/libc/locale/locale.c:181:
> newlib-cygwin/newlib/libc/include/ctype.h:165:29: note: previous declaration
> of '_ctype_' was here
>  extern __IMPORT _CONST char _ctype_[];
>                              ^~~~~~~

I applied a patch.


Thanks,
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]