Build failure for riscv32

Dmitry V. Levin ldv at altlinux.org
Fri Aug 23 10:00:39 UTC 2019


Hi,

On Thu, Aug 22, 2019 at 10:08:25PM +0300, Baruch Siach wrote:
> 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?

The build should have failed at configure stage because
nobody has contributed riscv32 support in strace yet.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20190823/f288d525/attachment.bin>


More information about the Strace-devel mailing list