Bug#1014073: llvm-toolchain-14: FTBFS on i386
Sebastian Ramacher
sramacher at debian.org
Wed Jun 29 20:07:37 BST 2022
Source: llvm-toolchain-14
Version: 1:14.0.6-1
Severity: serious
Tags: ftbfs sid bookworm
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-14&arch=i386&ver=1%3A14.0.6-1&stamp=1656298705&raw=0
[63/64] cd /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/mlir/test && /usr/bin/python3.10 /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/./bin/llvm-lit -sv /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/mlir/test
-- Testing: 1294 tests, 4 workers --
Testing: 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62
FAIL: MLIR :: Transforms/loop-fusion-2.mlir (834 of 1294)
******************** TEST 'MLIR :: Transforms/loop-fusion-2.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-opt -allow-unregistered-dialect /<<PKGBUILDDIR>>/mlir/test/Transforms/loop-fusion-2.mlir -affine-loop-fusion -split-input-file | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/FileCheck /<<PKGBUILDDIR>>/mlir/test/Transforms/loop-fusion-2.mlir
: 'RUN: at line 2'; /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-opt -allow-unregistered-dialect /<<PKGBUILDDIR>>/mlir/test/Transforms/loop-fusion-2.mlir -affine-loop-fusion="fusion-maximal" -split-input-file | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/FileCheck /<<PKGBUILDDIR>>/mlir/test/Transforms/loop-fusion-2.mlir --check-prefix=MAXIMAL
--
Exit Code: 1
Command Output (stderr):
--
/<<PKGBUILDDIR>>/mlir/test/Transforms/loop-fusion-2.mlir:372:16: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: affine.store %{{.*}}, %{{.*}}[0, 0] : memref<1x1xf32>
^
<stdin>:312:2: note: 'next' match was here
affine.store %10, %0[0, 0] : memref<1x1xf32>
^
<stdin>:176:29: note: previous match ended here
affine.for %arg3 = 0 to 3 {
^
<stdin>:177:1: note: non-matching line after previous match is here
affine.store %cst_1, %0[0, %arg3] : memref<1x3xf32>
^
Input file: <stdin>
Check file: /<<PKGBUILDDIR>>/mlir/test/Transforms/loop-fusion-2.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
307: %6 = affine.apply #map1(%4, %arg1)
308: %7 = affine.apply #map2(%4, %arg1)
309: %8 = affine.apply #map3(%4, %arg1)
310: %9 = affine.apply #map4(%4, %arg1)
311: %10 = affine.load %1[%5, %6, %8, %9, %7, %c0] : memref<2x2x3x3x16x1xf32>
312: affine.store %10, %0[0, 0] : memref<1x1xf32>
next:372 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
313: %11 = affine.apply #map5(%arg2, %arg3)
314: %12 = affine.load %0[0, 0] : memref<1x1xf32>
315: }
316: affine.for %arg3 = 0 to 16 {
317: %4 = affine.apply #map5(%arg1, %arg3)
.
.
.
>>>>>>
--
********************
Testing: 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64
FAIL: MLIR :: mlir-cpu-runner/async-value.mlir (874 of 1294)
******************** TEST 'MLIR :: mlir-cpu-runner/async-value.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-opt /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async-value.mlir -async-to-async-runtime -async-runtime-ref-counting -async-runtime-ref-counting-opt -convert-async-to-llvm -convert-arith-to-llvm -convert-vector-to-llvm -convert-memref-to-llvm -convert-std-to-llvm -reconcile-unrealized-casts | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-cpu-runner -e main -entry-point-result=void -O0 -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_c_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_async_runtime.so | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/FileCheck /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async-value.mlir --dump-input=always
--
Exit Code: 134
Command Output (stderr):
--
free(): invalid next size (fast)
free(): invalid next size (fast)
Input file: <stdin>
Check file: /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async-value.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: 123.456
2: 456.789
3: Unranked Memref base@ = 0xe9d00610 rank = 0 offset = 0 sizes = [] strides = [] data =
4: [0.25]
5: Unranked Memref base@ = 0xe9d00610 rank = 0 offset = 0 sizes = [] strides = [] data =
6: [0.5]
>>>>>>
/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/mlir/test/mlir-cpu-runner/Output/async-value.mlir.script: line 1: 735647 Done /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-opt /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async-value.mlir -async-to-async-runtime -async-runtime-ref-counting -async-runtime-ref-counting-opt -convert-async-to-llvm -convert-arith-to-llvm -convert-vector-to-llvm -convert-memref-to-llvm -convert-std-to-llvm -reconcile-unrealized-casts
735648 Aborted | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-cpu-runner -e main -entry-point-result=void -O0 -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_c_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_async_runtime.so
735649 | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/FileCheck /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async-value.mlir --dump-input=always
--
********************
Testing: 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64
FAIL: MLIR :: mlir-cpu-runner/async-group.mlir (878 of 1294)
******************** TEST 'MLIR :: mlir-cpu-runner/async-group.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-opt /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async-group.mlir -async-to-async-runtime -async-runtime-ref-counting -async-runtime-ref-counting-opt -convert-async-to-llvm -convert-arith-to-llvm -convert-std-to-llvm -reconcile-unrealized-casts | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-cpu-runner -e main -entry-point-result=void -O0 -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_c_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_async_runtime.so | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/FileCheck /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async-group.mlir
--
Exit Code: 134
Command Output (stderr):
--
free(): invalid next size (fast)
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0xf1609961 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/../lib/libLLVM-14.so.1+0x927961)
#1 0xf1609be0 PrintStackTraceSignalHandler(void*) Signals.cpp:0:0
#2 0xf160737e llvm::sys::RunSignalHandlers() (/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/../lib/libLLVM-14.so.1+0x92537e)
#3 0xf1609f47 SignalHandler(int) Signals.cpp:0:0
#4 0xf7f87570 (linux-gate.so.1+0x570)
#5 0xf7f87559 (linux-gate.so.1+0x559)
#6 0xf07d28f6 raise (/lib/i386-linux-gnu/libc.so.6+0x318f6)
#7 0xf07bb30b abort (/lib/i386-linux-gnu/libc.so.6+0x1a30b)
#8 0xf081594c (/lib/i386-linux-gnu/libc.so.6+0x7494c)
#9 0xf081e08d (/lib/i386-linux-gnu/libc.so.6+0x7d08d)
#10 0xf081f471 (/lib/i386-linux-gnu/libc.so.6+0x7e471)
#11 0xf082303a free (/lib/i386-linux-gnu/libc.so.6+0x8203a)
#12 0xf7f7f8a2
#13 0xf7f7f4fb
#14 0xeb528a0c std::_Function_handler<void (), mlirAsyncRuntimeExecute::$_6>::_M_invoke(std::_Any_data const&) AsyncRuntime.cpp:0:0
#15 0xeb528304 std::_Function_handler<void (), llvm::ThreadPool::createTaskAndFuture(std::function<void ()>)::'lambda'()>::_M_invoke(std::_Any_data const&) crtstuff.c:0:0
#16 0xf159c8e3 void* llvm::thread::ThreadProxy<std::tuple<llvm::ThreadPool::grow(int)::$_0> >(void*) ThreadPool.cpp:0:0
#17 0xf7f59e6c start_thread (/lib/i386-linux-gnu/libpthread.so.0+0x6e6c)
#18 0xf08a3606 __clone (/lib/i386-linux-gnu/libc.so.6+0x102606)
/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/mlir/test/mlir-cpu-runner/Output/async-group.mlir.script: line 1: 735637 Done /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-opt /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async-group.mlir -async-to-async-runtime -async-runtime-ref-counting -async-runtime-ref-counting-opt -convert-async-to-llvm -convert-arith-to-llvm -convert-std-to-llvm -reconcile-unrealized-casts
735638 Aborted | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-cpu-runner -e main -entry-point-result=void -O0 -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_c_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_async_runtime.so
735639 | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/FileCheck /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async-group.mlir
--
********************
Testing: 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64
FAIL: MLIR :: mlir-cpu-runner/async.mlir (879 of 1294)
******************** TEST 'MLIR :: mlir-cpu-runner/async.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-opt /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async.mlir -async-to-async-runtime -async-runtime-ref-counting -async-runtime-ref-counting-opt -convert-async-to-llvm -convert-linalg-to-loops -convert-scf-to-std -convert-linalg-to-llvm -convert-memref-to-llvm -convert-arith-to-llvm -convert-std-to-llvm -reconcile-unrealized-casts | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-cpu-runner -e main -entry-point-result=void -O0 -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_c_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_async_runtime.so | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/FileCheck /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async.mlir
--
Exit Code: 134
Command Output (stderr):
--
free(): invalid next size (fast)
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0xf1571961 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/../lib/libLLVM-14.so.1+0x927961)
#1 0xf1571be0 PrintStackTraceSignalHandler(void*) Signals.cpp:0:0
#2 0xf156f37e llvm::sys::RunSignalHandlers() (/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/../lib/libLLVM-14.so.1+0x92537e)
#3 0xf1571f47 SignalHandler(int) Signals.cpp:0:0
#4 0xf7eef570 (linux-gate.so.1+0x570)
#5 0xf7eef559 (linux-gate.so.1+0x559)
#6 0xf073a8f6 raise (/lib/i386-linux-gnu/libc.so.6+0x318f6)
#7 0xf072330b abort (/lib/i386-linux-gnu/libc.so.6+0x1a30b)
#8 0xf077d94c (/lib/i386-linux-gnu/libc.so.6+0x7494c)
#9 0xf078608d (/lib/i386-linux-gnu/libc.so.6+0x7d08d)
#10 0xf0787471 (/lib/i386-linux-gnu/libc.so.6+0x7e471)
#11 0xf078b03a free (/lib/i386-linux-gnu/libc.so.6+0x8203a)
#12 0xf078b13b (/lib/i386-linux-gnu/libc.so.6+0x8213b)
#13 0xf7ec1e95 start_thread (/lib/i386-linux-gnu/libpthread.so.0+0x6e95)
#14 0xf080b606 __clone (/lib/i386-linux-gnu/libc.so.6+0x102606)
/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/mlir/test/mlir-cpu-runner/Output/async.mlir.script: line 1: 735662 Done /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-opt /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async.mlir -async-to-async-runtime -async-runtime-ref-counting -async-runtime-ref-counting-opt -convert-async-to-llvm -convert-linalg-to-loops -convert-scf-to-std -convert-linalg-to-llvm -convert-memref-to-llvm -convert-arith-to-llvm -convert-std-to-llvm -reconcile-unrealized-casts
735663 Aborted | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/mlir-cpu-runner -e main -entry-point-result=void -O0 -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_c_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_runner_utils.so -shared-libs=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/libmlir_async_runtime.so
735664 | /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/FileCheck /<<PKGBUILDDIR>>/mlir/test/mlir-cpu-runner/async.mlir
--
********************
Testing: 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96
E: Build killed with signal TERM after 150 minutes of inactivity
--------------------------------------------------------------------------------
Build finished at 2022-06-27T02:57:54Z
Cheers
--
Sebastian Ramacher
More information about the Pkg-llvm-team
mailing list