>>> nginx 1.24.0 Extracting gzip -d -c /home/buildroot/autobuild/instance-3/dl/nginx/nginx-1.24.0.tar.gz | /home/buildroot/autobuild/instance-3/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/instance-3/output-1/build/nginx-1.24.0 -xf - >>> nginx 1.24.0 Patching Applying 0001-auto-type-sizeof-rework-autotest-to-be-cross-compila.patch using patch: patching file auto/types/sizeof Applying 0002-auto-feature-add-mechanism-allowing-to-force-feature.patch using patch: patching file auto/feature Applying 0003-auto-set-ngx_feature_run_force_result-for-each-featu.patch using patch: patching file auto/cc/conf patching file auto/cc/name patching file auto/lib/libatomic/conf patching file auto/os/darwin patching file auto/os/linux patching file auto/unix Applying 0004-auto-lib-libxslt-conf-use-pkg-config.patch using patch: patching file auto/lib/libxslt/conf Applying 0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch using patch: patching file auto/os/sys_nerr patching file auto/unix Applying 0006-auto-lib-openssl-conf-use-pkg-config.patch using patch: patching file auto/lib/openssl/conf Applying 0007-auto-lib-libgd-conf-use-pkg-config.patch using patch: patching file auto/lib/libgd/conf Applying 0008-src-os-unix-ngx_linux_config.h-only-include-dlfcn.h-.patch using patch: patching file src/os/unix/ngx_linux_config.h Applying 0009-auto-os-linux-fix-build-with-libxcrypt.patch using patch: patching file auto/os/linux Applying 0010-Allow-forcing-of-endianness-for-cross-compilation.patch using patch: patching file auto/endianness patching file auto/options Hunk #2 succeeded at 199 (offset 1 line). Hunk #3 succeeded at 438 (offset 2 lines). >>> nginx 1.24.0 Configuring /usr/bin/sed -i -e 's/-Werror//g' -i /home/buildroot/autobuild/instance-3/output-1/build/nginx-1.24.0/auto/cc/* cd /home/buildroot/autobuild/instance-3/output-1/build/nginx-1.24.0 ; ngx_force_c_compiler=yes ngx_force_c99_have_variadic_macros=yes ngx_force_gcc_have_variadic_macros=yes ngx_force_gcc_have_atomic=yes ngx_force_have_epoll=yes ngx_force_have_sendfile=yes ngx_force_have_sendfile64=yes ngx_force_have_pr_set_dumpable=yes ngx_force_have_timer_event=yes ngx_force_have_map_anon=yes ngx_force_have_map_devzero=yes ngx_force_have_sysvshm=yes ngx_force_have_posix_sem=yes ngx_force_have_libatomic=no PKG_CONFIG="/home/buildroot/autobuild/instance-3/output-1/host/bin/pkg-config" ./configure --crossbuild=Linux::"arc" --with-cc="/home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc" --with-cpp="/home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc" --with-ld-opt="" --force-endianness=little --prefix=/usr --conf-path=/etc/nginx/nginx.conf --sbin-path=/usr/sbin/nginx --pid-path=/run/nginx.pid --lock-path=/run/lock/nginx.lock --user=www-data --group=www-data --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/cache/nginx/client-body --http-proxy-temp-path=/var/cache/nginx/proxy --http-fastcgi-temp-path=/var/cache/nginx/fastcgi --http-scgi-temp-path=/var/cache/nginx/scgi --http-uwsgi-temp-path=/var/cache/nginx/uwsgi --with-threads --with-pcre --without-select_module --with-poll_module --without-http --with-mail --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-stream --without-stream_set_module --with-stream_geoip_module --without-stream_limit_conn_module --without-stream_access_module --without-stream_geo_module --without-stream_map_module --without-stream_split_clients_module --without-stream_return_module --without-stream_upstream_hash_module --without-stream_upstream_least_conn_module --without-stream_upstream_random_module --without-stream_upstream_zone_module --with-cc-opt="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 " building for Linux::arc checking for C compiler ... not tested (maybe cross-compiling) + using GNU C compiler + gcc version: 10.2.0 (Buildroot 2023.05-1-g35b1ddbe63) checking for gcc -pipe switch ... found checking for -Wl,-E switch ... found checking for gcc builtin atomic operations ... not found checking for C99 variadic macros ... not tested (maybe cross-compiling) checking for gcc variadic macros ... not tested (maybe cross-compiling) checking for gcc builtin 64 bit byteswap ... found checking for unistd.h ... found checking for inttypes.h ... found checking for limits.h ... found checking for sys/filio.h ... not found checking for sys/param.h ... found checking for sys/mount.h ... found checking for sys/statvfs.h ... found checking for crypt.h ... found checking for Linux::arc specific features checking for epoll ... not tested (maybe cross-compiling) checking for EPOLLRDHUP ... found checking for EPOLLEXCLUSIVE ... not found checking for eventfd() ... found checking for O_PATH ... found checking for sendfile() ... not tested (maybe cross-compiling) checking for sendfile64() ... not tested (maybe cross-compiling) checking for sys/prctl.h ... found checking for prctl(PR_SET_DUMPABLE) ... not tested (maybe cross-compiling) checking for prctl(PR_SET_KEEPCAPS) ... not tested (maybe cross-compiling) checking for capabilities ... found checking for crypt_r() ... not found checking for sys/vfs.h ... found checking for UDP_SEGMENT ... not found checking for poll() ... found checking for /dev/poll ... not found checking for kqueue ... not found checking for crypt() ... found checking for F_READAHEAD ... not found checking for posix_fadvise() ... found checking for O_DIRECT ... found checking for F_NOCACHE ... not found checking for directio() ... not found checking for statfs() ... found checking for statvfs() ... found checking for dlopen() ... found checking for sched_yield() ... found checking for sched_setaffinity() ... found checking for SO_SETFIB ... not found checking for SO_REUSEPORT ... found checking for SO_ACCEPTFILTER ... not found checking for SO_BINDANY ... not found checking for IP_TRANSPARENT ... found checking for IP_BINDANY ... not found checking for IP_BIND_ADDRESS_NO_PORT ... not found checking for IP_RECVDSTADDR ... not found checking for IP_SENDSRCADDR ... not found checking for IP_PKTINFO ... found checking for IPV6_RECVPKTINFO ... found checking for TCP_DEFER_ACCEPT ... found checking for TCP_KEEPIDLE ... found checking for TCP_FASTOPEN ... found checking for TCP_INFO ... found checking for accept4() ... found checking for int size ... 4 bytes checking for long size ... 4 bytes checking for long long size ... 8 bytes checking for void * size ... 4 bytes checking for uint32_t ... found checking for uint64_t ... found checking for sig_atomic_t ... found checking for sig_atomic_t size ... 4 bytes checking for socklen_t ... found checking for in_addr_t ... found checking for in_port_t ... found checking for rlim_t ... found checking for uintptr_t ... uintptr_t found checking for system byte ordering ... little endian (forced) checking for size_t size ... 4 bytes checking for off_t size ... 8 bytes checking for time_t size ... 4 bytes checking for AF_INET6 ... found checking for setproctitle() ... not found checking for pread() ... found checking for pwrite() ... found checking for pwritev() ... found checking for strerrordesc_np() ... not found checking for sys_nerr ... not found checking for localtime_r() ... found checking for clock_gettime(CLOCK_MONOTONIC) ... found checking for posix_memalign() ... found checking for memalign() ... found checking for mmap(MAP_ANON|MAP_SHARED) ... not tested (maybe cross-compiling) checking for mmap("/dev/zero", MAP_SHARED) ... not tested (maybe cross-compiling) checking for System V shared memory ... not tested (maybe cross-compiling) checking for POSIX semaphores ... not tested (maybe cross-compiling) checking for struct msghdr.msg_control ... found checking for ioctl(FIONBIO) ... found checking for ioctl(FIONREAD) ... found checking for struct tm.tm_gmtoff ... found checking for struct dirent.d_namlen ... not found checking for struct dirent.d_type ... found checking for sysconf(_SC_NPROCESSORS_ONLN) ... found checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found checking for openat(), fstatat() ... found checking for getaddrinfo() ... found checking for PCRE2 library ... found checking for GeoIP library ... found checking for GeoIP IPv6 support ... found creating objs/Makefile Configuration summary + using threads + using system PCRE2 library + OpenSSL library is not used + zlib library is not used nginx path prefix: "/usr" nginx binary file: "/usr/sbin/nginx" nginx modules path: "/usr/modules" nginx configuration prefix: "/etc/nginx" nginx configuration file: "/etc/nginx/nginx.conf" nginx pid file: "/run/nginx.pid" nginx error log file: "/var/log/nginx/error.log" nginx http access log file: "/var/log/nginx/access.log" nginx http client request body temporary files: "/var/cache/nginx/client-body" nginx http proxy temporary files: "/var/cache/nginx/proxy" nginx http fastcgi temporary files: "/var/cache/nginx/fastcgi" nginx http uwsgi temporary files: "/var/cache/nginx/uwsgi" nginx http scgi temporary files: "/var/cache/nginx/scgi" >>> nginx 1.24.0 Building PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-3/output-1/build/nginx-1.24.0 make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/nginx-1.24.0' /usr/bin/make -f objs/Makefile make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/nginx-1.24.0' /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/nginx.o \ src/core/nginx.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_log.o \ src/core/ngx_log.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_palloc.o \ src/core/ngx_palloc.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_array.o \ src/core/ngx_array.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_list.o \ src/core/ngx_list.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_hash.o \ src/core/ngx_hash.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_buf.o \ src/core/ngx_buf.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_queue.o \ src/core/ngx_queue.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_output_chain.o \ src/core/ngx_output_chain.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_string.o \ src/core/ngx_string.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_parse.o \ src/core/ngx_parse.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_parse_time.o \ src/core/ngx_parse_time.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_inet.o \ src/core/ngx_inet.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_file.o \ src/core/ngx_file.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_crc32.o \ src/core/ngx_crc32.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_murmurhash.o \ src/core/ngx_murmurhash.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_md5.o \ src/core/ngx_md5.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_sha1.o \ src/core/ngx_sha1.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_rbtree.o \ src/core/ngx_rbtree.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_radix_tree.o \ src/core/ngx_radix_tree.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_slab.o \ src/core/ngx_slab.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_times.o \ src/core/ngx_times.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_shmtx.o \ src/core/ngx_shmtx.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_connection.o \ src/core/ngx_connection.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_cycle.o \ src/core/ngx_cycle.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_spinlock.o \ src/core/ngx_spinlock.c /home/buildroot/autobuild/instance-3/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_rwlock.o \ src/core/ngx_rwlock.c src/core/ngx_spinlock.c: In function 'ngx_spinlock': src/core/ngx_spinlock.c:47:2: error: #error ngx_spinlock() or ngx_atomic_cmp_set() are not defined ! 47 | #error ngx_spinlock() or ngx_atomic_cmp_set() are not defined ! | ^~~~~ make[2]: *** [objs/Makefile:486: objs/src/core/ngx_spinlock.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/nginx-1.24.0' make[1]: *** [Makefile:10: build] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/nginx-1.24.0' make: *** [package/pkg-generic.mk:293: /home/buildroot/autobuild/instance-3/output-1/build/nginx-1.24.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'