>>> nginx 1.18.0 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-2/output-1/build/.nginx-1.18.0.tar.gz.P2gSYQ/output' 'http://nginx.org/download/nginx-1.18.0.tar.gz' --2021-07-30 10:47:52-- http://nginx.org/download/nginx-1.18.0.tar.gz Resolving nginx.org (nginx.org)... 2a05:d014:edb:5704::6, 2a05:d014:edb:5702::6, 3.125.197.172, ... Connecting to nginx.org (nginx.org)|2a05:d014:edb:5704::6|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1039530 (1015K) [application/octet-stream] Saving to: '/tmp/instance-2/output-1/build/.nginx-1.18.0.tar.gz.P2gSYQ/output' 0K .......... .......... .......... .......... .......... 4% 1.92M 0s 50K .......... .......... .......... .......... .......... 9% 4.11M 0s 100K .......... .......... .......... .......... .......... 14% 268M 0s 150K .......... .......... .......... .......... .......... 19% 2.46M 0s 200K .......... .......... .......... .......... .......... 24% 228M 0s 250K .......... .......... .......... .......... .......... 29% 266M 0s 300K .......... .......... .......... .......... .......... 34% 288M 0s 350K .......... .......... .......... .......... .......... 39% 282M 0s 400K .......... .......... .......... .......... .......... 44% 210M 0s 450K .......... .......... .......... .......... .......... 49% 105M 0s 500K .......... .......... .......... .......... .......... 54% 5.00M 0s 550K .......... .......... .......... .......... .......... 59% 266M 0s 600K .......... .......... .......... .......... .......... 64% 257M 0s 650K .......... .......... .......... .......... .......... 68% 3.94M 0s 700K .......... .......... .......... .......... .......... 73% 229M 0s 750K .......... .......... .......... .......... .......... 78% 274M 0s 800K .......... .......... .......... .......... .......... 83% 264M 0s 850K .......... .......... .......... .......... .......... 88% 279M 0s 900K .......... .......... .......... .......... .......... 93% 234M 0s 950K .......... .......... .......... .......... .......... 98% 270M 0s 1000K .......... ..... 100% 218M=0.08s 2021-07-30 10:47:52 (12.0 MB/s) - '/tmp/instance-2/output-1/build/.nginx-1.18.0.tar.gz.P2gSYQ/output' saved [1039530/1039530] nginx-1.18.0.tar.gz: OK (sha256: 4c373e7ab5bf91d34a4f11a0c9496561061ba5eee6020db272a17a7228d35f99) >>> nginx 1.18.0 Extracting gzip -d -c /tmp/instance-2/dl/nginx/nginx-1.18.0.tar.gz | tar --strip-components=1 -C /tmp/instance-2/output-1/build/nginx-1.18.0 -xf - >>> nginx 1.18.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 Hunk #1 succeeded at 207 (offset 4 lines). Applying 0010-Resolver-fixed-off-by-one-write-in-ngx_resolver_copy.patch using patch: patching file src/core/ngx_resolver.c Hunk #1 succeeded at 3993 (offset -15 lines). >>> nginx 1.18.0 Configuring /usr/bin/sed -i -e 's/-Werror//g' -i /tmp/instance-2/output-1/build/nginx-1.18.0/auto/cc/* cd /tmp/instance-2/output-1/build/nginx-1.18.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="/tmp/instance-2/output-1/host/bin/pkg-config" ./configure --crossbuild=Linux::"riscv32" --with-cc="/tmp/instance-2/output-1/host/bin/riscv32-linux-gcc" --with-cpp="/tmp/instance-2/output-1/host/bin/riscv32-linux-gcc" --with-ld-opt="" --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-file-aio --with-pcre --without-select_module --without-poll_module --without-http --with-cc-opt="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 " building for Linux::riscv32 checking for C compiler ... not tested (maybe cross-compiling) + using GNU C compiler + gcc version: 10.2.0 (Buildroot 2020.08-14-ge5a2a90) checking for gcc -pipe switch ... found checking for -Wl,-E switch ... found checking for gcc builtin atomic operations ... not tested (maybe cross-compiling) 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::riscv32 specific features checking for epoll ... not tested (maybe cross-compiling) checking for EPOLLRDHUP ... found checking for EPOLLEXCLUSIVE ... 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() ... found checking for sys/vfs.h ... found checking for poll() ... found checking for /dev/poll ... not found checking for kqueue ... not found checking for crypt() ... not found checking for crypt() in libcrypt ... 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() ... not found checking for dlopen() in libdl ... 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 ... 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 kqueue AIO support ... not found checking for Linux AIO support ... 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 ... big endian checking for size_t size ... 4 bytes checking for off_t size ... 8 bytes checking for time_t size ... 8 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 sys_nerr value... 135 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 found checking for POSIX semaphores in libpthread ... 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 PCRE library ... found checking for PCRE JIT support ... found creating objs/Makefile Configuration summary + using system PCRE 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.18.0 Building PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 -C /tmp/instance-2/output-1/build/nginx-1.18.0 make[1]: Entering directory '/tmp/instance-2/output-1/build/nginx-1.18.0' /usr/bin/make -f objs/Makefile make[2]: Entering directory '/tmp/instance-2/output-1/build/nginx-1.18.0' /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -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 /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_cpuinfo.o \ src/core/ngx_cpuinfo.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_conf_file.o \ src/core/ngx_conf_file.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_module.o \ src/core/ngx_module.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_resolver.o \ src/core/ngx_resolver.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_open_file_cache.o \ src/core/ngx_open_file_cache.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_crypt.o \ src/core/ngx_crypt.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_proxy_protocol.o \ src/core/ngx_proxy_protocol.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_syslog.o \ src/core/ngx_syslog.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event.o \ src/event/ngx_event.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_timer.o \ src/event/ngx_event_timer.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_posted.o \ src/event/ngx_event_posted.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_accept.o \ src/event/ngx_event_accept.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_udp.o \ src/event/ngx_event_udp.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_connect.o \ src/event/ngx_event_connect.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_pipe.o \ src/event/ngx_event_pipe.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_time.o \ src/os/unix/ngx_time.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_errno.o \ src/os/unix/ngx_errno.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_alloc.o \ src/os/unix/ngx_alloc.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_files.o \ src/os/unix/ngx_files.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_socket.o \ src/os/unix/ngx_socket.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_recv.o \ src/os/unix/ngx_recv.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_readv_chain.o \ src/os/unix/ngx_readv_chain.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_recv.o \ src/os/unix/ngx_udp_recv.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_send.o \ src/os/unix/ngx_send.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_writev_chain.o \ src/os/unix/ngx_writev_chain.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_send.o \ src/os/unix/ngx_udp_send.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_sendmsg_chain.o \ src/os/unix/ngx_udp_sendmsg_chain.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_channel.o \ src/os/unix/ngx_channel.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_shmem.o \ src/os/unix/ngx_shmem.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_process.o \ src/os/unix/ngx_process.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_daemon.o \ src/os/unix/ngx_daemon.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_setaffinity.o \ src/os/unix/ngx_setaffinity.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_setproctitle.o \ src/os/unix/ngx_setproctitle.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_posix_init.o \ src/os/unix/ngx_posix_init.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_user.o \ src/os/unix/ngx_user.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_dlopen.o \ src/os/unix/ngx_dlopen.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_process_cycle.o \ src/os/unix/ngx_process_cycle.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_linux_init.o \ src/os/unix/ngx_linux_init.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/modules/ngx_epoll_module.o \ src/event/modules/ngx_epoll_module.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_linux_sendfile_chain.o \ src/os/unix/ngx_linux_sendfile_chain.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_linux_aio_read.o \ src/os/unix/ngx_linux_aio_read.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_regex.o \ src/core/ngx_regex.c /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/ngx_modules.o \ objs/ngx_modules.c sed -e "s|%%PREFIX%%|/usr|" \ -e "s|%%PID_PATH%%|/run/nginx.pid|" \ -e "s|%%CONF_PATH%%|/etc/nginx/nginx.conf|" \ -e "s|%%ERROR_LOG_PATH%%|/var/log/nginx/error.log|" \ < man/nginx.8 > objs/nginx.8 src/event/modules/ngx_epoll_module.c: In function 'io_getevents': src/event/modules/ngx_epoll_module.c:244:20: error: 'SYS_io_getevents' undeclared (first use in this function); did you mean 'io_getevents'? 244 | return syscall(SYS_io_getevents, ctx, min_nr, nr, events, tmo); | ^~~~~~~~~~~~~~~~ | io_getevents src/event/modules/ngx_epoll_module.c:244:20: note: each undeclared identifier is reported only once for each function it appears in src/event/modules/ngx_epoll_module.c:245:1: warning: control reaches end of non-void function [-Wreturn-type] 245 | } | ^ make[2]: *** [objs/Makefile:702: objs/src/event/modules/ngx_epoll_module.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/tmp/instance-2/output-1/build/nginx-1.18.0' make[1]: *** [Makefile:8: build] Error 2 make[1]: Leaving directory '/tmp/instance-2/output-1/build/nginx-1.18.0' make: *** [package/pkg-generic.mk:250: /tmp/instance-2/output-1/build/nginx-1.18.0/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-2/buildroot'