Build failure for cross-compiled aarch64-none-elf

Corinna Vinschen vinschen@redhat.com
Thu Aug 25 14:06:00 GMT 2016


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
-------------- 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/7d7ef95e/attachment.sig>


More information about the Newlib mailing list