Debian Bug report logs -
#1094828
g++ internal compiler error on arm64 when compiling pytorch
Full log
🔗
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 12 Feb 2025 20:51:43 +0100
with message-id <[email protected]>
and subject line unable to reproduce, closing
has caused the Debian Bug report #1094828,
regarding g++ internal compiler error on arm64 when compiling pytorch
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1094828: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094828
Debian Bug Tracking System
Contact [email protected] with problems
[Message part 2 (message/rfc822, inline)]
Package: g++-14
Version: 14.2.0-14
Severity: important
Dear maintainer,
We noted that pytorch 2.6.0 FTBFS on arm64 due to an internal compiler
error from g++. The relevant part of error log reads:
```
/usr/bin/c++ -DAT_BUILD_ARM_VEC256_WITH_SLEEF -DAT_PER_OPERATOR_HEADERS -DBUILD_ONEDNN_GRAPH -DCAFFE2_BUILD_MAIN_LIB -DCAFFE2_PERF_WITH_SVE=1 -DDNNL_EXPERIMENTAL_UKERNEL -DFLASHATTENTION_DISABLE_ALIBI -DFMT_HEADER_ONLY=1 -
DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DTORCH_ENABLE_LLVM -DUSE_C10D_GLOO -
DUSE_C10D_MPI -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -DUSE_TENSORPIPE -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/build/reproducible-path/pytorch-2.6.0+dfsg/build/aten/src -I/build/reproducible-path/pytorch-
2.6.0+dfsg/aten/src -I/build/reproducible-path/pytorch-2.6.0+dfsg/build -I/build/reproducible-path/pytorch-2.6.0+dfsg -I/build/reproducible-path/pytorch-2.6.0+dfsg/cmake/../third_party/benchmark/include -I/usr/lib/llvm-
19/include -I/build/reproducible-path/pytorch-2.6.0+dfsg/nlohmann -I/build/reproducible-path/pytorch-2.6.0+dfsg/torch/csrc/api -I/build/reproducible-path/pytorch-2.6.0+dfsg/torch/csrc/api/include -I/build/reproducible-
path/pytorch-2.6.0+dfsg/caffe2/aten/src/TH -I/build/reproducible-path/pytorch-2.6.0+dfsg/build/caffe2/aten/src/TH -I/build/reproducible-path/pytorch-2.6.0+dfsg/build/caffe2/aten/src -I/build/reproducible-path/pytorch-
2.6.0+dfsg/build/caffe2/../aten/src -I/build/reproducible-path/pytorch-2.6.0+dfsg/torch/csrc -I/build/reproducible-path/pytorch-2.6.0+dfsg/third_party/miniz-3.0.2 -I/build/reproducible-path/pytorch-
2.6.0+dfsg/debian/kineto/libkineto/include -I/build/reproducible-path/pytorch-2.6.0+dfsg/debian/kineto/libkineto/src -I/build/reproducible-path/pytorch-2.6.0+dfsg/third_party/cpp-httplib -I/build/reproducible-path/pytorch-
2.6.0+dfsg/aten/src/ATen/.. -I/build/reproducible-path/pytorch-2.6.0+dfsg/c10/.. -I/build/reproducible-path/pytorch-2.6.0+dfsg/third_party/flatbuffers/include -isystem /build/reproducible-path/pytorch-
2.6.0+dfsg/cmake/../third_party/googletest/googlemock/include -isystem /build/reproducible-path/pytorch-2.6.0+dfsg/cmake/../third_party/googletest/googletest/include -isystem /usr/include/eigen3 -isystem
/usr/include/oneapi/dnnl -isystem /build/reproducible-path/pytorch-2.6.0+dfsg/INTERFACE -isystem /build/reproducible-path/pytorch-2.6.0+dfsg/third_party/nlohmann/include -isystem /build/reproducible-path/pytorch-
2.6.0+dfsg/caffe2 -isystem /usr/lib/aarch64-linux-gnu/openmpi/include -isystem /usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/pytorch-
2.6.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -gsplit-dwarf -Wno-dangling-reference -I/usr -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility-inlines-
hidden -DUSE_PTHREADPOOL -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DAT_BUILD_ARM_VEC256_WITH_SLEEF -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -
Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-
strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -Wno-missing-braces -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-
uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-error=dangling-reference -Wno-error=redundant-move -Wno-stringop-overflow -DHAVE_SVE_CPU_DEFINITION -DHAVE_SVE256_CPU_DEFINITION -O2 -g -DNDEBUG -
std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -D__NEON__ -Wall -Wextra -Wdeprecated -Wno-unused-parameter -Wno-missing-field-initializers -Wno-array-bounds -Wno-unknown-pragmas -Wno-strict-overflow -Wno-strict-aliasing -Wunused-
function -Wunused-variable -Wunused-but-set-variable -Wno-maybe-uninitialized -fvisibility=hidden -O2 -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT
caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp.o -MF caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp.o.d -o
caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp.o -c /build/reproducible-path/pytorch-2.6.0+dfsg/build/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp
during RTL pass: expand
In file included from /build/reproducible-path/pytorch-2.6.0+dfsg/aten/src/ATen/native/cpu/Activation.cpp:12,
from /build/reproducible-path/pytorch-2.6.0+dfsg/build/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp:1:
/build/reproducible-path/pytorch-2.6.0+dfsg/aten/src/ATen/native/cpu/Activation.cpp: In lambda function:
/build/reproducible-path/pytorch-2.6.0+dfsg/aten/src/ATen/native/cpu/Activation.cpp:89:7: internal compiler error: Segmentation fault
89 | });
| ^
/build/reproducible-path/pytorch-2.6.0+dfsg/aten/src/ATen/Dispatch.h:202:7: note: in definition of macro ‘AT_DISPATCH_SWITCH’
202 | __VA_ARGS__ \
| ^~~~~~~~~~~
/build/reproducible-path/pytorch-2.6.0+dfsg/aten/src/ATen/Dispatch.h:73:3: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’
73 | AT_PRIVATE_CASE_TYPE_USING_HINT(enum_type, scalar_t, __VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/pytorch-2.6.0+dfsg/aten/src/ATen/Dispatch.h:215:3: note: in expansion of macro ‘AT_DISPATCH_CASE’
215 | AT_DISPATCH_CASE(at::ScalarType::Double, __VA_ARGS__) \
| ^~~~~~~~~~~~~~~~
/build/reproducible-path/pytorch-2.6.0+dfsg/aten/src/ATen/Dispatch.h:219:34: note: in expansion of macro ‘AT_DISPATCH_CASE_FLOATING_TYPES’
219 | AT_DISPATCH_SWITCH(TYPE, NAME, AT_DISPATCH_CASE_FLOATING_TYPES(__VA_ARGS__))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/pytorch-2.6.0+dfsg/aten/src/ATen/native/cpu/Activation.cpp:65:5: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’
65 | AT_DISPATCH_FLOATING_TYPES(input.scalar_type(), "log_sigmoid_cpu", [&] {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
0xd53af7 internal_error(char const*, ...)
???:0
0x135ae67 rebuild_jump_labels(rtx_insn*)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-14/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccE55iyB.out file, please attach this to your bugreport.
```
The full buildlog can be found at https://buildd.debian.org/status/fetch.php?pkg=pytorch&arch=arm64&ver=2.6.0%2Bdfsg-1%7Eexp1&stamp=1738259673&raw=0
[Message part 3 (message/rfc822, inline)]
unable to reproduce, closing
Send a report that this bug log contains spam.
Debian bug tracking system administrator <[email protected]>.
Last modified:
Tue May 13 17:39:53 2025;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.