>>> uclibc 1.0.43 Extracting xzcat /home/buildroot/autobuild/instance-0/dl/uclibc/uClibc-ng-1.0.43.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43 -xf - >>> uclibc 1.0.43 Patching Applying 0001-gettimeofday-fix-static-build.patch using patch: patching file libc/sysdeps/linux/common/gettimeofday.c Using /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43/.config as base # # merged configuration written to /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43/.config (needs make) # make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43' MKDIR include/config MKDIR include/generated HOSTCC-o extra/config/conf.o GEN extra/config/zconf.tab.c GEN extra/config/zconf.lex.c GEN extra/config/zconf.hash.c HOSTCC-o extra/config/zconf.tab.o HOSTCC extra/config/conf # # configuration written to /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43/.config # make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43' make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43/.config:250:warning: override: UCLIBC_HAS_THREADS_NATIVE changes choice state # # configuration written to /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43/.config # make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43' >>> uclibc 1.0.43 Configuring >>> uclibc 1.0.43 Building /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43 ARCH="riscv64" CROSS_COMPILE="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS=" -g0 -fno-lto" HOSTCC="/usr/bin/gcc" headers make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43' MKDIR include/bits GEN include/bits/uClibc_config.h LN include/semaphore.h LN include/pthread.h LN include/bits/libc-lock.h LN include/bits/stdio-lock.h LN include/bits/pthreadtypes.h LN include/bits/semaphore.h GEN include/bits/sysnum.h LN include/fpu_control.h LN include/jmpbuf-offsets.h LN include/jmpbuf-unwind.h LN include/dl-osinfo.h LN include/not-cancel.h LN include/bits/atomic.h LN include/bits/byteswap-16.h LN include/bits/byteswap-common.h LN include/bits/byteswap.h LN include/bits/cmathcalls.h LN include/bits/confname.h LN include/bits/dlfcn.h LN include/bits/elfclass.h LN include/bits/environments.h LN include/bits/epoll.h LN include/bits/errno.h LN include/bits/eventfd.h LN include/bits/fenvinline.h LN include/bits/getopt.h LN include/bits/getopt_int.h LN include/bits/huge_val.h LN include/bits/huge_valf.h LN include/bits/huge_vall.h LN include/bits/in.h LN include/bits/inf.h LN include/bits/initspin.h LN include/bits/inotify.h LN include/bits/ioctl-types.h LN include/bits/ioctls.h LN include/bits/ipc.h LN include/bits/kernel-features.h LN include/bits/kernel_sigaction.h LN include/bits/locale.h LN include/bits/mathcalls.h LN include/bits/mathdef.h LN include/bits/mathinline.h LN include/bits/mman-common.h LN include/bits/mman-linux.h LN include/bits/mman-shared.h LN include/bits/mqueue.h LN include/bits/msq.h LN include/bits/nan.h LN include/bits/netdb.h LN include/bits/poll.h LN include/bits/posix1_lim.h LN include/bits/posix2_lim.h LN include/bits/resource.h LN include/bits/sched.h LN include/bits/select.h LN include/bits/sem.h LN include/bits/sigaction.h LN include/bits/sigcontextinfo.h LN include/bits/siginfo.h LN include/bits/signalfd.h LN include/bits/signum.h LN include/bits/sigset.h LN include/bits/sigstack.h LN include/bits/sigthread.h LN include/bits/sockaddr.h LN include/bits/socket.h LN include/bits/socket_type.h LN include/bits/statvfs.h LN include/bits/statx.h LN include/bits/stdio.h LN include/bits/stdio_lim.h LN include/bits/syscalls-common.h LN include/bits/termios.h LN include/bits/time.h LN include/bits/timerfd.h LN include/bits/types.h LN include/bits/typesizes.h LN include/bits/uClibc_alloc.h LN include/bits/uClibc_charclass.h LN include/bits/uClibc_clk_tck.h LN include/bits/uClibc_ctype.h LN include/bits/uClibc_fpmax.h LN include/bits/uClibc_local_lim.h LN include/bits/uClibc_locale.h LN include/bits/uClibc_mutex.h LN include/bits/uClibc_posix_opt.h LN include/bits/uClibc_pthread.h LN include/bits/uClibc_stdio.h LN include/bits/uClibc_touplow.h LN include/bits/uClibc_uintmaxtostr.h LN include/bits/uClibc_uwchar.h LN include/bits/uClibc_va_copy.h LN include/bits/uio.h LN include/bits/ustat.h LN include/bits/utmp.h LN include/bits/utmpx.h LN include/bits/utsname.h LN include/bits/waitflags.h LN include/bits/waitstatus.h LN include/bits/wchar.h LN include/bits/xopen_lim.h LN include/bits/endian.h LN include/bits/fcntl.h LN include/bits/fenv.h LN include/bits/kernel_types.h LN include/bits/mman.h LN include/bits/setjmp.h LN include/bits/shm.h LN include/bits/sigcontext.h LN include/bits/stackinfo.h LN include/bits/syscalls.h LN include/bits/uClibc_arch_features.h LN include/bits/uClibc_page.h LN include/bits/wordsize.h LN include/sys/acct.h LN include/sys/epoll.h LN include/sys/eventfd.h LN include/sys/fanotify.h LN include/sys/inotify.h LN include/sys/prctl.h LN include/sys/ptrace.h LN include/sys/random.h LN include/sys/signalfd.h LN include/sys/timerfd.h LN include/sys/asm.h LN include/sys/procfs.h LN include/sys/ucontext.h LN include/sys/user.h LN include/bits/local_lim.h LN include/bits/posix_opt.h LN include/bits/align64bit.h LN include/bits/dirent.h LN include/bits/kernel_stat.h LN include/bits/stat.h LN include/bits/statfs.h MKDIR libm/riscv64 MKDIR libubacktrace/riscv64 MKDIR libc/string/riscv64 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43' /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43 ARCH="riscv64" CROSS_COMPILE="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS=" -g0 -fno-lto" HOSTCC="/usr/bin/gcc" make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43' GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.h GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.h GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelcond.h GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelcond.h GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.h GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.h In file included from ./libpthread/nptl/pthreadP.h:22, from :2: ./include/setjmp.h:59:46: warning: argument 1 of type 'struct __jmp_buf_tag[1]' with mismatched bound [-Warray-parameter=] 59 | extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from ./libpthread/nptl/pthreadP.h:21, from :2: ./include/pthread.h:730:47: note: previously declared as 'struct __jmp_buf_tag *' 730 | extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROWNL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.h GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.h In file included from ./libpthread/nptl/sysdeps/riscv64/../../descr.h:24, from ./libpthread/nptl/sysdeps/riscv64/tls.h:84, from ./include/tls.h:6, from ./include/bits/libc-lock.h:36, from ./include/bits/stdio-lock.h:22, from ./include/bits/uClibc_mutex.h:73, from ./include/bits/uClibc_stdio.h:83, from ./include/stdio.h:71, from :2: ./include/setjmp.h:59:46: warning: argument 1 of type 'struct __jmp_buf_tag[1]' with mismatched bound [-Warray-parameter=] 59 | extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from ./include/bits/uClibc_mutex.h:15, from ./include/bits/uClibc_stdio.h:83, from ./include/stdio.h:71, from :2: ./include/pthread.h:730:47: note: previously declared as 'struct __jmp_buf_tag *' 730 | extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROWNL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ GEN libpthread/nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.h GEN libpthread/nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.h In file included from ./libpthread/nptl/pthreadP.h:22, from :1: ./include/setjmp.h:59:46: warning: argument 1 of type 'struct __jmp_buf_tag[1]' with mismatched bound [-Warray-parameter=] 59 | extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from ./libpthread/nptl/pthreadP.h:21, from :1: ./include/pthread.h:730:47: note: previously declared as 'struct __jmp_buf_tag *' 730 | extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROWNL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ GEN libpthread/nptl/sysdeps/unix/sysv/linux/structsem.h GEN libpthread/nptl/sysdeps/unix/sysv/linux/structsem.h GEN libpthread/nptl/sysdeps/unix/sysv/linux/unwindbuf.h GEN libpthread/nptl/sysdeps/unix/sysv/linux/unwindbuf.h GEN libpthread/nptl/sysdeps/riscv64/tcb-offsets.h GEN libpthread/nptl/sysdeps/riscv64/tcb-offsets.h In file included from ./libpthread/nptl/sysdeps/riscv64/../../../nptl_db/thread_db.h:25, from ./libpthread/nptl/sysdeps/riscv64/../../descr.h:30, from ./libpthread/nptl/sysdeps/riscv64/tls.h:84, from ./include/tls.h:6, from :2: ./include/pthread.h:730:47: warning: argument 1 of type 'struct __jmp_buf_tag *' declared as a pointer [-Warray-parameter=] 730 | extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROWNL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./libpthread/nptl/sysdeps/riscv64/../../descr.h:24, from ./libpthread/nptl/sysdeps/riscv64/tls.h:84, from ./include/tls.h:6, from :2: ./include/setjmp.h:59:46: note: previously declared as an array 'struct __jmp_buf_tag[1]' 59 | extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ GEN libpthread/nptl/pthread-errnos.h GEN libpthread/nptl/pthread-errnos.h CC ldso/ldso/ldso.oS In file included from ./libpthread/nptl/sysdeps/riscv64/../../../nptl_db/thread_db.h:25, from ./libpthread/nptl/sysdeps/riscv64/../../descr.h:30, from ./libpthread/nptl/sysdeps/riscv64/tls.h:84, from ./include/tls.h:6, from ./include/link.h:30, from ./ldso/ldso/riscv64/dl-sysdep.h:30, from ./ldso/include/dl-defs.h:77, from ./ldso/include/dl-string.h:15, from ./ldso/include/dl-syscall.h:41, from ./ldso/include/ldso.h:52, from ldso/ldso/ldso.c:32: ./include/pthread.h:730:47: warning: argument 1 of type 'struct __jmp_buf_tag *' declared as a pointer [-Warray-parameter=] 730 | extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROWNL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./libpthread/nptl/sysdeps/riscv64/../../descr.h:24, from ./libpthread/nptl/sysdeps/riscv64/tls.h:84, from ./include/tls.h:6, from ./include/link.h:30, from ./ldso/ldso/riscv64/dl-sysdep.h:30, from ./ldso/include/dl-defs.h:77, from ./ldso/include/dl-string.h:15, from ./ldso/include/dl-syscall.h:41, from ./ldso/include/ldso.h:52, from ldso/ldso/ldso.c:32: ./include/setjmp.h:59:46: note: previously declared as an array 'struct __jmp_buf_tag[1]' 59 | extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ AS ldso/ldso/riscv64/resolve.oS AR cr ldso/ldso/ld-uClibc_so.a STRIP -x -R .note -R .comment ldso/ldso/ld-uClibc_so.a MKDIR lib LD ld-uClibc-1.0.43.so # link for backward compatibility (cd ./lib; ln -sf ld-uClibc.so.1 ld-uClibc.so.0 ) CC lib/interp.os make[2]: 'lib/ld-uClibc.so' is up to date. CC libc/sysdeps/linux/riscv64/__syscall_error.os CC libc/sysdeps/linux/riscv64/cache.os In file included from ./include/sys/syscall.h:33, from libc/sysdeps/linux/riscv64/cache.c:20: libc/sysdeps/linux/riscv64/cache.c: In function '__riscv_flush_icache_syscall': ./include/bits/syscalls-common.h:34:63: error: '__NR_riscv_flush_icache' undeclared (first use in this function) 34 | # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr, args) | ^~~~~ ./include/bits/syscalls.h:18:16: note: in definition of macro 'INTERNAL_SYSCALL_NCS' 18 | _a7 = (name); \ | ^~~~ ./include/bits/syscalls-common.h:34:44: note: in expansion of macro 'INLINE_SYSCALL_NCS' 34 | # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr, args) | ^~~~~~~~~~~~~~~~~~ libc/sysdeps/linux/riscv64/cache.c:27:10: note: in expansion of macro 'INLINE_SYSCALL' 27 | return INLINE_SYSCALL (riscv_flush_icache, 3, start, end, flags); | ^~~~~~~~~~~~~~ ./include/bits/syscalls-common.h:34:63: note: each undeclared identifier is reported only once for each function it appears in 34 | # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr, args) | ^~~~~ ./include/bits/syscalls.h:18:16: note: in definition of macro 'INTERNAL_SYSCALL_NCS' 18 | _a7 = (name); \ | ^~~~ ./include/bits/syscalls-common.h:34:44: note: in expansion of macro 'INLINE_SYSCALL_NCS' 34 | # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr, args) | ^~~~~~~~~~~~~~~~~~ libc/sysdeps/linux/riscv64/cache.c:27:10: note: in expansion of macro 'INLINE_SYSCALL' 27 | return INLINE_SYSCALL (riscv_flush_icache, 3, start, end, flags); | ^~~~~~~~~~~~~~ make[1]: *** [Makerules:369: libc/sysdeps/linux/riscv64/cache.os] Error 1 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43' make: *** [package/pkg-generic.mk:293: /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.43/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'