Bug#996331: llvm-toolchain-11: [mips64el] LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!

Andreas Beckmann anbe at debian.org
Wed Oct 13 08:55:49 BST 2021


Package: llvm-toolchain-11
Version: 1:11.1.0-4
Severity: important

Hi,

I just found this in a pocl buildd log:

https://buildd.debian.org/status/fetch.php?pkg=pocl&arch=mips64el&ver=1.7-3&stamp=1633790690&raw=0

cd /<<PKGBUILDDIR>>/obj-mips64el-linux-gnuabi64/lib/kernel/host && /usr/bin/opt-11 -relocation-model=pic -mtriple=mips64el-unknown-linux-gnuabi64 -O3 -fp-contract=off -o /<<PKGBUILDDIR>>/obj-mips64el-linux-gnuabi64/lib/kernel/host/kernel-mips64el-unknown-linux-gnuabi64-GENERIC.bc kernel-mips64el-unknown-linux-gnuabi64-GENERIC-unoptimized.bc
'x86-64' is not a recognized processor for this target (ignoring processor)
'+fxsr' is not a recognized feature for this target (ignoring feature)
'+mmx' is not a recognized feature for this target (ignoring feature)
'+sse' is not a recognized feature for this target (ignoring feature)
'+sse2' is not a recognized feature for this target (ignoring feature)
'+x87' is not a recognized feature for this target (ignoring feature)
'x86-64' is not a recognized processor for this target (ignoring processor)
'x86-64' is not a recognized processor for this target (ignoring processor)
'+fxsr' is not a recognized feature for this target (ignoring feature)
'+mmx' is not a recognized feature for this target (ignoring feature)
'+sse' is not a recognized feature for this target (ignoring feature)
'+sse2' is not a recognized feature for this target (ignoring feature)
'+x87' is not a recognized feature for this target (ignoring feature)
'x86-64' is not a recognized processor for this target (ignoring processor)
'x86-64' is not a recognized processor for this target (ignoring processor)
LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/opt-11 -relocation-model=pic -mtriple=mips64el-unknown-linux-gnuabi64 -O3 -fp-contract=off -o /<<PKGBUILDDIR>>/obj-mips64el-linux-gnuabi64/lib/kernel/host/kernel-mips64el-unknown-linux-gnuabi64-GENERIC.bc kernel-mips64el-unknown-linux-gnuabi64-GENERIC-unoptimized.bc
1.	Running pass 'CallGraph Pass Manager' on module 'kernel-mips64el-unknown-linux-gnuabi64-GENERIC-unoptimized.bc'.
/usr/lib/mips64el-linux-gnuabi64/libLLVM-11.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x44)[0xfff09d5e4c]
Aborted
make[3]: *** [lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/build.make:274: lib/kernel/host/kernel-mips64el-unknown-linux-gnuabi64-GENERIC.bc] Error 134

It may very well be that pocl calls llvm in "a creative way".
(The unrecognized x86 features look, well, ... interesting ..., on
mips64el.)

This bug doesn't really matter for pocl which has never been built on
mips64el due to testsuite failures ...

This should be reproducible with 1.7-3 in experimental (or from
snapshot.d.o, as I may be doing more llvm specific experiments with the
upcoming 1.8 release in experimental)


Andreas



More information about the Pkg-llvm-team mailing list