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]

Build failure for cross-compiled aarch64-none-elf


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


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