[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#888064: pocl: FTBFS on s390x: error: unknown target CPU 'generic'



Source: pocl
Version: 1.0-2
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-s390@lists.debian.org
Usertags: s390x

Builds of pocl for s390x have been failing:

  cd /<<PKGBUILDDIR>>/obj-s390x-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=s390x-ibm-linux-gnu -D_CL_DISABLE_HALF -march=generic -emit-llvm -ffp-contract=off -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -include /<<PKGBUILDDIR>>/obj-s390x-linux-gnu/sleef_config_temp_generic.h -I /<<PKGBUILDDIR>>/lib/kernel/sleef/arch -I /<<PKGBUILDDIR>>/lib/kernel/sleef/libm -I /<<PKGBUILDDIR>>/lib/kernel/sleef/include -O1 -o /<<PKGBUILDDIR>>/obj-s390x-linux-gnu/lib/kernel/host/generic/c_sleef_glue_auto.c.bc -c /<<PKGBUILDDIR>>/lib/kernel/sleef/libm/sleef_glue_auto.c
  [...]
  error: unknown target CPU 'generic'

Please try removing -march=generic altogether; Debian's compilers
should already produce sufficiently portable binaries by default.

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu


Reply to: