Package: src:pocl
Version: 1.1-7
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi!

I've been doing a full rebuild of the Debian archive, building all
source packages targeting armel and armhf using arm64 hardware. We are
planning in future to move all of our 32-bit armel/armhf builds to
using arm64 machines, so this rebuild is to identify packages that
might have problems with this configuration.

During this rebuild, I've found that pocl is not building for armel
any more, with the error in here:

...
make -f lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build.make 
lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi'
[  0%] Built target patched_cl_hpp
clang: error: the clang compiler does not support '-march=arm946e-s'make[3]: 
Entering directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi'

make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi'
make[3]: *** 
[lib/kernel/host/CMakeFiles/kernel_host_arm946e-s.dir/build.make:3143: 
lib/kernel/host/arm946e-s/c_sleef_glue_auto.c.bc] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi'
make[2]: *** [CMakeFiles/Makefile2:315: 
lib/kernel/host/CMakeFiles/kernel_host_arm946e-s.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....

Maybe llvm has removed support for older CPUs?

Full log at

  https://www.einval.com/debian/arm/rebuild-logs/armel/FAIL/pocl_1.1-7_armel.log

-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to