checking for FUNC_STDCALL function attribute... x checking for FUNC_CDECL function attribute... x checking for FUNC_FASTCALL function attribute... x checking for FUNC_UNOPTIMIZED function attribute... __attribute__ ((__optimize__("O0"))) x checking for FUNC_MINIMIZED function attribute... __attribute__ ((__optimize__("-Os","-fomit-frame-pointer"))) x checking for function alias... alias checking for __atomic builtins... yes checking for __sync builtins... yes checking for __builtin_unreachable... yes checking for exported function attribute... __attribute__ ((__visibility__("default"))) checking for function name string predefined identifier... __func__ checking if enum over int is allowed... yes checking whether sys_nerr is declared... yes checking whether getenv is declared... yes checking for size_t... yes checking size of size_t... 8 checking size of ptrdiff_t... 8 checking for printf prefix for size_t... z checking for printf prefix for ptrdiff_t... t checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking size of struct stat.st_size... SIZEOF_OFF_T checking size of struct stat.st_blocks... SIZEOF_OFF_T checking size of struct stat.st_ino... SIZEOF_LONG checking for struct stat.st_atim... yes checking for struct stat.st_atimespec... no checking for struct stat.st_atimensec... no checking for struct stat.st_mtim... yes checking for struct stat.st_mtimespec... no checking for struct stat.st_mtimensec... no checking for struct stat.st_ctim... yes checking for struct stat.st_ctimespec... no checking for struct stat.st_ctimensec... no checking for struct stat.st_birthtimespec... no checking for struct timeval... yes checking size of struct timeval.tv_sec... SIZEOF_TIME_T checking for struct timespec... yes checking for struct timezone... yes checking for clockid_t... (cached) yes checking for fd_mask... yes checking for int8_t... yes checking size of int8_t... 1 checking for uint8_t... yes checking size of uint8_t... 1 checking for int16_t... yes checking size of int16_t... 2 checking for uint16_t... yes checking size of uint16_t... 2 checking for int32_t... yes checking size of int32_t... 4 checking for uint32_t... yes checking size of uint32_t... 4 checking for int64_t... yes checking size of int64_t... 8 checking for uint64_t... yes checking size of uint64_t... 8 checking for int128_t... __int128 checking for uint128_t... unsigned __int128 checking for intptr_t... yes checking size of intptr_t... 8 checking for uintptr_t... yes checking size of uintptr_t... 8 checking for ssize_t... yes checking size of ssize_t... 8 checking for stack end address... __libc_stack_end checking for uid_t in sys/types.h... (cached) yes checking type of array argument to getgroups... gid_t checking return type of signal handlers... void checking for working alloca.h... yes checking for alloca... yes checking for dynamic size alloca... ok checking for working memcmp... (cached) yes checking for broken erfc of glibc-2.3.6 on IA64... no checking for acosh... yes checking for cbrt... yes checking for crypt... yes checking for dup2... yes checking for erf... yes checking for explicit_bzero... no checking for ffs... yes checking for finite... yes checking for flock... yes checking for hypot... yes checking for isinf... yes checking for isnan... yes checking for lgamma_r... yes checking for memmove... yes checking for nextafter... yes checking for setproctitle... no checking for strchr... yes checking for strerror... yes checking for strlcat... no checking for strlcpy... no checking for strstr... yes checking for tgamma... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking for signbit... yes checking for broken memmem... yes checking for pid_t... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking for __syscall... no checking for _longjmp... yes checking for arc4random_buf... no checking for atan2l... yes checking for atan2f... yes checking for chroot... yes checking for chsize... no checking for clock_gettime... yes checking for cosh... yes checking for crypt_r... yes checking for daemon... (cached) no checking for dirfd... yes checking for dl_iterate_phdr... yes checking for dlopen... yes checking for dladdr... yes checking for dup... yes checking for dup3... yes checking for eaccess... yes checking for endgrent... yes checking for fchmod... yes checking for fchown... yes checking for fcntl... yes checking for fdatasync... yes checking for fgetattrlist... no checking for fmod... yes checking for fsync... yes checking for ftruncate... yes checking for ftruncate64... yes checking for getattrlist... no checking for getcwd... yes checking for getgidx... no checking for getgrnam... yes checking for getgrnam_r... yes checking for getgroups... yes checking for getpgid... yes checking for getpgrp... yes checking for getpriority... yes checking for getpwnam_r... yes checking for getresgid... yes checking for getresuid... yes checking for getrlimit... yes checking for getsid... yes checking for gettimeofday... yes checking for getuidx... no checking for gmtime_r... yes checking for initgroups... yes checking for ioctl... yes checking for isfinite... no checking for issetugid... no checking for killpg... yes checking for lchmod... no checking for lchown... yes checking for link... yes checking for llabs... yes checking for lockf... yes checking for log2... yes checking for lstat... yes checking for malloc_usable_size... yes checking for malloc_size... no checking for mblen... yes checking for memalign... yes checking for memset_s... no checking for writev... yes checking for memrchr... yes checking for memmem... (cached) no checking for mkfifo... yes checking for mknod... yes checking for mktime... yes checking for pipe2... yes checking for poll... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for ppoll... yes checking for pread... yes checking for qsort_r... yes checking for qsort_s... no checking for readlink... yes checking for round... yes checking for sched_getaffinity... yes checking for seekdir... yes checking for select_large_fdset... no checking for sendfile... yes checking for setegid... yes checking for setenv... yes checking for seteuid... yes checking for setgid... yes checking for setgroups... yes checking for setpgid... yes checking for setpgrp... yes checking for setregid... yes checking for setresgid... yes checking for setresuid... yes checking for setreuid... yes checking for setrgid... no checking for setrlimit... yes checking for setruid... no checking for setsid... yes checking for setuid... yes checking for shutdown... yes checking for sigaction... yes checking for sigaltstack... yes checking for sigprocmask... yes checking for sinh... yes checking for spawnv... no checking for symlink... yes checking for syscall... yes checking for sysconf... yes checking for tanh... yes checking for telldir... yes checking for timegm... yes checking for times... yes checking for truncate... yes checking for truncate64... yes checking for unsetenv... yes checking for utimensat... yes checking for utimes... yes checking for wait4... yes checking for waitpid... yes checking if getcwd allocates buffer if NULL is given... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for struct crypt_data.initialized... yes checking for __builtin_bswap16... yes checking for __builtin_bswap32... yes checking for __builtin_bswap64... yes checking for __builtin_popcount... yes checking for __builtin_popcountll... yes checking for __builtin_clz... yes checking for __builtin_clzl... yes checking for __builtin_clzll... yes checking for __builtin_ctz... yes checking for __builtin_ctzll... yes checking for __builtin_constant_p... yes checking for __builtin_choose_expr... yes checking for __builtin_choose_expr_constant_p... yes checking for __builtin_types_compatible_p... yes checking whether qsort_r is GNU version... yes checking whether qsort_r is BSD version... no checking whether atan2 handles Inf as C99... yes checking whether lgamma_r handles +0.0 and -0.0... yes checking for clock_getres... yes checking for unsetenv returns a value... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct tm.tm_gmtoff... yes checking for external int daylight... yes checking for external timezone... long checking for external altzone... no checking for timezone... yes checking whether timezone requires zero arguments... yes checking for negative time_t for gmtime(3)... yes checking for localtime(3) overflow correctly... no checking for sig_t... yes checking whether right shift preserve sign bit... yes checking whether _SC_CLK_TCK is supported... yes checking stack growing direction on x86_64... -1 checking for pthread_kill in -lthr... no checking for pthread_kill in -lpthread... yes checking for pthread_np.h... no checking whether pthread_t is scalar type... yes checking for sched_yield... yes checking for pthread_attr_setinheritsched... yes checking for pthread_attr_get_np... no checking for pthread_attr_getstack... yes checking for pthread_get_stackaddr_np... no checking for pthread_get_stacksize_np... no checking for thr_stksegment... no checking for pthread_stackseg_np... no checking for pthread_getthrds_np... no checking for pthread_cond_init... yes checking for pthread_condattr_setclock... yes checking for pthread_condattr_init... yes checking for pthread_sigmask... yes checking for pthread_setname_np... yes checking for pthread_set_name_np... no checking for pthread_getattr_np... yes checking for pthread_attr_init... yes checking arguments of pthread_setname_np... (pthread_self(), name) checking if mcontext_t is a pointer... no checking for getcontext... yes checking for setcontext... yes checking if fork works with pthread... yes checking whether ELF binaries are produced... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking elf_abi.h usability... no checking elf_abi.h presence... no checking for elf_abi.h... no checking whether OS depend dynamic link works... yes checking for backtrace... yes checking for broken backtrace... no checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for x86_64-buildroot-linux-gnu-strip... /home/buildroot/autobuild/run/instance-1/output/host/bin/x86_64-amd-linux-gnu-strip checking whether -Wl,--no-undefined is accepted as LDFLAGS... yes checking whether dtrace USDT is available... no checking for __builtin_setjmp... yes with cast () checking for _setjmpex as a macro or function... no checking for _setjmp as a macro or function... yes checking for sigsetjmp as a macro or function... no checking for setjmp type... __builtin_setjmp checking for prefix of external symbols... NONE checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking if make is GNU make... yes checking for nroff... no checking for awf... no .ext/include/x86_64-linux-gnu/ruby/config.h updated configure: ruby library version = 2.4.0 configure: creating ./config.status config.status: creating GNUmakefile config.status: creating Makefile config.status: creating ruby-2.4.pc --- Configuration summary for ruby version 2.4.1 * Installation prefix: /usr * exec prefix: /usr * arch: x86_64-linux-gnu * site arch: ${arch} * RUBY_BASE_NAME: ruby * enable shared: yes * ruby lib prefix: ${libdir}/${RUBY_BASE_NAME} * site libraries path: ${rubylibprefix}/${sitearch} * vendor path: ${rubylibprefix}/vendor_ruby * target OS: linux-gnu * compiler: /home/buildroot/autobuild/run/instance-1/output/ho\ st/bin/x86_64-amd-linux-gnu-gcc * with pthread: yes * enable shared libs: yes * dynamic library ext: so * CFLAGS: ${optflags} ${debugflags} ${warnflags} * LDFLAGS: -L. -fstack-protector -rdynamic \ -Wl,-export-dynamic * optflags: -O3 -fno-fast-math * debugflags: -ggdb3 * warnflags: -Wall -Wextra -Wno-unused-parameter \ -Wno-parentheses -Wno-long-long \ -Wno-missing-field-initializers \ -Wno-tautological-compare \ -Wno-parentheses-equality \ -Wno-constant-logical-operand -Wno-self-assign \ -Wunused-variable -Wimplicit-int -Wpointer-arith \ -Wwrite-strings -Wdeclaration-after-statement \ -Wimplicit-function-declaration \ -Wdeprecated-declarations \ -Wno-packed-bitfield-compat \ -Wsuggest-attribute=noreturn \ -Wsuggest-attribute=format \ -Wno-maybe-uninitialized * strip command: /home/buildroot/autobuild/run/instance-1/output/ho\ st/bin/x86_64-amd-linux-gnu-strip -S -x * install doc: no * man page type: man --- rm -f /home/buildroot/autobuild/run/instance-1/output/build/ruby-2.4.1/verconf.h >>> ruby 2.4.1 Building PATH="/home/buildroot/autobuild/run/instance-1/output/host/bin:/home/buildroot/autobuild/run/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PATH="/home/buildroot/autobuild/run/instance-1/output/host/bin:/home/buildroot/autobuild/run/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-1/output/build/ruby-2.4.1/ CC = /home/buildroot/autobuild/run/instance-1/output/host/bin/x86_64-amd-linux-gnu-gcc LD = /home/buildroot/autobuild/run/instance-1/output/host/bin/x86_64-amd-linux-gnu-ld LDSHARED = /home/buildroot/autobuild/run/instance-1/output/host/bin/x86_64-amd-linux-gnu-gcc -shared CFLAGS = -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT CPPFLAGS = -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.ext/include/x86_64-linux-gnu -I./include -I. -I./enc/unicode/9.0.0 DLDFLAGS = -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.2.4 -fstack-protector SOLIBS = -lpthread -lgmp -ldl -lcrypt -lm x86_64-amd-linux-gnu-gcc (Sourcery CodeBench Lite 2016.11-19) 6.2.0 Copyright (C) 2016 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. making dummy probes.h compiling version.c compiling main.c compiling dmydln.c compiling miniinit.c compiling dmyext.c compiling miniprelude.c compiling array.c compiling bignum.c compiling class.c compiling compar.c compiling compile.c compiling complex.c compiling cont.c compiling debug.c compiling dir.c compiling dln_find.c compiling encoding.c compiling enum.c compiling enumerator.c compiling error.c compiling eval.c compiling file.c compiling gc.c compiling hash.c compiling inits.c compiling io.c compiling iseq.c compiling load.c compiling marshal.c compiling math.c compiling node.c compiling numeric.c compiling object.c compiling pack.c compiling parse.c compiling proc.c compiling process.c compiling random.c compiling range.c compiling rational.c compiling re.c compiling regcomp.c compiling regenc.c compiling regerror.c compiling regexec.c compiling regparse.c compiling regsyntax.c compiling ruby.c compiling safe.c compiling signal.c compiling sprintf.c compiling st.c compiling strftime.c compiling string.c compiling struct.c compiling symbol.c compiling thread.c compiling time.c compiling transcode.c compiling util.c compiling variable.c compiling vm.c compiling vm_backtrace.c compiling vm_dump.c compiling vm_trace.c compiling ./missing/explicit_bzero.c compiling ./missing/setproctitle.c compiling ./missing/strlcat.c compiling ./missing/strlcpy.c compiling addr2line.c compiling dmyenc.c compiling dln.c compiling localeinit.c compiling prelude.c compiling enc/ascii.c compiling enc/us_ascii.c compiling enc/unicode.c compiling enc/utf_8.c compiling enc/trans/newline.c linking miniruby generating x86_64-linux-gnu-fake.rb In file included from /home/buildroot/autobuild/run/instance-1/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:27:0, from ./include/ruby/defines.h:101, from ./include/ruby/ruby.h:36, from ./version.c:12: /home/buildroot/autobuild/run/instance-1/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc1: warning: unrecognized command line option '-Wno-self-assign' cc1: warning: unrecognized command line option '-Wno-constant-logical-operand' cc1: warning: unrecognized command line option '-Wno-parentheses-equality' x86_64-linux-gnu-fake.rb updated generating encdb.h ./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp rbconfig.rb updated generating enc.mk creating verconf.h encdb.h updated verconf.h updated compiling loadpath.c making srcs under enc make[3]: Nothing to be done for `srcs'. generating transdb.h linking static-library libruby-static.a verifying static-library libruby-static.a linking shared-library libruby.so.2.4.1 transdb.h updated libruby.so.2.4.1: final close failed: Invalid operation collect2: error: ld returned 1 exit status make[2]: *** [libruby.so.2.4.1] Error 1 make[1]: *** [/home/buildroot/autobuild/run/instance-1/output/build/ruby-2.4.1/.stamp_built] Error 2 make: *** [_all] Error 2 make: Leaving directory `/home/buildroot/autobuild/run/instance-1/buildroot'