Build failure for riscv32

Baruch Siach baruch at tkos.co.il
Thu Aug 22 19:08:25 UTC 2019


Hi strace developers,

Since updating to version 5.2 I see this build failure for riscv32 with
glibc[1]:

.../opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: strace-syscall.o: in function `.LANCHOR1':
syscall.c:(.rodata+0xddc4): undefined reference to `sys_io_getevents_time64'
.../opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: syscall.c:(.rodata+0xe558): undefined reference to `sys_nanosleep_time64'
.../opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: syscall.c:(.rodata+0xead0): undefined reference to `sys_adjtimex64'

All these functions are not defined when HAVE_ARCH_OLD_TIME64_SYSCALLS
is 0, as is the case for riscv32.

How should that be fixed?

Thanks,
baruch

[1] https://github.com/riscv/riscv-glibc branch 'riscv-glibc-2.29'

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -


More information about the Strace-devel mailing list