Bug#1059511: pocl: FTBFS on many architectures: The testsuite has failed

2023-12-28 Thread Bo YU
Hi!

On Thu, Dec 28, 2023 at 6:35 AM Andreas Beckmann  wrote:
>
> 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=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
>
...
>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.

Thanks. I did not notice these special test logs from buildd.  I will
look at this more here.

BR,
Bo
>
>
> Andreas



Bug#1059511: pocl: FTBFS on many architectures: The testsuite has failed

2023-12-27 Thread Andreas Beckmann

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=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



Bug#1059511: pocl: FTBFS on many architectures: The testsuite has failed

2023-12-27 Thread Bo YU
Source: pocl
Version: 4.0-3 
Severity: important

Dear Maintainer,

I am looking at the build issue from riscv64 port view but it can not be
build many arches:
https://buildd.debian.org/status/package.php?p=pocl

It seems even updated the symbols file still failed due to exist
debian/stamp-failed-testsuite file.

```
run_dh_makeshlibs:
dh_makeshlibs
delayed_check_dh_auto_test_result: run_dh_makeshlibs
@set -ex; if test -f debian/stamp-failed-testsuite ; then \
echo "* The testsuite has failed! *" ; \
exit 1 ; \
fi  
   @test -f 
obj-*/Testing/Temporary/LastTest.log && echo 'The testsuite has passed all 
tests.' || echo '*** The testsuite was *NOT* ru
n! ***'

```

The same issue happend on 5.0 also:
https://buildd.debian.org/status/package.php?p=pocl=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?

http://portablecl.org/docs/html/notes_5_0.html#risc-v-cpu-support-improved


-- 
Regards,
--
  Bo YU



signature.asc
Description: PGP signature