Control: retitle -1 pocl: FTBFS on riscv64: testsuite fails: can't link 
double-float modules with soft-float modules
Control: severity -1 wishlist

On 27/12/2023 09.54, Bo YU wrote:
The same issue happend on 5.0 also:
https://buildd.debian.org/status/package.php?p=pocl&suite=experimental

But from upstream 5.0 release note, there is support well expect 4 tests
failed. So what is your advice here about the issue?

In the buildlog I see

  13% tests passed, 228 tests failed out of 263

Errors seem to happen at OpenCL kernel build time:

  LLVM ERROR: unable to write nop sequence of 2 bytes

and mostly

  /usr/bin/ld: /lib/riscv64-linux-gnu/libm.so: can't link double-float
  modules with soft-float modules

  /usr/bin/ld: failed to merge target specific data of file
  /lib/riscv64-linux-gnu/libm.so

  /usr/bin/ld: /lib/riscv64-linux-gnu/libgcc_s.so.1: can't link double-float
  modules with soft-float modules

  /usr/bin/ld: failed to merge target specific data of file
  /lib/riscv64-linux-gnu/libgcc_s.so.1

  /usr/bin/ld: /lib/riscv64-linux-gnu/libc.so.6: can't link double-float
  modules with soft-float modules

  /usr/bin/ld: failed to merge target specific data of file
  /lib/riscv64-linux-gnu/libc.so.6

  /usr/bin/ld: /lib/ld-linux-riscv64-lp64d.so.1: can't link double-float
  modules with soft-float modules

  /usr/bin/ld: failed to merge target specific data of file
  /lib/ld-linux-riscv64-lp64d.so.1

  /usr/bin/ld: /lib/riscv64-linux-gnu/libgcc_s.so.1: can't link double-float
  modules with soft-float modules

  /usr/bin/ld: failed to merge target specific data of file
  /lib/riscv64-linux-gnu/libgcc_s.so.1

  error: linker command failed with exit code 1 (use -v to see invocation)

  Final linking of kernel test_shuffle_2_2 failed.


I'd suggest postponing further analysis until sid has pocl 5.0 and
switched from llvm-15 to llvm-16. These two changes will *not* happen in
a single upload.


Andreas

Reply via email to