[Pkg-opencl-devel] Bug#892428: pocl: FTBFS on x32: tries to build kernel/host/ for amd64

Aaron M. Ucko ucko at debian.org
Fri Mar 9 02:55:11 UTC 2018


Source: pocl
Version: 1.0-2
Severity: normal
User: debian-x32 at lists.debian.org
Usertags: x32

Builds of pocl for x32 (admittedly not a release architecture) have
been failing, as detailed at [1]:

  cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnux32/lib/kernel/host" && /usr/bin/clang-4.0 --target=x86_64-pc-linux-gnu -D_CL_DISABLE_HALF -march=x86-64 -emit-llvm -ffp-contract=off -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -DDORENAME -DVEC128 -I "/<<PKGBUILDDIR>>/lib/kernel/sleef/arch" -I "/<<PKGBUILDDIR>>/lib/kernel/sleef/libm" -I "/<<PKGBUILDDIR>>/lib/kernel/sleef/include" -O1 -o "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnux32/lib/kernel/host/x86-64/v128_sleefsimddp.c.bc" -c "/<<PKGBUILDDIR>>/lib/kernel/sleef/libm/sleefsimddp.c"
  In file included from /<<PKGBUILDDIR>>/lib/kernel/sleef/libm/sleefsimddp.c:8:
  In file included from /usr/lib/llvm-4.0/bin/../lib/clang/4.0.1/include/stdint.h:61:
  /usr/include/stdint.h:26:10: fatal error: 'bits/libc-header-start.h' file not found

Could you please take a look?  (Note the explicit inappropriate
-march=x86-64.)

Thanks!

[1] https://buildd.debian.org/status/fetch.php?pkg=pocl&arch=x32&ver=1.1%7Erc2-1&stamp=1520368921&raw=0

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



More information about the Pkg-opencl-devel mailing list