This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Newlib fails to compile on arm64
- From: Ajay Garg <ajaygargnsit at gmail dot com>
- To: newlib at sourceware dot org
- Date: Sat, 16 Jun 2018 09:08:47 +0530
- Subject: Newlib fails to compile on arm64
Hi All.
I did the following :
##########################################################
git clone git://sourceware.org/git/newlib-cygwin.git
cd newlib-cygwin/newlib
./configure
make
##########################################################
However, the compilation fails to complete.
Upon seeing the logs somewhat before, errors of the following type are seen :
##########################################################
/newlib-cygwin/newlib/libc/include/ssp/ssp.h:47:52: error: expected
declaration specifiers or '...' before numeric constant
#define __ssp_bos0(ptr) __builtin_object_size(ptr, 0)
##########################################################
What am I missing?
Thanks and Regards,
Ajay