Bugzilla – Bug 1218492
[Build 20231228] FTBFS: tvm fails to build against not libSPIRV
Last modified: 2024-06-19 12:30:11 UTC
## Observation Problem: nothing provides 'libSPIRV-Tools-2023.5~rc1.so()(64bit)' needed by the to be installed python311-tvm-0.13.0-1.2.x86_64 Solution 1: do not install tvmc-0.13.0-1.2.x86_64 Solution 2: break python311-tvm-0.13.0-1.2.x86_64 by ignoring some of its dependencies Source of evil is the build fail of tvm: https://build.opensuse.org/package/live_build_log/openSUSE:Factory/tvm/standard/x86_64 openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-extra_tests_ai_ml@64bit fails in [tvm](https://openqa.opensuse.org/tests/3845146/modules/tvm/steps/3) ## Test suite description Test AI/ML software ## Reproducible Fails since (at least) Build [20231228](https://openqa.opensuse.org/tests/3842176) ## Expected result Last good: [20231226](https://openqa.opensuse.org/tests/3840037) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=extra_tests_ai_ml&version=Tumbleweed)
g++ segfault: [ 234s] [ 24%] Building CXX object CMakeFiles/tvm_objs.dir/src/meta_schedule/schedule_rule/cross_thread_reduction.cc.o [ 234s] /usr/bin/c++ -DDMLC_USE_FOPEN64=0 -DDMLC_USE_LOGGING_LIBRARY="<tvm/runtime/logging.h>" -DNDEBUG -DNDEBUG=1 -DTVM_ENABLE_SPIRV=1 -DTVM_INDEX_DEFAULT_I64=1 -DTVM_LLVM_VERSION=140 -DTVM_THREADPOOL_USE_OPENMP=0 -DTVM_USE_LIBBACKTRACE=0 -DUSE_FALLBACK_STL_MAP=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/abuild/rpmbuild/BUILD/tvm-0.13.0/include -I/home/abuild/rpmbuild/BUILD/tvm-0.13.0/3rdparty/libcrc/include -isystem /usr/include/dlpack -isystem /usr/include/dmlc -isystem /usr/include/rang -isystem /home/abuild/rpmbuild/BUILD/tvm-0.13.0/3rdparty/compiler-rt -isystem /home/abuild/rpmbuild/BUILD/tvm-0.13.0/3rdparty/picojson -isystem /home/abuild/rpmbuild/BUILD/tvm-0.13.0/3rdparty/OpenCL-Headers -isystem /usr/include/spirv-tools -isystem /usr/include/spirv/unified1 -isystem /usr/include/openblas -std=c++17 -faligned-new -O2 -Wall -fPIC -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -O2 -g -DNDEBUG -ffile-prefix-map=..=/home/abuild/rpmbuild/BUILD/tvm-0.13.0 -MD -MT CMakeFiles/tvm_objs.dir/src/meta_schedule/schedule_rule/cross_thread_reduction.cc.o -MF CMakeFiles/tvm_objs.dir/src/meta_schedule/schedule_rule/cross_thread_reduction.cc.o.d -o CMakeFiles/tvm_objs.dir/src/meta_schedule/schedule_rule/cross_thread_reduction.cc.o -c /home/abuild/rpmbuild/BUILD/tvm-0.13.0/src/meta_schedule/schedule_rule/cross_thread_reduction.cc [ 234s] In member function 'tvm::tir::ExprRV tvm::meta_schedule::CrossThreadReductionNode::GetThreadIdxExtentFromTrace(const tvm::tir::Trace&)': [ 234s] cc1plus: internal compiler error: Segmentation fault [ 234s] 0x12130a1 internal_error(char const*, ...) [ 234s] ???:0 [ 234s] 0x14d77b5 cp_gimplify_expr(tree_node**, gimple**, gimple**) [ 234s] ???:0 [ 234s] 0x13bc2c0 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) [ 234s] ???:0 [ 234s] 0x13bbe50 gimplify_stmt(tree_node**, gimple**) [ 234s] ???:0 [ 234s] 0x13bd9c5 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) [ 234s] ???:0 [ 234s] 0x13bbe50 gimplify_stmt(tree_node**, gimple**) [ 234s] ???:0 [ 234s] 0x13bcbb6 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) [ 234s] ???:0 [ 234s] 0x13bd39f gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) [ 234s] ???:0 [ 234s] 0x13bd949 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) [ 234s] ???:0 [ 234s] 0x18e9834 gimplify_body(tree_node*, bool) [ 234s] ???:0 [ 234s] 0x18e95bd gimplify_function_tree(tree_node*) [ 234s] ???:0 [ 234s] 0x18e8237 cgraph_node::analyze() [ 234s] ???:0 [ 234s] 0x18d324e symbol_table::finalize_compilation_unit() [ 234s] ???:0 [ 234s] Please submit a full bug report, with preprocessed source (by using -freport-bug). [ 234s] Please include the complete backtrace with any bug report. [ 234s] See <https://bugs.opensuse.org/> for instructions. [ 234s] make[2]: *** [CMakeFiles/tvm_objs.dir/build.make:1535: CMakeFiles/tvm_objs.dir/src/meta_schedule/schedule_rule/cross_thread_reduction.cc.o] Error 1 I started a cvise run but it's taking a while, still >2MiB of code.
Confirmed, it's fixed with GCC 14 already.
Fixed compiler submitted.
This is an autogenerated message for OBS integration: This bug (1218492) was mentioned in https://build.opensuse.org/request/show/1141444 Factory / gcc13
SUSE-RU-2024:1253-1: An update that has nine fixes can now be installed. Category: recommended (moderate) Bug References: 1210959, 1214934, 1217450, 1217667, 1218492, 1219031, 1219520, 1220724, 1221239 Maintenance Incident: [SUSE:Maintenance:33128](https://smelt.suse.de/incident/33128/) Sources used: openSUSE Leap Micro 5.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 openSUSE Leap Micro 5.4 (src): gcc13-13.2.1+git8285-150000.1.9.1 openSUSE Leap 15.5 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP2 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Manager Server 4.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Desktop 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Manager Retail Branch Server 4.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Manager Proxy 4.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing 15 SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server for SAP Applications 15 SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Desktop 15 SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro for Rancher 5.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro 5.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro for Rancher 5.4 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro 5.4 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro 5.5 (src): gcc13-13.2.1+git8285-150000.1.9.1 Basesystem Module 15-SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 Development Tools Module 15-SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Package Hub 15 15-SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Enterprise Storage 7.1 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro 5.1 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro 5.2 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro for Rancher 5.2 (src): gcc13-13.2.1+git8285-150000.1.9.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-RU-2024:2087-1: An update that has 10 fixes can now be installed. Category: recommended (moderate) Bug References: 1188441, 1210959, 1214934, 1217450, 1217667, 1218492, 1219031, 1219520, 1220724, 1221239 Maintenance Incident: [SUSE:Maintenance:34272](https://smelt.suse.de/incident/34272/) Sources used: Toolchain Module 12 (src): cross-nvptx-gcc13-13.3.0+git8781-1.13.1, gcc13-13.3.0+git8781-1.13.1 SUSE Linux Enterprise High Performance Computing 12 SP5 (src): gcc13-13.3.0+git8781-1.13.1 SUSE Linux Enterprise Server 12 SP5 (src): gcc13-13.3.0+git8781-1.13.1 SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): gcc13-13.3.0+git8781-1.13.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.