Bug#892428: pocl: FTBFS on x32: tries to build kernel/host/ for amd64
"Aaron M. Ucko" <[email protected]>
| Newsgroups | gmane.linux.debian.ports.amd64 |
|---|---|
| Message-ID | <152056411177.23472.12066716103348469879.reportbug__10906.5072182149$1520564159$gmane$org@ghostwheel.internal.ucko.debian.net> |
Source: pocl Version: 1.0-2 Severity: normal User: [email protected] 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