=== Running configure in /builder/shared-workdir/build/sdk/build_dir/hostpkg/otp_src_27.0.1/erts === ./configure '--target=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--build=x86_64-pc-linux-gnu' '--disable-dependency-tracking' '--program-prefix=' '--program-suffix=' '--prefix=/builder/shared-workdir/build/sdk/staging_dir/hostpkg' '--exec-prefix=/builder/shared-workdir/build/sdk/staging_dir/hostpkg' '--sysconfdir=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/etc' '--localstatedir=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/var' '--sbindir=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin' '--without-wx' '--with-ssl=/builder/shared-workdir/build/sdk/staging_dir/host' '--without-javac' CFLAGS='-I/builder/shared-workdir/build/sdk/staging_dir/host/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium-mmx_musl/host/include' LDFLAGS='-L/builder/shared-workdir/build/sdk/staging_dir/host/lib -L/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium-mmx_musl/host/lib' --disable-option-checking --cache-file=/dev/null --srcdir="/builder/shared-workdir/build/sdk/build_dir/hostpkg/otp_src_27.0.1/erts" checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc accepts -g... yes checking for /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc option to enable C11 features... none needed checking for library containing strerror... none required checking OTP release... 27 checking OTP version... 27.0.1 checking for x86_64-pc-linux-gnu-gcc... (cached) /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc checking whether the compiler supports GNU C... (cached) yes checking whether /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc accepts -g... (cached) yes checking for /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc option to enable C11 features... (cached) none needed checking whether the compiler supports GNU C++... yes checking whether /builder/shared-workdir/build/sdk/staging_dir/host/bin/g++ accepts -g... yes checking for /builder/shared-workdir/build/sdk/staging_dir/host/bin/g++ option to enable C++11 features... none needed checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking how to run the C preprocessor... /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc -E checking for x86_64-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for bison... bison -y checking for perl5... no checking for perl... /builder/shared-workdir/build/sdk/staging_dir/host/bin/perl checking whether ln -s works... yes checking for x86_64-pc-linux-gnu-ar... no checking for ar... ar checking for ex_doc... no configure: WARNING: No 'ex_doc' command found: it will (optionally) be downloaded when building the HTML documentation checking for elixir... no configure: WARNING: No 'elixir' command found: can't run link checker for the documentation checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c checking how to create a directory including parents... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c -d checking for mixed mingw-gcc and native VC++ environment... no checking for mixed cygwin and native MinGW environment... no checking if we mix cygwin with any native compiler... no checking if we mix msys with another native compiler... no checking if we mix WSL with another native compiler... no checking for /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc option to enable large file support... none needed checking for /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc option for timestamps after 2038... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking size of time_t... 8 checking if we can add -Werror=return-type to WERRORFLAGS (via CFLAGS)... yes checking if we can add -Werror=implicit to WERRORFLAGS (via CFLAGS)... yes checking if we can add -Werror=undef to WERRORFLAGS (via CFLAGS)... yes checking if we can add -fno-common to CFLAGS (via CFLAGS)... yes checking if we can add -fno-strict-aliasing to CFLAGS (via CFLAGS)... yes checking C99 support... yes checking whether /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc accepts -fprofile-generate -Werror...... yes checking whether /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc accepts -fprofile-use -Werror...... yes checking whether /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc accepts -fprofile-use -fprofile-correction -Werror...... yes checking whether /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc links with -fprofile-generate... yes checking whether /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc accepts -fprofile-instr-generate -Werror...... no checking whether to do PGO of erts... yes, using -fprofile-generate -fprofile-correction checking size of void *... 8 checking target hardware architecture... amd64 checking whether compilation mode forces ARCH adjustment... no: ARCH is amd64 checking if VM has to be linked with Carbon framework... no checking for mkdir... /bin/mkdir checking for cp... /bin/cp checking if we are building a sharing-preserving emulator... no checking for extra flags needed to export symbols... -Wl,-export-dynamic checking for sin in -lm... yes checking for dlopen in -ldl... yes checking for dlvsym in -ldl... yes checking for main in -linet... no checking for openpty in -lutil... yes checking size of void *... (cached) 8 checking for native win32 threads... no checking for pthread_create in -lpthread... yes checking for getconf... getconf checking for Native POSIX Thread Library... yes checking for nptl/pthread.h... no checking for pthread.h... yes checking for pthread/mit/pthread.h... no checking for kstat_open in -lkstat... no checking for clock_gettime in -lrt... yes checking for clock_gettime(CLOCK_MONOTONIC_RAW, _)... yes checking for clock_gettime() with custom monotonic clock type... CLOCK_MONOTONIC checking for clock_getres... yes checking for clock_get_attributes... no checking for gethrtime... no checking for mach clock_get_time() with monotonic clock type... no checking if SIGUSR1 and SIGUSR2 can be used... yes checking if sigaltstack can be used... yes checking for pthread.h... (cached) yes checking for pthread/mit/pthread.h... (cached) no checking for sched.h... yes checking for sys/time.h... (cached) yes checking for usable PTHREAD_STACK_MIN... yes checking for pthread_spin_lock... yes checking for sched_yield... yes checking whether sched_yield() returns an int... yes checking for pthread_yield... yes checking whether pthread_yield() returns an int... yes checking for pthread_rwlock_init... yes checking for pthread_rwlockattr_setkind_np... yes checking for PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP... yes checking for pthread_attr_setguardsize... yes checking whether pthread_cond_timedwait() can use the monotonic clock CLOCK_MONOTONIC for timeout... yes checking for Linux futexes... yes checking for pthread_setname_np... linux checking for pthread_getname_np... linux checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of __int128_t... 16 checking for a working __sync_synchronize()... yes checking for 32-bit __sync_add_and_fetch()... yes checking for 64-bit __sync_add_and_fetch()... yes checking for 128-bit __sync_add_and_fetch()... no checking for 32-bit __sync_fetch_and_and()... yes checking for 64-bit __sync_fetch_and_and()... yes checking for 128-bit __sync_fetch_and_and()... no checking for 32-bit __sync_fetch_and_or()... yes checking for 64-bit __sync_fetch_and_or()... yes checking for 128-bit __sync_fetch_and_or()... no checking for 32-bit __sync_val_compare_and_swap()... yes checking for 64-bit __sync_val_compare_and_swap()... yes checking for 128-bit __sync_val_compare_and_swap()... no checking for 32-bit __atomic_store_n()... yes checking for 64-bit __atomic_store_n()... yes checking for 128-bit __atomic_store_n()... no checking for 32-bit __atomic_load_n()... yes checking for 64-bit __atomic_load_n()... yes checking for 128-bit __atomic_load_n()... no checking for 32-bit __atomic_add_fetch()... yes checking for 64-bit __atomic_add_fetch()... yes checking for 128-bit __atomic_add_fetch()... no checking for 32-bit __atomic_fetch_and()... yes checking for 64-bit __atomic_fetch_and()... yes checking for 128-bit __atomic_fetch_and()... no checking for 32-bit __atomic_fetch_or()... yes checking for 64-bit __atomic_fetch_or()... yes checking for 128-bit __atomic_fetch_or()... no checking for 32-bit __atomic_compare_exchange_n()... yes checking for 64-bit __atomic_compare_exchange_n()... yes checking for 128-bit __atomic_compare_exchange_n()... no checking for a usable libatomic_ops implementation... no checking whether default stack size should be modified... no checking size of void *... (cached) 8 checking size of int... (cached) 4 checking size of long... (cached) 8 checking size of long long... (cached) 8 checking size of __int64... 0 checking size of __int128_t... (cached) 16 checking whether byte ordering is bigendian... no checking whether double word ordering is middle-endian... no checking for gcc cmpxchg16b plain asm support... yes checking for posix_fadvise... yes checking for closefrom... no checking for linux/falloc.h... yes checking whether fallocate() works... yes checking whether posix_fallocate() works... yes checking whether lock checking should be enabled... no checking whether lock counters should be enabled... no checking whether dlopen() needs to be called before first call to dlerror()... no checking for kstat_open in -lkstat... (cached) no checking for tgetent in -ltinfo... yes checking for termcap.h... yes checking for curses.h... yes checking for term.h... yes checking for wcwidth... yes checking for zlib 1.2.5 or higher... yes checking for library containing inflateGetDictionary... none required checking for localtime_r... yes checking for strftime... yes checking for getprotoent... yes checking for setprotoent... yes checking for endprotoent... yes checking for if_nametoindex... yes checking for if_indextoname... yes checking for if_nameindex... yes checking for if_freenameindex... yes checking for gethostname... yes checking for struct ifreq.ifr_map... yes checking for struct ifreq.ifr_hwaddr... yes checking for struct ifreq.ifr_ifindex... yes checking for struct ifreq.ifr_index... no checking for struct sockaddr_dl.sdl_len... no checking for connect... yes checking for gethostbyname... yes checking for gethostbyname_r... yes checking for egrep -e... (cached) /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for working posix_openpt implementation... yes checking if netdb.h requires netinet/in.h to be previously included... yes checking for socklen_t... yes checking for h_errno declaration in netdb.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking for syslog.h... yes checking for dlfcn.h... yes checking for ieeefp.h... no checking for sys/types.h... (cached) yes checking for sys/stropts.h... no checking for sys/sysctl.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for sys/uio.h... yes checking for sys/mman.h... yes checking for sys/socket.h... yes checking for sys/sockio.h... no checking for sys/socketio.h... no checking for net/errno.h... no checking for malloc.h... yes checking for arpa/nameser.h... yes checking for libdlpi.h... no checking for pty.h... yes checking for util.h... no checking for libutil.h... no checking for utmp.h... yes checking for langinfo.h... yes checking for poll.h... yes checking for sdkddkver.h... no checking for elf.h... yes checking for struct ifreq.ifr_hwaddr... (cached) yes checking for struct ifreq.ifr_enaddr... no checking for struct ip_mreqn... yes checking for dlpi_open in -ldlpi... no configure: Extending the search to include /lib checking for dlpi_open in -ldlpi... no checking for /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc options needed to detect all undeclared functions... none needed checking for sys/resource.h... yes checking whether getrlimit is declared... yes checking whether setrlimit is declared... yes checking whether RLIMIT_STACK is declared... yes checking for getrusage... yes checking for sys/event.h... no checking for sys/epoll.h... yes checking for sys/devpoll.h... no checking for sys/timerfd.h... yes checking for netpacket/packet.h... yes checking for netinet/sctp.h... no checking for sched.h... (cached) yes checking for setns.h... no checking for setns... yes checking for linux/types.h... yes checking for linux/errqueue.h... yes checking for valgrind/valgrind.h... no checking for SO_BSDCOMPAT declaration... yes checking for INADDR_LOOPBACK in netinet/in.h... yes checking for sys_errlist declaration in stdio.h or errno.h... yes checking if windows.h includes winsock2.h... no checking for an ANSI C-conforming const... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether struct sockaddr has sa_len field... no checking size of char... 1 checking size of short... (cached) 2 checking size of int... (cached) 4 checking size of long... (cached) 8 checking size of void *... (cached) 8 checking size of long long... (cached) 8 checking size of size_t... 8 checking size of off_t... 8 checking size of time_t... (cached) 8 checking size of suseconds_t... 8 checking size of _Float16... 0 checking for C compiler 'restrict' support... yes checking if we should add -fno-tree-copyrename to CFLAGS for computed gotos to work properly... no checking for broken gcc-4.3.0 compiler... no checking whether byte ordering is bigendian... (cached) no checking whether double word ordering is middle-endian... (cached) no checking for fdatasync... yes checking for library containing fdatasync... none required checking for sendfile... yes checking for windows.h... no checking for winsock2.h... no checking for ws2tcpip.h... no checking for getaddrinfo... yes checking whether getaddrinfo accepts enough flags... yes checking for getnameinfo... yes checking for getipnodebyname... no checking for getipnodebyaddr... no checking for gethostbyname2... yes checking for ieee_handler... no checking for fpsetmask... no checking for finite... yes checking for isnan... yes checking for isinf... yes checking for res_gethostbyname... no checking for dlopen... yes checking for dlvsym... yes checking for pread... yes checking for pwrite... yes checking for memmove... yes checking for strerror... yes checking for strerror_r... yes checking for strncasecmp... yes checking for gethrtime... (cached) no checking for localtime_r... (cached) yes checking for gmtime_r... yes checking for mprotect... yes checking for madvise... yes checking for posix_madvise... yes checking for mmap... yes checking for mremap... yes checking for memcpy... yes checking for memrchr... yes checking for mallopt... yes checking for sbrk... yes checking for _sbrk... no checking for __sbrk... yes checking for brk... yes checking for _brk... no checking for __brk... no checking for flockfile... yes checking for fstat... yes checking for strlcpy... no checking for strlcat... no checking for setsid... yes checking for posix2time... no checking for time2posix... no checking for setlocale... yes checking for nl_langinfo... yes checking for poll... yes checking for mlockall... yes checking for ppoll... yes checking for vsyslog... yes checking for inet_pton... yes checking for isfinite... no checking for posix_memalign... yes checking for writev... yes checking whether posix2time is declared... no checking whether time2posix is declared... no checking for vprintf... yes checking for conflicting declaration of fread... yes checking for putc_unlocked... yes checking for fwrite_unlocked... yes checking for openpty... yes checking for net/if_dl.h... no checking for ifaddrs.h... yes checking for netpacket/packet.h... (cached) yes checking for sys/un.h... yes checking for getifaddrs... yes checking for struct sockaddr_un.sun_path... yes checking whether in6addr_any is declared... yes checking whether in6addr_loopback is declared... yes checking whether IN6ADDR_ANY_INIT is declared... yes checking whether IN6ADDR_LOOPBACK_INIT is declared... yes checking whether IPV6_V6ONLY is declared... yes checking for sched_getaffinity/sched_setaffinity... yes checking for pset functionality... no checking for processor_bind functionality... no checking for cpuset_getaffinity/cpuset_setaffinity... no checking for 'end' symbol... yes checking for '_end' symbol... yes checking if __after_morecore_hook can track malloc()s core memory use... no checking types of sbrk()s return value and argument... void *,intptr_t checking types of brk()s return value and argument... int,void * checking if sbrk()/brk() wrappers can track malloc()s core memory use... no checking for IP version 6 support... yes checking for multicast support... yes checking for clock_gettime in -lrt... (cached) yes checking for clock_gettime() with wall clock type... CLOCK_REALTIME checking for clock_getres... (cached) yes checking for clock_get_attributes... (cached) no checking for gettimeofday... yes checking for mach clock_get_time() with wall clock type... no checking for clock_gettime in -lrt... (cached) yes checking for clock_gettime(CLOCK_MONOTONIC_RAW, _)... (cached) yes checking for clock_gettime() with custom monotonic clock type... CLOCK_MONOTONIC checking for clock_getres... (cached) yes checking for clock_get_attributes... (cached) no checking for gethrtime... (cached) no checking for mach clock_get_time() with monotonic clock type... (cached) no checking for clock_gettime in -lrt... (cached) yes checking for clock_gettime(CLOCK_MONOTONIC_RAW, _)... (cached) yes checking for clock_gettime() with high resolution monotonic clock type... CLOCK_MONOTONIC checking for clock_getres... (cached) yes checking for clock_get_attributes... (cached) no checking for gethrtime... (cached) no checking for mach clock_get_time() with monotonic clock type... (cached) no checking if gethrvtime works and how to use it... not working checking if clock_gettime can be used to get thread CPU time... yes checking for m4... /builder/shared-workdir/build/sdk/staging_dir/host/bin/m4 checking for C++17 support... yes checking whether to redefine FD_SETSIZE... no checking whether the Transparent Huge Pages interface is available... yes checking if we can add -Werror -Wunused-command-argument to LDFLAGS... no checking if we can add -Wl,-z,common-page-size=2097152 to LDFLAGS... yes checking if we can add -Wl,-z,max-page-size=2097152 to LDFLAGS... yes checking for working poll()... yes checking whether epoll is level triggered... yes checking whether kernel poll support should be enabled... yes; epoll checking whether putenv() stores a copy of the key-value pair... no checking for a compiler that handles jumptables... /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc checking for kstat_open in -lkstat... (cached) no checking for kvm_open in -lkvm... no checking for log2... yes checking CFLAGS for -O switch... configure: error: CFLAGS must contain a -O flag. If you need to edit the CFLAGS you probably also want to add the default CFLAGS. The default CFLAGS are "-O2 -g". If you want to build ERTS without any optimization, pass -O0 to CFLAGS. ERROR: /builder/shared-workdir/build/sdk/build_dir/hostpkg/otp_src_27.0.1/erts/configure failed! ./configure: line 370: kill: (-455232) - No such process make[3]: *** [Makefile:394: /builder/shared-workdir/build/sdk/build_dir/hostpkg/otp_src_27.0.1/.configured] Error 1 time: package/feeds/packages/erlang/host-compile#23.34#18.43#30.25