>>> uclibc 1.0.42 Extracting xzcat /home/buildroot/autobuild/instance-0/dl/uclibc/uClibc-ng-1.0.42.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42 -xf - >>> uclibc 1.0.42 Patching Using /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42/.config as base # # merged configuration written to /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42/.config (needs make) # make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42' 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.42/.config # make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42' /bin/sed -i -e '/^\(# \)\?CROSS_COMPILER_PREFIX\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo 'CROSS_COMPILER_PREFIX="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-"' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?TARGET_ARCH\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo 'TARGET_ARCH="riscv64"' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?KERNEL_HEADERS\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo 'KERNEL_HEADERS="/home/buildroot/autobuild/instance-0/output-1/build/linux-headers-4.19.269/usr/include"' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?RUNTIME_PREFIX\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo 'RUNTIME_PREFIX="/"' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?DEVEL_PREFIX\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo 'DEVEL_PREFIX="/usr"' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?SHARED_LIB_LOADER_PREFIX\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo 'SHARED_LIB_LOADER_PREFIX="/lib"' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?ARCH_HAS_MMU\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# ARCH_HAS_MMU is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?ARCH_USE_MMU\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# ARCH_USE_MMU is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?UCLIBC_FORMAT_FLAT_SEP_DATA\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# UCLIBC_FORMAT_FLAT_SEP_DATA is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?UCLIBC_FORMAT_SHARED_FLAT\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# UCLIBC_FORMAT_SHARED_FLAT is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?UCLIBC_FORMAT_FDPIC_ELF\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# UCLIBC_FORMAT_FDPIC_ELF is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?ARCH_BIG_ENDIAN\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# ARCH_BIG_ENDIAN is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?ARCH_WANTS_BIG_ENDIAN\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# ARCH_WANTS_BIG_ENDIAN is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?UCLIBC_HAS_SSP\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# UCLIBC_HAS_SSP is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?UCLIBC_BUILD_SSP\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# UCLIBC_BUILD_SSP is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?UCLIBC_HAS_THREADS\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# UCLIBC_HAS_THREADS is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?UCLIBC_HAS_LINUXTHREADS\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# UCLIBC_HAS_LINUXTHREADS is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?UCLIBC_HAS_THREADS_NATIVE\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# UCLIBC_HAS_THREADS_NATIVE is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?PTHREADS_DEBUG_SUPPORT\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# PTHREADS_DEBUG_SUPPORT is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?UCLIBC_HAS_LOCALE\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# UCLIBC_HAS_LOCALE is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?UCLIBC_HAS_WCHAR\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# UCLIBC_HAS_WCHAR is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config /bin/sed -i -e '/^\(# \)\?HAVE_SHARED\>/d' /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config && echo '# HAVE_SHARED is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42//.config make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42' # # configuration written to /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42/.config # make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42' >>> uclibc 1.0.42 Configuring >>> uclibc 1.0.42 Building /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42 ARCH="riscv64" CROSS_COMPILE="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS=" -fno-lto" HOSTCC="/usr/bin/gcc" headers make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42' MKDIR include/bits GEN include/bits/uClibc_config.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/uClibc_uintmaxtostr.h LN include/bits/sigthread.h LN include/bits/types.h LN include/bits/posix1_lim.h LN include/bits/nan.h LN include/bits/statx.h LN include/bits/syscalls-common.h LN include/bits/sigset.h LN include/bits/atomic.h LN include/bits/in.h LN include/bits/uClibc_alloc.h LN include/bits/resource.h LN include/bits/mathcalls.h LN include/bits/utmpx.h LN include/bits/signalfd.h LN include/bits/byteswap.h LN include/bits/uClibc_mutex.h LN include/bits/local_lim.h LN include/bits/kernel-features.h LN include/bits/uClibc_uwchar.h LN include/bits/poll.h LN include/bits/environments.h LN include/bits/mman-common.h LN include/bits/uio.h LN include/bits/signum.h LN include/bits/huge_val.h LN include/bits/locale.h LN include/bits/posix2_lim.h LN include/bits/fenvinline.h LN include/bits/sigcontextinfo.h LN include/bits/select.h LN include/bits/uClibc_fpmax.h LN include/bits/kernel_sigaction.h LN include/bits/sigaction.h LN include/bits/uClibc_charclass.h LN include/bits/uClibc_stdio.h LN include/bits/sockaddr.h LN include/bits/mathdef.h LN include/bits/elfclass.h LN include/bits/mathinline.h LN include/bits/mman-shared.h LN include/bits/initspin.h LN include/bits/uClibc_posix_opt.h LN include/bits/uClibc_touplow.h LN include/bits/getopt.h LN include/bits/ustat.h LN include/bits/stdio.h LN include/bits/eventfd.h LN include/bits/cmathcalls.h LN include/bits/uClibc_local_lim.h LN include/bits/ioctl-types.h LN include/bits/inotify.h LN include/bits/wchar.h LN include/bits/time.h LN include/bits/timerfd.h LN include/bits/uClibc_locale.h LN include/bits/getopt_int.h LN include/bits/socket_type.h LN include/bits/errno.h LN include/bits/waitflags.h LN include/bits/byteswap-16.h LN include/bits/huge_vall.h LN include/bits/mqueue.h LN include/bits/typesizes.h LN include/bits/ioctls.h LN include/bits/statvfs.h LN include/bits/termios.h LN include/bits/sigstack.h LN include/bits/mman-linux.h LN include/bits/siginfo.h LN include/bits/socket.h LN include/bits/uClibc_ctype.h LN include/bits/uClibc_pthread.h LN include/bits/sem.h LN include/bits/dlfcn.h LN include/bits/uClibc_va_copy.h LN include/bits/netdb.h LN include/bits/msq.h LN include/bits/huge_valf.h LN include/bits/stdio_lim.h LN include/bits/byteswap-common.h LN include/bits/waitstatus.h LN include/bits/utsname.h LN include/bits/inf.h LN include/bits/xopen_lim.h LN include/bits/ipc.h LN include/bits/sched.h LN include/bits/posix_opt.h LN include/bits/epoll.h LN include/bits/uClibc_clk_tck.h LN include/bits/utmp.h LN include/bits/confname.h LN include/bits/fcntl.h LN include/bits/syscalls.h LN include/bits/shm.h LN include/bits/uClibc_page.h LN include/bits/mman.h LN include/bits/kernel_types.h LN include/bits/uClibc_arch_features.h LN include/bits/fenv.h LN include/bits/wordsize.h LN include/bits/endian.h LN include/bits/stackinfo.h LN include/bits/setjmp.h LN include/bits/sigcontext.h LN include/sys/timerfd.h LN include/sys/prctl.h LN include/sys/fanotify.h LN include/sys/epoll.h LN include/sys/acct.h LN include/sys/random.h LN include/sys/eventfd.h LN include/sys/signalfd.h LN include/sys/inotify.h LN include/sys/ptrace.h LN include/sys/ucontext.h LN include/sys/asm.h LN include/sys/procfs.h LN include/sys/user.h LN include/bits/statfs.h LN include/bits/kernel_stat.h LN include/bits/dirent.h LN include/bits/align64bit.h LN include/bits/stat.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.42' /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42 ARCH="riscv64" CROSS_COMPILE="/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS=" -fno-lto" HOSTCC="/usr/bin/gcc" make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42' 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); | ^~~~~~~~~~~~~~ Makerules:369: recipe for target 'libc/sysdeps/linux/riscv64/cache.os' failed make[1]: *** [libc/sysdeps/linux/riscv64/cache.os] Error 1 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/uclibc-1.0.42/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'