>>> uclibc 1.0.44 Extracting xzcat /home/thomas/autobuild/instance-1/dl/uclibc/uClibc-ng-1.0.44.tar.xz | tar --strip-components=1 -C /home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44 -xf - >>> uclibc 1.0.44 Patching Applying 0001-aarch64-add-hwcap-header-file.patch using patch: patching file include/sys/auxv.h patching file libc/sysdeps/linux/aarch64/bits/hwcap.h patching file libc/sysdeps/linux/common/bits/hwcap.h Applying 0002-fcntl.h-declare-f_owner_ex-for-all-architectures.patch using patch: patching file include/fcntl.h patching file libc/sysdeps/linux/aarch64/bits/fcntl.h Using /home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44/.config as base # # merged configuration written to /home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44/.config (needs make) # make[1]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44' 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/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44/.config # make[1]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44' make[1]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44' # # configuration written to /home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44/.config # make[1]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44' >>> uclibc 1.0.44 Configuring >>> uclibc 1.0.44 Building /usr/bin/make -j4 -C /home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44 ARCH="riscv64" CROSS_COMPILE="/home/thomas/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS=" -g0 -fno-lto" HOSTCC="/usr/bin/gcc" headers make[1]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44' 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/ioctl-types.h LN include/bits/posix1_lim.h LN include/bits/uClibc_local_lim.h LN include/bits/statx.h LN include/bits/kernel_sigaction.h LN include/bits/posix2_lim.h LN include/bits/stdio_lim.h LN include/bits/uClibc_alloc.h LN include/bits/waitflags.h LN include/bits/mathcalls.h LN include/bits/msq.h LN include/bits/byteswap.h LN include/bits/uClibc_mutex.h LN include/bits/environments.h LN include/bits/kernel-features.h LN include/bits/uClibc_uwchar.h LN include/bits/poll.h LN include/bits/utmpx.h LN include/bits/errno.h LN include/bits/uio.h LN include/bits/signum.h LN include/bits/huge_valf.h LN include/bits/local_lim.h LN include/bits/utmp.h LN include/bits/mqueue.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/statvfs.h LN include/bits/mman-common.h LN include/bits/eventfd.h LN include/bits/sigstack.h LN include/bits/uClibc_posix_opt.h LN include/bits/uClibc_charclass.h LN include/bits/uClibc_stdio.h LN include/bits/inf.h LN include/bits/atomic.h LN include/bits/siginfo.h LN include/bits/inotify.h LN include/bits/mathinline.h LN include/bits/socket.h LN include/bits/elfclass.h LN include/bits/mman-shared.h LN include/bits/getopt_int.h LN include/bits/initspin.h LN include/bits/sockaddr.h LN include/bits/byteswap-16.h LN include/bits/time.h LN include/bits/getopt.h LN include/bits/ustat.h LN include/bits/uClibc_va_copy.h LN include/bits/cmathcalls.h LN include/bits/mman-linux.h LN include/bits/uClibc_touplow.h LN include/bits/types.h LN include/bits/timerfd.h LN include/bits/uClibc_locale.h LN include/bits/hwcap.h LN include/bits/wchar.h LN include/bits/nan.h LN include/bits/sem.h LN include/bits/resource.h LN include/bits/sched.h LN include/bits/termios.h LN include/bits/ioctls.h LN include/bits/sigaction.h LN include/bits/in.h LN include/bits/signalfd.h LN include/bits/sigthread.h LN include/bits/huge_vall.h LN include/bits/mathdef.h LN include/bits/uClibc_ctype.h LN include/bits/waitstatus.h LN include/bits/typesizes.h LN include/bits/byteswap-common.h LN include/bits/dlfcn.h LN include/bits/uClibc_pthread.h LN include/bits/huge_val.h LN include/bits/stdio.h LN include/bits/xopen_lim.h LN include/bits/syscalls-common.h LN include/bits/utsname.h LN include/bits/ipc.h LN include/bits/sigset.h LN include/bits/posix_opt.h LN include/bits/epoll.h LN include/bits/uClibc_clk_tck.h LN include/bits/locale.h LN include/bits/confname.h LN include/bits/uClibc_uintmaxtostr.h LN include/bits/netdb.h LN include/bits/socket_type.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/asm.h LN include/sys/ucontext.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 HOSTCC /extra/locale/gen_wc8bit GEN /extra/locale/codesets.txt GEN /extra/locale/c8tables.h processing /home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44/extra/locale/../../extra/locale/charmaps/ASCII.pairs... 128 lines done processing /home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44/extra/locale/../../extra/locale/charmaps/ISO-8859-1.pairs... 256 lines done tt_num = 9 ti_num = 2 max_wchar = 0xff size is 9 * 16 + 2 * 16 + 38 * 2 = 252 ctype - CTYPE_IDX_SHIFT = 3 -- 2 * 16 + 10 * 4 = 72 uplow - UPLOW_IDX_SHIFT = 3 -- 2 * 16 + 3 * 8 = 56 c2wc - C2WC_IDX_SHIFT = 3 -- 2 * 16 + 2 * 17 * 8 = 304 total size = 684 HOSTCC /extra/locale/gen_locale ../../extra/locale/gen_locale.c: In function 'do_locale_names': ../../extra/locale/gen_locale.c:203:64: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 203 | fprintf(ofp, "#define __LOCALE_DATA_AT_MODIFIERS_LENGTH\t\t%d\n", | ~^ | | | int | %ld 204 | i + (at_strings_end - at_strings)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int ../../extra/locale/gen_locale.c:205:68: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 205 | fprintf(ofp, "static const unsigned char __locale_at_modifiers[%d] = {", | ~^ | | | int | %ld 206 | i + (at_strings_end - at_strings)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int ../../extra/locale/gen_locale.c:237:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 237 | fprintf(ofp, "#define __lc_names_LEN\t\t%d\n", | ~^ | | | int | %ld 238 | pos[__LOCALE_DATA_CATEGORIES-1] + strlen(lc_names[__LOCALE_DATA_CATEGORIES-1]) + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ../../extra/locale/gen_locale.c:241:55: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 241 | fprintf(ofp, "static unsigned const char lc_names[%d] =\n", | ~^ | | | int | %ld 242 | pos[__LOCALE_DATA_CATEGORIES-1] + strlen(lc_names[__LOCALE_DATA_CATEGORIES-1]) + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} GEN /extra/locale/locales.txt GEN /extra/locale/locale_tables.h HOSTCC /extra/locale/gen_collate ../../extra/locale/gen_collate.c: In function 'print_weight_node': ../../extra/locale/gen_collate.c:891:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'const long unsigned int'} [-Wformat=] 891 | printf("weight: (%d) ", p->num_weights); | ~^ ~~~~~~~~~~~~~~ | | | | int size_t {aka const long unsigned int} | %ld ../../extra/locale/gen_collate.c: In function 'add_final_col_index': ../../extra/locale/gen_collate.c:2229:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2229 | e.data = (void *)(final_index); | ^ ../../extra/locale/gen_collate.c: In function 'final_index_val0': ../../extra/locale/gen_collate.c:2299:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2299 | return (int)(p->data); | ^ ../../extra/locale/gen_collate.c: In function 'final_index_val': ../../extra/locale/gen_collate.c:2312:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2312 | return (int)(p->data); | ^ ../../extra/locale/gen_collate.c: In function 'finalize_base': ../../extra/locale/gen_collate.c:2900:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2900 | wcs2index[i] = (int)(p->data); | ^ ../../extra/locale/gen_collate.c: In function 'newopt': ../../extra/locale/gen_collate.c:3570:22: warning: format '%i' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 3570 | printf("bad sort %i!\n", i); | ~^ ~ | | | | int size_t {aka long unsigned int} | %li ../../extra/locale/gen_collate.c: In function 'dump_collate': ../../extra/locale/gen_collate.c:3903:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ...... 3911 | OUT_U16C(base_locale_len, "numbef of base locales"); | ~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ../../extra/locale/gen_collate.c:3911:2: note: in expansion of macro 'OUT_U16C' 3911 | OUT_U16C(base_locale_len, "numbef of base locales"); | ^~~~~~~~ ../../extra/locale/gen_collate.c:3903:40: note: format string is defined here 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ~~~^ | | | int | %10ld ../../extra/locale/gen_collate.c:3903:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ...... 3912 | OUT_U16C(der_locale_len, "number of derived locales"); | ~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ../../extra/locale/gen_collate.c:3912:2: note: in expansion of macro 'OUT_U16C' 3912 | OUT_U16C(der_locale_len, "number of derived locales"); | ^~~~~~~~ ../../extra/locale/gen_collate.c:3903:40: note: format string is defined here 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ~~~^ | | | int | %10ld ../../extra/locale/gen_collate.c:3903:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ...... 3914 | OUT_U16C(index2weight_len, "number of index2{weight|ruleidx} elements"); | ~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ../../extra/locale/gen_collate.c:3914:2: note: in expansion of macro 'OUT_U16C' 3914 | OUT_U16C(index2weight_len, "number of index2{weight|ruleidx} elements"); | ^~~~~~~~ ../../extra/locale/gen_collate.c:3903:40: note: format string is defined here 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ~~~^ | | | int | %10ld ../../extra/locale/gen_collate.c:3903:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ...... 3915 | OUT_U16C(weightstr_len, "number of weightstr elements"); | ~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ../../extra/locale/gen_collate.c:3915:2: note: in expansion of macro 'OUT_U16C' 3915 | OUT_U16C(weightstr_len, "number of weightstr elements"); | ^~~~~~~~ ../../extra/locale/gen_collate.c:3903:40: note: format string is defined here 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ~~~^ | | | int | %10ld ../../extra/locale/gen_collate.c:3903:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ...... 3916 | OUT_U16C(multistart_len, "number of multistart elements"); | ~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ../../extra/locale/gen_collate.c:3916:2: note: in expansion of macro 'OUT_U16C' 3916 | OUT_U16C(multistart_len, "number of multistart elements"); | ^~~~~~~~ ../../extra/locale/gen_collate.c:3903:40: note: format string is defined here 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ~~~^ | | | int | %10ld ../../extra/locale/gen_collate.c:3903:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ...... 3917 | OUT_U16C(override_len, "number of override elements"); | ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ../../extra/locale/gen_collate.c:3917:2: note: in expansion of macro 'OUT_U16C' 3917 | OUT_U16C(override_len, "number of override elements"); | ^~~~~~~~ ../../extra/locale/gen_collate.c:3903:40: note: format string is defined here 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ~~~^ | | | int | %10ld ../../extra/locale/gen_collate.c:3903:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ...... 3918 | OUT_U16C(ruletable_len, "number of ruletable elements"); | ~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ../../extra/locale/gen_collate.c:3918:2: note: in expansion of macro 'OUT_U16C' 3918 | OUT_U16C(ruletable_len, "number of ruletable elements"); | ^~~~~~~~ ../../extra/locale/gen_collate.c:3903:40: note: format string is defined here 3903 | #define OUT_U16C(X,N) fprintf(fp,"\t%10d, /* %8lu %s */\n", X, collate_pos++, N); | ~~~^ | | | int | %10ld GEN /extra/locale/locale_collate.h Warning: adding UNDEFINED entry for en_US ignoring C locale GEN /extra/locale/lt_defines.h HOSTCC /extra/locale/gen_wctype GEN /extra/locale/wctables.h HOSTCC /extra/locale/gen_ldc GEN /extra/locale/locale_data.c GEN /extra/locale/uClibc_locale_data.h GEN /include/bits/uClibc_locale_data.h make[1]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44' /usr/bin/make -j4 -C /home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44 ARCH="riscv64" CROSS_COMPILE="/home/thomas/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS=" -g0 -fno-lto" HOSTCC="/usr/bin/gcc" make[1]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44' make[2]: Nothing to be done for 'locale_headers'. CC extra/locale/locale_data.os 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/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44' make: *** [package/pkg-generic.mk:293: /home/thomas/autobuild/instance-1/output-1/build/uclibc-1.0.44/.stamp_built] Error 2 make: Leaving directory '/home/thomas/autobuild/instance-1/buildroot'