Followup-For: Bug #787686 Control: found -1 0.11-1 Control: retitle -1 pocl: FTBFS on arm64: the clang compiler does not support '-march=cortex-a53'
On Thu, 4 Jun 2015 00:26:03 +0100 Edmund Grimley Evans <[email protected]> wrote: > It failed to build on arm64 with this error: > clang: error: the clang compiler does not support '-march=generic' That was pocl 0.10 and clang-3.5. On Fri, 12 Jun 2015 10:13:54 +0200 Vincent Danjean <[email protected]> wrote: > So, I will try 0.11 with > LLVM_ARCH=cortex-a53 That still fails with pocl 0.11 and clang-3.6: https://buildd.debian.org/status/fetch.php?pkg=pocl&arch=arm64&ver=0.11-1&stamp=1461585118 /usr/lib/llvm-3.6/bin/clang --target=aarch64-unknown-linux-gnu -march=cortex-a53 -D_CL_DISABLE_LONG -D_CL_DISABLE_HALF -Xclang -ffake-address-space-map -emit-llvm -ffp-contract=off -x cl -D__OPENCL_VERSION__=120 -fsigned-char -c -o abs.cl.bc ../../../lib/kernel/abs.cl -include /«PKGBUILDDIR»/include/_kernel.h clang: error: the clang compiler does not support '-march=cortex-a53' make[5]: *** [acospi.cl.bc] Error 1 Makefile:1006: recipe for target 'abs.cl.bc' failed But earlier in the log we see /usr/lib/llvm-3.6/bin/llc -mattr=help Available CPUs for this target: cortex-a53 - Select the cortex-a53 processor. cortex-a57 - Select the cortex-a57 processor. cyclone - Select the cyclone processor. generic - Select the generic processor. Available features for this target: a53 - Cortex-A53 ARM processors. a57 - Cortex-A57 ARM processors. crc - Enable ARMv8 CRC-32 checksum instructions. crypto - Enable cryptographic instructions. cyclone - Cyclone. fp-armv8 - Enable ARMv8 FP. neon - Enable Advanced SIMD instructions. zcm - Has zero-cycle register moves. zcz - Has zero-cycle zeroing instructions. Andreas

