Bug#888064: pocl: FTBFS on s390x: error: unknown target CPU 'generic'
"Aaron M. Ucko" <[email protected]>
| Newsgroups | gmane.linux.debian.ports.s390 |
|---|---|
| Message-ID | <151667221737.29774.10327782456989146700.reportbug@ghostwheel.internal.ucko.debian.net> |
Source: pocl Version: 1.0-2 Severity: important Tags: upstream Justification: fails to build from source User: [email protected] 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!