make[4]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' CC = ccache_cc LD = arc-openwrt-linux-uclibc-ld LDSHARED = ccache_cc -shared CFLAGS = -Os -pipe -matomic -marchs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libiconv-stub/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libintl-stub/include -fPIC XCFLAGS = -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT CPPFLAGS = -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/usr/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libiconv-stub/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libintl-stub/include -I. -I.ext/include/arc-linux-gnu -I./include -I. -I./enc/unicode/9.0.0 DLDFLAGS = -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/lib -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/usr/lib -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/lib -znow -zrelro -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libiconv-stub/lib -Wl,-rpath-link=/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libiconv-stub/lib -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libintl-stub/lib -Wl,-rpath-link=/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libintl-stub/lib -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4 -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.2.4 -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/lib -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/usr/lib -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/lib -znow -zrelro -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libiconv-stub/lib -Wl,-rpath-link=/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libiconv-stub/lib -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libintl-stub/lib -Wl,-rpath-link=/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libintl-stub/lib -L/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4 -fstack-protector SOLIBS = -lpthread -lgmp -ldl -lcrypt -lm arc-openwrt-linux-uclibc-gcc (LEDE GCC 4.8.5 r2995-2ac776a) 4.8.5 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. generating enc.mk making srcs under enc make[5]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' make[5]: Nothing to be done for 'srcs'. make[5]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' making enc make[5]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' make[5]: Nothing to be done for 'enc'. make[5]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' generating transdb.h transdb.h unchanged generating makefile exts.mk making trans make[5]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' make[5]: Nothing to be done for './enc/trans'. make[5]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' making encs make[5]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' make[5]: Nothing to be done for 'encs'. make[5]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' make[5]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' make[6]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4/ext/bigdecimal' compiling bigdecimal.c In file included from ../.././include/ruby/missing.h:23:0, from ../.././include/ruby/defines.h:143, from ../.././include/ruby/ruby.h:36, from bigdecimal.h:14, from bigdecimal.c:13: bigdecimal.h:97:1: error: static declaration of '__finite' follows non-static declaration finite(double) ^ ../.././include/ruby/missing.h:105:17: note: previous declaration of '__finite' was here RUBY_EXTERN int finite(double); ^ In file included from bigdecimal.c:13:0: bigdecimal.h: In function '__finite': bigdecimal.h:97:1: error: parameter name omitted finite(double) ^ In file included from ../.././include/ruby/missing.h:23:0, from ../.././include/ruby/defines.h:143, from ../.././include/ruby/ruby.h:36, from bigdecimal.h:14, from bigdecimal.c:13: bigdecimal.h:99:19: error: 'n' undeclared (first use in this function) return !isnan(n) && !isinf(n); ^ bigdecimal.h:99:19: note: each undeclared identifier is reported only once for each function it appears in Makefile:279: recipe for target 'bigdecimal.o' failed make[6]: *** [bigdecimal.o] Error 1 make[6]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4/ext/bigdecimal' exts.mk:191: recipe for target 'ext/bigdecimal/all' failed make[5]: *** [ext/bigdecimal/all] Error 2 make[5]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' uncommon.mk:220: recipe for target 'build-ext' failed make[4]: *** [build-ext] Error 2 make[4]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4' Makefile:696: recipe for target '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4/.built' failed make[3]: *** [/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/ruby-2.4.4/.built] Error 2