Newlib fails to compile on arm64

Ajay Garg ajaygargnsit@gmail.com
Sat Jun 16 03:38:00 GMT 2018


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



More information about the Newlib mailing list