This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Build failure for cross-compiled aarch64-none-elf
- From: Matthew Wahab <matthew dot wahab at foss dot arm dot com>
- To: newlib at sourceware dot org
- Date: Thu, 25 Aug 2016 14:38:57 +0100
- Subject: Build failure for cross-compiled aarch64-none-elf
- Authentication-results: sourceware.org; auth=none
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_[];
^~~~~~~
----
This looks like it was introduced by
----
From: Corinna Vinschen <corinna@vinschen.de>
Date: Thu, 25 Aug 2016 14:18:31 +0200
Subject: [PATCH] Drop global __ctype_ptr__ entirely in favor of using
locale_t::ctype_ptr
---
Regards,
Matthew