<86>Apr 13 01:31:46 userdel[1773897]: delete user 'rooter' <86>Apr 13 01:31:46 userdel[1773897]: removed group 'rooter' owned by 'rooter' <86>Apr 13 01:31:46 userdel[1773897]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 13 01:31:46 groupadd[1773911]: group added to /etc/group: name=rooter, GID=972 <86>Apr 13 01:31:46 groupadd[1773911]: group added to /etc/gshadow: name=rooter <86>Apr 13 01:31:46 groupadd[1773911]: new group: name=rooter, GID=972 <86>Apr 13 01:31:46 useradd[1773919]: new user: name=rooter, UID=972, GID=972, home=/root, shell=/bin/bash <86>Apr 13 01:31:46 userdel[1773935]: delete user 'builder' <86>Apr 13 01:31:46 userdel[1773935]: removed group 'builder' owned by 'builder' <86>Apr 13 01:31:46 userdel[1773935]: removed shadow group 'builder' owned by 'builder' <86>Apr 13 01:31:46 groupadd[1773950]: group added to /etc/group: name=builder, GID=973 <86>Apr 13 01:31:46 groupadd[1773950]: group added to /etc/gshadow: name=builder <86>Apr 13 01:31:46 groupadd[1773950]: new group: name=builder, GID=973 <86>Apr 13 01:31:46 useradd[1773961]: new user: name=builder, UID=973, GID=973, home=/usr/src, shell=/bin/bash <13>Apr 13 01:31:54 rpmi: rpm-macros-dotnet-6.0.1-alt1 sisyphus+279177.40.5.1 1626448103 installed <13>Apr 13 01:31:56 rpmi: llvm13.0-filesystem-13.0.1-alt1 sisyphus+297141.260.5.1 1649699658 installed <13>Apr 13 01:31:56 rpmi: llvm13.0-gold-13.0.1-alt1 sisyphus+297141.260.5.1 1649699658 installed <13>Apr 13 01:31:57 rpmi: llvm13.0-libs-13.0.1-alt1 sisyphus+297141.260.5.1 1649699658 installed <13>Apr 13 01:31:57 rpmi: llvm-common-13.0.0-alt1 sisyphus+297141.400.5.1 1649699996 installed <13>Apr 13 01:31:57 rpmi: libuserspace-rcu-0.13.1-alt1 sisyphus+297749.100.1.1 1648980861 installed <13>Apr 13 01:31:57 rpmi: libicu69-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726150 installed <13>Apr 13 01:31:57 rpmi: libexpat-2.4.7-alt1 sisyphus+296417.100.1.1 1646812525 installed <13>Apr 13 01:31:57 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476321 installed <13>Apr 13 01:31:57 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>Apr 13 01:31:57 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Apr 13 01:31:57 rpmi: libcom_err-devel-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Apr 13 01:31:57 rpmi: libverto-devel-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>Apr 13 01:31:57 rpmi: icu-utils-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726150 installed <13>Apr 13 01:31:57 rpmi: libuserspace-rcu-devel-0.13.1-alt1 sisyphus+297749.100.1.1 1648980861 installed <13>Apr 13 01:31:58 rpmi: lld13.0-13.0.1-alt1 sisyphus+297141.260.5.1 1649699658 installed <13>Apr 13 01:31:58 rpmi: lld-13.0.0-alt1 sisyphus+297141.400.5.1 1649699996 installed <13>Apr 13 01:31:59 rpmi: clang13.0-libs-support-13.0.1-alt1 sisyphus+297141.260.5.1 1649699658 installed <13>Apr 13 01:32:00 rpmi: clang13.0-libs-13.0.1-alt1 sisyphus+297141.260.5.1 1649699658 installed <13>Apr 13 01:32:00 rpmi: clang13.0-13.0.1-alt1 sisyphus+297141.260.5.1 1649699658 installed <13>Apr 13 01:32:00 rpmi: clang-13.0.0-alt1 sisyphus+297141.400.5.1 1649699996 installed <13>Apr 13 01:32:00 rpmi: libunwind-1.6.2-alt1 sisyphus+295035.100.1.1 1644339139 installed <13>Apr 13 01:32:00 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Apr 13 01:32:00 rpmi: libstdc++11-devel-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Apr 13 01:32:00 rpmi: liblwp-2.6-alt1_16 1506668778 installed <13>Apr 13 01:32:00 rpmi: mpdecimal-2.5.1-alt1 sisyphus+291245.40.54.1 1643293433 installed <13>Apr 13 01:32:00 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Apr 13 01:32:00 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104244 installed <13>Apr 13 01:32:00 rpmi: liblttng-ust-2.12.2-alt2 sisyphus+285598.100.1.1 1632219900 installed <13>Apr 13 01:32:00 rpmi: rpm-macros-cmake-3.23.0-alt1 sisyphus+297804.40.3.2 1649156618 installed <13>Apr 13 01:32:00 rpmi: cmake-modules-3.23.0-alt1 sisyphus+297804.40.3.2 1649156618 installed <13>Apr 13 01:32:00 rpmi: libuv-1.44.1-alt1 sisyphus+297750.100.1.1 1648981565 installed <13>Apr 13 01:32:00 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Apr 13 01:32:00 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444232 installed <13>Apr 13 01:32:00 rpmi: publicsuffix-list-dafsa-20220406-alt1 sisyphus+297986.100.1.1 1649274774 installed <13>Apr 13 01:32:00 rpmi: libpsl-0.21.1-alt2 sisyphus+279461.100.1.1 1626547547 installed <13>Apr 13 01:32:00 rpmi: libnghttp2-1.47.0-alt1 sisyphus+297351.100.1.1 1648403625 installed <13>Apr 13 01:32:00 rpmi: openldap-common-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Apr 13 01:32:00 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Apr 13 01:32:00 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Apr 13 01:32:00 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Apr 13 01:32:00 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Apr 13 01:32:00 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Apr 13 01:32:00 rpmi: libtasn1-4.18.0-alt1 sisyphus+294217.100.3.1 1643755522 installed <13>Apr 13 01:32:00 rpmi: bc-1:1.07.1-alt1 sisyphus+278100.400.1.1 1626056612 installed <13>Apr 13 01:32:00 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Apr 13 01:32:01 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Apr 13 01:32:01 rpmi: ca-certificates-2022.04.01-alt1 sisyphus+297635.100.1.1 1648830809 installed <13>Apr 13 01:32:01 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 13 01:32:01 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Apr 13 01:32:01 rpmi: libcrypto1.1-1.1.1n-alt2 sisyphus+297394.100.2.1 1648745095 installed <13>Apr 13 01:32:01 rpmi: libssl1.1-1.1.1n-alt2 sisyphus+297394.100.2.1 1648745095 installed <86>Apr 13 01:32:01 groupadd[1831538]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 13 01:32:01 groupadd[1831538]: group added to /etc/gshadow: name=_keytab <86>Apr 13 01:32:01 groupadd[1831538]: new group: name=_keytab, GID=499 <13>Apr 13 01:32:01 rpmi: libkrb5-1.19.3-alt1 sisyphus+296671.100.1.1 1647339827 installed <13>Apr 13 01:32:01 rpmi: python3-3.10.4-alt1 sisyphus+297487.100.1.1 1648620051 installed <13>Apr 13 01:32:01 rpmi: python3-base-3.10.4-alt1 sisyphus+297487.100.1.1 1648620051 installed <13>Apr 13 01:32:02 rpmi: llvm13.0-13.0.1-alt1 sisyphus+297141.260.5.1 1649699658 installed <13>Apr 13 01:32:02 rpmi: llvm-13.0.0-alt1 sisyphus+297141.400.5.1 1649699996 installed <86>Apr 13 01:32:02 groupadd[1838008]: group added to /etc/group: name=sasl, GID=498 <86>Apr 13 01:32:02 groupadd[1838008]: group added to /etc/gshadow: name=sasl <86>Apr 13 01:32:02 groupadd[1838008]: new group: name=sasl, GID=498 <13>Apr 13 01:32:02 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+282040.40.2.1 1628929840 installed <13>Apr 13 01:32:02 rpmi: libldap-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Apr 13 01:32:02 rpmi: libcurl-7.82.0-alt1 sisyphus+296416.100.1.1 1646807738 installed <13>Apr 13 01:32:02 rpmi: libkrb5-ldap-1.19.3-alt1 sisyphus+296671.100.1.1 1647339827 installed <13>Apr 13 01:32:02 rpmi: libarchive13-3.6.0-alt1 sisyphus+296421.100.1.1 1646814091 installed <13>Apr 13 01:32:02 rpmi: cmake-3.23.0-alt1 sisyphus+297804.40.3.2 1649156618 installed <13>Apr 13 01:32:02 rpmi: libkrb5-devel-1.19.3-alt1 sisyphus+296671.100.1.1 1647339827 installed <13>Apr 13 01:32:02 rpmi: libcurl-devel-7.82.0-alt1 sisyphus+296416.100.1.1 1646807738 installed <13>Apr 13 01:32:02 rpmi: liblttng-ust-devel-2.12.2-alt2 sisyphus+285598.100.1.1 1632219900 installed <13>Apr 13 01:32:08 rpmi: dotnet-bootstrap-5.0-5.0.15-alt1 sisyphus+297728.100.1.1 1648915296 installed <13>Apr 13 01:32:08 rpmi: libssl-devel-1.1.1n-alt2 sisyphus+297394.100.2.1 1648745095 installed <13>Apr 13 01:32:08 rpmi: liblwp-devel-2.6-alt1_16 1506668778 installed <13>Apr 13 01:32:08 rpmi: libstdc++-devel-11-alt1 sisyphus+285602.400.1.1 1632238564 installed <13>Apr 13 01:32:08 rpmi: libunwind-devel-1.6.2-alt1 sisyphus+295035.100.1.1 1644339139 installed <13>Apr 13 01:32:08 rpmi: libicu-devel-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726150 installed <13>Apr 13 01:32:08 rpmi: zlib-devel-1.2.11-alt2 sisyphus+283721.100.1.1 1629847002 installed <13>Apr 13 01:32:08 rpmi: libuuid-devel-2.37.3-alt2 sisyphus+294073.100.1.1 1643117174 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/dotnet-runtime-5.0-5.0.15-alt1.nosrc.rpm (w1.gzdio) Installing dotnet-runtime-5.0-5.0.15-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.33809 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf dotnet-runtime-5.0-5.0.15 + echo 'Source #0 (dotnet-runtime-5.0-5.0.15.tar):' Source #0 (dotnet-runtime-5.0-5.0.15.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/dotnet-runtime-5.0-5.0.15.tar + cd dotnet-runtime-5.0-5.0.15 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (genmoduleindex.sh.patch):' Patch #1 (genmoduleindex.sh.patch): + /usr/bin/patch -p2 patching file eng/native/genmoduleindex.sh + /usr/bin/subst 's|/usr/share/dotnet|/usr/lib64/dotnet|' src/installer/corehost/cli/hostmisc/pal.unix.cpp + sed -i -e 's|FindPythonInterp|FindPython3|' -e 's|PYTHON_EXECUTABLE|Python3_EXECUTABLE|' src/coreclr/src/pal/src/eventprovider/dummyprovider/CMakeLists.txt src/coreclr/src/pal/src/eventprovider/lttngprovider/CMakeLists.txt src/coreclr/src/vm/eventing/CMakeLists.txt src/coreclr/src/vm/eventing/EtwProvider/CMakeLists.txt src/coreclr/src/vm/eventing/eventpipe/CMakeLists.txt + rm -rfv src/coreclr/src/pal/src/libunwind/ removed 'src/coreclr/src/pal/src/libunwind/tests/x64-unwind-badjmp-signal-frame.c' removed 'src/coreclr/src/pal/src/libunwind/tests/x64-test-dwarf-expressions.S' removed 'src/coreclr/src/pal/src/libunwind/tests/test-strerror.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-static-link-loc.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-static-link-gen.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-setjmp.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-reg-state.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-ptrace.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-ptrace-misc.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-proc-info.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-mem.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-init-remote.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-flush-cache.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-coredump-unwind.c' removed 'src/coreclr/src/pal/src/libunwind/tests/test-async-sig.c' removed 'src/coreclr/src/pal/src/libunwind/tests/run-ptrace-misc' removed 'src/coreclr/src/pal/src/libunwind/tests/run-ptrace-mapper' removed 'src/coreclr/src/pal/src/libunwind/tests/run-ia64-test-dyn1' removed 'src/coreclr/src/pal/src/libunwind/tests/run-coredump-unwind-mdi' removed 'src/coreclr/src/pal/src/libunwind/tests/run-coredump-unwind' removed 'src/coreclr/src/pal/src/libunwind/tests/run-check-namespace' removed 'src/coreclr/src/pal/src/libunwind/tests/ppc64-test-altivec.c' removed 'src/coreclr/src/pal/src/libunwind/tests/ppc64-test-altivec-utils.c' removed 'src/coreclr/src/pal/src/libunwind/tests/perf-startup' removed 'src/coreclr/src/pal/src/libunwind/tests/mapper.c' removed 'src/coreclr/src/pal/src/libunwind/tests/ident.c' removed 'src/coreclr/src/pal/src/libunwind/tests/ia64-test-stack.h' removed 'src/coreclr/src/pal/src/libunwind/tests/ia64-test-stack-asm.S' removed 'src/coreclr/src/pal/src/libunwind/tests/ia64-test-sig.c' removed 'src/coreclr/src/pal/src/libunwind/tests/ia64-test-setjmp.c' removed 'src/coreclr/src/pal/src/libunwind/tests/ia64-test-readonly-asm.S' removed 'src/coreclr/src/pal/src/libunwind/tests/ia64-test-rbs.h' removed 'src/coreclr/src/pal/src/libunwind/tests/ia64-test-rbs-asm.S' removed 'src/coreclr/src/pal/src/libunwind/tests/ia64-test-nat-asm.S' removed 'src/coreclr/src/pal/src/libunwind/tests/ia64-test-dyn1.c' removed 'src/coreclr/src/pal/src/libunwind/tests/ia64-dyn-asm.S' removed 'src/coreclr/src/pal/src/libunwind/tests/forker.c' removed 'src/coreclr/src/pal/src/libunwind/tests/flush-cache.h' removed 'src/coreclr/src/pal/src/libunwind/tests/flush-cache.S' removed 'src/coreclr/src/pal/src/libunwind/tests/crasher.c' removed 'src/coreclr/src/pal/src/libunwind/tests/check-namespace.sh.in' removed 'src/coreclr/src/pal/src/libunwind/tests/Makefile.am' removed 'src/coreclr/src/pal/src/libunwind/tests/Lx64-test-dwarf-expressions.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-varargs.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-trace.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-resume-sig.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-resume-sig-rt.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-nomalloc.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-nocalloc.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-mem-validate.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-init.cxx' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-init-local-signal.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-init-local-signal-lib.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-exc.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-dyn1.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-cxx-exceptions.cxx' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-concurrent.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Ltest-bt.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Lrs-race.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Lperf-trace.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Lperf-simple.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Lia64-test-stack.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Lia64-test-readonly.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Lia64-test-rbs.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Lia64-test-nat.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gx64-test-dwarf-expressions.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gtest-trace.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gtest-resume-sig.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gtest-resume-sig-rt.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gtest-nomalloc.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gtest-init.cxx' removed 'src/coreclr/src/pal/src/libunwind/tests/Gtest-exc.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gtest-dyn1.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gtest-concurrent.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gtest-bt.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gperf-trace.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gperf-simple.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gia64-test-stack.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gia64-test-readonly.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gia64-test-rbs.c' removed 'src/coreclr/src/pal/src/libunwind/tests/Gia64-test-nat.c' removed directory 'src/coreclr/src/pal/src/libunwind/tests' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/ucontext_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/siglongjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/setcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/offsets.h' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/longjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/is_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/getcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Ltrace.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Lstash_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Los-solaris.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Los-linux.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Los-freebsd.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Linit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Linit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Lget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Lget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gtrace.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gstash_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gos-solaris.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gos-linux.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gos-freebsd.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Ginit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Ginit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86_64/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/x86_64' removed 'src/coreclr/src/pal/src/libunwind/src/x86/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/x86/siglongjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/x86/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/offsets.h' removed 'src/coreclr/src/pal/src/libunwind/src/x86/longjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/x86/is_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/x86/getcontext-linux.S' removed 'src/coreclr/src/pal/src/libunwind/src/x86/getcontext-freebsd.S' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Los-linux.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Los-freebsd.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Linit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Linit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Lget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Lget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Gos-linux.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Gos-freebsd.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Ginit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Ginit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Gget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Gget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/x86/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/x86' removed 'src/coreclr/src/pal/src/libunwind/src/win/pal-single-threaded.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/win' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/unwind-internal.h' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/libunwind.pc.in' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/SetIP.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/SetGR.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/Resume_or_Rethrow.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/Resume.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/RaiseException.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/GetTextRelBase.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/GetRegionStart.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/GetLanguageSpecificData.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/GetIPInfo.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/GetIP.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/GetGR.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/GetDataRelBase.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/GetCFA.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/GetBSP.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/ForcedUnwind.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/FindEnclosingFunction.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/DeleteException.c' removed 'src/coreclr/src/pal/src/libunwind/src/unwind/Backtrace.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/unwind' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/siglongjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/offsets.h' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/is_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/getcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/gen-offsets.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/elfxx.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Lis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Linit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Linit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Lget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Lget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Gis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Ginit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Ginit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Gget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Gget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/tilegx/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/tilegx' removed 'src/coreclr/src/pal/src/libunwind/src/sh/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/sh/siglongjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/sh/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/offsets.h' removed 'src/coreclr/src/pal/src/libunwind/src/sh/is_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/sh/gen-offsets.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Lis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Linit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Linit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Lget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Lget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Gis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Ginit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Ginit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Gget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Gget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/sh/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/sh' removed 'src/coreclr/src/pal/src/libunwind/src/setjmp/sigsetjmp.c' removed 'src/coreclr/src/pal/src/libunwind/src/setjmp/siglongjmp.c' removed 'src/coreclr/src/pal/src/libunwind/src/setjmp/setjmp_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/setjmp/setjmp.c' removed 'src/coreclr/src/pal/src/libunwind/src/setjmp/longjmp.c' removed 'src/coreclr/src/pal/src/libunwind/src/setjmp/libunwind-setjmp.pc.in' removed directory 'src/coreclr/src/pal/src/libunwind/src/setjmp' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/setcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/is_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/getcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Lis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Linit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Linit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Lget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Lget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Gis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Ginit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Ginit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Gget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Gget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/s390x/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/s390x' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/libunwind-ptrace.pc.in' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_resume.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_reg_offset.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_put_unwind_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_internal.h' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_get_proc_name.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_get_dyn_info_list_addr.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_find_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_elf.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_destroy.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_create.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_accessors.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_access_reg.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_access_mem.c' removed 'src/coreclr/src/pal/src/libunwind/src/ptrace/_UPT_access_fpreg.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/ptrace' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/ucontext_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/setcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/is_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/get_func_addr.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc64/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/ppc64' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/ucontext_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/setcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/is_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/get_func_addr.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Make-arch.in' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc32/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/ppc32' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/siglongjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/longjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Lis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Linit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Linit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Lget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Lget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Gis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Ginit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Ginit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Gget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Gget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/ppc/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/ppc' removed 'src/coreclr/src/pal/src/libunwind/src/os-solaris.c' removed 'src/coreclr/src/pal/src/libunwind/src/os-qnx.c' removed 'src/coreclr/src/pal/src/libunwind/src/os-linux.h' removed 'src/coreclr/src/pal/src/libunwind/src/os-linux.c' removed 'src/coreclr/src/pal/src/libunwind/src/os-hpux.c' removed 'src/coreclr/src/pal/src/libunwind/src/os-freebsd.c' removed 'src/coreclr/src/pal/src/libunwind/src/oop/_OOP_internal.h' removed 'src/coreclr/src/pal/src/libunwind/src/oop/_OOP_find_proc_info.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/oop' removed 'src/coreclr/src/pal/src/libunwind/src/mips/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/mips/siglongjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/mips/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/offsets.h' removed 'src/coreclr/src/pal/src/libunwind/src/mips/is_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/mips/getcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/mips/gen-offsets.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/elfxx.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Lis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Linit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Linit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Lget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Lget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Gis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Ginit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Ginit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Gget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Gget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/mips/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/mips' removed 'src/coreclr/src/pal/src/libunwind/src/mi/strerror.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/mempool.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/init.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/flush_cache.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/dyn-register.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/dyn-info-list.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/dyn-cancel.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/backtrace.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/_ReadULEB.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/_ReadSLEB.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Lset_reg.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Lset_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Lset_caching_policy.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Lset_cache_size.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Lput_dynamic_unwind_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Lget_reg.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Lget_proc_name.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Lget_proc_info_by_ip.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Lget_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Lget_accessors.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Lfind_dynamic_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Ldyn-remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Ldyn-extract.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Ldestroy_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gset_reg.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gset_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gset_caching_policy.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gset_cache_size.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gput_dynamic_unwind_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gget_reg.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gget_proc_name.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gget_proc_info_by_ip.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gget_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gget_accessors.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gfind_dynamic_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gdyn-remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gdyn-extract.c' removed 'src/coreclr/src/pal/src/libunwind/src/mi/Gdestroy_addr_space.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/mi' removed 'src/coreclr/src/pal/src/libunwind/src/libunwind-generic.pc.in' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/unwind_decoder.h' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/ucontext_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/sigsetjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/siglongjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/setjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/regs.h' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/offsets.h' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/mk_cursor_i' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/longjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/getcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/dyn_info_list.S' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/NOTES' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Ltables.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lscript.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lrbs.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lparser.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Linstall_cursor.S' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Linit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Linit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lfind_unwind_table.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gtables.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gscript.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Grbs.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gparser.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Ginstall_cursor.S' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Ginit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Ginit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gfind_unwind_table.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/ia64/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/ia64' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/tables.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/siglongjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/setcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/offsets.h' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/getcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/get_accessors.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Lis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Linit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Linit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Lget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Lget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Gis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Ginit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Ginit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Gget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Gget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/hppa/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/hppa' removed 'src/coreclr/src/pal/src/libunwind/src/elfxx.h' removed 'src/coreclr/src/pal/src/libunwind/src/elfxx.c' removed 'src/coreclr/src/pal/src/libunwind/src/elf64.h' removed 'src/coreclr/src/pal/src/libunwind/src/elf64.c' removed 'src/coreclr/src/pal/src/libunwind/src/elf32.h' removed 'src/coreclr/src/pal/src/libunwind/src/elf32.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/global.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Lpe.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Lparser.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Lfind_unwind_table.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Lfind_proc_info-lsb.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Lfde.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Lexpr.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Gpe.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Gparser.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Gfind_unwind_table.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Gfind_proc_info-lsb.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Gfde.c' removed 'src/coreclr/src/pal/src/libunwind/src/dwarf/Gexpr.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/dwarf' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/libunwind-coredump.pc.in' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UPT_resume.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UPT_put_unwind_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UPT_get_dyn_info_list_addr.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UPT_elf.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UPT_access_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UCD_lib.h' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UCD_internal.h' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UCD_get_proc_name.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UCD_find_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UCD_elf_map_image.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UCD_destroy.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UCD_create.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UCD_accessors.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UCD_access_reg_linux.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UCD_access_reg_freebsd.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/_UCD_access_mem.c' removed 'src/coreclr/src/pal/src/libunwind/src/coredump/README' removed directory 'src/coreclr/src/pal/src/libunwind/src/coredump' removed 'src/coreclr/src/pal/src/libunwind/src/arm/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/arm/siglongjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/arm/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/offsets.h' removed 'src/coreclr/src/pal/src/libunwind/src/arm/is_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/arm/getcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/arm/gen-offsets.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Ltrace.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lstash_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Los-other.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Los-linux.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Los-freebsd.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Linit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Linit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lex_tables.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gtrace.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gstash_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gos-other.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gos-linux.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gos-freebsd.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Ginit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Ginit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gex_tables.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/arm/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/arm' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/unwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/siglongjmp.S' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/regname.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/offsets.h' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/is_fpreg.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/init.h' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/getcontext.S' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/gen-offsets.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Ltrace.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Lstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Lstash_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Lresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Lregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Lreg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Lis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Linit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Linit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Linit.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Lglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Lget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Lget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Lcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Lapply_reg_state.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Gtrace.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Gstep.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Gstash_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Gresume.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Gregs.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Greg_states_iterate.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Gis_signal_frame.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Ginit_remote.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Ginit_local.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Ginit.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Gglobal.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Gget_save_loc.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Gget_proc_info.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Gcreate_addr_space.c' removed 'src/coreclr/src/pal/src/libunwind/src/aarch64/Gapply_reg_state.c' removed directory 'src/coreclr/src/pal/src/libunwind/src/aarch64' removed 'src/coreclr/src/pal/src/libunwind/src/Makefile.am' removed 'src/coreclr/src/pal/src/libunwind/src/CMakeLists.txt' removed directory 'src/coreclr/src/pal/src/libunwind/src' removed 'src/coreclr/src/pal/src/libunwind/scripts/make-L-files' removed 'src/coreclr/src/pal/src/libunwind/scripts/kernel-files.txt' removed 'src/coreclr/src/pal/src/libunwind/scripts/kernel-diff.sh' removed directory 'src/coreclr/src/pal/src/libunwind/scripts' removed 'src/coreclr/src/pal/src/libunwind/libunwind-version.txt' removed 'src/coreclr/src/pal/src/libunwind/include/x86/jmpbuf.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/x86' removed 'src/coreclr/src/pal/src/libunwind/include/win/unistd.h' removed 'src/coreclr/src/pal/src/libunwind/include/win/ucontext.h' removed 'src/coreclr/src/pal/src/libunwind/include/win/sys/ucontext.h' removed 'src/coreclr/src/pal/src/libunwind/include/win/sys/types.h' removed 'src/coreclr/src/pal/src/libunwind/include/win/sys/syscall.h' removed 'src/coreclr/src/pal/src/libunwind/include/win/sys/mman.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/win/sys' removed 'src/coreclr/src/pal/src/libunwind/include/win/signal.h' removed 'src/coreclr/src/pal/src/libunwind/include/win/pthread.h' removed 'src/coreclr/src/pal/src/libunwind/include/win/freebsd-elf_common.h' removed 'src/coreclr/src/pal/src/libunwind/include/win/freebsd-elf64.h' removed 'src/coreclr/src/pal/src/libunwind/include/win/freebsd-elf32.h' removed 'src/coreclr/src/pal/src/libunwind/include/win/fakestdatomic.h.in' removed 'src/coreclr/src/pal/src/libunwind/include/win/fakestdalign.h.in' removed 'src/coreclr/src/pal/src/libunwind/include/win/endian.h' removed 'src/coreclr/src/pal/src/libunwind/include/win/elf.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/win' removed 'src/coreclr/src/pal/src/libunwind/include/unwind.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep/libunwind_i.h.in' removed 'src/coreclr/src/pal/src/libunwind/include/tdep/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-x86_64/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-x86_64/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-x86_64/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-x86_64' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-x86/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-x86/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-x86/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-x86' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-tilegx/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-tilegx/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-tilegx/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-tilegx' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-sh/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-sh/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-sh/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-sh' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-s390x/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-s390x/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-s390x/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-s390x' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-ppc64/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-ppc64/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-ppc64/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-ppc64' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-ppc32/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-ppc32/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-ppc32/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-ppc32' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-mips/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-mips/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-mips/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-mips' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-ia64/script.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-ia64/rse.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-ia64/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-ia64/jmpbuf.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-ia64' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-hppa/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-hppa/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-hppa/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-hppa' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-arm/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-arm/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-arm/ex_tables.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-arm/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-arm' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-aarch64/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-aarch64/jmpbuf.h' removed 'src/coreclr/src/pal/src/libunwind/include/tdep-aarch64/dwarf-config.h' removed directory 'src/coreclr/src/pal/src/libunwind/include/tdep-aarch64' removed 'src/coreclr/src/pal/src/libunwind/include/remote.h' removed 'src/coreclr/src/pal/src/libunwind/include/mempool.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind.h.in' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-x86_64.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-x86.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-tilegx.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-sh.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-s390x.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-ptrace.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-ppc64.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-ppc32.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-mips.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-ia64.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-hppa.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-dynamic.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-coredump.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-common.h.in' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-arm.h' removed 'src/coreclr/src/pal/src/libunwind/include/libunwind-aarch64.h' removed 'src/coreclr/src/pal/src/libunwind/include/dwarf_i.h' removed 'src/coreclr/src/pal/src/libunwind/include/dwarf.h' removed 'src/coreclr/src/pal/src/libunwind/include/dwarf-eh.h' removed 'src/coreclr/src/pal/src/libunwind/include/config.h.cmake.in' removed 'src/coreclr/src/pal/src/libunwind/include/compiler.h' removed directory 'src/coreclr/src/pal/src/libunwind/include' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_strerror.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_strerror.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_step.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_step.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_set_reg.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_set_reg.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_set_fpreg.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_set_fpreg.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_set_caching_policy.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_set_caching_policy.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_set_cache_size.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_set_cache_size.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_resume.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_resume.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_regname.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_regname.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_reg_states_iterate.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_reg_states_iterate.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_is_signal_frame.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_is_signal_frame.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_is_fpreg.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_is_fpreg.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_init_remote.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_init_remote.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_init_local2.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_init_local.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_init_local.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_getcontext.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_getcontext.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_reg.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_reg.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_proc_name.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_proc_name.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_proc_info_by_ip.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_proc_info_by_ip.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_proc_info.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_proc_info.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_fpreg.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_fpreg.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_accessors.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_get_accessors.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_flush_cache.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_flush_cache.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_destroy_addr_space.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_destroy_addr_space.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_create_addr_space.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_create_addr_space.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_backtrace.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_backtrace.man' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_apply_reg_state.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/unw_apply_reg_state.man' removed 'src/coreclr/src/pal/src/libunwind/doc/libunwind.trans' removed 'src/coreclr/src/pal/src/libunwind/doc/libunwind.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/libunwind.man' removed 'src/coreclr/src/pal/src/libunwind/doc/libunwind-setjmp.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/libunwind-setjmp.man' removed 'src/coreclr/src/pal/src/libunwind/doc/libunwind-ptrace.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/libunwind-ptrace.man' removed 'src/coreclr/src/pal/src/libunwind/doc/libunwind-ia64.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/libunwind-ia64.man' removed 'src/coreclr/src/pal/src/libunwind/doc/libunwind-dynamic.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/libunwind-dynamic.man' removed 'src/coreclr/src/pal/src/libunwind/doc/common.tex.in' removed 'src/coreclr/src/pal/src/libunwind/doc/_U_dyn_register.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/_U_dyn_register.man' removed 'src/coreclr/src/pal/src/libunwind/doc/_U_dyn_cancel.tex' removed 'src/coreclr/src/pal/src/libunwind/doc/_U_dyn_cancel.man' removed 'src/coreclr/src/pal/src/libunwind/doc/NOTES' removed 'src/coreclr/src/pal/src/libunwind/doc/Makefile.am' removed directory 'src/coreclr/src/pal/src/libunwind/doc' removed 'src/coreclr/src/pal/src/libunwind/configure.cmake' removed 'src/coreclr/src/pal/src/libunwind/configure.ac' removed 'src/coreclr/src/pal/src/libunwind/config.h.in' removed 'src/coreclr/src/pal/src/libunwind/autogen.sh' removed 'src/coreclr/src/pal/src/libunwind/acinclude.m4' removed 'src/coreclr/src/pal/src/libunwind/TODO' removed 'src/coreclr/src/pal/src/libunwind/README.md' removed 'src/coreclr/src/pal/src/libunwind/README' removed 'src/coreclr/src/pal/src/libunwind/NEWS' removed 'src/coreclr/src/pal/src/libunwind/Makefile.am' removed 'src/coreclr/src/pal/src/libunwind/LICENSE' removed 'src/coreclr/src/pal/src/libunwind/ChangeLog' removed 'src/coreclr/src/pal/src/libunwind/COPYING' removed 'src/coreclr/src/pal/src/libunwind/CMakeLists.txt' removed 'src/coreclr/src/pal/src/libunwind/AUTHORS' removed 'src/coreclr/src/pal/src/libunwind/.travis.yml' removed 'src/coreclr/src/pal/src/libunwind/.gitignore' removed directory 'src/coreclr/src/pal/src/libunwind/' + /usr/bin/subst 's|5.0.100|5.0.406|' global.json + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.13954 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dotnet-runtime-5.0-5.0.15 + export DotNetCoreSdkDir=/usr/lib64/dotnet-bootstrap-5.0 + DotNetCoreSdkDir=/usr/lib64/dotnet-bootstrap-5.0 + export DotNetBuildToolsDir=/usr/lib64/dotnet-bootstrap-5.0 + DotNetBuildToolsDir=/usr/lib64/dotnet-bootstrap-5.0 + cat + cd src/coreclr/ + bash -x ./build-runtime.sh -release -verbose -skipmanaged -ignorewarnings -skiprestoreoptdata -nopgooptimize -portablebuild 0 -cmakeargs -DENABLE_LLDBPLUGIN=0 -cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 + [[ -z '' ]] ++ command -v python3 + PYTHON=/usr/bin/python3 + command -v /usr/bin/python3 + export PYTHON + usage_list+=("-nopgooptimize: do not use profile guided optimizations.") + usage_list+=("-pgoinstrument: generate instrumented code for profile guided optimization enabled binaries.") + usage_list+=("-skipcrossarchnative: Skip building cross-architecture native binaries.") + usage_list+=("-staticanalyzer: skip native image generation.") + echo 'Commencing CoreCLR Repo build' Commencing CoreCLR Repo build +++ dirname ./build-runtime.sh ++ cd . ++ pwd -P + __ProjectRoot=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr ++ cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../.. ++ pwd -P + __RepoRootDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15 + __BuildArch= + __BuildType=Debug + __CodeCoverage=0 + __Compiler=clang + __CompilerMajorVersion= + __CompilerMinorVersion= + __CommonMSBuildArgs= + __ConfigureOnly=0 + __CrossBuild=0 + __DistroRid= + __PgoInstrument=0 + __PgoOptDataPath= + __PgoOptimize=1 + __PortableBuild=1 + __ProjectDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr + __RootBinDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts + __SignTypeArg= + __SkipConfigure=0 + __SkipNative=0 + __SkipCrossArchNative=0 + __SkipGenerateVersion=0 + __SkipManaged=0 + __SkipRestore= + __SkipRestoreOptData=0 + __SourceDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src + __StaticAnalyzer=0 + __UnprocessedBuildArgs= + __UseNinja=0 + __VerboseBuild=0 + __ValidateCrossArg=1 + __CMakeArgs= + source /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/_build-commons.sh ++ usage_list+=("-coverage: optional argument to enable code coverage build (currently supported only for Linux and OSX).") ++ usage_list+=("-skipmanaged: do not build managed components.") ++ usage_list+=("-skipnative: do not build native components.") ++ source /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native/build-commons.sh +++ source /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native/init-os-and-arch.sh +++++ uname -s ++++ OSName=Linux ++++ getprop ro.product.system.model ++++ grep -qi android ++++ case "$OSName" in ++++ os=Linux ++++ '[' Linux = SunOS ']' +++++ uname -m ++++ CPUName=x86_64 ++++ case "$CPUName" in ++++ arch=x64 +++ __BuildArch=x64 +++ __HostArch=x64 +++ __TargetOS=Linux +++ __HostOS=Linux +++ __BuildOS=Linux +++ __msbuildonunsupportedplatform=0 ++++ uname +++ platform=Linux +++ [[ Linux == \F\r\e\e\B\S\D ]] +++ [[ Linux == \N\e\t\B\S\D ]] +++ [[ Linux == \S\u\n\O\S ]] +++ [[ Linux == \D\a\r\w\i\n ]] ++++ nproc --all +++ __NumProc=128 +++ : +++ [[ 12 -le 0 ]] ++++ echo -release ++++ awk '{print tolower($0)}' +++ lowerI=-release +++ case "$lowerI" in +++ __BuildType=Release +++ shift +++ : +++ [[ 11 -le 0 ]] ++++ echo -verbose ++++ awk '{print tolower($0)}' +++ lowerI=-verbose +++ case "$lowerI" in +++ __VerboseBuild=1 +++ shift +++ : +++ [[ 10 -le 0 ]] ++++ echo -skipmanaged ++++ awk '{print tolower($0)}' +++ lowerI=-skipmanaged +++ case "$lowerI" in +++ handle_arguments -skipmanaged -ignorewarnings +++ case "$1" in +++ __SkipManaged=1 +++ __BuildTestWrappers=0 +++ [[ '' == 1 ]] +++ shift +++ : +++ [[ 9 -le 0 ]] ++++ echo -ignorewarnings ++++ awk '{print tolower($0)}' +++ lowerI=-ignorewarnings +++ case "$lowerI" in +++ handle_arguments -ignorewarnings -skiprestoreoptdata +++ case "$1" in +++ handle_arguments_local -ignorewarnings +++ case "$1" in +++ __UnprocessedBuildArgs=' -ignorewarnings' +++ [[ '' == 1 ]] +++ shift +++ : +++ [[ 8 -le 0 ]] ++++ echo -skiprestoreoptdata ++++ awk '{print tolower($0)}' +++ lowerI=-skiprestoreoptdata +++ case "$lowerI" in +++ handle_arguments -skiprestoreoptdata -nopgooptimize +++ case "$1" in +++ handle_arguments_local -skiprestoreoptdata +++ case "$1" in +++ __UnprocessedBuildArgs=' -ignorewarnings -skiprestoreoptdata' +++ [[ '' == 1 ]] +++ shift +++ : +++ [[ 7 -le 0 ]] ++++ echo -nopgooptimize ++++ awk '{print tolower($0)}' +++ lowerI=-nopgooptimize +++ case "$lowerI" in +++ handle_arguments -nopgooptimize -portablebuild +++ case "$1" in +++ handle_arguments_local -nopgooptimize +++ case "$1" in +++ __PgoOptimize=0 +++ __SkipRestoreOptData=1 +++ [[ '' == 1 ]] +++ shift +++ : +++ [[ 6 -le 0 ]] ++++ echo -portablebuild ++++ awk '{print tolower($0)}' +++ lowerI=-portablebuild +++ case "$lowerI" in +++ handle_arguments -portablebuild 0 +++ case "$1" in +++ handle_arguments_local -portablebuild +++ case "$1" in +++ __UnprocessedBuildArgs=' -ignorewarnings -skiprestoreoptdata -portablebuild' +++ [[ '' == 1 ]] +++ shift +++ : +++ [[ 5 -le 0 ]] ++++ echo 0 ++++ awk '{print tolower($0)}' +++ lowerI=0 +++ case "$lowerI" in +++ handle_arguments 0 -cmakeargs +++ case "$1" in +++ handle_arguments_local 0 +++ case "$1" in +++ __UnprocessedBuildArgs=' -ignorewarnings -skiprestoreoptdata -portablebuild 0' +++ [[ '' == 1 ]] +++ shift +++ : +++ [[ 4 -le 0 ]] ++++ echo -cmakeargs ++++ awk '{print tolower($0)}' +++ lowerI=-cmakeargs +++ case "$lowerI" in +++ [[ -n -DENABLE_LLDBPLUGIN=0 ]] +++ __CMakeArgs='-DENABLE_LLDBPLUGIN=0 ' +++ shift +++ shift +++ : +++ [[ 2 -le 0 ]] ++++ echo -cmakeargs ++++ awk '{print tolower($0)}' +++ lowerI=-cmakeargs +++ case "$lowerI" in +++ [[ -n -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 ]] +++ __CMakeArgs='-DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 -DENABLE_LLDBPLUGIN=0 ' +++ shift +++ shift +++ : +++ [[ 0 -le 0 ]] +++ break +++ __CommonMSBuildArgs='/p:TargetArchitecture=x64 /p:Configuration=Release /p:TargetOS=Linux /nodeReuse:false ' +++ [[ 1 == 1 ]] +++ VERBOSE=1 +++ export VERBOSE +++ __CommonMSBuildArgs='/p:TargetArchitecture=x64 /p:Configuration=Release /p:TargetOS=Linux /nodeReuse:false /v:detailed' +++ [[ 1 == 0 ]] +++ [[ 0 == 1 ]] +++ initTargetDistroRid +++ source /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native/init-distro-rid.sh +++ local passedRootfsDir= +++ [[ 0 == 1 ]] +++ initDistroRidGlobal Linux x64 1 '' +++ local targetOs=Linux +++ local buildArch=x64 +++ local isPortable=1 +++ local rootfsDir= +++ '[' 4 -ge 4 ']' +++ rootfsDir= +++ '[' -n '' ']' +++ '[' x64 = armel ']' +++ initNonPortableDistroRid Linux x64 1 '' +++ __DistroRid= +++ local targetOs=Linux +++ local buildArch=x64 +++ local isPortable=1 +++ local rootfsDir= +++ local nonPortableBuildID= +++ '[' Linux = Linux ']' +++ '[' -e /etc/os-release ']' +++ source /etc/os-release ++++ NAME=ALT ++++ VERSION='10.0 ' ++++ ID=altlinux ++++ VERSION_ID=10.0 ++++ PRETTY_NAME='ALT Workstation K 10.0 (Sorbaronia Mitschurinii)' ++++ ANSI_COLOR='1;33' ++++ CPE_NAME=cpe:/o:alt:kworkstation:10.0 ++++ BUILD_ID='ALT 10.0' ++++ HOME_URL=https://www.basealt.ru/ ++++ BUG_REPORT_URL=https://bugs.altlinux.org/ ++++ DOCUMENTATION_URL=https://docs.altlinux.org/ ++++ SUPPORT_URL=https://support.basealt.ru/ +++ (( isPortable == 0 )) +++ '[' Linux = FreeBSD ']' +++ getprop ro.product.system.model +++ grep -qi android +++ '[' Linux = illumos ']' +++ '[' Linux = Solaris ']' +++ '[' -n '' ']' +++ '[' x64 = wasm ']' +++ '[' -z '' ']' +++ __PortableBuild=1 +++ export __PortableBuild +++ local distroRid= +++ /usr/bin/ldd --version +++ grep -q musl +++ strings /usr/bin/ldd +++ grep -q musl +++ '[' -z '' ']' +++ '[' Linux = Linux ']' +++ distroRid=linux-x64 +++ __DistroRid=linux-x64 +++ export __DistroRid +++ '[' -z linux-x64 ']' +++ echo '__DistroRid: linux-x64' __DistroRid: linux-x64 +++ echo '__RuntimeId: linux-x64' __RuntimeId: linux-x64 +++ __RuntimeId=linux-x64 +++ export __RuntimeId +++ isMSBuildOnNETCoreSupported +++ __IsMSBuildOnNETCoreSupported=0 +++ [[ 0 == 1 ]] +++ [[ 1 == 1 ]] +++ __IsMSBuildOnNETCoreSupported=0 +++ return + [[ x64 != \x\6\4 ]] + __LogsDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/log/Release + __MsbuildDebugLogsDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/log/Release/MsbuildDebugLogs + __ConfigTriplet=Linux.x64.Release + __BinDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/bin/coreclr/Linux.x64.Release + __ArtifactsIntermediatesDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr + __IntermediatesDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release + export __IntermediatesDir __ArtifactsIntermediatesDir + __CrossComponentBinDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/bin/coreclr/Linux.x64.Release + __CrossArch=x64 + [[ 0 == 1 ]] + [[ -z /usr/src ]] + __CMakeBinDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/bin/coreclr/Linux.x64.Release + export __CMakeBinDir + setup_dirs_local + setup_dirs + echo Setting up directories for build Setting up directories for build + mkdir -p /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts + mkdir -p /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/bin/coreclr/Linux.x64.Release + mkdir -p /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release + mkdir -p /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/log/Release + mkdir -p /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/log/Release/MsbuildDebugLogs + [[ 0 == 1 ]] + MSBUILDDEBUGPATH=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/log/Release/MsbuildDebugLogs + export MSBUILDDEBUGPATH + check_prereqs + echo 'Checking prerequisites...' Checking prerequisites... + [[ Linux == \O\S\X ]] + [[ 0 == 1 ]] + restore_optdata + local OptDataProjectFilePath=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/.nuget/optdata/optdata.csproj + [[ 1 == 0 ]] + [[ 0 == 1 ]] + __CMakeArgs='-DCLR_CMAKE_PGO_INSTRUMENT=0 -DCLR_CMAKE_OPTDATA_PATH= -DCLR_CMAKE_PGO_OPTIMIZE=0 -DCLR_REPO_ROOT_DIR="/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15" -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 -DENABLE_LLDBPLUGIN=0 ' + [[ 0 == 0 ]] + [[ 0 == 1 ]] + [[ 0 == 1 ]] + build_native x64 /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release 'CoreCLR component' + platformArch=x64 + cmakeDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr + tryrunDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr + intermediatesDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release + message='CoreCLR component' + echo 'Commencing build of "CoreCLR component" for Linux.x64.Release in /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' Commencing build of "CoreCLR component" for Linux.x64.Release in /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release + [[ 0 == 1 ]] + buildTool=make + runtimeVersionHeaderFile=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/../runtime_version.h + [[ 0 == 0 ]] + [[ 0 == 0 ]] + __SkipGenerateVersion=1 + __versionSourceFile=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/version.c + [[ ! -z /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/log/Release ]] + __binlogArg='-bl:"/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/log/Release/GenNativeVersion_Linux.x64.Release.binlog"' + [[ 1 == 0 ]] + __versionSourceLine='static char sccsid[] __attribute__((used)) = "@(#)No version information produced";' + [[ -e /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/version.c ]] + [[ static char sccsid[] __attribute__((used)) = "@(#)No version information produced"; != '' ]] + cat + echo 'static char sccsid[] __attribute__((used)) = "@(#)No version information produced";' + [[ 0 == 1 ]] + engNativeDir=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native + __CMakeArgs='-DCLR_ENG_NATIVE_DIR="/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native" -DCLR_CMAKE_PGO_INSTRUMENT=0 -DCLR_CMAKE_OPTDATA_PATH= -DCLR_CMAKE_PGO_OPTIMIZE=0 -DCLR_REPO_ROOT_DIR="/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15" -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 -DENABLE_LLDBPLUGIN=0 ' + nextCommand='"/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native/gen-buildsys.sh" "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr" "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr" "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release" x64 clang "" "" Release "" -DCLR_ENG_NATIVE_DIR="/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native" -DCLR_CMAKE_PGO_INSTRUMENT=0 -DCLR_CMAKE_OPTDATA_PATH= -DCLR_CMAKE_PGO_OPTIMIZE=0 -DCLR_REPO_ROOT_DIR="/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15" -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 -DENABLE_LLDBPLUGIN=0 ' + echo 'Invoking "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native/gen-buildsys.sh" "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr" "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr" "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release" x64 clang "" "" Release "" -DCLR_ENG_NATIVE_DIR="/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native" -DCLR_CMAKE_PGO_INSTRUMENT=0 -DCLR_CMAKE_OPTDATA_PATH= -DCLR_CMAKE_PGO_OPTIMIZE=0 -DCLR_REPO_ROOT_DIR="/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15" -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 -DENABLE_LLDBPLUGIN=0 ' Invoking "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native/gen-buildsys.sh" "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr" "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr" "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release" x64 clang "" "" Release "" -DCLR_ENG_NATIVE_DIR="/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native" -DCLR_CMAKE_PGO_INSTRUMENT=0 -DCLR_CMAKE_OPTDATA_PATH= -DCLR_CMAKE_PGO_OPTIMIZE=0 -DCLR_REPO_ROOT_DIR="/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15" -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 -DENABLE_LLDBPLUGIN=0 + eval '"/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native/gen-buildsys.sh"' '"/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr"' '"/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr"' '"/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release"' x64 clang '""' '""' Release '""' '-DCLR_ENG_NATIVE_DIR="/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native"' -DCLR_CMAKE_PGO_INSTRUMENT=0 -DCLR_CMAKE_OPTDATA_PATH= -DCLR_CMAKE_PGO_OPTIMIZE=0 '-DCLR_REPO_ROOT_DIR="/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15"' -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 -DENABLE_LLDBPLUGIN=0 ++ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native/gen-buildsys.sh /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release x64 clang '' '' Release '' -DCLR_ENG_NATIVE_DIR=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native -DCLR_CMAKE_PGO_INSTRUMENT=0 -DCLR_CMAKE_OPTDATA_PATH= -DCLR_CMAKE_PGO_OPTIMIZE=0 -DCLR_REPO_ROOT_DIR=/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15 -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 -DENABLE_LLDBPLUGIN=0 WARN: Specific version of clang not found, falling back to use the one in PATH. ~/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release ~/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr Re-run cmake no build system arguments -- The C compiler identification is Clang 13.0.1 -- The CXX compiler identification is Clang 13.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Detected Linux x86_64 -- Performing Test COMPILER_SUPPORTS_F_STACK_PROTECTOR_STRONG -- Performing Test COMPILER_SUPPORTS_F_STACK_PROTECTOR_STRONG - Success -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /usr/bin/clang -- Performing Test HAVE_LTO -- Performing Test HAVE_LTO - Success -- Performing Test COMPILER_SUPPORTS_F_ALIGNED_NEW -- Performing Test COMPILER_SUPPORTS_F_ALIGNED_NEW - Success -- Performing Test HAVE_UDAT_STANDALONE_SHORTER_WEEKDAYS -- Performing Test HAVE_UDAT_STANDALONE_SHORTER_WEEKDAYS - Success -- Looking for ucol_setMaxVariable -- Looking for ucol_setMaxVariable - found -- Looking for include file ieeefp.h -- Looking for include file ieeefp.h - not found -- Looking for include file sys/vmparam.h -- Looking for include file sys/vmparam.h - not found -- Looking for include file mach/vm_types.h -- Looking for include file mach/vm_types.h - not found -- Looking for include file mach/vm_param.h -- Looking for include file mach/vm_param.h - not found -- Looking for 3 include files sys/param.h, ..., machine/npx.h -- Looking for 3 include files sys/param.h, ..., machine/npx.h - not found -- Looking for 3 include files sys/param.h, ..., machine/reg.h -- Looking for 3 include files sys/param.h, ..., machine/reg.h - not found -- Looking for include file machine/vmparam.h -- Looking for include file machine/vmparam.h - not found -- Looking for include file procfs.h -- Looking for include file procfs.h - not found -- Looking for include file crt_externs.h -- Looking for include file crt_externs.h - not found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file pthread_np.h -- Looking for include file pthread_np.h - not found -- Looking for include file sys/lwp.h -- Looking for include file sys/lwp.h - not found -- Looking for include file lwp.h -- Looking for include file lwp.h - not found -- Looking for include file runetype.h -- Looking for include file runetype.h - not found -- Looking for include file semaphore.h -- Looking for include file semaphore.h - found -- Looking for include file sys/prctl.h -- Looking for include file sys/prctl.h - found -- Looking for include file numa.h -- Looking for include file numa.h - not found -- Looking for include files sys/auxv.h, asm/hwcap.h -- Looking for include files sys/auxv.h, asm/hwcap.h - not found -- Looking for include file sys/ptrace.h -- Looking for include file sys/ptrace.h - found -- Looking for getauxval -- Looking for getauxval - found -- Performing Test HAVE_VM_FLAGS_SUPERPAGE_SIZE_ANY -- Performing Test HAVE_VM_FLAGS_SUPERPAGE_SIZE_ANY - Failed -- Performing Test HAVE_MAP_HUGETLB -- Performing Test HAVE_MAP_HUGETLB - Success -- Performing Test HAVE_LTTNG_TRACEPOINT_H -- Performing Test HAVE_LTTNG_TRACEPOINT_H - Success -- Looking for include file sys/sysctl.h -- Looking for include file sys/sysctl.h - not found -- Looking for sysctlbyname -- Looking for sysctlbyname - not found -- Looking for include file gnu/lib-names.h -- Looking for include file gnu/lib-names.h - found -- Looking for kqueue -- Looking for kqueue - not found -- Looking for sched_getaffinity in c -- Looking for sched_getaffinity in c - found -- Looking for sched_setaffinity in c -- Looking for sched_setaffinity in c - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for pthread_create in c -- Looking for pthread_create in c - found -- Looking for pthread_suspend in pthread -- Looking for pthread_suspend in pthread - not found -- Looking for pthread_suspend_np in pthread -- Looking for pthread_suspend_np in pthread - not found -- Looking for pthread_continue in pthread -- Looking for pthread_continue in pthread - not found -- Looking for pthread_continue_np in pthread -- Looking for pthread_continue_np in pthread - not found -- Looking for pthread_resume_np in pthread -- Looking for pthread_resume_np in pthread - not found -- Looking for pthread_attr_get_np in pthread -- Looking for pthread_attr_get_np in pthread - not found -- Looking for pthread_getattr_np in pthread -- Looking for pthread_getattr_np in pthread - found -- Looking for pthread_getcpuclockid in pthread -- Looking for pthread_getcpuclockid in pthread - found -- Looking for pthread_sigqueue in pthread -- Looking for pthread_sigqueue in pthread - found -- Looking for pthread_getaffinity_np in pthread -- Looking for pthread_getaffinity_np in pthread - found -- Looking for sigreturn -- Looking for sigreturn - found -- Looking for _thread_sys_sigreturn -- Looking for _thread_sys_sigreturn - not found -- Looking for copysign -- Looking for copysign - found -- Looking for fsync -- Looking for fsync - found -- Looking for futimes -- Looking for futimes - found -- Looking for utimes -- Looking for utimes - found -- Looking for sysctl -- Looking for sysctl - not found -- Looking for sysinfo -- Looking for sysinfo - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for timegm -- Looking for timegm - found -- Looking for poll -- Looking for poll - found -- Looking for statvfs -- Looking for statvfs - found -- Looking for thread_self -- Looking for thread_self - not found -- Looking for _lwp_self -- Looking for _lwp_self - not found -- Looking for pthread_mach_thread_np -- Looking for pthread_mach_thread_np - not found -- Looking for thread_set_exception_ports -- Looking for thread_set_exception_ports - not found -- Looking for vm_allocate -- Looking for vm_allocate - not found -- Looking for vm_read -- Looking for vm_read - not found -- Looking for directio -- Looking for directio - not found -- Looking for semget -- Looking for semget - found -- Looking for pthread_mutex_init -- Looking for pthread_mutex_init - found -- Looking for ttrace -- Looking for ttrace - not found -- Looking for pipe2 -- Looking for pipe2 - found -- Performing Test HAVE_CPUSET_T -- Performing Test HAVE_CPUSET_T - Failed -- Performing Test HAVE_STAT_TIMESPEC -- Performing Test HAVE_STAT_TIMESPEC - Failed -- Performing Test HAVE_STAT_TIM -- Performing Test HAVE_STAT_TIM - Success -- Performing Test HAVE_STAT_NSEC -- Performing Test HAVE_STAT_NSEC - Failed -- Performing Test HAVE_TM_GMTOFF -- Performing Test HAVE_TM_GMTOFF - Success -- Performing Test HAVE_GREGSET_T -- Performing Test HAVE_GREGSET_T - Success -- Performing Test HAVE___GREGSET_T -- Performing Test HAVE___GREGSET_T - Failed -- Performing Test HAVE_FPSTATE_GLIBC_RESERVED1 -- Performing Test HAVE_FPSTATE_GLIBC_RESERVED1 - Success -- Performing Test HAVE_SYSINFO_WITH_MEM_UNIT -- Performing Test HAVE_SYSINFO_WITH_MEM_UNIT - Success -- Performing Test HAVE_DIRENT_D_TYPE -- Performing Test HAVE_DIRENT_D_TYPE - Success -- Performing Test HAVE_FPREGS_WITH_CW -- Performing Test HAVE_FPREGS_WITH_CW - Failed -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of struct reg -- Check size of struct reg - failed -- Check size of struct pt_regs -- Check size of struct pt_regs - done -- Check size of ucontext_t -- Check size of ucontext_t - done -- Check size of pthread_rwlock_t -- Check size of pthread_rwlock_t - done -- Check size of prwatch_t -- Check size of prwatch_t - failed -- Check size of off_t -- Check size of off_t - done -- Looking for SYS_yield -- Looking for SYS_yield - not found -- Looking for INFTIM -- Looking for INFTIM - not found -- Looking for CHAR_BIT -- Looking for CHAR_BIT - found -- Looking for _DEBUG -- Looking for _DEBUG - not found -- Looking for _SC_PHYS_PAGES -- Looking for _SC_PHYS_PAGES - found -- Looking for _SC_AVPHYS_PAGES -- Looking for _SC_AVPHYS_PAGES - found -- Looking for swapctl -- Looking for swapctl - not found -- Performing Test REALPATH_SUPPORTS_NONEXISTENT_FILES -- Performing Test REALPATH_SUPPORTS_NONEXISTENT_FILES - Failed -- Performing Test SSCANF_SUPPORT_ll -- Performing Test SSCANF_SUPPORT_ll - Success -- Performing Test SSCANF_CANNOT_HANDLE_MISSING_EXPONENT -- Performing Test SSCANF_CANNOT_HANDLE_MISSING_EXPONENT - Failed -- Performing Test HAVE_LARGE_SNPRINTF_SUPPORT -- Performing Test HAVE_LARGE_SNPRINTF_SUPPORT - Success -- Performing Test HAVE_BROKEN_FIFO_SELECT -- Performing Test HAVE_BROKEN_FIFO_SELECT - Failed -- Performing Test HAVE_BROKEN_FIFO_KEVENT -- Performing Test HAVE_BROKEN_FIFO_KEVENT - Failed -- Performing Test HAVE_SCHED_GET_PRIORITY -- Performing Test HAVE_SCHED_GET_PRIORITY - Success -- Performing Test HAVE_SCHED_GETCPU -- Performing Test HAVE_SCHED_GETCPU - Success -- Performing Test HAVE_WORKING_GETTIMEOFDAY -- Performing Test HAVE_WORKING_GETTIMEOFDAY - Success -- Performing Test HAVE_WORKING_CLOCK_GETTIME -- Performing Test HAVE_WORKING_CLOCK_GETTIME - Success -- Performing Test HAVE_CLOCK_MONOTONIC -- Performing Test HAVE_CLOCK_MONOTONIC - Success -- Looking for pthread_condattr_setclock in pthread -- Looking for pthread_condattr_setclock in pthread - found -- Performing Test HAVE_CLOCK_MONOTONIC_COARSE -- Performing Test HAVE_CLOCK_MONOTONIC_COARSE - Success -- Performing Test HAVE_MACH_ABSOLUTE_TIME -- Performing Test HAVE_MACH_ABSOLUTE_TIME - Failed -- Performing Test HAVE_CLOCK_THREAD_CPUTIME -- Performing Test HAVE_CLOCK_THREAD_CPUTIME - Success -- Performing Test HAVE_MMAP_DEV_ZERO -- Performing Test HAVE_MMAP_DEV_ZERO - Success -- Performing Test MMAP_ANON_IGNORES_PROTECTION -- Performing Test MMAP_ANON_IGNORES_PROTECTION - Failed -- Performing Test ONE_SHARED_MAPPING_PER_FILEREGION_PER_PROCESS -- Performing Test ONE_SHARED_MAPPING_PER_FILEREGION_PER_PROCESS - Failed -- Performing Test PTHREAD_CREATE_MODIFIES_ERRNO -- Performing Test PTHREAD_CREATE_MODIFIES_ERRNO - Failed -- Performing Test SEM_INIT_MODIFIES_ERRNO -- Performing Test SEM_INIT_MODIFIES_ERRNO - Failed -- Performing Test HAVE_PROCFS_CTL -- Performing Test HAVE_PROCFS_CTL - Failed -- Performing Test HAVE_PROCFS_MAPS -- Performing Test HAVE_PROCFS_MAPS - Success -- Performing Test HAVE_PROCFS_STAT -- Performing Test HAVE_PROCFS_STAT - Success -- Performing Test HAVE_PROCFS_STATUS -- Performing Test HAVE_PROCFS_STATUS - Success -- Performing Test HAVE_COMPATIBLE_ACOS -- Performing Test HAVE_COMPATIBLE_ACOS - Success -- Performing Test HAVE_COMPATIBLE_ASIN -- Performing Test HAVE_COMPATIBLE_ASIN - Success -- Performing Test HAVE_COMPATIBLE_POW -- Performing Test HAVE_COMPATIBLE_POW - Success -- Performing Test HAVE_VALID_NEGATIVE_INF_POW -- Performing Test HAVE_VALID_NEGATIVE_INF_POW - Success -- Performing Test HAVE_VALID_POSITIVE_INF_POW -- Performing Test HAVE_VALID_POSITIVE_INF_POW - Success -- Performing Test HAVE_COMPATIBLE_ATAN2 -- Performing Test HAVE_COMPATIBLE_ATAN2 - Success -- Performing Test HAVE_COMPATIBLE_EXP -- Performing Test HAVE_COMPATIBLE_EXP - Failed -- Performing Test HAVE_COMPATIBLE_ILOGB0 -- Performing Test HAVE_COMPATIBLE_ILOGB0 - Success -- Performing Test HAVE_COMPATIBLE_ILOGBNAN -- Performing Test HAVE_COMPATIBLE_ILOGBNAN - Failed -- Performing Test HAVE_COMPATIBLE_LOG -- Performing Test HAVE_COMPATIBLE_LOG - Success -- Performing Test HAVE_COMPATIBLE_LOG10 -- Performing Test HAVE_COMPATIBLE_LOG10 - Success -- Performing Test UNGETC_NOT_RETURN_EOF -- Performing Test UNGETC_NOT_RETURN_EOF - Success -- Performing Test HAS_POSIX_SEMAPHORES -- Performing Test HAS_POSIX_SEMAPHORES - Success -- Performing Test GETPWUID_R_SETS_ERRNO -- Performing Test GETPWUID_R_SETS_ERRNO - Success -- Performing Test FILE_OPS_CHECK_FERROR_OF_PREVIOUS_CALL -- Performing Test FILE_OPS_CHECK_FERROR_OF_PREVIOUS_CALL - Failed -- Performing Test UNWIND_CONTEXT_IS_UCONTEXT_T -- Performing Test UNWIND_CONTEXT_IS_UCONTEXT_T - Success -- Looking for unw_get_save_loc -- Looking for unw_get_save_loc - found -- Looking for unw_get_accessors -- Looking for unw_get_accessors - found -- Performing Test HAVE_XSWDEV -- Performing Test HAVE_XSWDEV - Failed -- Performing Test HAVE_XSW_USAGE -- Performing Test HAVE_XSW_USAGE - Failed -- Performing Test HAVE_PUBLIC_XSTATE_STRUCT -- Performing Test HAVE_PUBLIC_XSTATE_STRUCT - Success -- Performing Test HAVE__FPX_SW_BYTES_WITH_XSTATE_BV -- Performing Test HAVE__FPX_SW_BYTES_WITH_XSTATE_BV - Success -- Performing Test HAVE_PR_SET_PTRACER -- Performing Test HAVE_PR_SET_PTRACER - Success -- Performing Test HAVE_FULLY_FEATURED_PTHREAD_MUTEXES -- Performing Test HAVE_FULLY_FEATURED_PTHREAD_MUTEXES - Success -- Performing Test HAVE_FUNCTIONAL_PTHREAD_ROBUST_MUTEXES -- Performing Test HAVE_FUNCTIONAL_PTHREAD_ROBUST_MUTEXES - Success -- Performing Test HAVE_STATFS_FSTYPENAME -- Performing Test HAVE_STATFS_FSTYPENAME - Failed -- Performing Test HAVE_STATVFS_FSTYPENAME -- Performing Test HAVE_STATVFS_FSTYPENAME - Failed -- Checking prototype statfs for HAVE_NON_LEGACY_STATFS -- Checking prototype statfs for HAVE_NON_LEGACY_STATFS - True -- Found Python3: /usr/bin/python3.10 (found version "3.10.4") found components: Interpreter -- Looking for include file sys/mman.h -- Looking for include file sys/mman.h - found -- Performing Test HAVE_PTHREAD_THREADID_NP -- Performing Test HAVE_PTHREAD_THREADID_NP - Failed -- Performing Test HAVE_PTHREAD_GETTHREADID_NP -- Performing Test HAVE_PTHREAD_GETTHREADID_NP - Failed -- Looking for pthread_setaffinity_np in pthread -- Looking for pthread_setaffinity_np in pthread - found -- Looking for process_vm_readv -- Looking for process_vm_readv - found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CLR_CMAKE_OPTDATA_PATH ENABLE_LLDBPLUGIN -- Build files have been written to: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release ~/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr + local exit_code=0 + [[ 0 != 0 ]] + [[ ! -f /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/CMakeCache.txt ]] + [[ 0 == 1 ]] + SAVED_CFLAGS= + SAVED_CXXFLAGS= + SAVED_LDFLAGS= + export 'CFLAGS= ' + CFLAGS=' ' + export 'CXXFLAGS= ' + CXXFLAGS=' ' + export 'LDFLAGS= ' + LDFLAGS=' ' + local exit_code + [[ 0 == 1 ]] + cmake_command=cmake + [[ '' == \w\a\s\m ]] + echo 'Executing cmake --build "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release" --target install -- -j 128' Executing cmake --build "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release" --target install -- -j 128 + cmake --build /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release --target install -- -j 128 gmake: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/cmake -S/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr -B/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/CMakeFiles /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f CMakeFiles/Makefile2 all /usr/bin/gmake -f src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/depend /usr/bin/gmake -f src/pal/src/CMakeFiles/coreclrpal.dir/build.make src/pal/src/CMakeFiles/coreclrpal.dir/depend /usr/bin/gmake -f src/pal/src/CMakeFiles/tracepointprovider_obj.dir/build.make src/pal/src/CMakeFiles/tracepointprovider_obj.dir/depend /usr/bin/gmake -f src/pal/src/eventprovider/lttngprovider/CMakeFiles/generated_eventing_headers.dir/build.make src/pal/src/eventprovider/lttngprovider/CMakeFiles/generated_eventing_headers.dir/depend /usr/bin/gmake -f src/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/build.make src/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/depend /usr/bin/gmake -f src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/build.make src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/depend /usr/bin/gmake -f src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/build.make src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src/CMakeFiles/coreclrpal.dir/DependInfo.cmake --color= Dependee "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src/CMakeFiles/coreclrpal.dir/DependInfo.cmake" is newer than depender "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src/CMakeFiles/coreclrpal.dir/depend.internal". Dependee "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src/CMakeFiles/coreclrpal.dir/depend.internal". Scanning dependencies of target coreclrpal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src/CMakeFiles/tracepointprovider_obj.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/pal/src/CMakeFiles/coreclrpal.dir/build.make src/pal/src/CMakeFiles/coreclrpal.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/hosts/unixcoreruncommon /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/hosts/unixcoreruncommon /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/pal/src/CMakeFiles/tracepointprovider_obj.dir/build.make src/pal/src/CMakeFiles/tracepointprovider_obj.dir/build /usr/bin/gmake -f src/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/build.make src/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/eventprovider/lttngprovider /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src/eventprovider/lttngprovider /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src/eventprovider/lttngprovider/CMakeFiles/generated_eventing_headers.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/debug-pal /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/tools/aot/jitinterface /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/pal/src/eventprovider/lttngprovider/CMakeFiles/generated_eventing_headers.dir/build.make src/pal/src/eventprovider/lttngprovider/CMakeFiles/generated_eventing_headers.dir/build /usr/bin/gmake -f src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/build.make src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/build /usr/bin/gmake -f src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/build.make src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/build /usr/bin/gmake -f src/debug/dbgutil/CMakeFiles/dbgutil.dir/build.make src/debug/dbgutil/CMakeFiles/dbgutil.dir/depend /usr/bin/gmake -f src/palrt/CMakeFiles/palrt.dir/build.make src/palrt/CMakeFiles/palrt.dir/depend /usr/bin/gmake -f src/nativeresources/CMakeFiles/nativeresourcestring.dir/build.make src/nativeresources/CMakeFiles/nativeresourcestring.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/dbgutil /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/dbgutil /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/dbgutil/CMakeFiles/dbgutil.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt/CMakeFiles/palrt.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/debug/dbgutil/CMakeFiles/dbgutil.dir/build.make src/debug/dbgutil/CMakeFiles/dbgutil.dir/build /usr/bin/gmake -f src/palrt/CMakeFiles/palrt.dir/build.make src/palrt/CMakeFiles/palrt.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/nativeresources /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/nativeresources/CMakeFiles/nativeresourcestring.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/nativeresources/CMakeFiles/nativeresourcestring.dir/build.make src/nativeresources/CMakeFiles/nativeresourcestring.dir/build /usr/bin/gmake -f src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make src/md/compiler/CMakeFiles/mdcompiler_dac.dir/depend /usr/bin/gmake -f src/md/runtime/CMakeFiles/mdruntime_dac.dir/build.make src/md/runtime/CMakeFiles/mdruntime_dac.dir/depend /usr/bin/gmake -f src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make src/md/enc/CMakeFiles/mdruntimerw_dac.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler/CMakeFiles/mdcompiler_dac.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build /usr/bin/gmake -f src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/build.make src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/runtime /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/runtime/CMakeFiles/mdruntime_dac.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/md/runtime/CMakeFiles/mdruntime_dac.dir/build.make src/md/runtime/CMakeFiles/mdruntime_dac.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc/CMakeFiles/mdruntimerw_dac.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build /usr/bin/gmake -f src/inc/CMakeFiles/corguids_obj.dir/build.make src/inc/CMakeFiles/corguids_obj.dir/depend /usr/bin/gmake -f src/dlls/mscordac/CMakeFiles/mscordaccore_exports.dir/build.make src/dlls/mscordac/CMakeFiles/mscordaccore_exports.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/hotdata /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/build.make src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc/CMakeFiles/corguids_obj.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/inc/CMakeFiles/corguids_obj.dir/build.make src/inc/CMakeFiles/corguids_obj.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/unix/processdescriptor.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/debug-pal && /usr/bin/clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPAL_IMPLEMENTATION -DPAL_STDCPP_COMPAT -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_POSIX_C_SOURCE=200809L -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/../../pal/inc -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/unix/processdescriptor.cpp.o -MF CMakeFiles/debug-pal_obj.dir/unix/processdescriptor.cpp.o.d -o CMakeFiles/debug-pal_obj.dir/unix/processdescriptor.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/unix/processdescriptor.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscordac /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac/CMakeFiles/mscordaccore_exports.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/dlls/mscordac/CMakeFiles/mscordaccore_exports.dir/build.make src/dlls/mscordac/CMakeFiles/mscordaccore_exports.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/palrt/CMakeFiles/palrt.dir/guid.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/guid.cpp.o -MF CMakeFiles/palrt.dir/guid.cpp.o.d -o CMakeFiles/palrt.dir/guid.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/guid.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building C object src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/__/__/__/__/version.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/tools/aot/jitinterface && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -Djitinterface_EXPORTS -O2 -DNDEBUG -fPIC -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu11 -MD -MT src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/__/__/__/__/version.c.o -MF CMakeFiles/jitinterface.dir/__/__/__/__/version.c.o.d -o CMakeFiles/jitinterface.dir/__/__/__/__/version.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/version.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/dlls/mscordac/CMakeFiles/lib_redefines_inc.dir/build.make src/dlls/mscordac/CMakeFiles/lib_redefines_inc.dir/depend /usr/bin/gmake -f src/dlls/mscordac/CMakeFiles/mscordacobj.dir/build.make src/dlls/mscordac/CMakeFiles/mscordacobj.dir/depend /usr/bin/gmake -f src/dlls/mscorrc/CMakeFiles/mscorrc_obj.dir/build.make src/dlls/mscorrc/CMakeFiles/mscorrc_obj.dir/depend /usr/bin/gmake -f src/dlls/mscordac/CMakeFiles/pal_redefines_file.dir/build.make src/dlls/mscordac/CMakeFiles/pal_redefines_file.dir/depend /usr/bin/gmake -f src/gcinfo/CMakeFiles/gcinfo_obj.dir/build.make src/gcinfo/CMakeFiles/gcinfo_obj.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscordac /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac/CMakeFiles/mscordacobj.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/dlls/mscordac/CMakeFiles/mscordacobj.dir/build.make src/dlls/mscordac/CMakeFiles/mscordacobj.dir/build /usr/bin/gmake -f src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/build.make src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscordac /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac/CMakeFiles/pal_redefines_file.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building C object src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/entrypoints.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/entrypoints.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/entrypoints.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/entrypoints.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/entrypoints.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscordac /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac/CMakeFiles/lib_redefines_inc.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/dlls/mscordac/CMakeFiles/lib_redefines_inc.dir/build.make src/dlls/mscordac/CMakeFiles/lib_redefines_inc.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/CMakeFiles/gcinfo_obj.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Generating exports file /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac/mscordac.exports cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac && /bin/awk -f /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native/generateversionscript.awk -v prefix=DAC_ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscordac/mscordac_unixexports.src >/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac/mscordac.exports gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/dlls/mscordac/CMakeFiles/pal_redefines_file.dir/build.make src/dlls/mscordac/CMakeFiles/pal_redefines_file.dir/build /usr/bin/gmake -f src/gcinfo/CMakeFiles/gcinfo_obj.dir/build.make src/gcinfo/CMakeFiles/gcinfo_obj.dir/build /usr/bin/gmake -f src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/build.make src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/build gmake[1]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Built target mscordaccore_exports gmake[1]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/build.make src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building C object src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_localeNumberData.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_localeNumberData.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_localeNumberData.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_localeNumberData.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_localeNumberData.c PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_localeNumberData.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_localeNumberData.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_localeNumberData.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_localeNumberData.c 1. parser at end of file 2. Optimizer #0 0x00007f0827c04362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f0827beac64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f0827b5bb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f0826d0dfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f0828565eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f0828567b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f082889247f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f0829ee77c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f0827d574fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f0829400662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f0827d578ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f0829400612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f0827d570f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f082e17a4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f082e17d0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f082e423110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f082d5d0149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f082e9c8b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f082e96c787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f082ea0f66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055ccad0984c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055ccad09ec05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f082e6ee525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f0827b461f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f082e6f559e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f082e70c753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f082e70cb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f082e70db2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055ccad092eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f0826cf920c (/lib64/libc.so.6+0x2e20c) #30 0x00007f0826cf92bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055ccad093561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pal_localeNumberData-4ca470.c clang-13: note: diagnostic msg: /usr/src/tmp/pal_localeNumberData-4ca470.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make:146: src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_localeNumberData.c.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... /usr/bin/gmake -f src/jit/CMakeFiles/jit_exports.dir/build.make src/jit/CMakeFiles/jit_exports.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/dlls/mscordac/CMakeFiles/mscordacobj.dir/mscordac.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_NO_HOST -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DFX_VER_INTERNALNAME_STR=mscordaccore.dll -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/dlls/mscordac/CMakeFiles/mscordacobj.dir/mscordac.cpp.o -MF CMakeFiles/mscordacobj.dir/mscordac.cpp.o.d -o CMakeFiles/mscordacobj.dir/mscordac.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscordac/mscordac.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Preprocessing /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscorrc/include.rc. Outputting to /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscorrc/mscorrc.rc.i cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscorrc && /usr/bin/clang++ -E -P -DNDEBUG -DURTBLDENV_FRIENDLY=Retail -DHOST_AMD64 -DHOST_64BIT -DHOST_UNIX -DTARGET_AMD64 -DTARGET_64BIT -DTARGET_UNIX -DDISABLE_CONTRACTS -DTARGET_LINUX -DUNIX_AMD64_ABI -D_BLD_CLR -DDEBUGGING_SUPPORTED -DPROFILING_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_BASICFREEZE -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EVENT_TRACE -DFEATURE_PERFTRACING -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MULTICOREJIT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PGO -DUNIX_AMD64_ABI_ITF -DFEATURE_MULTIREG_RETURN -DUNIX_AMD64_ABI -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -D_SECURE_SCL=0 -DUNICODE -D_UNICODE -DFEATURE_EH_FUNCLETS -DFEATURE_STANDALONE_GC -DFX_VER_INTERNALNAME_STR=mscorrc.dll -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscorrc/../../pal/prebuilt/corerror -o /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscorrc/mscorrc.rc.i -x c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscorrc/include.rc gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Generating DAC export redefines file -> /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc/libredefines.inc cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac && /bin/awk -f /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/generateredefinesfile.awk -v jump=jmp -v prefix1=DAC_ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscordac/mscordac_unixexports.src > /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc/libredefines.inc gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/vm/wks/CMakeFiles/preprocessd_asm.dir/build.make src/vm/wks/CMakeFiles/preprocessd_asm.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Generating PAL redefines file -> /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc/palredefines.inc cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscordac && /bin/awk -f /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/generateredefinesfile.awk -v jump=jmp -v prefix2=DAC_ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscordac/mscordac_unixexports.src > /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc/palredefines.inc gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building C object src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_localeStringData.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_localeStringData.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_localeStringData.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_localeStringData.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_localeStringData.c PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_localeStringData.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_localeStringData.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_localeStringData.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_localeStringData.c 1. parser at end of file 2. Optimizer #0 0x00007f0fc6a88362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f0fc6a6ec64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f0fc69dfb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f0fc5b91fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f0fc68de7f4 llvm::AsmPrinter::emitMachineConstantPoolValue(llvm::MachineConstantPoolValue*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x8e07f4) #5 0x00007f0fc73ebb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f0fc771647f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f0fc8d6b7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f0fc6bdb4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f0fc8284662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f0fc6bdb8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f0fc8284612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f0fc6bdb0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f0fccffe4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f0fcd0010b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f0fcd2a7110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f0fcc454149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f0fcd84cb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f0fcd7f0787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f0fcd89366b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005579720a44c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005579720aac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f0fcd572525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f0fc69ca1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f0fcd57959e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f0fcd590753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f0fcd590b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f0fcd591b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055797209eeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f0fc5b7d20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f0fc5b7d2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055797209f561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pal_localeStringData-da1bb8.c clang-13: note: diagnostic msg: /usr/src/tmp/pal_localeStringData-da1bb8.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make:160: src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_localeStringData.c.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfo_arm64 /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/gcinfo_arm64 /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/build.make src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/unix/twowaypipe.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/debug-pal && /usr/bin/clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPAL_IMPLEMENTATION -DPAL_STDCPP_COMPAT -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_POSIX_C_SOURCE=200809L -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/../../pal/inc -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/unix/twowaypipe.cpp.o -MF CMakeFiles/debug-pal_obj.dir/unix/twowaypipe.cpp.o.d -o CMakeFiles/debug-pal_obj.dir/unix/twowaypipe.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/unix/twowaypipe.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPAL_IMPLEMENTATION -DPAL_STDCPP_COMPAT -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_POSIX_C_SOURCE=200809L -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/../../pal/inc -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/unix/twowaypipe.cpp.o -MF CMakeFiles/debug-pal_obj.dir/unix/twowaypipe.cpp.o.d -o CMakeFiles/debug-pal_obj.dir/unix/twowaypipe.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/unix/twowaypipe.cpp 1. parser at end of file 2. Optimizer #0 0x00007f1e3d922362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f1e3d908c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f1e3d879b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f1e3ca2bfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f1e3e283eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f1e3e285b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f1e3e5b047f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f1e3fc057c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f1e3da754fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f1e3f11e662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f1e3da758ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f1e3f11e612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f1e3da750f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f1e43e984bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f1e43e9b0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f1e44141110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f1e432ee149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f1e446e6b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f1e4468a787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f1e4472d66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055cef4bd44c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055cef4bdac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f1e4440c525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f1e3d8641f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f1e4441359e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f1e4442a753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f1e4442ab3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f1e4442bb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055cef4bceeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f1e3ca1720c (/lib64/libc.so.6+0x2e20c) #30 0x00007f1e3ca172bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055cef4bcf561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/twowaypipe-30d276.cpp clang-13: note: diagnostic msg: /usr/src/tmp/twowaypipe-30d276.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/build.make:90: src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/unix/twowaypipe.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/jit /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/jit /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/jit/CMakeFiles/jit_exports.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building C object src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_idna.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_idna.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_idna.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_idna.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_idna.c PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_idna.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_idna.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_idna.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_idna.c 1. parser at end of file 2. Optimizer #0 0x00007fd9716e7362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd9716cdc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd97163eb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd9707f0fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd972048eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fd97204ab1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fd97237547f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fd9739ca7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fd97183a4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fd972ee3662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fd97183a8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fd972ee3612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fd97183a0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fd977c5d4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fd977c600b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fd977f06110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fd9770b3149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fd9784abb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fd97844f787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fd9784f266b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000560cb40314c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000560cb4037c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fd9781d1525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fd9716291f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fd9781d859e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fd9781ef753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fd9781efb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fd9781f0b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000560cb402beb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fd9707dc20c (/lib64/libc.so.6+0x2e20c) #30 0x00007fd9707dc2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000560cb402c561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pal_idna-cf8a20.c clang-13: note: diagnostic msg: /usr/src/tmp/pal_idna-cf8a20.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make:118: src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_idna.c.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/jit/CMakeFiles/jit_exports.dir/build.make src/jit/CMakeFiles/jit_exports.dir/build gmake[1]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Built target mscordacobj gmake[1]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Built target lib_redefines_inc gmake[1]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/depend /usr/bin/gmake -f src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/palrt/CMakeFiles/palrt.dir/variant.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/variant.cpp.o -MF CMakeFiles/palrt.dir/variant.cpp.o.d -o CMakeFiles/palrt.dir/variant.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/variant.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building C object src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_locale.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_locale.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_locale.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_locale.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_locale.c PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_locale.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_locale.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_locale.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_locale.c 1. parser at end of file 2. Optimizer #0 0x00007f57990b6362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f579909cc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f579900db28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f57981bffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f5799a17eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f5799a19b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f5799d4447f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f579b3997c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f57992094fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f579a8b2662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f57992098ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f579a8b2612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f57992090f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f579f62c4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f579f62f0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f579f8d5110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f579ea82149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f579fe7ab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f579fe1e787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f579fec166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055ae4ba194c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055ae4ba1fc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f579fba0525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f5798ff81f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f579fba759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f579fbbe753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f579fbbeb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f579fbbfb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055ae4ba13eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f57981ab20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f57981ab2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055ae4ba14561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pal_locale-17853f.c clang-13: note: diagnostic msg: /usr/src/tmp/pal_locale-17853f.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make:132: src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_locale.c.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/depend gmake[1]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Built target pal_redefines_file gmake[1]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/xcordebug_i.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -std=gnu++11 -MD -MT src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/xcordebug_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/xcordebug_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/xcordebug_i.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/idl/xcordebug_i.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/vm/wks /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/vm/wks /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/vm/wks/CMakeFiles/preprocessd_asm.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/unix/diagnosticsipc.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/debug-pal && /usr/bin/clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPAL_IMPLEMENTATION -DPAL_STDCPP_COMPAT -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_POSIX_C_SOURCE=200809L -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/../../pal/inc -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/unix/diagnosticsipc.cpp.o -MF CMakeFiles/debug-pal_obj.dir/unix/diagnosticsipc.cpp.o.d -o CMakeFiles/debug-pal_obj.dir/unix/diagnosticsipc.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/unix/diagnosticsipc.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPAL_IMPLEMENTATION -DPAL_STDCPP_COMPAT -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_POSIX_C_SOURCE=200809L -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/../../pal/inc -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/unix/diagnosticsipc.cpp.o -MF CMakeFiles/debug-pal_obj.dir/unix/diagnosticsipc.cpp.o.d -o CMakeFiles/debug-pal_obj.dir/unix/diagnosticsipc.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/unix/diagnosticsipc.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/unix/diagnosticsipc.cpp:41:1: current parser token 'IpcStream' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/unix/diagnosticsipc.cpp:35:28: LLVM IR generation of declaration 'IpcStream::DiagnosticsIpc::~DiagnosticsIpc' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/unix/diagnosticsipc.cpp:35:28: Generating code for declaration 'IpcStream::DiagnosticsIpc::~DiagnosticsIpc' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/debug-pal/unix/diagnosticsipc.cpp:36:1: LLVM IR generation of compound statement ('{}') #0 0x00007fed475ee362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fed475d4c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fed47545b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fed466f7fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fed467441cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fed466f7f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fed466e246b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fed467385b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fed4674de8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fed4674fa3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fed467525af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fed476ea051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fed4dca5abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fed4dc75cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fed4dc5ee34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fed4dcba564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fed4dcc8685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fed4dcc92bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fed4dd0c85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fed4dd0c385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fed4dcd0687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fed4dcd087e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fed4ddc027a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fed4ddc10ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fed4ddc13a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fed4ddc1613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fed4ddc0126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fed4dc6714c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fed4de26755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fed4dc466d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fed4de92df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fed4de31a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fed4de88e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #33 0x00007fed4dea5272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #34 0x00007fed4ddfe9f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #35 0x00007fed4cfba0d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #36 0x00007fed4e3b2b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #37 0x00007fed4e356787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #38 0x00007fed4e3f966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #39 0x000055711da904c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #40 0x000055711da96c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #41 0x00007fed4e0d8525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #42 0x00007fed475301f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #43 0x00007fed4e0df59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #44 0x00007fed4e0f6753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #45 0x00007fed4e0f6b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #46 0x00007fed4e0f7b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #47 0x000055711da8aeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #48 0x00007fed466e320c (/lib64/libc.so.6+0x2e20c) #49 0x00007fed466e32bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #50 0x000055711da8b561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/diagnosticsipc-4a203d.cpp clang-13: note: diagnostic msg: /usr/src/tmp/diagnosticsipc-4a203d.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/build.make:76: src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/unix/diagnosticsipc.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:1717: src/debug/debug-pal/CMakeFiles/debug-pal_obj.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... /usr/bin/gmake -f src/vm/wks/CMakeFiles/preprocessd_asm.dir/build.make src/vm/wks/CMakeFiles/preprocessd_asm.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building C object src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_casing.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_casing.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_casing.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_casing.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_casing.c PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_casing.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_casing.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_casing.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_casing.c 1. parser at end of file 2. Optimizer #0 0x00007f28dd6e5362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f28dd6cbc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f28dd63cb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f28dc7eefb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f28dd534fe2 llvm::PMDataManager::getOnTheFlyPass(llvm::Pass*, void const*, llvm::Function&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x8d9fe2) #5 0x00007f28de001457 llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13a6457) #6 0x00007f28de047004 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ec004) #7 0x00007f28de048b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #8 0x00007f28de37347f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #9 0x00007f28df9c87c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #10 0x00007f28dd8384fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #11 0x00007f28deee1662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #12 0x00007f28dd8388ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #13 0x00007f28deee1612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #14 0x00007f28dd8380f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #15 0x00007f28e3c5b4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #16 0x00007f28e3c5e0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #17 0x00007f28e3f04110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #18 0x00007f28e30b1149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #19 0x00007f28e44a9b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #20 0x00007f28e444d787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #21 0x00007f28e44f066b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #22 0x00005645030994c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #23 0x000056450309fc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #24 0x00007f28e41cf525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #25 0x00007f28dd6271f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #26 0x00007f28e41d659e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #27 0x00007f28e41ed753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #28 0x00007f28e41edb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #29 0x00007f28e41eeb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #30 0x0000564503093eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #31 0x00007f28dc7da20c (/lib64/libc.so.6+0x2e20c) #32 0x00007f28dc7da2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #33 0x0000564503094561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pal_casing-8b983e.c clang-13: note: diagnostic msg: /usr/src/tmp/pal_casing-8b983e.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make:90: src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_casing.c.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Nothing to be done for 'src/vm/wks/CMakeFiles/preprocessd_asm.dir/build'. gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/palrt/CMakeFiles/palrt.dir/comem.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/comem.cpp.o -MF CMakeFiles/palrt.dir/comem.cpp.o.d -o CMakeFiles/palrt.dir/comem.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/comem.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Generating exports file /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/jit/clrjit.exports cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/jit && /bin/awk -f /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/eng/native/generateversionscript.awk /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/jit/ClrJit.PAL.exports >/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/jit/clrjit.exports gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/sospriv_i.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -std=gnu++11 -MD -MT src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/sospriv_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/sospriv_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/sospriv_i.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/idl/sospriv_i.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building C object src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_calendarData.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_calendarData.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_calendarData.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_calendarData.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_calendarData.c PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_calendarData.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_calendarData.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_calendarData.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_calendarData.c 1. parser at end of file 2. Optimizer #0 0x00007eff19170362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007eff19156c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007eff190c7b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007eff18279fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007eff18fbffe2 llvm::PMDataManager::getOnTheFlyPass(llvm::Pass*, void const*, llvm::Function&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x8d9fe2) #5 0x00007eff19a8c457 llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13a6457) #6 0x00007eff19ad2004 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ec004) #7 0x00007eff19ad3b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #8 0x00007eff19dfe47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #9 0x00007eff1b4537c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #10 0x00007eff192c34fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #11 0x00007eff1a96c662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #12 0x00007eff192c38ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #13 0x00007eff1a96c612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #14 0x00007eff192c30f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #15 0x00007eff1f6e64bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #16 0x00007eff1f6e90b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #17 0x00007eff1f98f110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #18 0x00007eff1eb3c149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #19 0x00007eff1ff34b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #20 0x00007eff1fed8787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #21 0x00007eff1ff7b66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #22 0x000055784a40c4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #23 0x000055784a412c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #24 0x00007eff1fc5a525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #25 0x00007eff190b21f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #26 0x00007eff1fc6159e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #27 0x00007eff1fc78753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #28 0x00007eff1fc78b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #29 0x00007eff1fc79b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #30 0x000055784a406eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #31 0x00007eff1826520c (/lib64/libc.so.6+0x2e20c) #32 0x00007eff182652bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #33 0x000055784a407561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pal_calendarData-1224b9.c clang-13: note: diagnostic msg: /usr/src/tmp/pal_calendarData-1224b9.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make:76: src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_calendarData.c.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build /usr/bin/gmake -f src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corprof_i.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -std=gnu++11 -MD -MT src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corprof_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corprof_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corprof_i.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/idl/corprof_i.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build gmake[1]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Built target preprocessd_asm gmake[1]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Built target jit_exports gmake[1]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/palrt/CMakeFiles/palrt.dir/coguid.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/coguid.cpp.o -MF CMakeFiles/palrt.dir/coguid.cpp.o.d -o CMakeFiles/palrt.dir/coguid.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/coguid.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/coguid.cpp.o -MF CMakeFiles/palrt.dir/coguid.cpp.o.d -o CMakeFiles/palrt.dir/coguid.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/coguid.cpp 1. parser at end of file 2. Optimizer #0 0x00007fc9d63b9362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fc9d639fc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fc9d6310b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fc9d54c2fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fc9d6d1aeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fc9d6d1cb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fc9d704747f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fc9d869c7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fc9d650c4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fc9d7bb5662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fc9d650c8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fc9d7bb5612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fc9d650c0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fc9dc92f4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fc9dc9320b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fc9dcbd8110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fc9dbd85149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fc9dd17db41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fc9dd121787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fc9dd1c466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000556c062bd4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000556c062c3c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fc9dcea3525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fc9d62fb1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fc9dceaa59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fc9dcec1753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fc9dcec1b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fc9dcec2b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000556c062b7eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fc9d54ae20c (/lib64/libc.so.6+0x2e20c) #30 0x00007fc9d54ae2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000556c062b8561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/coguid-0ff4d3.cpp clang-13: note: diagnostic msg: /usr/src/tmp/coguid-0ff4d3.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/palrt/CMakeFiles/palrt.dir/build.make:90: src/palrt/CMakeFiles/palrt.dir/coguid.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrdata_i.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -std=gnu++11 -MD -MT src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrdata_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrdata_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrdata_i.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/idl/clrdata_i.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/corinfoexception.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/tools/aot/jitinterface && /usr/bin/clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -Djitinterface_EXPORTS -O2 -DNDEBUG -fPIC -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/corinfoexception.cpp.o -MF CMakeFiles/jitinterface.dir/corinfoexception.cpp.o.d -o CMakeFiles/jitinterface.dir/corinfoexception.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/corinfoexception.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -Djitinterface_EXPORTS -O2 -DNDEBUG -fPIC -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/corinfoexception.cpp.o -MF CMakeFiles/jitinterface.dir/corinfoexception.cpp.o.d -o CMakeFiles/jitinterface.dir/corinfoexception.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/corinfoexception.cpp 1. parser at end of file 2. Optimizer #0 0x00007f6df6941362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f6df6927c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f6df6898b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f6df5a4afb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f6df6aa4096 llvm::ValueHandleBase::AddToUseList() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbed096) #5 0x00007f6df6e20f98 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xf69f98) #6 0x00007f6df73205ff (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x14695ff) #7 0x00007f6df73235cc (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x146c5cc) #8 0x00007f6df7217277 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1360277) #9 0x00007f6df721803f llvm::CloneAndPruneIntoFromInst(llvm::Function*, llvm::Function const*, llvm::Instruction const*, llvm::ValueMap > >&, bool, llvm::SmallVectorImpl&, char const*, llvm::ClonedCodeInfo*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x136103f) #10 0x00007f6df7262b93 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13abb93) #11 0x00007f6df76c66c6 llvm::InlinerPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x180f6c6) #12 0x00007f6df76c7902 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1810902) #13 0x00007f6df78b588b llvm::PassManager, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x19fe88b) #14 0x00007f6df76c7d42 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1810d42) #15 0x00007f6df78b70b6 llvm::DevirtSCCRepeatedPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1a000b6) #16 0x00007f6df76c7ca2 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1810ca2) #17 0x00007f6df78b6679 llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x19ff679) #18 0x00007f6df76c7cf2 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1810cf2) #19 0x00007f6df6a940f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #20 0x00007f6df76c79fd llvm::ModuleInlinerWrapperPass::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x18109fd) #21 0x00007f6df8c23a72 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6ca72) #22 0x00007f6df6a940f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #23 0x00007f6dfceb74bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #24 0x00007f6dfceba0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #25 0x00007f6dfd160110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #26 0x00007f6dfc30d149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #27 0x00007f6dfd705b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #28 0x00007f6dfd6a9787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #29 0x00007f6dfd74c66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #30 0x000055623402d4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #31 0x0000556234033c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #32 0x00007f6dfd42b525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #33 0x00007f6df68831f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #34 0x00007f6dfd43259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #35 0x00007f6dfd449753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #36 0x00007f6dfd449b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #37 0x00007f6dfd44ab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #38 0x0000556234027eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #39 0x00007f6df5a3620c (/lib64/libc.so.6+0x2e20c) #40 0x00007f6df5a362bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #41 0x0000556234028561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/corinfoexception-e8384c.cpp clang-13: note: diagnostic msg: /usr/src/tmp/corinfoexception-e8384c.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/build.make:118: src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/corinfoexception.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jithost.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/tools/aot/jitinterface && /usr/bin/clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -Djitinterface_EXPORTS -O2 -DNDEBUG -fPIC -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jithost.cpp.o -MF CMakeFiles/jitinterface.dir/jithost.cpp.o.d -o CMakeFiles/jitinterface.dir/jithost.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jithost.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -Djitinterface_EXPORTS -O2 -DNDEBUG -fPIC -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jithost.cpp.o -MF CMakeFiles/jitinterface.dir/jithost.cpp.o.d -o CMakeFiles/jitinterface.dir/jithost.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jithost.cpp 1. parser at end of file 2. Optimizer #0 0x00007f5949099362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f594907fc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f5948ff0b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f59481a2fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f59481ef1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f59481a2f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f594818d46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f59481e35b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f59481f8e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f59481faa3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f59481fd5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f5949953595 llvm::DetatchDeadBlocks(llvm::ArrayRef, llvm::SmallVectorImpl >*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1344595) #12 0x00007f59499537ff llvm::DeleteDeadBlocks(llvm::ArrayRef, llvm::DomTreeUpdater*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13447ff) #13 0x00007f59499becab llvm::removeUnreachableBlocks(llvm::Function&, llvm::DomTreeUpdater*, llvm::MemorySSAUpdater*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13afcab) #14 0x00007f5949d5cb19 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174db19) #15 0x00007f5949d5dee5 llvm::SimplifyCFGPass::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174eee5) #16 0x00007f594abc7222 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x25b8222) #17 0x00007f59491ec4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #18 0x00007f594a895662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #19 0x00007f59491ec8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #20 0x00007f594a895612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #21 0x00007f59491ec0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #22 0x00007f594f60f4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #23 0x00007f594f6120b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #24 0x00007f594f8b8110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #25 0x00007f594ea65149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #26 0x00007f594fe5db41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #27 0x00007f594fe01787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #28 0x00007f594fea466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #29 0x000055ad18ace4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #30 0x000055ad18ad4c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #31 0x00007f594fb83525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #32 0x00007f5948fdb1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #33 0x00007f594fb8a59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #34 0x00007f594fba1753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #35 0x00007f594fba1b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #36 0x00007f594fba2b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #37 0x000055ad18ac8eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #38 0x00007f594818e20c (/lib64/libc.so.6+0x2e20c) #39 0x00007f594818e2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #40 0x000055ad18ac9561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/jithost-25f56b.cpp clang-13: note: diagnostic msg: /usr/src/tmp/jithost-25f56b.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/build.make:76: src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jithost.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jitinterface.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/tools/aot/jitinterface && /usr/bin/clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -Djitinterface_EXPORTS -O2 -DNDEBUG -fPIC -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jitinterface.cpp.o -MF CMakeFiles/jitinterface.dir/jitinterface.cpp.o.d -o CMakeFiles/jitinterface.dir/jitinterface.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jitinterface.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -Djitinterface_EXPORTS -O2 -DNDEBUG -fPIC -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jitinterface.cpp.o -MF CMakeFiles/jitinterface.dir/jitinterface.cpp.o.d -o CMakeFiles/jitinterface.dir/jitinterface.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jitinterface.cpp 1. parser at end of file 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jitinterface.cpp:27:27: LLVM IR generation of declaration 'JitInterfaceWrapper::runWithErrorTrap' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jitinterface.cpp:27:27: Generating code for declaration 'JitInterfaceWrapper::runWithErrorTrap' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jitinterface.cpp:31:5: LLVM IR generation of compound statement ('{}') #0 0x00007f8b834bc362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f8b834a2c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f8b83413b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f8b825c5fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f8b826121cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f8b825c5f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f8b825b046b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f8b826065b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f8b8261be8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f8b8261da3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f8b826205af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f8b835b8051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f8b89b437c8 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67c8) #13 0x00007f8b89b43cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f8b89b2ce34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f8b89b85ed0 clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16e8ed0) #16 0x00007f8b89b9f173 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1702173) #17 0x00007f8b89bda85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #18 0x00007f8b89bda385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #19 0x00007f8b89b9e687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #20 0x00007f8b89b9e87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #21 0x00007f8b89c8e27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #22 0x00007f8b89c8f0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #23 0x00007f8b89c8f3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #24 0x00007f8b89c8f613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #25 0x00007f8b89c8e126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007f8b89b6d525 clang::CodeGen::CodeGenFunction::EmitCXXTryStmt(clang::CXXTryStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d0525) #27 0x00007f8b89c8f0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #28 0x00007f8b89ce1c4a clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1844c4a) #29 0x00007f8b89cf445f clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185745f) #30 0x00007f8b89cfb4a9 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185e4a9) #31 0x00007f8b89cffbb3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862bb3) #32 0x00007f8b89d2402f (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x188702f) #33 0x00007f8b89d73272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #34 0x00007f8b89ccc9f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #35 0x00007f8b88e880d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #36 0x00007f8b8a280b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #37 0x00007f8b8a224787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #38 0x00007f8b8a2c766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #39 0x0000556c4c6e24c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #40 0x0000556c4c6e8c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #41 0x00007f8b89fa6525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #42 0x00007f8b833fe1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #43 0x00007f8b89fad59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #44 0x00007f8b89fc4753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #45 0x00007f8b89fc4b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #46 0x00007f8b89fc5b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #47 0x0000556c4c6dceb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #48 0x00007f8b825b120c (/lib64/libc.so.6+0x2e20c) #49 0x00007f8b825b12bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #50 0x0000556c4c6dd561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/jitinterface-d773d0.cpp clang-13: note: diagnostic msg: /usr/src/tmp/jitinterface-d773d0.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/build.make:90: src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jitinterface.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/misc.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/misc.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/misc.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/misc.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/misc.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/misc.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/misc.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/misc.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/misc.cpp 1. parser at end of file 2. Optimizer #0 0x00007f6037f32362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f6037f18c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f6037e89b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f603703bfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f6038893eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f6038895b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f6038bc047f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f603a2157c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f60380854fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f603972e662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f60380858ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f603972e612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f60380850f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f603e4a84bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f603e4ab0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f603e751110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f603d8fe149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f603ecf6b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f603ec9a787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f603ed3d66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000056074c0d84c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000056074c0dec05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f603ea1c525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f6037e741f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f603ea2359e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f603ea3a753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f603ea3ab3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f603ea3bb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000056074c0d2eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f603702720c (/lib64/libc.so.6+0x2e20c) #30 0x00007f60370272bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000056074c0d3561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/misc-53a02e.cpp clang-13: note: diagnostic msg: /usr/src/tmp/misc-53a02e.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:146: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/misc.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 4%] Building CXX object src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corpub_i.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -std=gnu++11 -MD -MT src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corpub_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corpub_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corpub_i.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/idl/corpub_i.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building C object src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_timeZoneInfo.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_timeZoneInfo.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_timeZoneInfo.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_timeZoneInfo.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_timeZoneInfo.c PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_timeZoneInfo.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_timeZoneInfo.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_timeZoneInfo.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_timeZoneInfo.c 1. parser at end of file 2. Optimizer #0 0x00007ff5570a1362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007ff557087c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007ff556ff8b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007ff5561aafb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007ff557a02eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007ff557a04b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007ff557d2f47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007ff5593847c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007ff5571f44fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007ff55889d662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007ff5571f48ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007ff55889d612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007ff5571f40f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007ff55d6174bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007ff55d61a0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007ff55d8c0110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007ff55ca6d149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007ff55de65b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007ff55de09787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007ff55deac66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055c4ab8764c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055c4ab87cc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007ff55db8b525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007ff556fe31f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007ff55db9259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007ff55dba9753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007ff55dba9b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007ff55dbaab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055c4ab870eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007ff55619620c (/lib64/libc.so.6+0x2e20c) #30 0x00007ff5561962bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055c4ab871561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pal_timeZoneInfo-5d880b.c clang-13: note: diagnostic msg: /usr/src/tmp/pal_timeZoneInfo-5d880b.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make:188: src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_timeZoneInfo.c.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building C object src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_collation.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_collation.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_collation.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_collation.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_collation.c PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_collation.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_collation.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_collation.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_collation.c 1. parser at end of file 2. Optimizer #0 0x00007f5e4e609362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f5e4e5efc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f5e4e560b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f5e4d712fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f5e4ef6aeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f5e4ef6cb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f5e4f29747f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f5e508ec7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f5e4e75c4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f5e4fe05662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f5e4e75c8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f5e4fe05612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f5e4e75c0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f5e54b7f4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f5e54b820b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f5e54e28110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f5e53fd5149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f5e553cdb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f5e55371787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f5e5541466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000561db0abf4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000561db0ac5c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f5e550f3525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f5e4e54b1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f5e550fa59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f5e55111753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f5e55111b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f5e55112b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000561db0ab9eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f5e4d6fe20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f5e4d6fe2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000561db0aba561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pal_collation-25bd9e.c clang-13: note: diagnostic msg: /usr/src/tmp/pal_collation-25bd9e.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make:104: src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_collation.c.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/filecrt.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/filecrt.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/filecrt.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/filecrt.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/filecrt.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/filecrt.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/filecrt.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/filecrt.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/filecrt.cpp 1. parser at end of file 2. Optimizer #0 0x00007ff2dd206362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007ff2dd1ecc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007ff2dd15db28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007ff2dc30ffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007ff2ddb67eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007ff2ddb69b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007ff2dde9447f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007ff2df4e97c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007ff2dd3594fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007ff2dea02662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007ff2dd3598ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007ff2dea02612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007ff2dd3590f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007ff2e377c4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007ff2e377f0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007ff2e3a25110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007ff2e2bd2149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007ff2e3fcab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007ff2e3f6e787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007ff2e401166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000056444acb94c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000056444acbfc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007ff2e3cf0525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007ff2dd1481f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007ff2e3cf759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007ff2e3d0e753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007ff2e3d0eb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007ff2e3d0fb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000056444acb3eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007ff2dc2fb20c (/lib64/libc.so.6+0x2e20c) #30 0x00007ff2dc2fb2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000056444acb4561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/filecrt-28d6a8.cpp clang-13: note: diagnostic msg: /usr/src/tmp/filecrt-28d6a8.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:90: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/filecrt.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/stringtls.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/stringtls.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/stringtls.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/stringtls.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/stringtls.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/stringtls.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/stringtls.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/stringtls.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/stringtls.cpp 1. parser at end of file 2. Optimizer #0 0x00007fe6d1f29362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fe6d1f0fc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fe6d1e80b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fe6d1032fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fe6d288aeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fe6d288cb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fe6d2bb747f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fe6d420c7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fe6d207c4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fe6d3725662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fe6d207c8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fe6d3725612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fe6d207c0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fe6d849f4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fe6d84a20b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fe6d8748110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fe6d78f5149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fe6d8cedb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fe6d8c91787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fe6d8d3466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055b75d44f4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055b75d455c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fe6d8a13525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fe6d1e6b1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fe6d8a1a59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fe6d8a31753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fe6d8a31b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fe6d8a32b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055b75d449eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fe6d101e20c (/lib64/libc.so.6+0x2e20c) #30 0x00007fe6d101e2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055b75d44a561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/stringtls-0f5196.cpp clang-13: note: diagnostic msg: /usr/src/tmp/stringtls-0f5196.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:230: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/stringtls.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building C object src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_normalization.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_normalization.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_normalization.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_normalization.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_normalization.c PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_normalization.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_normalization.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_normalization.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_normalization.c 1. parser at end of file 2. Optimizer #0 0x00007f6b3a7b8362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f6b3a79ec64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f6b3a70fb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f6b398c1fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f6b3b119eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f6b3b11bb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f6b3b44647f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f6b3ca9b7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f6b3a90b4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f6b3bfb4662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f6b3a90b8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f6b3bfb4612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f6b3a90b0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f6b40d2e4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f6b40d310b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f6b40fd7110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f6b40184149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f6b4157cb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f6b41520787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f6b415c366b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000056157de324c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000056157de38c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f6b412a2525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f6b3a6fa1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f6b412a959e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f6b412c0753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f6b412c0b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f6b412c1b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000056157de2ceb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f6b398ad20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f6b398ad2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000056157de2d561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pal_normalization-5e118c.c clang-13: note: diagnostic msg: /usr/src/tmp/pal_normalization-5e118c.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make:174: src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_normalization.c.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 1%] Building C object src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_icushim.c.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_icushim.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_icushim.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_icushim.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_icushim.c PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/libraries-native/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/Common -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/../Common -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -std=gnu11 -MD -MT src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_icushim.c.o -MF CMakeFiles/System.Globalization.Native_obj.dir/pal_icushim.c.o.d -o CMakeFiles/System.Globalization.Native_obj.dir/pal_icushim.c.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/libraries/Native/Unix/System.Globalization.Native/pal_icushim.c 1. parser at end of file 2. Optimizer #0 0x00007f7769f05362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f7769eebc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f7769e5cb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f776900efb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f776a866eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f776a868b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f776ab9347f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f776c1e87c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f776a0584fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f776b701662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f776a0588ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f776b701612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f776a0580f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f777047b4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f777047e0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f7770724110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f776f8d1149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f7770cc9b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f7770c6d787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f7770d1066b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000056087778c4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000560877792c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f77709ef525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f7769e471f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f77709f659e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f7770a0d753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f7770a0db3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f7770a0eb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000560877786eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f7768ffa20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f7768ffa2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000560877787561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pal_icushim-f12cdb.c clang-13: note: diagnostic msg: /usr/src/tmp/pal_icushim-f12cdb.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/build.make:202: src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/pal_icushim.c.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:1483: src/libraries-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native_obj.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/mscorsvc_i.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -std=gnu++11 -MD -MT src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/mscorsvc_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/mscorsvc_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/mscorsvc_i.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/idl/mscorsvc_i.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrinternal_i.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -std=gnu++11 -MD -MT src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrinternal_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrinternal_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrinternal_i.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/idl/clrinternal_i.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Generating lttng/eventprovdotnetruntime.cpp, lttng/eventprovdotnetruntimerundown.cpp, lttng/eventprovdotnetruntimestress.cpp, lttng/eventprovdotnetruntimeprivate.cpp, lttng/traceptprovdotnetruntime.cpp, lttng/traceptprovdotnetruntimerundown.cpp, lttng/traceptprovdotnetruntimestress.cpp, lttng/traceptprovdotnetruntimeprivate.cpp, lttng/tpdotnetruntime.h, lttng/tpdotnetruntimerundown.h, lttng/tpdotnetruntimestress.h, lttng/tpdotnetruntimeprivate.h cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src/eventprovider/lttngprovider && /usr/bin/python3.10 /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/scripts/genLttngProvider.py --man /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/vm/ClrEtwAll.man --intermediate /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src/eventprovider/lttngprovider gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/palrt/CMakeFiles/palrt.dir/bstr.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/bstr.cpp.o -MF CMakeFiles/palrt.dir/bstr.cpp.o.d -o CMakeFiles/palrt.dir/bstr.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/bstr.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/bstr.cpp.o -MF CMakeFiles/palrt.dir/bstr.cpp.o.d -o CMakeFiles/palrt.dir/bstr.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/bstr.cpp 1. parser at end of file 2. Optimizer #0 0x00007f2aef24d362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f2aef233c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f2aef1a4b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f2aee356fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f2aefbaeeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f2aefbb0b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f2aefedb47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f2af15307c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f2aef3a04fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f2af0a49662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f2aef3a08ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f2af0a49612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f2aef3a00f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f2af57c34bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f2af57c60b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f2af5a6c110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f2af4c19149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f2af6011b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f2af5fb5787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f2af605866b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005632e045a4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005632e0460c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f2af5d37525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f2aef18f1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f2af5d3e59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f2af5d55753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f2af5d55b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f2af5d56b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005632e0454eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f2aee34220c (/lib64/libc.so.6+0x2e20c) #30 0x00007f2aee3422bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005632e0455561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/bstr-570b18.cpp clang-13: note: diagnostic msg: /usr/src/tmp/bstr-570b18.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/palrt/CMakeFiles/palrt.dir/build.make:76: src/palrt/CMakeFiles/palrt.dir/bstr.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgio.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgio.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/stgio.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/stgio.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgio.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgio.cpp:36: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgio.cpp:36: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgio.cpp:36: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgio.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/stgio.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/stgio.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgio.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgio.cpp:130:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgio.cpp:112:8: LLVM IR generation of declaration 'StgIO::~StgIO' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgio.cpp:112:8: Generating code for declaration 'StgIO::~StgIO' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgio.cpp:113:1: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgio.cpp:115:5: LLVM IR generation of compound statement ('{}') #0 0x00007fa008bc1362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fa008ba7c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fa008b18b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fa007ccafb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fa007d171cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fa007ccaf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fa007cb546b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fa007d0b5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fa007d20e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fa007d22a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fa007d255af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fa008cbd051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fa00f278abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fa00f248cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fa00f231e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fa00f28aed0 clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16e8ed0) #16 0x00007fa00f2a4173 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1702173) #17 0x00007fa00f2df85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #18 0x00007fa00f2df385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #19 0x00007fa00f2a3687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #20 0x00007fa00f2a387e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #21 0x00007fa00f39327a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #22 0x00007fa00f3940ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #23 0x00007fa00f3943a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #24 0x00007fa00f394613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #25 0x00007fa00f393126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007fa00f394c49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #27 0x00007fa00f3940ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #28 0x00007fa00f3943a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #29 0x00007fa00f394613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #30 0x00007fa00f393126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #31 0x00007fa00f23a14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #32 0x00007fa00f3f9755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #33 0x00007fa00f2196d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #34 0x00007fa00f465df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #35 0x00007fa00f404a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #36 0x00007fa00f45be13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #37 0x00007fa00f478272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #38 0x00007fa00f3d19f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #39 0x00007fa00e58d0d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #40 0x00007fa00f985b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #41 0x00007fa00f929787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #42 0x00007fa00f9cc66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #43 0x000055bc83fc14c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #44 0x000055bc83fc7c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #45 0x00007fa00f6ab525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #46 0x00007fa008b031f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #47 0x00007fa00f6b259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #48 0x00007fa00f6c9753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #49 0x00007fa00f6c9b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #50 0x00007fa00f6cab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #51 0x000055bc83fbbeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #52 0x00007fa007cb620c (/lib64/libc.so.6+0x2e20c) #53 0x00007fa007cb62bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #54 0x000055bc83fbc561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/stgio-dbbf2b.cpp clang-13: note: diagnostic msg: /usr/src/tmp/stgio-dbbf2b.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make:146: src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgio.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/cordebug_i.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -std=gnu++11 -MD -MT src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/cordebug_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/cordebug_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/cordebug_i.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/idl/cordebug_i.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jitwrapper.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/tools/aot/jitinterface && /usr/bin/clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -Djitinterface_EXPORTS -O2 -DNDEBUG -fPIC -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jitwrapper.cpp.o -MF CMakeFiles/jitinterface.dir/jitwrapper.cpp.o.d -o CMakeFiles/jitinterface.dir/jitwrapper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jitwrapper.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -Djitinterface_EXPORTS -O2 -DNDEBUG -fPIC -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jitwrapper.cpp.o -MF CMakeFiles/jitinterface.dir/jitwrapper.cpp.o.d -o CMakeFiles/jitinterface.dir/jitwrapper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jitwrapper.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jitwrapper.cpp:95:1 : current parser token 'extern' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jitwrapper.cpp:60:1 : LLVM IR generation of declaration 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jitwrapper.cpp:60:16: Generating code for declaration 'JitCompileMethod' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/tools/aot/jitinterface/jitwrapper.cpp:83:5: LLVM IR generation of compound statement ('{}') #0 0x00007fc07a8f1362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fc07a8d7c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fc07a848b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fc0799fafb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fc079a471cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fc0799faf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fc0799e546b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fc079a3b5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fc079a50e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fc079a52a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fc079a555af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fc07a9ed051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fc080f787c8 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67c8) #13 0x00007fc080f78cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fc080f61e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fc080f65e83 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::Address, clang::CodeGen::CallArgList&, clang::CodeGen::AggValueSlot::Overlap_t, clang::SourceLocation, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1693e83) #16 0x00007fc080f66657 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::AggValueSlot, clang::CXXConstructExpr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1694657) #17 0x00007fc080fdac59 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1708c59) #18 0x00007fc080fd355a clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr const*, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170155a) #19 0x00007fc080f961ef clang::CodeGen::CodeGenFunction::EmitExprAsInit(clang::Expr const*, clang::ValueDecl const*, clang::CodeGen::LValue, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c41ef) #20 0x00007fc080f96733 clang::CodeGen::CodeGenFunction::EmitAutoVarInit(clang::CodeGen::CodeGenFunction::AutoVarEmission const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c4733) #21 0x00007fc080f98b06 clang::CodeGen::CodeGenFunction::EmitAutoVarDecl(clang::VarDecl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6b06) #22 0x00007fc080f98e3a clang::CodeGen::CodeGenFunction::EmitDecl(clang::Decl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6e3a) #23 0x00007fc0810cf7cf clang::CodeGen::CodeGenFunction::EmitDeclStmt(clang::DeclStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fd7cf) #24 0x00007fc0810c4675 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2675) #25 0x00007fc0810c3126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007fc0810c40ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #27 0x00007fc0810c43a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #28 0x00007fc0810c4613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #29 0x00007fc0810c3126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #30 0x00007fc080fa2525 clang::CodeGen::CodeGenFunction::EmitCXXTryStmt(clang::CXXTryStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d0525) #31 0x00007fc0810c40ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #32 0x00007fc081116c4a clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1844c4a) #33 0x00007fc08112945f clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185745f) #34 0x00007fc0811304a9 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185e4a9) #35 0x00007fc081134b95 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862b95) #36 0x00007fc08115902f (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x188702f) #37 0x00007fc081159b34 clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1887b34) #38 0x00007fc0811a8272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #39 0x00007fc0811019f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #40 0x00007fc0802bd0d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #41 0x00007fc0816b5b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #42 0x00007fc081659787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #43 0x00007fc0816fc66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #44 0x0000564f72db84c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #45 0x0000564f72dbec05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #46 0x00007fc0813db525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #47 0x00007fc07a8331f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #48 0x00007fc0813e259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #49 0x00007fc0813f9753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #50 0x00007fc0813f9b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #51 0x00007fc0813fab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #52 0x0000564f72db2eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #53 0x00007fc0799e620c (/lib64/libc.so.6+0x2e20c) #54 0x00007fc0799e62bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #55 0x0000564f72db3561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/jitwrapper-cdad5d.cpp clang-13: note: diagnostic msg: /usr/src/tmp/jitwrapper-cdad5d.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/build.make:104: src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/jitwrapper.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:1743: src/tools/aot/jitinterface/CMakeFiles/jitinterface.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/xclrdata_i.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -std=gnu++11 -MD -MT src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/xclrdata_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/xclrdata_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/xclrdata_i.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/idl/xclrdata_i.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrprivbinding_i.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -std=gnu++11 -MD -MT src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrprivbinding_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrprivbinding_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/clrprivbinding_i.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/idl/clrprivbinding_i.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/debug/debug.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/debug/debug.cpp.o -MF CMakeFiles/coreclrpal.dir/debug/debug.cpp.o.d -o CMakeFiles/coreclrpal.dir/debug/debug.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/debug/debug.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/debug/debug.cpp.o -MF CMakeFiles/coreclrpal.dir/debug/debug.cpp.o.d -o CMakeFiles/coreclrpal.dir/debug/debug.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/debug/debug.cpp 1. parser at end of file 2. Optimizer #0 0x00007fcc759a1362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fcc75987c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fcc758f8b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fcc74aaafb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fcc76302eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fcc76304b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fcc7662f47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fcc77c847c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fcc75af44fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fcc7719d662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fcc75af48ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fcc7719d612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fcc75af40f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fcc7bf174bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fcc7bf1a0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fcc7c1c0110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fcc7b36d149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fcc7c765b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fcc7c709787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fcc7c7ac66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055ccdc90d4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055ccdc913c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fcc7c48b525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fcc758e31f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fcc7c49259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fcc7c4a9753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fcc7c4a9b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fcc7c4aab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055ccdc907eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fcc74a9620c (/lib64/libc.so.6+0x2e20c) #30 0x00007fcc74a962bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055ccdc908561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/debug-447264.cpp clang-13: note: diagnostic msg: /usr/src/tmp/debug-447264.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:286: src/pal/src/CMakeFiles/coreclrpal.dir/debug/debug.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/file.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/file.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/file.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/file.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/file.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/file.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/file.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/file.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/file.cpp 1. parser at end of file 2. Optimizer #0 0x00007feedd586362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007feedd56cc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007feedd4ddb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007feedc68ffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007feeddee7eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007feeddee9b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007feede21447f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007feedf8697c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007feedd6d94fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007feeded82662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007feedd6d98ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007feeded82612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007feedd6d90f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007feee3afc4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007feee3aff0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007feee3da5110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007feee2f52149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007feee434ab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007feee42ee787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007feee439166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000561bac93e4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000561bac944c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007feee4070525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007feedd4c81f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007feee407759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007feee408e753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007feee408eb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007feee408fb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000561bac938eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007feedc67b20c (/lib64/libc.so.6+0x2e20c) #30 0x00007feedc67b2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000561bac939561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/file-4aef9e.cpp clang-13: note: diagnostic msg: /usr/src/tmp/file-4aef9e.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:76: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/file.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corsym_i.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -std=gnu++11 -MD -MT src/inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corsym_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corsym_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/corsym_i.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/idl/corsym_i.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/pal/src/CMakeFiles/tracepointprovider_obj.dir/misc/tracepointprovider.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/tracepointprovider_obj.dir/misc/tracepointprovider.cpp.o -MF CMakeFiles/tracepointprovider_obj.dir/misc/tracepointprovider.cpp.o.d -o CMakeFiles/tracepointprovider_obj.dir/misc/tracepointprovider.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/misc/tracepointprovider.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/tracepointprovider_obj.dir/misc/tracepointprovider.cpp.o -MF CMakeFiles/tracepointprovider_obj.dir/misc/tracepointprovider.cpp.o.d -o CMakeFiles/tracepointprovider_obj.dir/misc/tracepointprovider.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/misc/tracepointprovider.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/stackstring.hpp:240:5: Generating code for declaration 'StackString<260, char>::~StackString' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/stackstring.hpp:241:5: LLVM IR generation of compound statement ('{}') #0 0x00007ffa5a8c5362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007ffa5a8abc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007ffa5a81cb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007ffa599cefb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007ffa59a1b1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007ffa599cef12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007ffa599b946b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007ffa59a0f5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007ffa59a24e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007ffa59a26a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007ffa59a295af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007ffa5a9c1051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007ffa60f7cabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007ffa60f4ccd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007ffa60f35e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007ffa60f91564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007ffa60f9f685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007ffa60fa02bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007ffa60fe385c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007ffa60fe3385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007ffa60fa7687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007ffa60fa787e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007ffa6109727a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007ffa610980ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007ffa610983a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007ffa61098613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007ffa61097126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007ffa60f3e14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007ffa610fd755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007ffa60f1d6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007ffa61169df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007ffa61108a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007ffa6110a225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007ffa6110a23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007ffa6110a918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007ffa6117ce8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007ffa610e3c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007ffa60291149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007ffa61689b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007ffa6162d787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007ffa616d066b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000056442a1d84c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000056442a1dec05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007ffa613af525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007ffa5a8071f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007ffa613b659e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007ffa613cd753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007ffa613cdb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007ffa613ceb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000056442a1d2eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007ffa599ba20c (/lib64/libc.so.6+0x2e20c) #51 0x00007ffa599ba2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000056442a1d3561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/tracepointprovider-7feed4.cpp clang-13: note: diagnostic msg: /usr/src/tmp/tracepointprovider-7feed4.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/tracepointprovider_obj.dir/build.make:76: src/pal/src/CMakeFiles/tracepointprovider_obj.dir/misc/tracepointprovider.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:1535: src/pal/src/CMakeFiles/tracepointprovider_obj.dir/all] Error 2 gmake[1]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Built target corguids_obj gmake[1]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/string.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/string.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/string.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/string.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/string.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/string.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/string.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/string.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/string.cpp 1. parser at end of file 2. Optimizer #0 0x00007fd2dfeb5362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd2dfe9bc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd2dfe0cb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd2defbefb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd2e0816eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fd2e0818b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fd2e0b4347f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fd2e21987c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fd2e00084fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fd2e16b1662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fd2e00088ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fd2e16b1612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fd2e00080f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fd2e642b4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fd2e642e0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fd2e66d4110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fd2e5881149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fd2e6c79b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fd2e6c1d787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fd2e6cc066b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000564ba60654c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000564ba606bc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fd2e699f525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fd2dfdf71f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fd2e69a659e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fd2e69bd753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fd2e69bdb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fd2e69beb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000564ba605feb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fd2defaa20c (/lib64/libc.so.6+0x2e20c) #30 0x00007fd2defaa2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000564ba6060561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/string-582dab.cpp clang-13: note: diagnostic msg: /usr/src/tmp/string-582dab.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:216: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/string.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/thread.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/thread.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/thread.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/thread.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/thread.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/palrt/CMakeFiles/palrt.dir/unicode.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/unicode.cpp.o -MF CMakeFiles/palrt.dir/unicode.cpp.o.d -o CMakeFiles/palrt.dir/unicode.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/unicode.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/unicode.cpp.o -MF CMakeFiles/palrt.dir/unicode.cpp.o.d -o CMakeFiles/palrt.dir/unicode.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/unicode.cpp 1. parser at end of file 2. Optimizer #0 0x00007fe0a2b5a362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fe0a2b40c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fe0a2ab1b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fe0a1c63fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fe0a34bbeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fe0a34bdb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fe0a37e847f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fe0a4e3d7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fe0a2cad4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fe0a4356662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fe0a2cad8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fe0a4356612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fe0a2cad0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fe0a90d04bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fe0a90d30b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fe0a9379110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fe0a8526149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fe0a991eb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fe0a98c2787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fe0a996566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000557930e4a4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000557930e50c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fe0a9644525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fe0a2a9c1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fe0a964b59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fe0a9662753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fe0a9662b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fe0a9663b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000557930e44eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fe0a1c4f20c (/lib64/libc.so.6+0x2e20c) #30 0x00007fe0a1c4f2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000557930e45561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/unicode-b7dd70.cpp clang-13: note: diagnostic msg: /usr/src/tmp/unicode-b7dd70.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/palrt/CMakeFiles/palrt.dir/build.make:160: src/palrt/CMakeFiles/palrt.dir/unicode.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/printf.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/printf.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/printf.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/printf.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/printf.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/printf.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/printf.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/printf.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/printf.cpp 1. parser at end of file 2. Optimizer #0 0x00007f3074a6c362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f3074a52c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f30749c3b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f3073b75fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f30753cdeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f30753cfb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f30756fa47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f3076d4f7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f3074bbf4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f3076268662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f3074bbf8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f3076268612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f3074bbf0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f307afe24bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f307afe50b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f307b28b110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f307a438149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f307b830b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f307b7d4787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f307b87766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055a3516e74c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055a3516edc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f307b556525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f30749ae1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f307b55d59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f307b574753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f307b574b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f307b575b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055a3516e1eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f3073b6120c (/lib64/libc.so.6+0x2e20c) #30 0x00007f3073b612bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055a3516e2561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/printf-300c4f.cpp clang-13: note: diagnostic msg: /usr/src/tmp/printf-300c4f.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:174: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/printf.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Built target generated_eventing_headers gmake[1]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/gcinfo/CMakeFiles/gcinfo_obj.dir/simplerhash.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/CMakeFiles/gcinfo_obj.dir/simplerhash.cpp.o -MF CMakeFiles/gcinfo_obj.dir/simplerhash.cpp.o.d -o CMakeFiles/gcinfo_obj.dir/simplerhash.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/simplerhash.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/simplerhash.cpp:4: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/simplerhash.h:7: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/iallocator.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/contract.h:253: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.h:724: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.inl:8: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/clrhost.h:18: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ 1 warning generated. gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/path.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/path.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/path.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/path.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/path.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/path.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/path.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/path.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/path.cpp 1. parser at end of file 2. Optimizer #0 0x00007f7c4feef362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f7c4fed5c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f7c4fe46b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f7c4eff8fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f7c4ff93319 llvm::DataLayout::getAlignment(llvm::Type*, bool) const (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb2e319) #5 0x00007f7c4ff0ac1d (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xaa5c1d) #6 0x00007f7c5080b11b (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13a611b) #7 0x00007f7c5080b363 llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13a6363) #8 0x00007f7c50851004 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ec004) #9 0x00007f7c50852b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #10 0x00007f7c50b7d47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #11 0x00007f7c521d27c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #12 0x00007f7c500424fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #13 0x00007f7c516eb662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #14 0x00007f7c500428ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #15 0x00007f7c516eb612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #16 0x00007f7c500420f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #17 0x00007f7c564654bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #18 0x00007f7c564680b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #19 0x00007f7c5670e110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #20 0x00007f7c558bb149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #21 0x00007f7c56cb3b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #22 0x00007f7c56c57787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #23 0x00007f7c56cfa66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #24 0x0000564f46af74c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #25 0x0000564f46afdc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #26 0x00007f7c569d9525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #27 0x00007f7c4fe311f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #28 0x00007f7c569e059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #29 0x00007f7c569f7753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #30 0x00007f7c569f7b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #31 0x00007f7c569f8b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #32 0x0000564f46af1eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #33 0x00007f7c4efe420c (/lib64/libc.so.6+0x2e20c) #34 0x00007f7c4efe42bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #35 0x0000564f46af2561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/path-abda91.cpp clang-13: note: diagnostic msg: /usr/src/tmp/path-abda91.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:160: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/path.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/file/filetime.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/file/filetime.cpp.o -MF CMakeFiles/coreclrpal.dir/file/filetime.cpp.o.d -o CMakeFiles/coreclrpal.dir/file/filetime.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/file/filetime.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/file/filetime.cpp.o -MF CMakeFiles/coreclrpal.dir/file/filetime.cpp.o.d -o CMakeFiles/coreclrpal.dir/file/filetime.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/file/filetime.cpp 1. parser at end of file 2. Optimizer #0 0x00007f1cae254362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f1cae23ac64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f1cae1abb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f1cad35dfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f1caebb5eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f1caebb7b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f1caeee247f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f1cb05377c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f1cae3a74fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f1cafa50662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f1cae3a78ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f1cafa50612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f1cae3a70f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f1cb47ca4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f1cb47cd0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f1cb4a73110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f1cb3c20149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f1cb5018b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f1cb4fbc787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f1cb505f66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000562083ec74c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000562083ecdc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f1cb4d3e525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f1cae1961f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f1cb4d4559e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f1cb4d5c753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f1cb4d5cb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f1cb4d5db2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000562083ec1eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f1cad34920c (/lib64/libc.so.6+0x2e20c) #30 0x00007f1cad3492bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000562083ec2561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/filetime-e64302.cpp clang-13: note: diagnostic msg: /usr/src/tmp/filetime-e64302.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:356: src/pal/src/CMakeFiles/coreclrpal.dir/file/filetime.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/enc/CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/liteweightstgdbrw.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/liteweightstgdbrw.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/liteweightstgdbrw.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/liteweightstgdbrw.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/liteweightstgdbrw.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/liteweightstgdbrw.cpp:142:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/liteweightstgdbrw.cpp:111:21: LLVM IR generation of declaration 'CLiteWeightStgdbRW::~CLiteWeightStgdbRW' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/liteweightstgdbrw.cpp:111:21: Generating code for declaration 'CLiteWeightStgdbRW::~CLiteWeightStgdbRW' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/liteweightstgdbrw.cpp:112:1: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/liteweightstgdbrw.cpp:115:5: LLVM IR generation of compound statement ('{}') #0 0x00007fc2cbae8362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fc2cbacec64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fc2cba3fb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fc2cabf1fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fc2cac3e1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fc2cabf1f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fc2cabdc46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fc2cac325b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fc2cac47e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fc2cac49a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fc2cac4c5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fc2cbbe4051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fc2d216f7f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007fc2d216fcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fc2d2158e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fc2d21b4564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fc2d21c2685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fc2d21c32bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fc2d220685c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fc2d2206385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fc2d21ca687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fc2d21ca87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fc2d22ba27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fc2d22bb0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fc2d22bb3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fc2d22bb613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fc2d22ba126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fc2d22bbc49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #28 0x00007fc2d22bb0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #29 0x00007fc2d22bb3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #30 0x00007fc2d22bb613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #31 0x00007fc2d22ba126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #32 0x00007fc2d216114c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #33 0x00007fc2d2320755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #34 0x00007fc2d21406d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #35 0x00007fc2d238cdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #36 0x00007fc2d232ba7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #37 0x00007fc2d2382e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #38 0x00007fc2d239f272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #39 0x00007fc2d22f89f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #40 0x00007fc2d14b40d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #41 0x00007fc2d28acb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #42 0x00007fc2d2850787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #43 0x00007fc2d28f366b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #44 0x0000556e37c764c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #45 0x0000556e37c7cc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #46 0x00007fc2d25d2525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #47 0x00007fc2cba2a1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #48 0x00007fc2d25d959e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #49 0x00007fc2d25f0753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #50 0x00007fc2d25f0b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #51 0x00007fc2d25f1b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #52 0x0000556e37c70eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #53 0x00007fc2cabdd20c (/lib64/libc.so.6+0x2e20c) #54 0x00007fc2cabdd2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #55 0x0000556e37c71561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/liteweightstgdbrw-6a77f5.cpp clang-13: note: diagnostic msg: /usr/src/tmp/liteweightstgdbrw-6a77f5.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make:76: src/md/enc/CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/palrt/CMakeFiles/palrt.dir/path.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/path.cpp.o -MF CMakeFiles/palrt.dir/path.cpp.o.d -o CMakeFiles/palrt.dir/path.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/path.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/path.cpp.o -MF CMakeFiles/palrt.dir/path.cpp.o.d -o CMakeFiles/palrt.dir/path.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/path.cpp 1. parser at end of file 2. Optimizer #0 0x00007fc78cf83362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fc78cf69c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fc78cedab28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fc78c08cfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fc78cdd2fe2 llvm::PMDataManager::getOnTheFlyPass(llvm::Pass*, void const*, llvm::Function&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x8d9fe2) #5 0x00007fc78d89f457 llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13a6457) #6 0x00007fc78d8e5004 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ec004) #7 0x00007fc78d8e6b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #8 0x00007fc78dc1147f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #9 0x00007fc78f2667c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #10 0x00007fc78d0d64fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #11 0x00007fc78e77f662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #12 0x00007fc78d0d68ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #13 0x00007fc78e77f612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #14 0x00007fc78d0d60f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #15 0x00007fc7934f94bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #16 0x00007fc7934fc0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #17 0x00007fc7937a2110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #18 0x00007fc79294f149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #19 0x00007fc793d47b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #20 0x00007fc793ceb787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #21 0x00007fc793d8e66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #22 0x000055f4cceda4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #23 0x000055f4ccee0c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #24 0x00007fc793a6d525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #25 0x00007fc78cec51f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #26 0x00007fc793a7459e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #27 0x00007fc793a8b753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #28 0x00007fc793a8bb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #29 0x00007fc793a8cb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #30 0x000055f4cced4eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #31 0x00007fc78c07820c (/lib64/libc.so.6+0x2e20c) #32 0x00007fc78c0782bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #33 0x000055f4cced5561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/path-f7330a.cpp clang-13: note: diagnostic msg: /usr/src/tmp/path-f7330a.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/palrt/CMakeFiles/palrt.dir/build.make:146: src/palrt/CMakeFiles/palrt.dir/path.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/file/directory.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/file/directory.cpp.o -MF CMakeFiles/coreclrpal.dir/file/directory.cpp.o.d -o CMakeFiles/coreclrpal.dir/file/directory.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/file/directory.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/file/directory.cpp.o -MF CMakeFiles/coreclrpal.dir/file/directory.cpp.o.d -o CMakeFiles/coreclrpal.dir/file/directory.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/file/directory.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/stackstring.hpp:240:5: Generating code for declaration 'StackString<260, char>::~StackString' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/stackstring.hpp:241:5: LLVM IR generation of compound statement ('{}') #0 0x00007fe1fcd01362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fe1fcce7c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fe1fcc58b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fe1fbe0afb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fe1fbe571cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fe1fbe0af12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fe1fbdf546b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fe1fbe4b5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fe1fbe60e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fe1fbe62a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fe1fbe655af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fe1fcdfd051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fe2033b8abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fe203388cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fe203371e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fe2033cd564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fe2033db685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fe2033dc2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fe20341f85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fe20341f385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fe2033e3687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fe2033e387e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fe2034d327a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fe2034d40ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fe2034d43a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fe2034d4613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fe2034d3126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fe20337a14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fe203539755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fe2033596d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fe2035a5df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fe203544a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fe203546225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fe20354623d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fe203546918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fe2035b8e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fe20351fc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fe2026cd149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fe203ac5b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fe203a69787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fe203b0c66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000560aff89b4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000560aff8a1c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fe2037eb525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fe1fcc431f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fe2037f259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fe203809753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fe203809b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fe20380ab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000560aff895eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fe1fbdf620c (/lib64/libc.so.6+0x2e20c) #51 0x00007fe1fbdf62bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000560aff896561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/directory-81ac8b.cpp clang-13: note: diagnostic msg: /usr/src/tmp/directory-81ac8b.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:328: src/pal/src/CMakeFiles/coreclrpal.dir/file/directory.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/exception/seh.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/exception/seh.cpp.o -MF CMakeFiles/coreclrpal.dir/exception/seh.cpp.o.d -o CMakeFiles/coreclrpal.dir/exception/seh.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/exception/seh.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/exception/seh.cpp.o -MF CMakeFiles/coreclrpal.dir/exception/seh.cpp.o.d -o CMakeFiles/coreclrpal.dir/exception/seh.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/exception/seh.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/pal.h:4495:5: Generating code for declaration 'PAL_SEHException::~PAL_SEHException' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/pal.h:4496:5: LLVM IR generation of compound statement ('{}') #0 0x00007f918138a362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f9181370c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f91812e1b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f9180493fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f91804e01cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f9180493f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f918047e46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f91804d45b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f91804e9e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f91804eba3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f91804ee5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f9181486051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f9187a41abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f9187a11cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f91879fae34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f9187a56564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f9187a64685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f9187a652bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f9187aa885c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f9187aa8385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f9187a6c687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f9187a6c87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f9187b5c27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f9187b5d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f9187b5d3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f9187b5d613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f9187b5c126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f9187a0314c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f9187bc2755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f91879e26d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f9187c2edf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f9187bcda7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f9187bcf225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f9187bcf23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f9187bcf918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f9187c41e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f9187ba8c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f9186d56149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f918814eb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f91880f2787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f918819566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000560cd29fe4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000560cd2a04c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f9187e74525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f91812cc1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f9187e7b59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f9187e92753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f9187e92b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f9187e93b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000560cd29f8eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f918047f20c (/lib64/libc.so.6+0x2e20c) #51 0x00007f918047f2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000560cd29f9561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/seh-a62032.cpp clang-13: note: diagnostic msg: /usr/src/tmp/seh-a62032.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:300: src/pal/src/CMakeFiles/coreclrpal.dir/exception/seh.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/__/arraylist.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/gcinfo_arm64 && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_ARM64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/gcinfo_arm64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfo_arm64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/__/arraylist.cpp.o -MF CMakeFiles/gcinfo_arm64.dir/__/arraylist.cpp.o.d -o CMakeFiles/gcinfo_arm64.dir/__/arraylist.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:7: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/iallocator.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/contract.h:253: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.h:724: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.inl:8: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/clrhost.h:18: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_ARM64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/gcinfo_arm64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfo_arm64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/__/arraylist.cpp.o -MF CMakeFiles/gcinfo_arm64.dir/__/arraylist.cpp.o.d -o CMakeFiles/gcinfo_arm64.dir/__/arraylist.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:40:1: current parser token 'void' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:31:22: LLVM IR generation of declaration 'GcInfoArrayListBase::~GcInfoArrayListBase' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:31:22: Generating code for declaration 'GcInfoArrayListBase::~GcInfoArrayListBase' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:32:1: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:34:5: LLVM IR generation of compound statement ('{}') #0 0x00007f6b55ad1362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f6b55ab7c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f6b55a28b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f6b54bdafb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f6b54c271cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f6b54bdaf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f6b54bc546b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f6b54c1b5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f6b54c30e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f6b54c32a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f6b54c355af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f6b55bcd051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f6b5c1587f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007f6b5c158cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f6b5c141e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f6b5c19d564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f6b5c1ab685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f6b5c1ac2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f6b5c1ef85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f6b5c1ef385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f6b5c1b3687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f6b5c1b387e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f6b5c2a327a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f6b5c2a40ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f6b5c2a43a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f6b5c2a4613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f6b5c2a3126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f6b5c2acc77 clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fac77) #28 0x00007f6b5c2a40ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #29 0x00007f6b5c2a43a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #30 0x00007f6b5c2a4613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #31 0x00007f6b5c2a3126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #32 0x00007f6b5c14a14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #33 0x00007f6b5c309755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #34 0x00007f6b5c1296d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #35 0x00007f6b5c375df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #36 0x00007f6b5c314a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #37 0x00007f6b5c36be13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #38 0x00007f6b5c388272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #39 0x00007f6b5c2e19f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #40 0x00007f6b5b49d0d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #41 0x00007f6b5c895b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #42 0x00007f6b5c839787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #43 0x00007f6b5c8dc66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #44 0x000055bc9119c4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #45 0x000055bc911a2c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #46 0x00007f6b5c5bb525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #47 0x00007f6b55a131f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #48 0x00007f6b5c5c259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #49 0x00007f6b5c5d9753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #50 0x00007f6b5c5d9b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #51 0x00007f6b5c5dab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #52 0x000055bc91196eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #53 0x00007f6b54bc620c (/lib64/libc.so.6+0x2e20c) #54 0x00007f6b54bc62bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #55 0x000055bc91197561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/arraylist-3e5dfc.cpp clang-13: note: diagnostic msg: /usr/src/tmp/arraylist-3e5dfc.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/build.make:76: src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/__/arraylist.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/palrt/CMakeFiles/palrt.dir/memorystream.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/memorystream.cpp.o -MF CMakeFiles/palrt.dir/memorystream.cpp.o.d -o CMakeFiles/palrt.dir/memorystream.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/memorystream.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/palrt/CMakeFiles/palrt.dir/memorystream.cpp.o -MF CMakeFiles/palrt.dir/memorystream.cpp.o.d -o CMakeFiles/palrt.dir/memorystream.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/memorystream.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/memorystream.cpp:81:2: Generating code for declaration 'MemoryStream::~MemoryStream' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/palrt/memorystream.cpp:82:5: LLVM IR generation of compound statement ('{}') #0 0x00007f90bd122362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f90bd108c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f90bd079b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f90bc22bfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f90bc2781cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f90bc22bf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f90bc21646b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f90bc26c5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f90bc281e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f90bc283a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f90bc2865af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f90bd21e051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f90c37d9abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f90c37a9cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f90c3792e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f90c37ebed0 clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16e8ed0) #16 0x00007f90c3805173 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1702173) #17 0x00007f90c384085c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #18 0x00007f90c3840385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #19 0x00007f90c3804687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #20 0x00007f90c380487e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #21 0x00007f90c38f427a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #22 0x00007f90c38f50ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #23 0x00007f90c38f53a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #24 0x00007f90c38f5613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #25 0x00007f90c38f4126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007f90c379b14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #27 0x00007f90c395a755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #28 0x00007f90c377a6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #29 0x00007f90c39c6df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #30 0x00007f90c3965a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #31 0x00007f90c3967225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #32 0x00007f90c396723d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #33 0x00007f90c396723d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f90c396723d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #35 0x00007f90c3967918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #36 0x00007f90c39d9e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #37 0x00007f90c3940c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #38 0x00007f90c2aee149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #39 0x00007f90c3ee6b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #40 0x00007f90c3e8a787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #41 0x00007f90c3f2d66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #42 0x000055c9851804c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #43 0x000055c985186c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #44 0x00007f90c3c0c525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #45 0x00007f90bd0641f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #46 0x00007f90c3c1359e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #47 0x00007f90c3c2a753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #48 0x00007f90c3c2ab3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #49 0x00007f90c3c2bb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #50 0x000055c98517aeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #51 0x00007f90bc21720c (/lib64/libc.so.6+0x2e20c) #52 0x00007f90bc2172bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #53 0x000055c98517b561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/memorystream-5fdc8d.cpp clang-13: note: diagnostic msg: /usr/src/tmp/memorystream-5fdc8d.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/palrt/CMakeFiles/palrt.dir/build.make:132: src/palrt/CMakeFiles/palrt.dir/memorystream.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:4259: src/palrt/CMakeFiles/palrt.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/file/find.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/file/find.cpp.o -MF CMakeFiles/coreclrpal.dir/file/find.cpp.o.d -o CMakeFiles/coreclrpal.dir/file/find.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/file/find.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/file/find.cpp.o -MF CMakeFiles/coreclrpal.dir/file/find.cpp.o.d -o CMakeFiles/coreclrpal.dir/file/find.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/file/find.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/stackstring.hpp:240:5: Generating code for declaration 'StackString<260, char>::~StackString' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/stackstring.hpp:241:5: LLVM IR generation of compound statement ('{}') #0 0x00007f93e53b8362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f93e539ec64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f93e530fb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f93e44c1fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f93e450e1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f93e44c1f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f93e44ac46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f93e45025b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f93e4517e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f93e4519a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f93e451c5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f93e54b4051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f93eba6fabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f93eba3fcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f93eba28e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f93eba84564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f93eba92685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f93eba932bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f93ebad685c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f93ebad6385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f93eba9a687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f93eba9a87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f93ebb8a27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f93ebb8b0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f93ebb8b3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f93ebb8b613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f93ebb8a126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f93eba3114c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f93ebbf0755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f93eba106d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f93ebc5cdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f93ebbfba7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f93ebbfd225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f93ebbfd23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f93ebbfd23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #35 0x00007f93ebbfd23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #36 0x00007f93ebbfd918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #37 0x00007f93ebc6fe8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #38 0x00007f93ebbd6c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #39 0x00007f93ead84149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #40 0x00007f93ec17cb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #41 0x00007f93ec120787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #42 0x00007f93ec1c366b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #43 0x0000557a978e34c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #44 0x0000557a978e9c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #45 0x00007f93ebea2525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #46 0x00007f93e52fa1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #47 0x00007f93ebea959e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #48 0x00007f93ebec0753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #49 0x00007f93ebec0b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #50 0x00007f93ebec1b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #51 0x0000557a978ddeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #52 0x00007f93e44ad20c (/lib64/libc.so.6+0x2e20c) #53 0x00007f93e44ad2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #54 0x0000557a978de561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/find-a6ffcc.cpp clang-13: note: diagnostic msg: /usr/src/tmp/find-a6ffcc.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:370: src/pal/src/CMakeFiles/coreclrpal.dir/file/find.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/enc/CMakeFiles/mdruntimerw_dac.dir/metamodelenc.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/metamodelenc.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/metamodelenc.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/metamodelenc.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelenc.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelenc.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelenc.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelenc.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/metamodelenc.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/metamodelenc.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/metamodelenc.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelenc.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:1779:5: Generating code for declaration 'CStructArray::~CStructArray' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:1780:5: LLVM IR generation of compound statement ('{}') #0 0x00007fbe64de7362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fbe64dcdc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fbe64d3eb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fbe63ef0fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fbe63f3d1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fbe63ef0f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fbe63edb46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fbe63f315b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fbe63f46e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fbe63f48a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fbe63f4b5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fbe64ee3051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fbe6b49eabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fbe6b46ecd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fbe6b457e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fbe6b4b3564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fbe6b4c1685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fbe6b4c22bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fbe6b50585c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fbe6b505385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fbe6b4c9687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fbe6b4c987e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fbe6b5b927a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fbe6b5ba0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fbe6b5ba3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fbe6b5ba613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fbe6b5b9126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fbe6b46014c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fbe6b61f755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fbe6b43f6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fbe6b68bdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fbe6b62aa7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fbe6b62c225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fbe6b62c23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fbe6b62c23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #35 0x00007fbe6b62c918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #36 0x00007fbe6b69ee8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #37 0x00007fbe6b605c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #38 0x00007fbe6a7b3149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #39 0x00007fbe6bbabb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #40 0x00007fbe6bb4f787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #41 0x00007fbe6bbf266b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #42 0x00005626a085e4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #43 0x00005626a0864c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #44 0x00007fbe6b8d1525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #45 0x00007fbe64d291f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #46 0x00007fbe6b8d859e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #47 0x00007fbe6b8ef753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #48 0x00007fbe6b8efb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #49 0x00007fbe6b8f0b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #50 0x00005626a0858eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #51 0x00007fbe63edc20c (/lib64/libc.so.6+0x2e20c) #52 0x00007fbe63edc2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #53 0x00005626a0859561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/metamodelenc-891366.cpp clang-13: note: diagnostic msg: /usr/src/tmp/metamodelenc-891366.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make:90: src/md/enc/CMakeFiles/mdruntimerw_dac.dir/metamodelenc.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/gcinfo/CMakeFiles/gcinfo_obj.dir/arraylist.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/CMakeFiles/gcinfo_obj.dir/arraylist.cpp.o -MF CMakeFiles/gcinfo_obj.dir/arraylist.cpp.o.d -o CMakeFiles/gcinfo_obj.dir/arraylist.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:7: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/iallocator.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/contract.h:253: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.h:724: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.inl:8: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/clrhost.h:18: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/CMakeFiles/gcinfo_obj.dir/arraylist.cpp.o -MF CMakeFiles/gcinfo_obj.dir/arraylist.cpp.o.d -o CMakeFiles/gcinfo_obj.dir/arraylist.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:40:1: current parser token 'void' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:31:22: LLVM IR generation of declaration 'GcInfoArrayListBase::~GcInfoArrayListBase' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:31:22: Generating code for declaration 'GcInfoArrayListBase::~GcInfoArrayListBase' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:32:1: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:34:5: LLVM IR generation of compound statement ('{}') #0 0x00007f5382fad362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f5382f93c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f5382f04b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f53820b6fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f53821031cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f53820b6f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f53820a146b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f53820f75b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f538210ce8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f538210ea3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f53821115af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f53830a9051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f53896347f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007f5389634cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f538961de34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f5389679564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f5389687685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f53896882bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f53896cb85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f53896cb385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f538968f687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f538968f87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f538977f27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f53897800ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f53897803a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f5389780613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f538977f126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f5389788c77 clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fac77) #28 0x00007f53897800ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #29 0x00007f53897803a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #30 0x00007f5389780613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #31 0x00007f538977f126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #32 0x00007f538962614c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #33 0x00007f53897e5755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #34 0x00007f53896056d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #35 0x00007f5389851df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #36 0x00007f53897f0a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #37 0x00007f5389847e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #38 0x00007f5389864272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #39 0x00007f53897bd9f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #40 0x00007f53889790d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #41 0x00007f5389d71b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #42 0x00007f5389d15787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #43 0x00007f5389db866b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #44 0x000055d23eb5e4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #45 0x000055d23eb64c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #46 0x00007f5389a97525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #47 0x00007f5382eef1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #48 0x00007f5389a9e59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #49 0x00007f5389ab5753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #50 0x00007f5389ab5b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #51 0x00007f5389ab6b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #52 0x000055d23eb58eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #53 0x00007f53820a220c (/lib64/libc.so.6+0x2e20c) #54 0x00007f53820a22bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #55 0x000055d23eb59561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/arraylist-119399.cpp clang-13: note: diagnostic msg: /usr/src/tmp/arraylist-119399.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/gcinfo/CMakeFiles/gcinfo_obj.dir/build.make:76: src/gcinfo/CMakeFiles/gcinfo_obj.dir/arraylist.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/classfactory.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/classfactory.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/classfactory.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/classfactory.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ 3 warnings generated. gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/__/gcinfoencoder.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/gcinfo_arm64 && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_ARM64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/gcinfo_arm64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfo_arm64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/__/gcinfoencoder.cpp.o -MF CMakeFiles/gcinfo_arm64.dir/__/gcinfoencoder.cpp.o.d -o CMakeFiles/gcinfo_arm64.dir/__/gcinfoencoder.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/gcinfoencoder.h:95: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/iallocator.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/contract.h:253: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.h:724: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.inl:8: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/clrhost.h:18: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_ARM64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/gcinfo_arm64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfo_arm64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/__/gcinfoencoder.cpp.o -MF CMakeFiles/gcinfo_arm64.dir/__/gcinfoencoder.cpp.o.d -o CMakeFiles/gcinfo_arm64.dir/__/gcinfoencoder.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:2268:1: current parser token 'void' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:980:21: LLVM IR generation of declaration 'GcInfoEncoder::Build' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:980:21: Generating code for declaration 'GcInfoEncoder::Build' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1715:5: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1729:9: LLVM IR generation of compound statement ('{}') 6. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1731:13: LLVM IR generation of compound statement ('{}') 7. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1733:17: LLVM IR generation of compound statement ('{}') #0 0x00007fcf58e0a362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fcf58df0c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fcf58d61b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fcf57f13fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fcf57f601cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fcf57f13f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fcf57efe46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fcf57f545b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fcf57f69e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fcf57f6ba3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fcf57f6e5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fcf58f06051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fcf5f4917c8 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67c8) #13 0x00007fcf5f491cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fcf5f47ae34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fcf5f4d6564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fcf5f4e4685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fcf5f4e52bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fcf5f52885c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fcf5f528385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fcf5f4e8830 clang::CodeGen::CodeGenFunction::EvaluateExprAsBool(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fd830) #21 0x00007fcf5f6308bf clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(clang::Expr const*, llvm::BasicBlock*, llvm::BasicBlock*, unsigned long, clang::Stmt::Likelihood) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18458bf) #22 0x00007fcf5f5ddbb7 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2bb7) #23 0x00007fcf5f5dd0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fcf5f5dd3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fcf5f5dd613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fcf5f5dc126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fcf5f5ddc49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #28 0x00007fcf5f5dd0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #29 0x00007fcf5f5dd3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #30 0x00007fcf5f5dd613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #31 0x00007fcf5f5dc126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #32 0x00007fcf5f5e5c77 clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fac77) #33 0x00007fcf5f5dd0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #34 0x00007fcf5f5dd3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #35 0x00007fcf5f5dd613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #36 0x00007fcf5f5dc126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #37 0x00007fcf5f4bb525 clang::CodeGen::CodeGenFunction::EmitCXXTryStmt(clang::CXXTryStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d0525) #38 0x00007fcf5f5dd0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #39 0x00007fcf5f5dd3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #40 0x00007fcf5f5dd613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #41 0x00007fcf5f5dc126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #42 0x00007fcf5f5ddc49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #43 0x00007fcf5f5dd0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #44 0x00007fcf5f62fc4a clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1844c4a) #45 0x00007fcf5f64245f clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185745f) #46 0x00007fcf5f6494a9 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185e4a9) #47 0x00007fcf5f64dbb3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862bb3) #48 0x00007fcf5f67202f (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x188702f) #49 0x00007fcf5f6c1272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #50 0x00007fcf5f61a9f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #51 0x00007fcf5e7d60d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #52 0x00007fcf5fbceb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #53 0x00007fcf5fb72787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #54 0x00007fcf5fc1566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #55 0x00005596e3dab4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #56 0x00005596e3db1c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #57 0x00007fcf5f8f4525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #58 0x00007fcf58d4c1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #59 0x00007fcf5f8fb59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #60 0x00007fcf5f912753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #61 0x00007fcf5f912b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #62 0x00007fcf5f913b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #63 0x00005596e3da5eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #64 0x00007fcf57eff20c (/lib64/libc.so.6+0x2e20c) #65 0x00007fcf57eff2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #66 0x00005596e3da6561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/gcinfoencoder-56a421.cpp clang-13: note: diagnostic msg: /usr/src/tmp/gcinfoencoder-56a421.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/build.make:90: src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/__/gcinfoencoder.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/arraylist.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/arraylist.cpp.o -MF CMakeFiles/gcinfo_crossgen.dir/arraylist.cpp.o.d -o CMakeFiles/gcinfo_crossgen.dir/arraylist.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:7: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/iallocator.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/contract.h:253: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.h:724: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.inl:8: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/clrhost.h:18: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/arraylist.cpp.o -MF CMakeFiles/gcinfo_crossgen.dir/arraylist.cpp.o.d -o CMakeFiles/gcinfo_crossgen.dir/arraylist.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:40:1: current parser token 'void' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:31:22: LLVM IR generation of declaration 'GcInfoArrayListBase::~GcInfoArrayListBase' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:31:22: Generating code for declaration 'GcInfoArrayListBase::~GcInfoArrayListBase' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:32:1: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/arraylist.cpp:34:5: LLVM IR generation of compound statement ('{}') #0 0x00007f230377f362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f2303765c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f23036d6b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f2302888fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f23028d51cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f2302888f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f230287346b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f23028c95b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f23028dee8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f23028e0a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f23028e35af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f230387b051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f2309e067f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007f2309e06cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f2309defe34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f2309e4b564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f2309e59685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f2309e5a2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f2309e9d85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f2309e9d385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f2309e61687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f2309e6187e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f2309f5127a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f2309f520ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f2309f523a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f2309f52613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f2309f51126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f2309f5ac77 clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fac77) #28 0x00007f2309f520ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #29 0x00007f2309f523a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #30 0x00007f2309f52613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #31 0x00007f2309f51126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #32 0x00007f2309df814c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #33 0x00007f2309fb7755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #34 0x00007f2309dd76d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #35 0x00007f230a023df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #36 0x00007f2309fc2a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #37 0x00007f230a019e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #38 0x00007f230a036272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #39 0x00007f2309f8f9f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #40 0x00007f230914b0d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #41 0x00007f230a543b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #42 0x00007f230a4e7787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #43 0x00007f230a58a66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #44 0x0000563862b654c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #45 0x0000563862b6bc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #46 0x00007f230a269525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #47 0x00007f23036c11f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #48 0x00007f230a27059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #49 0x00007f230a287753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #50 0x00007f230a287b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #51 0x00007f230a288b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #52 0x0000563862b5feb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #53 0x00007f230287420c (/lib64/libc.so.6+0x2e20c) #54 0x00007f23028742bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #55 0x0000563862b60561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/arraylist-b90c29.cpp clang-13: note: diagnostic msg: /usr/src/tmp/arraylist-b90c29.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/build.make:76: src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/arraylist.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/file/file.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/file/file.cpp.o -MF CMakeFiles/coreclrpal.dir/file/file.cpp.o.d -o CMakeFiles/coreclrpal.dir/file/file.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/file/file.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/file/file.cpp.o -MF CMakeFiles/coreclrpal.dir/file/file.cpp.o.d -o CMakeFiles/coreclrpal.dir/file/file.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/file/file.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/utils.h:195:9: Generating code for declaration 'StringHolder::~StringHolder' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/utils.h:196:9: LLVM IR generation of compound statement ('{}') #0 0x00007fb5acb79362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fb5acb5fc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fb5acad0b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fb5abc82fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fb5abccf1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fb5abc82f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fb5abc6d46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fb5abcc35b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fb5abcd8e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fb5abcdaa3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fb5abcdd5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fb5acc75051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fb5b3230abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fb5b3200cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fb5b31e9e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fb5b3242ed0 clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16e8ed0) #16 0x00007fb5b325c173 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1702173) #17 0x00007fb5b329785c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #18 0x00007fb5b3297385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #19 0x00007fb5b325b687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #20 0x00007fb5b325b87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #21 0x00007fb5b334b27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #22 0x00007fb5b334c0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #23 0x00007fb5b334c3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #24 0x00007fb5b334c613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #25 0x00007fb5b334b126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007fb5b31f214c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #27 0x00007fb5b33b1755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #28 0x00007fb5b31d16d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #29 0x00007fb5b341ddf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #30 0x00007fb5b33bca7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #31 0x00007fb5b33be225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #32 0x00007fb5b33be23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #33 0x00007fb5b33be918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #34 0x00007fb5b3430e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #35 0x00007fb5b3397c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #36 0x00007fb5b2545149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #37 0x00007fb5b393db41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #38 0x00007fb5b38e1787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #39 0x00007fb5b398466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #40 0x0000560f632554c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #41 0x0000560f6325bc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #42 0x00007fb5b3663525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #43 0x00007fb5acabb1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #44 0x00007fb5b366a59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #45 0x00007fb5b3681753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #46 0x00007fb5b3681b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #47 0x00007fb5b3682b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #48 0x0000560f6324feb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #49 0x00007fb5abc6e20c (/lib64/libc.so.6+0x2e20c) #50 0x00007fb5abc6e2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #51 0x0000560f63250561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/file-a2da37.cpp clang-13: note: diagnostic msg: /usr/src/tmp/file-a2da37.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:342: src/pal/src/CMakeFiles/coreclrpal.dir/file/file.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/simplerhash.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/simplerhash.cpp.o -MF CMakeFiles/gcinfo_crossgen.dir/simplerhash.cpp.o.d -o CMakeFiles/gcinfo_crossgen.dir/simplerhash.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/simplerhash.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/simplerhash.cpp:4: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/simplerhash.h:7: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/iallocator.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/contract.h:253: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.h:724: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.inl:8: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/clrhost.h:18: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ 1 warning generated. gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/math.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/math.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/math.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/math.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/math.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/math.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/math.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/math.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/math.cpp 1. parser at end of file 2. Optimizer #0 0x00007ff563c2e362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007ff563c14c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007ff563b85b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007ff562d37fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007ff56458feab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007ff564591b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007ff5648bc47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007ff565f117c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007ff563d814fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007ff56542a662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007ff563d818ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007ff56542a612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007ff563d810f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007ff56a1a44bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007ff56a1a70b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007ff56a44d110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007ff5695fa149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007ff56a9f2b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007ff56a996787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007ff56aa3966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000559f36ff74c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000559f36ffdc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007ff56a718525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007ff563b701f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007ff56a71f59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007ff56a736753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007ff56a736b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007ff56a737b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000559f36ff1eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007ff562d2320c (/lib64/libc.so.6+0x2e20c) #30 0x00007ff562d232bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000559f36ff2561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/math-6dc7bc.cpp clang-13: note: diagnostic msg: /usr/src/tmp/math-6dc7bc.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:118: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/math.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/wchartls.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/wchartls.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/wchartls.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/wchartls.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/wchartls.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/wchartls.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/wchartls.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/wchartls.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/wchartls.cpp 1. parser at end of file 2. Optimizer #0 0x00007fb4ef521362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fb4ef507c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fb4ef478b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fb4ee62afb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fb4efe82eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fb4efe84b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fb4f01af47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fb4f18047c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fb4ef6744fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fb4f0d1d662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fb4ef6748ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fb4f0d1d612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fb4ef6740f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fb4f5a974bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fb4f5a9a0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fb4f5d40110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fb4f4eed149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fb4f62e5b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fb4f6289787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fb4f632c66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005572163504c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000557216356c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fb4f600b525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fb4ef4631f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fb4f601259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fb4f6029753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fb4f6029b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fb4f602ab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055721634aeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fb4ee61620c (/lib64/libc.so.6+0x2e20c) #30 0x00007fb4ee6162bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055721634b561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/wchartls-de225c.cpp clang-13: note: diagnostic msg: /usr/src/tmp/wchartls-de225c.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:272: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/wchartls.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/mdutil.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/mdutil.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/mdutil.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/mdutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/mdutil.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/mdutil.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/mdutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp 1. parser at end of file 2. Optimizer #0 0x00007f13bbfa5362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f13bbf8bc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f13bbefcb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f13bb0aefb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f13bc906eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f13bc908b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f13bcc3347f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f13be2887c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f13bc0f84fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f13bd7a1662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f13bc0f88ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f13bd7a1612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f13bc0f80f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f13c251b4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f13c251e0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f13c27c4110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f13c1971149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f13c2d69b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f13c2d0d787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f13c2db066b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055a9034794c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055a90347fc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f13c2a8f525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f13bbee71f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f13c2a9659e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f13c2aad753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f13c2aadb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f13c2aaeb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055a903473eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f13bb09a20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f13bb09a2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055a903474561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/mdutil-0fd678.cpp clang-13: note: diagnostic msg: /usr/src/tmp/mdutil-0fd678.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:230: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/mdutil.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgtiggerstream.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgtiggerstream.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/stgtiggerstream.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/stgtiggerstream.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstream.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstream.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstream.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstream.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgtiggerstream.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/stgtiggerstream.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/stgtiggerstream.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstream.cpp 1. parser at end of file 2. Optimizer #0 0x00007f02b7004362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f02b6feac64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f02b6f5bb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f02b610dfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f02b7965eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f02b7967b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f02b7c9247f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f02b92e77c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f02b71574fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f02b8800662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f02b71578ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f02b8800612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f02b71570f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f02bd57a4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f02bd57d0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f02bd823110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f02bc9d0149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f02bddc8b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f02bdd6c787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f02bde0f66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055ebf5ee24c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055ebf5ee8c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f02bdaee525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f02b6f461f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f02bdaf559e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f02bdb0c753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f02bdb0cb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f02bdb0db2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055ebf5edceb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f02b60f920c (/lib64/libc.so.6+0x2e20c) #30 0x00007f02b60f92bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055ebf5edd561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/stgtiggerstream-7b4633.cpp clang-13: note: diagnostic msg: /usr/src/tmp/stgtiggerstream-7b4633.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make:174: src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgtiggerstream.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/malloc.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/malloc.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/malloc.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/malloc.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/malloc.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/malloc.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/malloc.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/malloc.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/malloc.cpp 1. parser at end of file 2. Optimizer #0 0x00007ff89ed57362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007ff89ed3dc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007ff89ecaeb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007ff89de60fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007ff89f6b8eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007ff89f6bab1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007ff89f9e547f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007ff8a103a7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007ff89eeaa4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007ff8a0553662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007ff89eeaa8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007ff8a0553612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007ff89eeaa0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007ff8a52cd4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007ff8a52d00b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007ff8a5576110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007ff8a4723149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007ff8a5b1bb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007ff8a5abf787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007ff8a5b6266b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055d917c2a4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055d917c30c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007ff8a5841525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007ff89ec991f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007ff8a584859e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007ff8a585f753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007ff8a585fb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007ff8a5860b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055d917c24eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007ff89de4c20c (/lib64/libc.so.6+0x2e20c) #30 0x00007ff89de4c2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055d917c25561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/malloc-9cab10.cpp clang-13: note: diagnostic msg: /usr/src/tmp/malloc-9cab10.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:104: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/malloc.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/__/simplerhash.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/gcinfo_arm64 && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_ARM64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo/gcinfo_arm64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfo_arm64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/__/simplerhash.cpp.o -MF CMakeFiles/gcinfo_arm64.dir/__/simplerhash.cpp.o.d -o CMakeFiles/gcinfo_arm64.dir/__/simplerhash.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/simplerhash.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/simplerhash.cpp:4: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/simplerhash.h:7: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/iallocator.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/contract.h:253: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.h:724: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.inl:8: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/clrhost.h:18: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ 1 warning generated. gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:2037: src/gcinfo/gcinfo_arm64/CMakeFiles/gcinfo_arm64.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/classfactory.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/classfactory.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/classfactory.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/classfactory.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ 3 warnings generated. gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 1%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/silent_printf.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/silent_printf.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/silent_printf.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/silent_printf.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/silent_printf.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/silent_printf.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/silent_printf.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/silent_printf.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/silent_printf.cpp 1. parser at end of file 2. Optimizer #0 0x00007fe5b7960362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fe5b7946c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fe5b78b7b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fe5b6a69fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fe5b82c1eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fe5b82c3b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fe5b85ee47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fe5b9c437c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fe5b7ab34fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fe5b915c662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fe5b7ab38ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fe5b915c612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fe5b7ab30f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fe5bded64bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fe5bded90b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fe5be17f110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fe5bd32c149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fe5be724b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fe5be6c8787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fe5be76b66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055df26b4c4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055df26b52c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fe5be44a525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fe5b78a21f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fe5be45159e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fe5be468753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fe5be468b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fe5be469b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055df26b46eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fe5b6a5520c (/lib64/libc.so.6+0x2e20c) #30 0x00007fe5b6a552bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055df26b47561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/silent_printf-e0eb3c.cpp clang-13: note: diagnostic msg: /usr/src/tmp/silent_printf-e0eb3c.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:202: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/silent_printf.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/exception/signal.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/exception/signal.cpp.o -MF CMakeFiles/coreclrpal.dir/exception/signal.cpp.o.d -o CMakeFiles/coreclrpal.dir/exception/signal.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/exception/signal.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/exception/signal.cpp.o -MF CMakeFiles/coreclrpal.dir/exception/signal.cpp.o.d -o CMakeFiles/coreclrpal.dir/exception/signal.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/exception/signal.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/pal.h:4495:5: Generating code for declaration 'PAL_SEHException::~PAL_SEHException' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/pal.h:4496:5: LLVM IR generation of compound statement ('{}') #0 0x00007fe37d740362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fe37d726c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fe37d697b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fe37c849fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fe37c8961cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fe37c849f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fe37c83446b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fe37c88a5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fe37c89fe8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fe37c8a1a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fe37c8a45af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fe37d83c051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fe383df7abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fe383dc7cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fe383db0e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fe383e0c564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fe383e1a685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fe383e1b2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fe383e5e85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fe383e5e385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fe383e22687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fe383e2287e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fe383f1227a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fe383f130ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fe383f133a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fe383f13613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fe383f12126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fe383db914c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fe383f78755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fe383d986d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fe383fe4df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fe383f83a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fe383f85225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fe383f8523d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fe383f8523d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #35 0x00007fe383f85918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #36 0x00007fe383ff7e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #37 0x00007fe383f5ec4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #38 0x00007fe38310c149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #39 0x00007fe384504b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #40 0x00007fe3844a8787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #41 0x00007fe38454b66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #42 0x000055d94d8f54c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #43 0x000055d94d8fbc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #44 0x00007fe38422a525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #45 0x00007fe37d6821f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #46 0x00007fe38423159e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #47 0x00007fe384248753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #48 0x00007fe384248b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #49 0x00007fe384249b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #50 0x000055d94d8efeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #51 0x00007fe37c83520c (/lib64/libc.so.6+0x2e20c) #52 0x00007fe37c8352bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #53 0x000055d94d8f0561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/signal-0275e5.cpp clang-13: note: diagnostic msg: /usr/src/tmp/signal-0275e5.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:314: src/pal/src/CMakeFiles/coreclrpal.dir/exception/signal.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hottable.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/hotdata && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hottable.cpp.o -MF CMakeFiles/mdhotdata_dac.dir/hottable.cpp.o.d -o CMakeFiles/mdhotdata_dac.dir/hottable.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hottable.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hottable.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/external.h:17: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../export.h:15: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../debug_metadata.h:37: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hottable.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hottable.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotdataformat.h:28: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/stgpool.h:27: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hottable.cpp.o -MF CMakeFiles/mdhotdata_dac.dir/hottable.cpp.o.d -o CMakeFiles/mdhotdata_dac.dir/hottable.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hottable.cpp 1. parser at end of file 2. Optimizer #0 0x00007fd0d2a9f362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd0d2a85c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd0d29f6b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd0d1ba8fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd0d3400eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fd0d3402b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fd0d372d47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fd0d4d827c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fd0d2bf24fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fd0d429b662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fd0d2bf28ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fd0d429b612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fd0d2bf20f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fd0d90154bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fd0d90180b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fd0d92be110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fd0d846b149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fd0d9863b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fd0d9807787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fd0d98aa66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000562cf29704c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000562cf2976c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fd0d9589525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fd0d29e11f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fd0d959059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fd0d95a7753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fd0d95a7b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fd0d95a8b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000562cf296aeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fd0d1b9420c (/lib64/libc.so.6+0x2e20c) #30 0x00007fd0d1b942bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000562cf296b561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/hottable-c2c352.cpp clang-13: note: diagnostic msg: /usr/src/tmp/hottable-c2c352.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/build.make:90: src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hottable.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/nativeresources/CMakeFiles/nativeresourcestring.dir/resourcestring.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/nativeresources && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/nativeresources/CMakeFiles/nativeresourcestring.dir/resourcestring.cpp.o -MF CMakeFiles/nativeresourcestring.dir/resourcestring.cpp.o.d -o CMakeFiles/nativeresourcestring.dir/resourcestring.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources/resourcestring.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources/resourcestring.cpp:6: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/nativeresources/CMakeFiles/nativeresourcestring.dir/resourcestring.cpp.o -MF CMakeFiles/nativeresourcestring.dir/resourcestring.cpp.o.d -o CMakeFiles/nativeresourcestring.dir/resourcestring.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources/resourcestring.cpp 1. parser at end of file 2. Optimizer #0 0x00007f5b4556e362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f5b45554c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f5b454c5b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f5b44677fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f5b45ecfeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f5b45ed1b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f5b461fc47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f5b478517c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f5b456c14fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f5b46d6a662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f5b456c18ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f5b46d6a612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f5b456c10f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f5b4bae44bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f5b4bae70b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f5b4bd8d110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f5b4af3a149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f5b4c332b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f5b4c2d6787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f5b4c37966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005595fc0934c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005595fc099c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f5b4c058525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f5b454b01f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f5b4c05f59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f5b4c076753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f5b4c076b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f5b4c077b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005595fc08deb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f5b4466320c (/lib64/libc.so.6+0x2e20c) #30 0x00007f5b446632bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005595fc08e561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/resourcestring-f435b1.cpp clang-13: note: diagnostic msg: /usr/src/tmp/resourcestring-f435b1.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/nativeresources/CMakeFiles/nativeresourcestring.dir/build.make:76: src/nativeresources/CMakeFiles/nativeresourcestring.dir/resourcestring.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:1850: src/nativeresources/CMakeFiles/nativeresourcestring.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheapwriter.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/hotdata && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheapwriter.cpp.o -MF CMakeFiles/mdhotdata_dac.dir/hotheapwriter.cpp.o.d -o CMakeFiles/mdhotdata_dac.dir/hotheapwriter.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheapwriter.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheapwriter.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/external.h:17: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../export.h:15: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../debug_metadata.h:37: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheapwriter.cpp:15: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../heaps/export.h:15: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../heaps/stringheap.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../heaps/external.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/stgpool.h:27: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheapwriter.cpp.o -MF CMakeFiles/mdhotdata_dac.dir/hotheapwriter.cpp.o.d -o CMakeFiles/mdhotdata_dac.dir/hotheapwriter.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheapwriter.cpp 1. parser at end of file 2. Optimizer #0 0x00007f94e974e362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f94e9734c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f94e96a5b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f94e8857fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f94ea0afeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f94ea0b1b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f94ea3dc47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f94eba317c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f94e98a14fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f94eaf4a662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f94e98a18ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f94eaf4a612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f94e98a10f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f94efcc44bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f94efcc70b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f94eff6d110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f94ef11a149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f94f0512b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f94f04b6787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f94f055966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055a0c41774c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055a0c417dc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f94f0238525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f94e96901f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f94f023f59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f94f0256753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f94f0256b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f94f0257b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055a0c4171eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f94e884320c (/lib64/libc.so.6+0x2e20c) #30 0x00007f94e88432bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055a0c4172561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/hotheapwriter-8631a6.cpp clang-13: note: diagnostic msg: /usr/src/tmp/hotheapwriter-8631a6.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/build.make:132: src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheapwriter.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/debug/dbgutil/CMakeFiles/dbgutil.dir/dbgutil.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/dbgutil && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPAL_STDCPP_COMPAT -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/dbgutil -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/dbgutil -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/debug/dbgutil/CMakeFiles/dbgutil.dir/dbgutil.cpp.o -MF CMakeFiles/dbgutil.dir/dbgutil.cpp.o.d -o CMakeFiles/dbgutil.dir/dbgutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/dbgutil/dbgutil.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPAL_STDCPP_COMPAT -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/dbgutil -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/dbgutil -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/debug/dbgutil/CMakeFiles/dbgutil.dir/dbgutil.cpp.o -MF CMakeFiles/dbgutil.dir/dbgutil.cpp.o.d -o CMakeFiles/dbgutil.dir/dbgutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/dbgutil/dbgutil.cpp 1. parser at end of file 2. Optimizer #0 0x00007fdbe752a362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fdbe7510c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fdbe7481b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fdbe6633fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fdbe7e8beab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fdbe7e8db1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fdbe81b847f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fdbe980d7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fdbe767d4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fdbe8d26662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fdbe767d8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fdbe8d26612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fdbe767d0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fdbedaa04bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fdbedaa30b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fdbedd49110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fdbecef6149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fdbee2eeb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fdbee292787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fdbee33566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000056294c9fb4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000056294ca01c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fdbee014525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fdbe746c1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fdbee01b59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fdbee032753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fdbee032b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fdbee033b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000056294c9f5eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fdbe661f20c (/lib64/libc.so.6+0x2e20c) #30 0x00007fdbe661f2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000056294c9f6561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/dbgutil-5300ed.cpp clang-13: note: diagnostic msg: /usr/src/tmp/dbgutil-5300ed.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/debug/dbgutil/CMakeFiles/dbgutil.dir/build.make:76: src/debug/dbgutil/CMakeFiles/dbgutil.dir/dbgutil.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/gcinfo/CMakeFiles/gcinfo_obj.dir/gcinfoencoder.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/CMakeFiles/gcinfo_obj.dir/gcinfoencoder.cpp.o -MF CMakeFiles/gcinfo_obj.dir/gcinfoencoder.cpp.o.d -o CMakeFiles/gcinfo_obj.dir/gcinfoencoder.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/gcinfoencoder.h:95: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/iallocator.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/contract.h:253: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.h:724: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.inl:8: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/clrhost.h:18: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/CMakeFiles/gcinfo_obj.dir/gcinfoencoder.cpp.o -MF CMakeFiles/gcinfo_obj.dir/gcinfoencoder.cpp.o.d -o CMakeFiles/gcinfo_obj.dir/gcinfoencoder.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:2268:1: current parser token 'void' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:980:21: LLVM IR generation of declaration 'GcInfoEncoder::Build' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:980:21: Generating code for declaration 'GcInfoEncoder::Build' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1715:5: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1729:9: LLVM IR generation of compound statement ('{}') 6. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1731:13: LLVM IR generation of compound statement ('{}') 7. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1733:17: LLVM IR generation of compound statement ('{}') #0 0x00007f2d1639a362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f2d16380c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f2d162f1b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f2d154a3fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f2d154f01cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f2d154a3f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f2d1548e46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f2d154e45b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f2d154f9e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f2d154fba3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f2d154fe5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f2d16496051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f2d1ca217c8 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67c8) #13 0x00007f2d1ca21cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f2d1ca0ae34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f2d1ca66564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f2d1ca74685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f2d1ca752bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f2d1cab885c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f2d1cab8385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f2d1ca78830 clang::CodeGen::CodeGenFunction::EvaluateExprAsBool(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fd830) #21 0x00007f2d1cbc08bf clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(clang::Expr const*, llvm::BasicBlock*, llvm::BasicBlock*, unsigned long, clang::Stmt::Likelihood) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18458bf) #22 0x00007f2d1cb6dbb7 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2bb7) #23 0x00007f2d1cb6d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f2d1cb6d3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f2d1cb6d613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f2d1cb6c126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f2d1cb6dc49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #28 0x00007f2d1cb6d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #29 0x00007f2d1cb6d3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #30 0x00007f2d1cb6d613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #31 0x00007f2d1cb6c126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #32 0x00007f2d1cb75c77 clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fac77) #33 0x00007f2d1cb6d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #34 0x00007f2d1cb6d3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #35 0x00007f2d1cb6d613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #36 0x00007f2d1cb6c126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #37 0x00007f2d1ca4b525 clang::CodeGen::CodeGenFunction::EmitCXXTryStmt(clang::CXXTryStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d0525) #38 0x00007f2d1cb6d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #39 0x00007f2d1cb6d3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #40 0x00007f2d1cb6d613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #41 0x00007f2d1cb6c126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #42 0x00007f2d1cb6dc49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #43 0x00007f2d1cb6d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #44 0x00007f2d1cbbfc4a clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1844c4a) #45 0x00007f2d1cbd245f clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185745f) #46 0x00007f2d1cbd94a9 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185e4a9) #47 0x00007f2d1cbddbb3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862bb3) #48 0x00007f2d1cc0202f (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x188702f) #49 0x00007f2d1cc51272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #50 0x00007f2d1cbaa9f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #51 0x00007f2d1bd660d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #52 0x00007f2d1d15eb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #53 0x00007f2d1d102787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #54 0x00007f2d1d1a566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #55 0x000055914b01b4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #56 0x000055914b021c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #57 0x00007f2d1ce84525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #58 0x00007f2d162dc1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #59 0x00007f2d1ce8b59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #60 0x00007f2d1cea2753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #61 0x00007f2d1cea2b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #62 0x00007f2d1cea3b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #63 0x000055914b015eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #64 0x00007f2d1548f20c (/lib64/libc.so.6+0x2e20c) #65 0x00007f2d1548f2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #66 0x000055914b016561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/gcinfoencoder-941812.cpp clang-13: note: diagnostic msg: /usr/src/tmp/gcinfoencoder-941812.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/gcinfo/CMakeFiles/gcinfo_obj.dir/build.make:90: src/gcinfo/CMakeFiles/gcinfo_obj.dir/gcinfoencoder.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:1985: src/gcinfo/CMakeFiles/gcinfo_obj.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/file/path.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/file/path.cpp.o -MF CMakeFiles/coreclrpal.dir/file/path.cpp.o.d -o CMakeFiles/coreclrpal.dir/file/path.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/file/path.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/file/path.cpp.o -MF CMakeFiles/coreclrpal.dir/file/path.cpp.o.d -o CMakeFiles/coreclrpal.dir/file/path.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/file/path.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/stackstring.hpp:240:5: Generating code for declaration 'StackString<260, char>::~StackString' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/stackstring.hpp:241:5: LLVM IR generation of compound statement ('{}') #0 0x00007f3ae1efb362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f3ae1ee1c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f3ae1e52b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f3ae1004fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f3ae10511cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f3ae1004f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f3ae0fef46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f3ae10455b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f3ae105ae8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f3ae105ca3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f3ae105f5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f3ae1ff7051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f3ae85b2abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f3ae8582cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f3ae856be34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f3ae85c7564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f3ae85d5685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f3ae85d62bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f3ae861985c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f3ae8619385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f3ae85dd687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f3ae85dd87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f3ae86cd27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f3ae86ce0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f3ae86ce3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f3ae86ce613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f3ae86cd126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f3ae857414c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f3ae8733755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f3ae85536d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f3ae879fdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f3ae873ea7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f3ae8740225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f3ae874023d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f3ae8740918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f3ae87b2e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f3ae8719c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f3ae78c7149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f3ae8cbfb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f3ae8c63787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f3ae8d0666b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055d4e5b594c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055d4e5b5fc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f3ae89e5525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f3ae1e3d1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f3ae89ec59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f3ae8a03753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f3ae8a03b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f3ae8a04b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055d4e5b53eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f3ae0ff020c (/lib64/libc.so.6+0x2e20c) #51 0x00007f3ae0ff02bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055d4e5b54561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/path-4b2757.cpp clang-13: note: diagnostic msg: /usr/src/tmp/path-4b2757.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:384: src/pal/src/CMakeFiles/coreclrpal.dir/file/path.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 6%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/init/sxs.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/init/sxs.cpp.o -MF CMakeFiles/coreclrpal.dir/init/sxs.cpp.o.d -o CMakeFiles/coreclrpal.dir/init/sxs.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/init/sxs.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/init/sxs.cpp.o -MF CMakeFiles/coreclrpal.dir/init/sxs.cpp.o.d -o CMakeFiles/coreclrpal.dir/init/sxs.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/init/sxs.cpp 1. parser at end of file 2. Optimizer #0 0x00007ff9af6f0362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007ff9af6d6c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007ff9af647b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007ff9ae7f9fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007ff9b0051eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007ff9b0053b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007ff9b037e47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007ff9b19d37c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007ff9af8434fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007ff9b0eec662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007ff9af8438ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007ff9b0eec612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007ff9af8430f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007ff9b5c664bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007ff9b5c690b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007ff9b5f0f110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007ff9b50bc149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007ff9b64b4b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007ff9b6458787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007ff9b64fb66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000557eee8f64c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000557eee8fcc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007ff9b61da525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007ff9af6321f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007ff9b61e159e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007ff9b61f8753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007ff9b61f8b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007ff9b61f9b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000557eee8f0eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007ff9ae7e520c (/lib64/libc.so.6+0x2e20c) #30 0x00007ff9ae7e52bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000557eee8f1561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/sxs-642f06.cpp clang-13: note: diagnostic msg: /usr/src/tmp/sxs-642f06.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:440: src/pal/src/CMakeFiles/coreclrpal.dir/init/sxs.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/handlemgr/handlemgr.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/handlemgr/handlemgr.cpp.o -MF CMakeFiles/coreclrpal.dir/handlemgr/handlemgr.cpp.o.d -o CMakeFiles/coreclrpal.dir/handlemgr/handlemgr.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/handlemgr/handlemgr.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/handlemgr/handlemgr.cpp.o -MF CMakeFiles/coreclrpal.dir/handlemgr/handlemgr.cpp.o.d -o CMakeFiles/coreclrpal.dir/handlemgr/handlemgr.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/handlemgr/handlemgr.cpp 1. parser at end of file 2. Optimizer #0 0x00007fd1bd5c4362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd1bd5aac64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd1bd51bb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd1bc6cdfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd1bdf25eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fd1bdf27b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fd1be25247f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fd1bf8a77c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fd1bd7174fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fd1bedc0662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fd1bd7178ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fd1bedc0612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fd1bd7170f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fd1c3b3a4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fd1c3b3d0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fd1c3de3110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fd1c2f90149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fd1c4388b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fd1c432c787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fd1c43cf66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000056054a7cb4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000056054a7d1c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fd1c40ae525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fd1bd5061f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fd1c40b559e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fd1c40cc753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fd1c40ccb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fd1c40cdb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000056054a7c5eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fd1bc6b920c (/lib64/libc.so.6+0x2e20c) #30 0x00007fd1bc6b92bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000056054a7c6561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/handlemgr-f80e19.cpp clang-13: note: diagnostic msg: /usr/src/tmp/handlemgr-f80e19.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:412: src/pal/src/CMakeFiles/coreclrpal.dir/handlemgr/handlemgr.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_compilersupport.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_compilersupport.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/regmeta_compilersupport.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/regmeta_compilersupport.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ 3 warnings generated. gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/disp.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/disp.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/disp.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/disp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/disp.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/disp.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/disp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:169:17: Generating code for declaration 'SBuffer::~SBuffer' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:170:1: LLVM IR generation of compound statement ('{}') #0 0x00007f291576b362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f2915751c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f29156c2b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f2914874fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f29148c11cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f2914874f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f291485f46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f29148b55b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f29148cae8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f29148cca3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f29148cf5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f2915867051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f291be22abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f291bdf2cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f291bddbe34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f291be37564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f291be45685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f291be462bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f291be8985c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f291be84ebf (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1738ebf) #20 0x00007f291be858a0 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17398a0) #21 0x00007f291be89385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #22 0x00007f291be49830 clang::CodeGen::CodeGenFunction::EvaluateExprAsBool(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fd830) #23 0x00007f291bf918bf clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(clang::Expr const*, llvm::BasicBlock*, llvm::BasicBlock*, unsigned long, clang::Stmt::Likelihood) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18458bf) #24 0x00007f291bf3ebb7 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2bb7) #25 0x00007f291bf3e0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #26 0x00007f291bf3e3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #27 0x00007f291bf3e613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #28 0x00007f291bf3d126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #29 0x00007f291bde414c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #30 0x00007f291bfa3755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #31 0x00007f291bdc36d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #32 0x00007f291c00fdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #33 0x00007f291bfaea7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #34 0x00007f291bfb0225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #35 0x00007f291bfb023d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #36 0x00007f291bfb023d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #37 0x00007f291bfb0918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #38 0x00007f291c022e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #39 0x00007f291bf89c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #40 0x00007f291b137149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #41 0x00007f291c52fb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #42 0x00007f291c4d3787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #43 0x00007f291c57666b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #44 0x00005612d779b4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #45 0x00005612d77a1c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #46 0x00007f291c255525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #47 0x00007f29156ad1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #48 0x00007f291c25c59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #49 0x00007f291c273753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #50 0x00007f291c273b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #51 0x00007f291c274b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #52 0x00005612d7795eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #53 0x00007f291486020c (/lib64/libc.so.6+0x2e20c) #54 0x00007f29148602bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #55 0x00005612d7796561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/disp-f50523.cpp clang-13: note: diagnostic msg: /usr/src/tmp/disp-f50523.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:146: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/disp.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 7%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/locale/unicode.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/locale/unicode.cpp.o -MF CMakeFiles/coreclrpal.dir/locale/unicode.cpp.o.d -o CMakeFiles/coreclrpal.dir/locale/unicode.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/locale/unicode.cpp /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/locale/unicode.cpp:415:10: warning: variable 'defaultChar' set but not used [-Wunused-but-set-variable] char defaultChar = '?'; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/locale/unicode.cpp.o -MF CMakeFiles/coreclrpal.dir/locale/unicode.cpp.o.d -o CMakeFiles/coreclrpal.dir/locale/unicode.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/locale/unicode.cpp 1. parser at end of file 2. Optimizer #0 0x00007efd9ae31362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007efd9ae17c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007efd9ad88b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007efd99f3afb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007efd9b792eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007efd9b794b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007efd9babf47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007efd9d1147c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007efd9af844fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007efd9c62d662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007efd9af848ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007efd9c62d612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007efd9af840f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007efda13a74bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007efda13aa0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007efda1650110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007efda07fd149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007efda1bf5b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007efda1b99787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007efda1c3c66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000056060ab264c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000056060ab2cc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007efda191b525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007efd9ad731f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007efda192259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007efda1939753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007efda1939b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007efda193ab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000056060ab20eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007efd99f2620c (/lib64/libc.so.6+0x2e20c) #30 0x00007efd99f262bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000056060ab21561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/unicode-9ffda9.cpp clang-13: note: diagnostic msg: /usr/src/tmp/unicode-9ffda9.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:482: src/pal/src/CMakeFiles/coreclrpal.dir/locale/unicode.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/handlemgr/handleapi.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/handlemgr/handleapi.cpp.o -MF CMakeFiles/coreclrpal.dir/handlemgr/handleapi.cpp.o.d -o CMakeFiles/coreclrpal.dir/handlemgr/handleapi.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/handlemgr/handleapi.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/handlemgr/handleapi.cpp.o -MF CMakeFiles/coreclrpal.dir/handlemgr/handleapi.cpp.o.d -o CMakeFiles/coreclrpal.dir/handlemgr/handleapi.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/handlemgr/handleapi.cpp 1. parser at end of file 2. Optimizer #0 0x00007fb23327f362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fb233265c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fb2331d6b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fb232388fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fb233be0eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fb233be2b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fb233f0d47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fb2355627c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fb2333d24fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fb234a7b662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fb2333d28ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fb234a7b612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fb2333d20f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fb2397f54bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fb2397f80b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fb239a9e110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fb238c4b149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fb23a043b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fb239fe7787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fb23a08a66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000562cb64124c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000562cb6418c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fb239d69525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fb2331c11f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fb239d7059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fb239d87753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fb239d87b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fb239d88b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000562cb640ceb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fb23237420c (/lib64/libc.so.6+0x2e20c) #30 0x00007fb2323742bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000562cb640d561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/handleapi-14a490.cpp clang-13: note: diagnostic msg: /usr/src/tmp/handleapi-14a490.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:398: src/pal/src/CMakeFiles/coreclrpal.dir/handlemgr/handleapi.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/printfcpp.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/printfcpp.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/printfcpp.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/printfcpp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/printfcpp.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/printfcpp.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/printfcpp.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/printfcpp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/printfcpp.cpp 1. parser at end of file 2. Optimizer #0 0x00007fd1e9c4b362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd1e9c31c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd1e9ba2b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd1e8d54fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd1ea5aceab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fd1ea5aeb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fd1ea8d947f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fd1ebf2e7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fd1e9d9e4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fd1eb447662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fd1e9d9e8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fd1eb447612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fd1e9d9e0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fd1f01c14bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fd1f01c40b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fd1f046a110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fd1ef617149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fd1f0a0fb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fd1f09b3787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fd1f0a5666b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000564f472614c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000564f47267c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fd1f0735525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fd1e9b8d1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fd1f073c59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fd1f0753753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fd1f0753b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fd1f0754b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000564f4725beb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fd1e8d4020c (/lib64/libc.so.6+0x2e20c) #30 0x00007fd1e8d402bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000564f4725c561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/printfcpp-fd1179.cpp clang-13: note: diagnostic msg: /usr/src/tmp/printfcpp-fd1179.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:188: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/printfcpp.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgtiggerstorage.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgtiggerstorage.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/stgtiggerstorage.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/stgtiggerstorage.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstorage.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstorage.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstorage.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstorage.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgtiggerstorage.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/stgtiggerstorage.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/stgtiggerstorage.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstorage.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstorage.cpp:47:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstorage.cpp:34:16: LLVM IR generation of declaration 'TiggerStorage::~TiggerStorage' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstorage.cpp:34:16: Generating code for declaration 'TiggerStorage::~TiggerStorage' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstorage.cpp:35:1: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stgtiggerstorage.cpp:37:5: LLVM IR generation of compound statement ('{}') #0 0x00007fcc9b617362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fcc9b5fdc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fcc9b56eb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fcc9a720fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fcc9a76d1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fcc9a720f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fcc9a70b46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fcc9a7615b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fcc9a776e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fcc9a778a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fcc9a77b5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fcc9b713051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fcca1c9e7f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007fcca1c9ecd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fcca1c87e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fcca1ce3564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fcca1cf1685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fcca1cf22bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fcca1d3585c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fcca1d35385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fcca1cf9687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fcca1cf987e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fcca1de927a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fcca1dea0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fcca1dea3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fcca1dea613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fcca1de9126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fcca1deac49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #28 0x00007fcca1dea0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #29 0x00007fcca1dea3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #30 0x00007fcca1dea613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #31 0x00007fcca1de9126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #32 0x00007fcca1c9014c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #33 0x00007fcca1e4f755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #34 0x00007fcca1c6f6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #35 0x00007fcca1ebbdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #36 0x00007fcca1e5aa7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #37 0x00007fcca1eb1e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #38 0x00007fcca1ece272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #39 0x00007fcca1e279f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #40 0x00007fcca0fe30d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #41 0x00007fcca23dbb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #42 0x00007fcca237f787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #43 0x00007fcca242266b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #44 0x000055f9fbe8b4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #45 0x000055f9fbe91c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #46 0x00007fcca2101525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #47 0x00007fcc9b5591f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #48 0x00007fcca210859e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #49 0x00007fcca211f753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #50 0x00007fcca211fb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #51 0x00007fcca2120b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #52 0x000055f9fbe85eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #53 0x00007fcc9a70c20c (/lib64/libc.so.6+0x2e20c) #54 0x00007fcc9a70c2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #55 0x000055f9fbe86561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/stgtiggerstorage-91ec8d.cpp clang-13: note: diagnostic msg: /usr/src/tmp/stgtiggerstorage-91ec8d.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make:160: src/md/enc/CMakeFiles/mdruntimerw_dac.dir/stgtiggerstorage.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/enc/CMakeFiles/mdruntimerw_dac.dir/mdinternalrw.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/mdinternalrw.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/mdinternalrw.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/mdinternalrw.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/mdinternalrw.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/mdinternalrw.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/mdinternalrw.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/mdinternalrw.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/mdinternalrw.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/mdinternalrw.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/mdinternalrw.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/mdinternalrw.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/mdinternalrw.cpp:392:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/mdinternalrw.cpp:344:15: LLVM IR generation of declaration 'MDInternalRW::~MDInternalRW' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/mdinternalrw.cpp:344:15: Generating code for declaration 'MDInternalRW::~MDInternalRW' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/mdinternalrw.cpp:345:1: LLVM IR generation of compound statement ('{}') #0 0x00007f845e478362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f845e45ec64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f845e3cfb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f845d581fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f845d5ce1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f845d581f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f845d56c46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f845d5c25b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f845d5d7e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f845d5d9a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f845d5dc5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f845e574051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f8464aff7f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007f8464affcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f8464ae8e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f8464aece83 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::Address, clang::CodeGen::CallArgList&, clang::CodeGen::AggValueSlot::Overlap_t, clang::SourceLocation, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1693e83) #16 0x00007f8464aed657 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::AggValueSlot, clang::CXXConstructExpr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1694657) #17 0x00007f8464b61c59 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1708c59) #18 0x00007f8464b5a55a clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr const*, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170155a) #19 0x00007f8464b1d1ef clang::CodeGen::CodeGenFunction::EmitExprAsInit(clang::Expr const*, clang::ValueDecl const*, clang::CodeGen::LValue, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c41ef) #20 0x00007f8464b1d733 clang::CodeGen::CodeGenFunction::EmitAutoVarInit(clang::CodeGen::CodeGenFunction::AutoVarEmission const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c4733) #21 0x00007f8464b1fb06 clang::CodeGen::CodeGenFunction::EmitAutoVarDecl(clang::VarDecl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6b06) #22 0x00007f8464b1fe3a clang::CodeGen::CodeGenFunction::EmitDecl(clang::Decl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6e3a) #23 0x00007f8464c567cf clang::CodeGen::CodeGenFunction::EmitDeclStmt(clang::DeclStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fd7cf) #24 0x00007f8464c4b675 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2675) #25 0x00007f8464c4a126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007f8464c4b0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #27 0x00007f8464c4b3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #28 0x00007f8464c4b613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #29 0x00007f8464c4a126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #30 0x00007f8464af114c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #31 0x00007f8464cb0755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #32 0x00007f8464ad06d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #33 0x00007f8464d1cdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #34 0x00007f8464cbba7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #35 0x00007f8464d12e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #36 0x00007f8464d2f272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #37 0x00007f8464c889f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #38 0x00007f8463e440d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #39 0x00007f846523cb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #40 0x00007f84651e0787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #41 0x00007f846528366b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #42 0x000055bf0a9104c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #43 0x000055bf0a916c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #44 0x00007f8464f62525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #45 0x00007f845e3ba1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #46 0x00007f8464f6959e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #47 0x00007f8464f80753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #48 0x00007f8464f80b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #49 0x00007f8464f81b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #50 0x000055bf0a90aeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #51 0x00007f845d56d20c (/lib64/libc.so.6+0x2e20c) #52 0x00007f845d56d2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #53 0x000055bf0a90b561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/mdinternalrw-d99076.cpp clang-13: note: diagnostic msg: /usr/src/tmp/mdinternalrw-d99076.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make:188: src/md/enc/CMakeFiles/mdruntimerw_dac.dir/mdinternalrw.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/mbstring.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/mbstring.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/mbstring.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/mbstring.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/mbstring.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/mbstring.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/mbstring.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/mbstring.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/mbstring.cpp 1. parser at end of file 2. Optimizer #0 0x00007fccba366362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fccba34cc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fccba2bdb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fccb946ffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fccbacc7eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fccbacc9b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fccbaff447f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fccbc6497c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fccba4b94fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fccbbb62662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fccba4b98ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fccbbb62612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fccba4b90f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fccc08dc4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fccc08df0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fccc0b85110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fccbfd32149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fccc112ab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fccc10ce787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fccc117166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000564ce28204c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000564ce2826c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fccc0e50525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fccba2a81f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fccc0e5759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fccc0e6e753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fccc0e6eb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fccc0e6fb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000564ce281aeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fccb945b20c (/lib64/libc.so.6+0x2e20c) #30 0x00007fccb945b2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000564ce281b561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/mbstring-4bcb73.cpp clang-13: note: diagnostic msg: /usr/src/tmp/mbstring-4bcb73.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:132: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/mbstring.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/coreruncommon.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/hosts/unixcoreruncommon && /usr/bin/clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/hosts/unixcoreruncommon -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/hosts/unixcoreruncommon -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/hosts/inc -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/coreruncommon.cpp.o -MF CMakeFiles/unixcoreruncommon.dir/coreruncommon.cpp.o.d -o CMakeFiles/unixcoreruncommon.dir/coreruncommon.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/hosts/unixcoreruncommon/coreruncommon.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/hosts/unixcoreruncommon -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/hosts/unixcoreruncommon -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/hosts/inc -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/coreruncommon.cpp.o -MF CMakeFiles/unixcoreruncommon.dir/coreruncommon.cpp.o.d -o CMakeFiles/unixcoreruncommon.dir/coreruncommon.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/hosts/unixcoreruncommon/coreruncommon.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/bin/../lib64/gcc/x86_64-alt-linux/11/../../../../include/c++/11/bits/stl_tree.h:173:5: Generating code for declaration 'std::_Rb_tree_header::_Rb_tree_header' 4. /usr/bin/../lib64/gcc/x86_64-alt-linux/11/../../../../include/c++/11/bits/stl_tree.h:174:5: LLVM IR generation of compound statement ('{}') #0 0x00007f418d681362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f418d667c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f418d5d8b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f418c78afb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f418c7d71cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f418c78af12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f418c77546b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f418c7cb5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f418c7e0e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f418c7e2a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f418c7e55af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f418d77d051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f4193d38abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f4193d08cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f4193cf1e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f4193d4d564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f4193d5b685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f4193d5c2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f4193d9f85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f4193d9f385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f4193d63687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f4193d6387e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f4193e5327a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f4193e540ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f4193e543a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f4193e54613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f4193e53126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f4193cf9dbb clang::CodeGen::CodeGenFunction::EmitConstructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1697dbb) #28 0x00007f4193eb990d clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185790d) #29 0x00007f4193cd96d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f4193f25c84 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3c84) #31 0x00007f4193ec4a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f4193ec6225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f4193ec623d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f4193ec623d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #35 0x00007f4193ec623d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #36 0x00007f4193ec623d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #37 0x00007f4193ec623d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #38 0x00007f4193ec623d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #39 0x00007f4193ec6918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #40 0x00007f4193f38e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #41 0x00007f4193e9fc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #42 0x00007f419304d149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #43 0x00007f4194445b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #44 0x00007f41943e9787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #45 0x00007f419448c66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #46 0x000055cfd54014c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #47 0x000055cfd5407c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #48 0x00007f419416b525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #49 0x00007f418d5c31f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #50 0x00007f419417259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #51 0x00007f4194189753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #52 0x00007f4194189b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #53 0x00007f419418ab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #54 0x000055cfd53fbeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #55 0x00007f418c77620c (/lib64/libc.so.6+0x2e20c) #56 0x00007f418c7762bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #57 0x000055cfd53fc561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/coreruncommon-fbcd4f.cpp clang-13: note: diagnostic msg: /usr/src/tmp/coreruncommon-fbcd4f.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/build.make:76: src/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/coreruncommon.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:1639: src/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheapsdirectoryiterator.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/hotdata && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheapsdirectoryiterator.cpp.o -MF CMakeFiles/mdhotdata_dac.dir/hotheapsdirectoryiterator.cpp.o.d -o CMakeFiles/mdhotdata_dac.dir/hotheapsdirectoryiterator.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheapsdirectoryiterator.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheapsdirectoryiterator.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/external.h:17: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../export.h:15: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../debug_metadata.h:37: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheapsdirectoryiterator.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotdataformat.h:28: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/stgpool.h:27: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheapsdirectoryiterator.cpp.o -MF CMakeFiles/mdhotdata_dac.dir/hotheapsdirectoryiterator.cpp.o.d -o CMakeFiles/mdhotdata_dac.dir/hotheapsdirectoryiterator.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheapsdirectoryiterator.cpp 1. parser at end of file 2. Optimizer #0 0x00007faa5a82a362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007faa5a810c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007faa5a781b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007faa59933fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007faa5b18beab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007faa5b18db1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007faa5b4b847f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007faa5cb0d7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007faa5a97d4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007faa5c026662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007faa5a97d8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007faa5c026612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007faa5a97d0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007faa60da04bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007faa60da30b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007faa61049110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007faa601f6149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007faa615eeb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007faa61592787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007faa6163566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055f6c0a2a4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055f6c0a30c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007faa61314525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007faa5a76c1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007faa6131b59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007faa61332753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007faa61332b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007faa61333b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055f6c0a24eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007faa5991f20c (/lib64/libc.so.6+0x2e20c) #30 0x00007faa5991f2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055f6c0a25561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/hotheapsdirectoryiterator-aeb20a.cpp clang-13: note: diagnostic msg: /usr/src/tmp/hotheapsdirectoryiterator-aeb20a.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/build.make:104: src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheapsdirectoryiterator.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 6%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/loader/module.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/loader/module.cpp.o -MF CMakeFiles/coreclrpal.dir/loader/module.cpp.o.d -o CMakeFiles/coreclrpal.dir/loader/module.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/loader/module.cpp /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/loader/module.cpp:269:12: warning: variable 'symbolName' set but not used [-Wunused-but-set-variable] LPCSTR symbolName = lpProcName; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/loader/module.cpp.o -MF CMakeFiles/coreclrpal.dir/loader/module.cpp.o.d -o CMakeFiles/coreclrpal.dir/loader/module.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/loader/module.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/loader/module.cpp:1236:13: Generating code for declaration 'LOADCallDllMainSafe' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/loader/module.cpp:1255:5 : LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/loader/module.cpp:1263:5 : LLVM IR generation of compound statement ('{}') #0 0x00007f3105cbd362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f3105ca3c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f3105c14b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f3104dc6fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f3104e131cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f3104dc6f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f3104db146b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f3104e075b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f3104e1ce8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f3104e1ea3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f3104e215af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f3105db9051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f310c3447c8 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67c8) #13 0x00007f310c344cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f310c32de34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f310c386ed0 clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16e8ed0) #16 0x00007f310c3a0173 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1702173) #17 0x00007f310c3892dc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb2dc) #18 0x00007f310c3960cc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f80cc) #19 0x00007f310c39e75d (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170075d) #20 0x00007f310c39dbbb (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16ffbbb) #21 0x00007f310c39f55a clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr const*, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170155a) #22 0x00007f310c3a6c59 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1708c59) #23 0x00007f310c39dcea (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16ffcea) #24 0x00007f310c39f55a clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr const*, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170155a) #25 0x00007f310c3621ef clang::CodeGen::CodeGenFunction::EmitExprAsInit(clang::Expr const*, clang::ValueDecl const*, clang::CodeGen::LValue, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c41ef) #26 0x00007f310c362733 clang::CodeGen::CodeGenFunction::EmitAutoVarInit(clang::CodeGen::CodeGenFunction::AutoVarEmission const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c4733) #27 0x00007f310c364b06 clang::CodeGen::CodeGenFunction::EmitAutoVarDecl(clang::VarDecl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6b06) #28 0x00007f310c364e3a clang::CodeGen::CodeGenFunction::EmitDecl(clang::Decl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6e3a) #29 0x00007f310c49b7cf clang::CodeGen::CodeGenFunction::EmitDeclStmt(clang::DeclStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fd7cf) #30 0x00007f310c490675 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2675) #31 0x00007f310c48f126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #32 0x00007f310c4900ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #33 0x00007f310c4903a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #34 0x00007f310c490613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #35 0x00007f310c48f126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #36 0x00007f310c36e525 clang::CodeGen::CodeGenFunction::EmitCXXTryStmt(clang::CXXTryStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d0525) #37 0x00007f310c4900ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #38 0x00007f310c4903a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #39 0x00007f310c490613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #40 0x00007f310c48f126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #41 0x00007f310c4900ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #42 0x00007f310c4e2c4a clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1844c4a) #43 0x00007f310c4f545f clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185745f) #44 0x00007f310c4fc4a9 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185e4a9) #45 0x00007f310c500b95 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862b95) #46 0x00007f310c502225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #47 0x00007f310c502918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #48 0x00007f310c574e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #49 0x00007f310c4dbc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #50 0x00007f310b689149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #51 0x00007f310ca81b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #52 0x00007f310ca25787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #53 0x00007f310cac866b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #54 0x00005591934414c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #55 0x0000559193447c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #56 0x00007f310c7a7525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #57 0x00007f3105bff1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #58 0x00007f310c7ae59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #59 0x00007f310c7c5753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #60 0x00007f310c7c5b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #61 0x00007f310c7c6b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #62 0x000055919343beb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #63 0x00007f3104db220c (/lib64/libc.so.6+0x2e20c) #64 0x00007f3104db22bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #65 0x000055919343c561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/module-283c66.cpp clang-13: note: diagnostic msg: /usr/src/tmp/module-283c66.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:454: src/pal/src/CMakeFiles/coreclrpal.dir/loader/module.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 8%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/loader/modulename.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/loader/modulename.cpp.o -MF CMakeFiles/coreclrpal.dir/loader/modulename.cpp.o.d -o CMakeFiles/coreclrpal.dir/loader/modulename.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/loader/modulename.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/loader/modulename.cpp.o -MF CMakeFiles/coreclrpal.dir/loader/modulename.cpp.o.d -o CMakeFiles/coreclrpal.dir/loader/modulename.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/loader/modulename.cpp 1. parser at end of file 2. Optimizer #0 0x00007fa5c8100362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fa5c80e6c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fa5c8057b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fa5c7209fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fa5c8a61eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fa5c8a63b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fa5c8d8e47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fa5ca3e37c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fa5c82534fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fa5c98fc662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fa5c82538ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fa5c98fc612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fa5c82530f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fa5ce6764bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fa5ce6790b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fa5ce91f110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fa5cdacc149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fa5ceec4b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fa5cee68787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fa5cef0b66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005592e1fce4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005592e1fd4c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fa5cebea525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fa5c80421f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fa5cebf159e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fa5cec08753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fa5cec08b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fa5cec09b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005592e1fc8eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fa5c71f520c (/lib64/libc.so.6+0x2e20c) #30 0x00007fa5c71f52bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005592e1fc9561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/modulename-b9a977.cpp clang-13: note: diagnostic msg: /usr/src/tmp/modulename-b9a977.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:468: src/pal/src/CMakeFiles/coreclrpal.dir/loader/modulename.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/assemblymd.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/assemblymd.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/assemblymd.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/assemblymd.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/assemblymd.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/assemblymd.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/assemblymd.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007fd41528f362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd415275c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd4151e6b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd414398fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd4143e51cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fd414398f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fd41438346b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fd4143d95b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fd4143eee8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fd4143f0a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fd4143f35af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fd41538b051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fd41b946abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fd41b916cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fd41b8ffe34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fd41b95b564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fd41b969685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fd41b96a2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fd41b9ad85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fd41b9ad385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fd41b971687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fd41b97187e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fd41ba6127a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fd41ba620ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fd41ba623a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fd41ba62613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fd41ba61126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fd41b90814c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fd41bac7755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fd41b8e76d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fd41bb33df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fd41bad2a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fd41bad4225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fd41bad423d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fd41bad4918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fd41bb46e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fd41baadc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fd41ac5b149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fd41c053b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fd41bff7787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fd41c09a66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000559773f324c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000559773f38c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fd41bd79525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fd4151d11f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fd41bd8059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fd41bd97753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fd41bd97b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fd41bd98b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000559773f2ceb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fd41438420c (/lib64/libc.so.6+0x2e20c) #51 0x00007fd4143842bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000559773f2d561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd-664f69.cpp clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd-664f69.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:76: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/assemblymd.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheap.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/hotdata && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheap.cpp.o -MF CMakeFiles/mdhotdata_dac.dir/hotheap.cpp.o.d -o CMakeFiles/mdhotdata_dac.dir/hotheap.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheap.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheap.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/external.h:17: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../export.h:15: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../debug_metadata.h:37: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheap.cpp:15: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotdataformat.h:28: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/stgpool.h:27: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheap.cpp.o -MF CMakeFiles/mdhotdata_dac.dir/hotheap.cpp.o.d -o CMakeFiles/mdhotdata_dac.dir/hotheap.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotheap.cpp 1. parser at end of file 2. Optimizer #0 0x00007f4d7484e362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f4d74834c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f4d747a5b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f4d73957fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f4d751afeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f4d751b1b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f4d754dc47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f4d76b317c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f4d749a14fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f4d7604a662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f4d749a18ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f4d7604a612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f4d749a10f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f4d7adc44bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f4d7adc70b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f4d7b06d110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f4d7a21a149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f4d7b612b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f4d7b5b6787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f4d7b65966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055a049d824c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055a049d88c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f4d7b338525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f4d747901f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f4d7b33f59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f4d7b356753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f4d7b356b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f4d7b357b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055a049d7ceb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f4d7394320c (/lib64/libc.so.6+0x2e20c) #30 0x00007f4d739432bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055a049d7d561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/hotheap-c168cc.cpp clang-13: note: diagnostic msg: /usr/src/tmp/hotheap-c168cc.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/build.make:118: src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotheap.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 6%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/assemblymd.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/assemblymd.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/assemblymd.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/assemblymd.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/assemblymd.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/assemblymd.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/assemblymd.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007fc58e8ef362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fc58e8d5c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fc58e846b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fc58d9f8fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fc58da451cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fc58d9f8f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fc58d9e346b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fc58da395b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fc58da4ee8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fc58da50a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fc58da535af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fc58e9eb051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fc594fa6abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fc594f76cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fc594f5fe34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fc594fbb564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fc594fc9685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fc594fca2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fc59500d85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fc59500d385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fc594fd1687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fc594fd187e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fc5950c127a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fc5950c20ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fc5950c23a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fc5950c2613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fc5950c1126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fc594f6814c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fc595127755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fc594f476d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fc595193df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fc595132a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fc595134225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fc59513423d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fc595134918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fc5951a6e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fc59510dc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fc5942bb149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fc5956b3b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fc595657787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fc5956fa66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x00005555e10944c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x00005555e109ac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fc5953d9525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fc58e8311f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fc5953e059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fc5953f7753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fc5953f7b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fc5953f8b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x00005555e108eeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fc58d9e420c (/lib64/libc.so.6+0x2e20c) #51 0x00007fc58d9e42bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x00005555e108f561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd-c34e0e.cpp clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd-c34e0e.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:76: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/assemblymd.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/importhelper.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/importhelper.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/importhelper.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/importhelper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:1617:17: warning: variable 'cb2' set but not used [-Wunused-but-set-variable] ULONG cb2; // count of bytes ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:2010:17: warning: variable 'cb1' set but not used [-Wunused-but-set-variable] ULONG cb1; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/importhelper.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/importhelper.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/importhelper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f6a53ec6362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f6a53eacc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f6a53e1db28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f6a52fcffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f6a5301c1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f6a52fcff12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f6a52fba46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f6a530105b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f6a53025e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f6a53027a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f6a5302a5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f6a53fc2051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f6a5a57dabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f6a5a54dcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f6a5a536e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f6a5a592564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f6a5a5a0685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f6a5a5a12bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f6a5a5e485c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f6a5a5e4385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f6a5a5a8687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f6a5a5a887e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f6a5a69827a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f6a5a6990ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f6a5a6993a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f6a5a699613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f6a5a698126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f6a5a53f14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f6a5a6fe755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f6a5a51e6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f6a5a76adf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f6a5a709a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f6a5a70b225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f6a5a70b23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f6a5a70b918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f6a5a77de8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f6a5a6e4c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f6a59892149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f6a5ac8ab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f6a5ac2e787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f6a5acd166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000056038997c4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000560389982c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f6a5a9b0525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f6a53e081f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f6a5a9b759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f6a5a9ce753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f6a5a9ceb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f6a5a9cfb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000560389976eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f6a52fbb20c (/lib64/libc.so.6+0x2e20c) #51 0x00007f6a52fbb2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000560389977561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/importhelper-7067c2.cpp clang-13: note: diagnostic msg: /usr/src/tmp/importhelper-7067c2.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:216: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/importhelper.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdinternalro.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/runtime && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdinternalro.cpp.o -MF CMakeFiles/mdruntime_dac.dir/mdinternalro.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/mdinternalro.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternalro.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternalro.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternalro.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternalro.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdinternalro.cpp.o -MF CMakeFiles/mdruntime_dac.dir/mdinternalro.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/mdinternalro.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternalro.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternalro.cpp:83:1: current parser token 'ULONG' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternalro.cpp:72:15: LLVM IR generation of declaration 'MDInternalRO::~MDInternalRO' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternalro.cpp:72:15: Generating code for declaration 'MDInternalRO::~MDInternalRO' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternalro.cpp:73:1: LLVM IR generation of compound statement ('{}') #0 0x00007ff163cf9362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007ff163cdfc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007ff163c50b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007ff162e02fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007ff162e4f1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007ff162e02f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007ff162ded46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007ff162e435b7 (/lib64/libc.so.6+0x835b7) #8 0x00007ff162e58e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007ff162e5aa3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007ff162e5d5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007ff163df5051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007ff16a3807f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007ff16a380cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007ff16a369e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007ff16a3c5564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007ff16a3d3685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007ff16a3d42bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007ff16a41785c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007ff16a417385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007ff16a3db687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007ff16a3db87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007ff16a4cb27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007ff16a4cc0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007ff16a4cc3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007ff16a4cc613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007ff16a4cb126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007ff16a37214c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007ff16a531755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007ff16a3516d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007ff16a59ddf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007ff16a53ca7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007ff16a593e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #33 0x00007ff16a5b0272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #34 0x00007ff16a5099f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #35 0x00007ff1696c50d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #36 0x00007ff16aabdb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #37 0x00007ff16aa61787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #38 0x00007ff16ab0466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #39 0x000055760825f4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #40 0x0000557608265c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #41 0x00007ff16a7e3525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #42 0x00007ff163c3b1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #43 0x00007ff16a7ea59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #44 0x00007ff16a801753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #45 0x00007ff16a801b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #46 0x00007ff16a802b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #47 0x0000557608259eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #48 0x00007ff162dee20c (/lib64/libc.so.6+0x2e20c) #49 0x00007ff162dee2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #50 0x000055760825a561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/mdinternalro-15ab9f.cpp clang-13: note: diagnostic msg: /usr/src/tmp/mdinternalro-15ab9f.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/runtime/CMakeFiles/mdruntime_dac.dir/build.make:174: src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdinternalro.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/classfactory.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/classfactory.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/classfactory.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/classfactory.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/classfactory.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/classfactory.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/classfactory.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp 1. parser at end of file 2. Optimizer #0 0x00007f3bf01b7362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f3bf019dc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f3bf010eb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f3bef2c0fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f3bf0b18eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f3bf0b1ab1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f3bf0e4547f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f3bf249a7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f3bf030a4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f3bf19b3662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f3bf030a8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f3bf19b3612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f3bf030a0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f3bf672d4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f3bf67300b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f3bf69d6110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f3bf5b83149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f3bf6f7bb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f3bf6f1f787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f3bf6fc266b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005604d12684c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005604d126ec05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f3bf6ca1525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f3bf00f91f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f3bf6ca859e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f3bf6cbf753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f3bf6cbfb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f3bf6cc0b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005604d1262eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f3bef2ac20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f3bef2ac2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005604d1263561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/classfactory-c360ea.cpp clang-13: note: diagnostic msg: /usr/src/tmp/classfactory-c360ea.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:104: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/classfactory.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/assemblymd_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/assemblymd_emit.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/assemblymd_emit.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/assemblymd_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/assemblymd_emit.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/assemblymd_emit.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/assemblymd_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp 1. parser at end of file 2. Optimizer #0 0x00007f221944b362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f2219431c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f22193a2b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f2218554fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f22185af55a __libc_free (/lib64/libc.so.6+0x9d55a) #5 0x00007f22195ad52d llvm::User::operator delete(void*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbec52d) #6 0x00007f22194b2e17 llvm::BasicBlock::~BasicBlock() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xaf1e17) #7 0x00007f22194b2f9d llvm::BasicBlock::eraseFromParent() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xaf1f9d) #8 0x00007f2219d057c5 llvm::DeleteDeadBlocks(llvm::ArrayRef, llvm::DomTreeUpdater*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13447c5) #9 0x00007f2219dfd855 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x143c855) #10 0x00007f221a10e753 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174d753) #11 0x00007f221a10f442 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174e442) #12 0x00007f221a10fee5 llvm::SimplifyCFGPass::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174eee5) #13 0x00007f221af79222 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x25b8222) #14 0x00007f221959e4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #15 0x00007f221ac47662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #16 0x00007f221959e8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #17 0x00007f221ac47612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #18 0x00007f221959e0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #19 0x00007f221f9c14bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #20 0x00007f221f9c40b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #21 0x00007f221fc6a110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #22 0x00007f221ee17149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #23 0x00007f222020fb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #24 0x00007f22201b3787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #25 0x00007f222025666b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #26 0x00005595609e34c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #27 0x00005595609e9c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #28 0x00007f221ff35525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #29 0x00007f221938d1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #30 0x00007f221ff3c59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #31 0x00007f221ff53753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #32 0x00007f221ff53b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #33 0x00007f221ff54b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #34 0x00005595609ddeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #35 0x00007f221854020c (/lib64/libc.so.6+0x2e20c) #36 0x00007f22185402bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #37 0x00005595609de561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd_emit-8c6a81.cpp clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd_emit-8c6a81.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:90: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/assemblymd_emit.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 6%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/assemblymd.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/assemblymd.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/assemblymd.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/assemblymd.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/assemblymd.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/assemblymd.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/assemblymd.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f675bf8a362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f675bf70c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f675bee1b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f675b093fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f675b0e01cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f675b093f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f675b07e46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f675b0d45b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f675b0e9e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f675b0eba3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f675b0ee5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f675c086051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f6762641abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f6762611cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f67625fae34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f6762656564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f6762664685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f67626652bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f67626a885c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f67626a8385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f676266c687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f676266c87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f676275c27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f676275d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f676275d3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f676275d613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f676275c126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f676260314c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f67627c2755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f67625e26d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f676282edf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f67627cda7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f67627cf225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f67627cf23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f67627cf918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f6762841e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f67627a8c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f6761956149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f6762d4eb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f6762cf2787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f6762d9566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000557781a924c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000557781a98c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f6762a74525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f675becc1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f6762a7b59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f6762a92753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f6762a92b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f6762a93b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000557781a8ceb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f675b07f20c (/lib64/libc.so.6+0x2e20c) #51 0x00007f675b07f2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000557781a8d561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd-9034bf.cpp clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd-9034bf.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:76: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/assemblymd.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 8%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/disp.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/disp.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/disp.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/disp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/disp.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/disp.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/disp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:169:17: Generating code for declaration 'SBuffer::~SBuffer' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:170:1: LLVM IR generation of compound statement ('{}') #0 0x00007f1ab1276362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f1ab125cc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f1ab11cdb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f1ab037ffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f1ab03cc1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f1ab037ff12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f1ab036a46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f1ab03c05b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f1ab03d5e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f1ab03d7a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f1ab03da5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f1ab1372051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f1ab792dabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f1ab78fdcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f1ab78e6e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f1ab7942564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f1ab7950685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f1ab79512bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f1ab799485c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f1ab798febf (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1738ebf) #20 0x00007f1ab79908a0 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17398a0) #21 0x00007f1ab7994385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #22 0x00007f1ab7954830 clang::CodeGen::CodeGenFunction::EvaluateExprAsBool(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fd830) #23 0x00007f1ab7a9c8bf clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(clang::Expr const*, llvm::BasicBlock*, llvm::BasicBlock*, unsigned long, clang::Stmt::Likelihood) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18458bf) #24 0x00007f1ab7a49bb7 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2bb7) #25 0x00007f1ab7a490ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #26 0x00007f1ab7a493a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #27 0x00007f1ab7a49613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #28 0x00007f1ab7a48126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #29 0x00007f1ab78ef14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #30 0x00007f1ab7aae755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #31 0x00007f1ab78ce6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #32 0x00007f1ab7b1adf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #33 0x00007f1ab7ab9a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #34 0x00007f1ab7abb225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #35 0x00007f1ab7abb23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #36 0x00007f1ab7abb23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #37 0x00007f1ab7abb918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #38 0x00007f1ab7b2de8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #39 0x00007f1ab7a94c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #40 0x00007f1ab6c42149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #41 0x00007f1ab803ab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #42 0x00007f1ab7fde787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #43 0x00007f1ab808166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #44 0x0000558e5dc3f4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #45 0x0000558e5dc45c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #46 0x00007f1ab7d60525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #47 0x00007f1ab11b81f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #48 0x00007f1ab7d6759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #49 0x00007f1ab7d7e753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #50 0x00007f1ab7d7eb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #51 0x00007f1ab7d7fb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #52 0x0000558e5dc39eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #53 0x00007f1ab036b20c (/lib64/libc.so.6+0x2e20c) #54 0x00007f1ab036b2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #55 0x0000558e5dc3a561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/disp-5c2861.cpp clang-13: note: diagnostic msg: /usr/src/tmp/disp-5c2861.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:146: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/disp.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007fefabc26362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fefabc0cc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fefabb7db28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fefaad2ffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fefaad7c1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fefaad2ff12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fefaad1a46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fefaad705b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fefaad85e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fefaad87a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fefaad8a5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fefabd22051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fefb22ddabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fefb22adcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fefb2296e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fefb22f2564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fefb2300685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fefb23012bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fefb234485c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fefb2344385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fefb2308687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fefb230887e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fefb23f827a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fefb23f90ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fefb23f93a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fefb23f9613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fefb23f8126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fefb229f14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fefb245e755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fefb227e6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fefb24cadf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fefb2469a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fefb246b225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fefb246b23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fefb246b918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fefb24dde8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fefb2444c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fefb15f2149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fefb29eab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fefb298e787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fefb2a3166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000557b101624c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000557b10168c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fefb2710525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fefabb681f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fefb271759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fefb272e753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fefb272eb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fefb272fb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000557b1015ceb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fefaad1b20c (/lib64/libc.so.6+0x2e20c) #51 0x00007fefaad1b2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000557b1015d561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd-cad101.cpp clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd-cad101.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:76: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_compilersupport.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_compilersupport.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/regmeta_compilersupport.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/regmeta_compilersupport.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ 3 warnings generated. gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/filtermanager.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/filtermanager.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/filtermanager.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/filtermanager.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/filtermanager.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/filtermanager.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/filtermanager.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp 1. parser at end of file 2. Optimizer #0 0x00007f86b1696362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f86b167cc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f86b15edb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f86b079ffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f86b1ff7eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f86b1ff9b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f86b232447f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f86b39797c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f86b17e94fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f86b2e92662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f86b17e98ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f86b2e92612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f86b17e90f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f86b7c0c4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f86b7c0f0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f86b7eb5110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f86b7062149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f86b845ab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f86b83fe787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f86b84a166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000555ddf2544c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000555ddf25ac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f86b8180525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f86b15d81f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f86b818759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f86b819e753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f86b819eb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f86b819fb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000555ddf24eeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f86b078b20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f86b078b2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000555ddf24f561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/filtermanager-b81829.cpp clang-13: note: diagnostic msg: /usr/src/tmp/filtermanager-b81829.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:174: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/filtermanager.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/gcinfoencoder.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/gcinfoencoder.cpp.o -MF CMakeFiles/gcinfo_crossgen.dir/gcinfoencoder.cpp.o.d -o CMakeFiles/gcinfo_crossgen.dir/gcinfoencoder.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/gcinfoencoder.h:95: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/iallocator.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/contract.h:253: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.h:724: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/check.inl:8: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/clrhost.h:18: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/gcinfoencoder.cpp.o -MF CMakeFiles/gcinfo_crossgen.dir/gcinfoencoder.cpp.o.d -o CMakeFiles/gcinfo_crossgen.dir/gcinfoencoder.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:2268:1: current parser token 'void' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:980:21: LLVM IR generation of declaration 'GcInfoEncoder::Build' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:980:21: Generating code for declaration 'GcInfoEncoder::Build' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1715:5: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1729:9: LLVM IR generation of compound statement ('{}') 6. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1731:13: LLVM IR generation of compound statement ('{}') 7. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/gcinfo/gcinfoencoder.cpp:1733:17: LLVM IR generation of compound statement ('{}') #0 0x00007f541e14f362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f541e135c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f541e0a6b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f541d258fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f541d2a51cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f541d258f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f541d24346b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f541d2995b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f541d2aee8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f541d2b0a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f541d2b35af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f541e24b051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f54247d67c8 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67c8) #13 0x00007f54247d6cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f54247bfe34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f542481b564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f5424829685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f542482a2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f542486d85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f542486d385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f542482d830 clang::CodeGen::CodeGenFunction::EvaluateExprAsBool(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fd830) #21 0x00007f54249758bf clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(clang::Expr const*, llvm::BasicBlock*, llvm::BasicBlock*, unsigned long, clang::Stmt::Likelihood) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18458bf) #22 0x00007f5424922bb7 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2bb7) #23 0x00007f54249220ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f54249223a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f5424922613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f5424921126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f5424922c49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #28 0x00007f54249220ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #29 0x00007f54249223a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #30 0x00007f5424922613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #31 0x00007f5424921126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #32 0x00007f542492ac77 clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fac77) #33 0x00007f54249220ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #34 0x00007f54249223a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #35 0x00007f5424922613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #36 0x00007f5424921126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #37 0x00007f5424800525 clang::CodeGen::CodeGenFunction::EmitCXXTryStmt(clang::CXXTryStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d0525) #38 0x00007f54249220ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #39 0x00007f54249223a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #40 0x00007f5424922613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #41 0x00007f5424921126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #42 0x00007f5424922c49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #43 0x00007f54249220ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #44 0x00007f5424974c4a clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1844c4a) #45 0x00007f542498745f clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185745f) #46 0x00007f542498e4a9 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x185e4a9) #47 0x00007f5424992bb3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862bb3) #48 0x00007f54249b702f (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x188702f) #49 0x00007f5424a06272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #50 0x00007f542495f9f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #51 0x00007f5423b1b0d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #52 0x00007f5424f13b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #53 0x00007f5424eb7787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #54 0x00007f5424f5a66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #55 0x00005569e2f444c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #56 0x00005569e2f4ac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #57 0x00007f5424c39525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #58 0x00007f541e0911f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #59 0x00007f5424c4059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #60 0x00007f5424c57753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #61 0x00007f5424c57b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #62 0x00007f5424c58b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #63 0x00005569e2f3eeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #64 0x00007f541d24420c (/lib64/libc.so.6+0x2e20c) #65 0x00007f541d2442bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #66 0x00005569e2f3f561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/gcinfoencoder-621c6c.cpp clang-13: note: diagnostic msg: /usr/src/tmp/gcinfoencoder-621c6c.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/build.make:90: src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/gcinfoencoder.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:2011: src/gcinfo/CMakeFiles/gcinfo_crossgen.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/wchar.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/wchar.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/wchar.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/wchar.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/wchar.cpp /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/wchar.cpp:298:11: warning: variable 'dwLastError' set but not used [-Wunused-but-set-variable] DWORD dwLastError = 0; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/wchar.cpp:388:11: warning: variable 'dwLastError' set but not used [-Wunused-but-set-variable] DWORD dwLastError = 0; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/wchar.cpp.o -MF CMakeFiles/coreclrpal.dir/cruntime/wchar.cpp.o.d -o CMakeFiles/coreclrpal.dir/cruntime/wchar.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/cruntime/wchar.cpp 1. parser at end of file 2. Optimizer #0 0x00007fac3633c362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fac36322c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fac36293b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fac35445fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fac36c9deab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fac36c9fb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fac36fca47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fac3861f7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fac3648f4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fac37b38662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fac3648f8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fac37b38612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fac3648f0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fac3c8b24bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fac3c8b50b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fac3cb5b110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fac3bd08149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fac3d100b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fac3d0a4787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fac3d14766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055ea5d3214c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055ea5d327c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fac3ce26525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fac3627e1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fac3ce2d59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fac3ce44753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fac3ce44b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fac3ce45b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055ea5d31beb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fac3543120c (/lib64/libc.so.6+0x2e20c) #30 0x00007fac354312bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055ea5d31c561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/wchar-1befb2.cpp clang-13: note: diagnostic msg: /usr/src/tmp/wchar-1befb2.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:258: src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/wchar.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_import.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/regmeta_import.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/regmeta_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_import.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/regmeta_import.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/regmeta_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007fe7cdc68362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fe7cdc4ec64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fe7cdbbfb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fe7ccd71fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fe7ccdbe1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fe7ccd71f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fe7ccd5c46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fe7ccdb25b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fe7ccdc7e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fe7ccdc9a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fe7ccdcc5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fe7cdd64051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fe7d431fabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fe7d42efcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fe7d42d8e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fe7d4334564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fe7d4342685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fe7d43432bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fe7d438685c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fe7d4386385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fe7d434a687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fe7d434a87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fe7d443a27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fe7d443b0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fe7d443b3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fe7d443b613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fe7d443a126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fe7d42e114c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fe7d44a0755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fe7d42c06d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fe7d450cdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fe7d44aba7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fe7d44ad225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fe7d44ad23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fe7d44ad918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fe7d451fe8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fe7d4486c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fe7d3634149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fe7d4a2cb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fe7d49d0787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fe7d4a7366b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055927498e4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000559274994c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fe7d4752525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fe7cdbaa1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fe7d475959e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fe7d4770753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fe7d4770b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fe7d4771b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000559274988eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fe7ccd5d20c (/lib64/libc.so.6+0x2e20c) #51 0x00007fe7ccd5d2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000559274989561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_import-929cb0.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_import-929cb0.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:286: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_import.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_compilersupport.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_compilersupport.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta_compilersupport.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta_compilersupport.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_compilersupport.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta_compilersupport.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta_compilersupport.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp 1. parser at end of file 2. Optimizer #0 0x00007f89740b8362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f897409ec64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f897400fb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f89731c1fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f8974a19eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f8974a1bb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f8974d4647f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f897639b7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f897420b4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f89758b4662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f897420b8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f89758b4612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f897420b0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f897a62e4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f897a6310b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f897a8d7110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f8979a84149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f897ae7cb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f897ae20787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f897aec366b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000558f306534c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000558f30659c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f897aba2525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f8973ffa1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f897aba959e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f897abc0753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f897abc0b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f897abc1b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000558f3064deb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f89731ad20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f89731ad2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000558f3064e561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_compilersupport-0d04f9.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_compilersupport-0d04f9.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:258: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_compilersupport.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/custattr_import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/custattr_import.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/custattr_import.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/custattr_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/custattr_import.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/custattr_import.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/custattr_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp 1. parser at end of file 2. Optimizer #0 0x00007f7dd683f362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f7dd6825c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f7dd6796b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f7dd5948fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f7dd71a0eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f7dd71a2b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f7dd74cd47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f7dd8b227c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f7dd69924fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f7dd803b662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f7dd69928ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f7dd803b612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f7dd69920f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f7ddcdb54bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f7ddcdb80b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f7ddd05e110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f7ddc20b149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f7ddd603b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f7ddd5a7787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f7ddd64a66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000562acd2354c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000562acd23bc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f7ddd329525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f7dd67811f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f7ddd33059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f7ddd347753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f7ddd347b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f7ddd348b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000562acd22feb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f7dd593420c (/lib64/libc.so.6+0x2e20c) #30 0x00007f7dd59342bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000562acd230561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/custattr_import-f9b1b7.cpp clang-13: note: diagnostic msg: /usr/src/tmp/custattr_import-f9b1b7.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:118: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/custattr_import.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/runtime/CMakeFiles/mdruntime_dac.dir/recordpool.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/runtime && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/recordpool.cpp.o -MF CMakeFiles/mdruntime_dac.dir/recordpool.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/recordpool.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/recordpool.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/recordpool.cpp:9: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/recordpool.cpp:9: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/recordpool.cpp:9: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/recordpool.cpp.o -MF CMakeFiles/mdruntime_dac.dir/recordpool.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/recordpool.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/recordpool.cpp 1. parser at end of file 2. Optimizer #0 0x00007fdb954cc362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fdb954b2c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fdb95423b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fdb945d5fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fdb95e2deab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fdb95e2fb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fdb9615a47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fdb977af7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fdb9561f4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fdb96cc8662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fdb9561f8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fdb96cc8612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fdb9561f0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fdb9ba424bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fdb9ba450b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fdb9bceb110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fdb9ae98149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fdb9c290b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fdb9c234787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fdb9c2d766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005644d45d44c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005644d45dac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fdb9bfb6525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fdb9540e1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fdb9bfbd59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fdb9bfd4753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fdb9bfd4b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fdb9bfd5b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005644d45ceeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fdb945c120c (/lib64/libc.so.6+0x2e20c) #30 0x00007fdb945c12bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005644d45cf561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/recordpool-2abe79.cpp clang-13: note: diagnostic msg: /usr/src/tmp/recordpool-2abe79.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/runtime/CMakeFiles/mdruntime_dac.dir/build.make:146: src/md/runtime/CMakeFiles/mdruntime_dac.dir/recordpool.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/custattr_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/custattr_emit.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/custattr_emit.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/custattr_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/custattr_emit.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/custattr_emit.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/custattr_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f1575e7a362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f1575e60c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f1575dd1b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f1574f83fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f1574fd01cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f1574f83f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f1574f6e46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f1574fc45b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f1574fd9e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f1574fdba3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f1574fde5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f1575f76051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f157c531abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f157c501cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f157c4eae34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f157c546564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f157c554685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f157c5552bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f157c59885c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f157c598385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f157c55c687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f157c55c87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f157c64c27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f157c64d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f157c64d3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f157c64d613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f157c64c126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f157c4f314c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f157c6b2755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f157c4d26d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f157c71edf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f157c6bda7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f157c6bf225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f157c6bf23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f157c6bf918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f157c731e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f157c698c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f157b846149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f157cc3eb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f157cbe2787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f157cc8566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055c7489134c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055c748919c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f157c964525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f1575dbc1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f157c96b59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f157c982753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f157c982b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f157c983b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055c74890deb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f1574f6f20c (/lib64/libc.so.6+0x2e20c) #51 0x00007f1574f6f2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055c74890e561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/custattr_emit-7cb20c.cpp clang-13: note: diagnostic msg: /usr/src/tmp/custattr_emit-7cb20c.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:132: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/custattr_emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/emit.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/emit.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/emit.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/emit.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp 1. parser at end of file 2. Optimizer #0 0x00007f7101c73362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f7101c59c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f7101bcab28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f7100d7cfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f71025d4eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f71025d6b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f710290147f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f7103f567c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f7101dc64fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f710346f662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f7101dc68ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f710346f612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f7101dc60f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f71081e94bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f71081ec0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f7108492110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f710763f149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f7108a37b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f71089db787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f7108a7e66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005650534144c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000056505341ac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f710875d525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f7101bb51f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f710876459e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f710877b753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f710877bb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f710877cb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000056505340eeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f7100d6820c (/lib64/libc.so.6+0x2e20c) #30 0x00007f7100d682bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000056505340f561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/emit-2459e6.cpp clang-13: note: diagnostic msg: /usr/src/tmp/emit-2459e6.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:160: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/emit.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/regmeta.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/regmeta.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/regmeta.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/regmeta.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:175:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:89:10: LLVM IR generation of declaration 'RegMeta::~RegMeta' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:89:10: Generating code for declaration 'RegMeta::~RegMeta' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:90:1: LLVM IR generation of compound statement ('{}') #0 0x00007fa0c80cd362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fa0c80b3c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fa0c8024b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fa0c71d6fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fa0c72231cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fa0c71d6f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fa0c71c146b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fa0c72175b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fa0c722ce8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fa0c722ea3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fa0c72315af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fa0c81c9051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fa0ce7547f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007fa0ce754cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fa0ce73de34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fa0ce741e83 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::Address, clang::CodeGen::CallArgList&, clang::CodeGen::AggValueSlot::Overlap_t, clang::SourceLocation, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1693e83) #16 0x00007fa0ce742657 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::AggValueSlot, clang::CXXConstructExpr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1694657) #17 0x00007fa0ce7b6c59 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1708c59) #18 0x00007fa0ce7af55a clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr const*, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170155a) #19 0x00007fa0ce7721ef clang::CodeGen::CodeGenFunction::EmitExprAsInit(clang::Expr const*, clang::ValueDecl const*, clang::CodeGen::LValue, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c41ef) #20 0x00007fa0ce772733 clang::CodeGen::CodeGenFunction::EmitAutoVarInit(clang::CodeGen::CodeGenFunction::AutoVarEmission const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c4733) #21 0x00007fa0ce774b06 clang::CodeGen::CodeGenFunction::EmitAutoVarDecl(clang::VarDecl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6b06) #22 0x00007fa0ce774e3a clang::CodeGen::CodeGenFunction::EmitDecl(clang::Decl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6e3a) #23 0x00007fa0ce8ab7cf clang::CodeGen::CodeGenFunction::EmitDeclStmt(clang::DeclStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fd7cf) #24 0x00007fa0ce8a0675 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2675) #25 0x00007fa0ce89f126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007fa0ce8a00ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #27 0x00007fa0ce8a03a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #28 0x00007fa0ce8a0613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #29 0x00007fa0ce89f126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #30 0x00007fa0ce74614c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #31 0x00007fa0ce905755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #32 0x00007fa0ce7256d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #33 0x00007fa0ce971df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #34 0x00007fa0ce910a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #35 0x00007fa0ce967e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #36 0x00007fa0ce984272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #37 0x00007fa0ce8dd9f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #38 0x00007fa0cda990d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #39 0x00007fa0cee91b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #40 0x00007fa0cee35787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #41 0x00007fa0ceed866b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #42 0x000055f43fbe04c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #43 0x000055f43fbe6c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #44 0x00007fa0cebb7525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #45 0x00007fa0c800f1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #46 0x00007fa0cebbe59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #47 0x00007fa0cebd5753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #48 0x00007fa0cebd5b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #49 0x00007fa0cebd6b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #50 0x000055f43fbdaeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #51 0x00007fa0c71c220c (/lib64/libc.so.6+0x2e20c) #52 0x00007fa0c71c22bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #53 0x000055f43fbdb561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta-89961d.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta-89961d.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:244: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/enc/CMakeFiles/mdruntimerw_dac.dir/pdbheap.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/pdbheap.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/pdbheap.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/pdbheap.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/pdbheap.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/pdbheap.cpp:5: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/pdbheap.cpp:5: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/pdbheap.cpp:5: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/pdbheap.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/pdbheap.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/pdbheap.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/pdbheap.cpp 1. parser at end of file 2. Optimizer #0 0x00007fdd118d8362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fdd118bec64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fdd1182fb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fdd109e1fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fdd12239eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fdd1223bb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fdd1256647f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fdd13bbb7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fdd11a2b4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fdd130d4662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fdd11a2b8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fdd130d4612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fdd11a2b0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fdd17e4e4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fdd17e510b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fdd180f7110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fdd172a4149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fdd1869cb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fdd18640787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fdd186e366b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000557676c7e4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000557676c84c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fdd183c2525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fdd1181a1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fdd183c959e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fdd183e0753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fdd183e0b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fdd183e1b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000557676c78eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fdd109cd20c (/lib64/libc.so.6+0x2e20c) #30 0x00007fdd109cd2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000557676c79561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pdbheap-b43c48.cpp clang-13: note: diagnostic msg: /usr/src/tmp/pdbheap-b43c48.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make:202: src/md/enc/CMakeFiles/mdruntimerw_dac.dir/pdbheap.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 6%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/assemblymd.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/assemblymd.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/assemblymd.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/assemblymd.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/assemblymd.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/assemblymd.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/assemblymd.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007fd477dff362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd477de5c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd477d56b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd476f08fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd476f551cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fd476f08f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fd476ef346b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fd476f495b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fd476f5ee8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fd476f60a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fd476f635af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fd477efb051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fd47e4b6abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fd47e486cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fd47e46fe34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fd47e4cb564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fd47e4d9685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fd47e4da2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fd47e51d85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fd47e51d385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fd47e4e1687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fd47e4e187e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fd47e5d127a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fd47e5d20ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fd47e5d23a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fd47e5d2613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fd47e5d1126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fd47e47814c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fd47e637755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fd47e4576d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fd47e6a3df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fd47e642a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fd47e644225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fd47e64423d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fd47e644918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fd47e6b6e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fd47e61dc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fd47d7cb149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fd47ebc3b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fd47eb67787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fd47ec0a66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x00005578db1854c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x00005578db18bc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fd47e8e9525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fd477d411f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fd47e8f059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fd47e907753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fd47e907b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fd47e908b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x00005578db17feb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fd476ef420c (/lib64/libc.so.6+0x2e20c) #51 0x00007fd476ef42bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x00005578db180561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd-a896be.cpp clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd-a896be.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:76: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/assemblymd.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotmetadata.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/hotdata && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotmetadata.cpp.o -MF CMakeFiles/mdhotdata_dac.dir/hotmetadata.cpp.o.d -o CMakeFiles/mdhotdata_dac.dir/hotmetadata.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotmetadata.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotmetadata.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/external.h:17: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../export.h:15: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/../debug_metadata.h:37: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotmetadata.cpp:15: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotdataformat.h:28: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/stgpool.h:27: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotmetadata.cpp.o -MF CMakeFiles/mdhotdata_dac.dir/hotmetadata.cpp.o.d -o CMakeFiles/mdhotdata_dac.dir/hotmetadata.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/hotdata/hotmetadata.cpp 1. parser at end of file 2. Optimizer #0 0x00007f22e4941362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f22e4927c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f22e4898b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f22e3a4afb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f22e52a2eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f22e52a4b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f22e55cf47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f22e6c247c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f22e4a944fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f22e613d662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f22e4a948ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f22e613d612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f22e4a940f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f22eaeb74bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f22eaeba0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f22eb160110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f22ea30d149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f22eb705b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f22eb6a9787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f22eb74c66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055a679e024c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055a679e08c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f22eb42b525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f22e48831f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f22eb43259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f22eb449753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f22eb449b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f22eb44ab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055a679dfceb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f22e3a3620c (/lib64/libc.so.6+0x2e20c) #30 0x00007f22e3a362bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055a679dfd561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/hotmetadata-cd8050.cpp clang-13: note: diagnostic msg: /usr/src/tmp/hotmetadata-cd8050.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/build.make:76: src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/hotmetadata.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:2754: src/md/hotdata/CMakeFiles/mdhotdata_dac.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/helper.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/helper.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/helper.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/helper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/helper.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/helper.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/helper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007fad202c7362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fad202adc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fad2021eb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fad1f3d0fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fad1f41d1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fad1f3d0f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fad1f3bb46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fad1f4115b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fad1f426e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fad1f428a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fad1f42b5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fad203c3051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fad2697eabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fad2694ecd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fad26937e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fad26993564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fad269a1685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fad269a22bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fad269e585c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fad269e5385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fad269a9687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fad269a987e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fad26a9927a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fad26a9a0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fad26a9a3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fad26a9a613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fad26a99126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fad2694014c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fad26aff755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fad2691f6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fad26b6bdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fad26b0aa7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fad26b0c225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fad26b0c23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fad26b0c918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fad26b7ee8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fad26ae5c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fad25c93149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fad2708bb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fad2702f787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fad270d266b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055faec3e74c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055faec3edc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fad26db1525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fad202091f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fad26db859e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fad26dcf753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fad26dcfb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fad26dd0b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055faec3e1eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fad1f3bc20c (/lib64/libc.so.6+0x2e20c) #51 0x00007fad1f3bc2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055faec3e2561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/helper-73c7c9.cpp clang-13: note: diagnostic msg: /usr/src/tmp/helper-73c7c9.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:188: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/helper.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 8%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/custattr_import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/custattr_import.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/custattr_import.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/custattr_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/custattr_import.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/custattr_import.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/custattr_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp 1. parser at end of file 2. Optimizer #0 0x00007fd7722d2362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd7722b8c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd772229b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd7713dbfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd772c33eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fd772c35b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fd772f6047f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fd7745b57c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fd7724254fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fd773ace662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fd7724258ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fd773ace612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fd7724250f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fd7788484bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fd77884b0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fd778af1110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fd777c9e149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fd779096b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fd77903a787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fd7790dd66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055bea94cf4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055bea94d5c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fd778dbc525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fd7722141f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fd778dc359e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fd778dda753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fd778ddab3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fd778ddbb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055bea94c9eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fd7713c720c (/lib64/libc.so.6+0x2e20c) #30 0x00007fd7713c72bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055bea94ca561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/custattr_import-7e1f3a.cpp clang-13: note: diagnostic msg: /usr/src/tmp/custattr_import-7e1f3a.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:118: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/custattr_import.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/runtime/CMakeFiles/mdruntime_dac.dir/strongnameinternal.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/runtime && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/strongnameinternal.cpp.o -MF CMakeFiles/mdruntime_dac.dir/strongnameinternal.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/strongnameinternal.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/strongnameinternal.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/strongnameinternal.cpp:7: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/strongnameinternal.cpp:7: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/strongnameinternal.cpp:7: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/strongnameinternal.cpp.o -MF CMakeFiles/mdruntime_dac.dir/strongnameinternal.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/strongnameinternal.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/strongnameinternal.cpp 1. parser at end of file 2. Optimizer #0 0x00007ff0f5cdf362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007ff0f5cc5c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007ff0f5c36b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007ff0f4de8fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007ff0f6640eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007ff0f6642b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007ff0f696d47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007ff0f7fc27c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007ff0f5e324fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007ff0f74db662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007ff0f5e328ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007ff0f74db612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007ff0f5e320f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007ff0fc2554bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007ff0fc2580b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007ff0fc4fe110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007ff0fb6ab149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007ff0fcaa3b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007ff0fca47787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007ff0fcaea66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000558fb9e0b4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000558fb9e11c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007ff0fc7c9525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007ff0f5c211f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007ff0fc7d059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007ff0fc7e7753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007ff0fc7e7b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007ff0fc7e8b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000558fb9e05eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007ff0f4dd420c (/lib64/libc.so.6+0x2e20c) #30 0x00007ff0f4dd42bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000558fb9e06561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/strongnameinternal-a164cf.cpp clang-13: note: diagnostic msg: /usr/src/tmp/strongnameinternal-a164cf.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/runtime/CMakeFiles/mdruntime_dac.dir/build.make:188: src/md/runtime/CMakeFiles/mdruntime_dac.dir/strongnameinternal.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 6%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp 1. parser at end of file 2. Optimizer #0 0x00007f6ef2578362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f6ef255ec64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f6ef24cfb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f6ef1681fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f6ef2ed9eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f6ef2edbb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f6ef320647f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f6ef485b7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f6ef26cb4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f6ef3d74662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f6ef26cb8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f6ef3d74612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f6ef26cb0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f6ef8aee4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f6ef8af10b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f6ef8d97110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f6ef7f44149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f6ef933cb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f6ef92e0787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f6ef938366b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000560202ab04c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000560202ab6c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f6ef9062525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f6ef24ba1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f6ef906959e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f6ef9080753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f6ef9080b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f6ef9081b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000560202aaaeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f6ef166d20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f6ef166d2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000560202aab561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/classfactory-d85b46.cpp clang-13: note: diagnostic msg: /usr/src/tmp/classfactory-d85b46.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:104: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/runtime/CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/runtime && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o -MF CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/liteweightstgdb.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/liteweightstgdb.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/liteweightstgdb.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/liteweightstgdb.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o -MF CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/liteweightstgdb.cpp 1. parser at end of file 2. Optimizer #0 0x00007fef3307c362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fef33062c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fef32fd3b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fef32185fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fef339ddeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fef339dfb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fef33d0a47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fef3535f7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fef331cf4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fef34878662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fef331cf8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fef34878612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fef331cf0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fef395f24bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fef395f50b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fef3989b110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fef38a48149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fef39e40b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fef39de4787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fef39e8766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055f63fbe54c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055f63fbebc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fef39b66525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fef32fbe1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fef39b6d59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fef39b84753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fef39b84b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fef39b85b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055f63fbdfeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fef3217120c (/lib64/libc.so.6+0x2e20c) #30 0x00007fef321712bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055f63fbe0561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/liteweightstgdb-240f62.cpp clang-13: note: diagnostic msg: /usr/src/tmp/liteweightstgdb-240f62.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/runtime/CMakeFiles/mdruntime_dac.dir/build.make:90: src/md/runtime/CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_emit.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/regmeta_emit.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/regmeta_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:982:17: warning: variable 'bSuccess' set but not used [-Wunused-but-set-variable] int bSuccess; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:1369:17: warning: variable 'mdEv' set but not used [-Wunused-but-set-variable] mdEvent mdEv; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:1918:17: warning: variable 'bSuccess' set but not used [-Wunused-but-set-variable] int bSuccess; // Return value for SplitPath(). ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_emit.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/regmeta_emit.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/regmeta_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f8c740a3362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f8c74089c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f8c73ffab28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f8c731acfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f8c731f91cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f8c731acf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f8c7319746b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f8c731ed5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f8c73202e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f8c73204a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f8c732075af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f8c7419f051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f8c7a75aabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f8c7a72acd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f8c7a713e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f8c7a76f564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f8c7a77d685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f8c7a77e2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f8c7a7c185c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f8c7a7c1385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f8c7a785687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f8c7a78587e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f8c7a87527a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f8c7a8760ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f8c7a8763a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f8c7a876613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f8c7a875126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f8c7a71c14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f8c7a8db755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f8c7a6fb6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f8c7a947df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f8c7a8e6a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f8c7a8e8225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f8c7a8e823d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f8c7a8e8918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f8c7a95ae8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f8c7a8c1c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f8c79a6f149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f8c7ae67b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f8c7ae0b787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f8c7aeae66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055d6d0cec4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055d6d0cf2c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f8c7ab8d525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f8c73fe51f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f8c7ab9459e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f8c7abab753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f8c7ababb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f8c7abacb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055d6d0ce6eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f8c7319820c (/lib64/libc.so.6+0x2e20c) #51 0x00007f8c731982bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055d6d0ce7561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_emit-69e3b8.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_emit-69e3b8.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:272: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 8%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/custattr_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/custattr_emit.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/custattr_emit.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/custattr_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/custattr_emit.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/custattr_emit.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/custattr_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f4dde296362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f4dde27cc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f4dde1edb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f4ddd39ffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f4ddd3ec1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f4ddd39ff12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f4ddd38a46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f4ddd3e05b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f4ddd3f5e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f4ddd3f7a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f4ddd3fa5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f4dde392051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f4de494dabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f4de491dcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f4de4906e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f4de4962564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f4de4970685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f4de49712bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f4de49b485c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f4de49b4385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f4de4978687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f4de497887e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f4de4a6827a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f4de4a690ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f4de4a693a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f4de4a69613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f4de4a68126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f4de490f14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f4de4ace755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f4de48ee6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f4de4b3adf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f4de4ad9a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f4de4adb225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f4de4adb23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f4de4adb918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f4de4b4de8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f4de4ab4c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f4de3c62149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f4de505ab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f4de4ffe787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f4de50a166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055e2742004c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055e274206c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f4de4d80525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f4dde1d81f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f4de4d8759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f4de4d9e753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f4de4d9eb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f4de4d9fb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055e2741faeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f4ddd38b20c (/lib64/libc.so.6+0x2e20c) #51 0x00007f4ddd38b2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055e2741fb561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/custattr_emit-917864.cpp clang-13: note: diagnostic msg: /usr/src/tmp/custattr_emit-917864.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:132: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/custattr_emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/init/pal.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src && /usr/bin/clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/init/pal.cpp.o -MF CMakeFiles/coreclrpal.dir/init/pal.cpp.o.d -o CMakeFiles/coreclrpal.dir/init/pal.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/init/pal.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCORECLR -DDISABLE_CONTRACTS -DFEATURE_USE_SYSTEM_LIBUNWIND -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DLP64COMPATIBLE -DNDEBUG -DPIC -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -DUSE_STL -DXSTATE_SUPPORTED -D_FILE_OFFSET_BITS=64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/../inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -fexceptions -std=gnu++11 -MD -MT src/pal/src/CMakeFiles/coreclrpal.dir/init/pal.cpp.o -MF CMakeFiles/coreclrpal.dir/init/pal.cpp.o.d -o CMakeFiles/coreclrpal.dir/init/pal.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/init/pal.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/handlemgr.hpp:95:9: Generating code for declaration 'CorUnix::CSimpleHandleManager::~CSimpleHandleManager' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/handlemgr.hpp:96:9: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/include/pal/handlemgr.hpp:98:13: LLVM IR generation of compound statement ('{}') #0 0x00007f0c8b7eb362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f0c8b7d1c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f0c8b742b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f0c8a8f4fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f0c8a9411cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f0c8a8f4f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f0c8a8df46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f0c8a9355b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f0c8a94ae8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f0c8a94ca3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f0c8a94f5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f0c8b8e7051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f0c91ea2abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f0c91e72cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f0c91e5be34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f0c91eb4ed0 clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16e8ed0) #16 0x00007f0c91ece173 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1702173) #17 0x00007f0c91f0985c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #18 0x00007f0c91f09385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #19 0x00007f0c91ecd687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #20 0x00007f0c91ecd87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #21 0x00007f0c91fbd27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #22 0x00007f0c91fbe0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #23 0x00007f0c91fbe3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #24 0x00007f0c91fbe613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #25 0x00007f0c91fbd126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007f0c91fbec49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #27 0x00007f0c91fbe0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #28 0x00007f0c91fbe3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #29 0x00007f0c91fbe613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #30 0x00007f0c91fbd126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #31 0x00007f0c91e6414c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #32 0x00007f0c92023755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #33 0x00007f0c91e436d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #34 0x00007f0c9208fdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #35 0x00007f0c9202ea7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #36 0x00007f0c92030225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #37 0x00007f0c9203023d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #38 0x00007f0c9203023d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #39 0x00007f0c9203023d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #40 0x00007f0c9203023d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #41 0x00007f0c9203023d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #42 0x00007f0c9203023d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #43 0x00007f0c9203023d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #44 0x00007f0c92030918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #45 0x00007f0c920a2e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #46 0x00007f0c92009c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #47 0x00007f0c911b7149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #48 0x00007f0c925afb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #49 0x00007f0c92553787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #50 0x00007f0c925f666b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #51 0x0000555aa65eb4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #52 0x0000555aa65f1c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #53 0x00007f0c922d5525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #54 0x00007f0c8b72d1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #55 0x00007f0c922dc59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #56 0x00007f0c922f3753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #57 0x00007f0c922f3b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #58 0x00007f0c922f4b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #59 0x0000555aa65e5eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #60 0x00007f0c8a8e020c (/lib64/libc.so.6+0x2e20c) #61 0x00007f0c8a8e02bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #62 0x0000555aa65e6561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/pal-4af777.cpp clang-13: note: diagnostic msg: /usr/src/tmp/pal-4af777.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/build.make:426: src/pal/src/CMakeFiles/coreclrpal.dir/init/pal.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:1509: src/pal/src/CMakeFiles/coreclrpal.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/regmeta.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/regmeta.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/regmeta.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/regmeta.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:175:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:89:10: LLVM IR generation of declaration 'RegMeta::~RegMeta' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:89:10: Generating code for declaration 'RegMeta::~RegMeta' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:90:1: LLVM IR generation of compound statement ('{}') #0 0x00007fd560ec9362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd560eafc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd560e20b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd55ffd2fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd56001f1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fd55ffd2f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fd55ffbd46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fd5600135b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fd560028e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fd56002aa3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fd56002d5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fd560fc5051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fd5675507f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007fd567550cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fd567539e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fd56753de83 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::Address, clang::CodeGen::CallArgList&, clang::CodeGen::AggValueSlot::Overlap_t, clang::SourceLocation, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1693e83) #16 0x00007fd56753e657 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::AggValueSlot, clang::CXXConstructExpr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1694657) #17 0x00007fd5675b2c59 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1708c59) #18 0x00007fd5675ab55a clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr const*, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170155a) #19 0x00007fd56756e1ef clang::CodeGen::CodeGenFunction::EmitExprAsInit(clang::Expr const*, clang::ValueDecl const*, clang::CodeGen::LValue, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c41ef) #20 0x00007fd56756e733 clang::CodeGen::CodeGenFunction::EmitAutoVarInit(clang::CodeGen::CodeGenFunction::AutoVarEmission const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c4733) #21 0x00007fd567570b06 clang::CodeGen::CodeGenFunction::EmitAutoVarDecl(clang::VarDecl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6b06) #22 0x00007fd567570e3a clang::CodeGen::CodeGenFunction::EmitDecl(clang::Decl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6e3a) #23 0x00007fd5676a77cf clang::CodeGen::CodeGenFunction::EmitDeclStmt(clang::DeclStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fd7cf) #24 0x00007fd56769c675 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2675) #25 0x00007fd56769b126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007fd56769c0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #27 0x00007fd56769c3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #28 0x00007fd56769c613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #29 0x00007fd56769b126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #30 0x00007fd56754214c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #31 0x00007fd567701755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #32 0x00007fd5675216d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #33 0x00007fd56776ddf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #34 0x00007fd56770ca7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #35 0x00007fd567763e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #36 0x00007fd567780272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #37 0x00007fd5676d99f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #38 0x00007fd5668950d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #39 0x00007fd567c8db41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #40 0x00007fd567c31787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #41 0x00007fd567cd466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #42 0x0000559e804754c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #43 0x0000559e8047bc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #44 0x00007fd5679b3525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #45 0x00007fd560e0b1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #46 0x00007fd5679ba59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #47 0x00007fd5679d1753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #48 0x00007fd5679d1b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #49 0x00007fd5679d2b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #50 0x0000559e8046feb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #51 0x00007fd55ffbe20c (/lib64/libc.so.6+0x2e20c) #52 0x00007fd55ffbe2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #53 0x0000559e80470561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta-e0c8d3.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta-e0c8d3.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:244: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/import.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/import.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:3522:17: warning: variable 'cbTotal' set but not used [-Wunused-but-set-variable] ULONG cbTotal = 0; // total of number bytes for return type + all fixed arguments ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/import.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/import.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp 1. parser at end of file 2. Optimizer #0 0x00007fedf5e13362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fedf5df9c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fedf5d6ab28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fedf4f1cfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fedf6774eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fedf6776b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fedf6aa147f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fedf80f67c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fedf5f664fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fedf760f662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fedf5f668ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fedf760f612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fedf5f660f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fedfc3894bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fedfc38c0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fedfc632110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fedfb7df149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fedfcbd7b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fedfcb7b787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fedfcc1e66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005565cb45a4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005565cb460c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fedfc8fd525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fedf5d551f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fedfc90459e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fedfc91b753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fedfc91bb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fedfc91cb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005565cb454eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fedf4f0820c (/lib64/libc.so.6+0x2e20c) #30 0x00007fedf4f082bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005565cb455561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/import-97a23d.cpp clang-13: note: diagnostic msg: /usr/src/tmp/import-97a23d.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:202: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/import.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/emit.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/emit.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/emit.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/emit.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007eff5b002362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007eff5afe8c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007eff5af59b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007eff5a10bfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007eff5a1581cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007eff5a10bf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007eff5a0f646b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007eff5a14c5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007eff5a161e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007eff5a163a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007eff5a1665af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007eff5b0fe051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007eff616b9abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007eff61689cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007eff61672e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007eff616ce564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007eff616dc685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007eff616dd2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007eff6172085c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007eff61720385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007eff616e4687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007eff616e487e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007eff617d427a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007eff617d50ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007eff617d53a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007eff617d5613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007eff617d4126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007eff6167b14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007eff6183a755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007eff6165a6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007eff618a6df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007eff61845a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007eff61847225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007eff6184723d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007eff61847918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007eff618b9e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007eff61820c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007eff609ce149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007eff61dc6b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007eff61d6a787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007eff61e0d66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000562a5c5644c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000562a5c56ac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007eff61aec525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007eff5af441f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007eff61af359e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007eff61b0a753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007eff61b0ab3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007eff61b0bb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000562a5c55eeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007eff5a0f720c (/lib64/libc.so.6+0x2e20c) #51 0x00007eff5a0f72bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000562a5c55f561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/emit-abde2c.cpp clang-13: note: diagnostic msg: /usr/src/tmp/emit-abde2c.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:160: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/debug/dbgutil/CMakeFiles/dbgutil.dir/elfreader.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/dbgutil && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPAL_STDCPP_COMPAT -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/dbgutil -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/dbgutil -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/debug/dbgutil/CMakeFiles/dbgutil.dir/elfreader.cpp.o -MF CMakeFiles/dbgutil.dir/elfreader.cpp.o.d -o CMakeFiles/dbgutil.dir/elfreader.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/dbgutil/elfreader.cpp free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPAL_STDCPP_COMPAT -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/debug/dbgutil -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/dbgutil -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -std=gnu++11 -MD -MT src/debug/dbgutil/CMakeFiles/dbgutil.dir/elfreader.cpp.o -MF CMakeFiles/dbgutil.dir/elfreader.cpp.o.d -o CMakeFiles/dbgutil.dir/elfreader.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/dbgutil/elfreader.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/dbgutil/elfreader.cpp:49:13: Generating code for declaration 'ElfReaderExport::~ElfReaderExport' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/dbgutil/elfreader.cpp:50:5: LLVM IR generation of compound statement ('{}') #0 0x00007f649dcbe362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f649dca4c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f649dc15b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f649cdc7fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f649ce141cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f649cdc7f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f649cdb246b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f649ce085b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f649ce1de8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f649ce1fa3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f649ce225af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f649ddba051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f64a43457f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007f64a4345cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f64a432ee34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f64a438a564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f64a4398685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f64a43992bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f64a43dc85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f64a43dc385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f64a43a0687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f64a43a087e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f64a449027a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f64a44910ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f64a44913a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f64a4491613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f64a4490126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f64a433714c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f64a44f6755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f64a43166d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f64a4562df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f64a4501a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f64a4503225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f64a450323d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f64a4503918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f64a4575e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f64a44dcc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f64a368a149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f64a4a82b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f64a4a26787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f64a4ac966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055d6093884c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055d60938ec05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f64a47a8525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f649dc001f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f64a47af59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f64a47c6753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f64a47c6b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f64a47c7b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055d609382eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f649cdb320c (/lib64/libc.so.6+0x2e20c) #51 0x00007f649cdb32bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055d609383561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/elfreader-1687d2.cpp clang-13: note: diagnostic msg: /usr/src/tmp/elfreader-1687d2.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/debug/dbgutil/CMakeFiles/dbgutil.dir/build.make:90: src/debug/dbgutil/CMakeFiles/dbgutil.dir/elfreader.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:1795: src/debug/dbgutil/CMakeFiles/dbgutil.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_import.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/regmeta_import.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/regmeta_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_import.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/regmeta_import.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/regmeta_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f76cd150362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f76cd136c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f76cd0a7b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f76cc259fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f76cc2a61cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f76cc259f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f76cc24446b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f76cc29a5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f76cc2afe8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f76cc2b1a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f76cc2b45af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f76cd24c051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f76d3807abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f76d37d7cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f76d37c0e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f76d381c564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f76d382a685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f76d382b2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f76d386e85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f76d386e385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f76d3832687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f76d383287e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f76d392227a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f76d39230ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f76d39233a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f76d3923613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f76d3922126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f76d37c914c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f76d3988755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f76d37a86d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f76d39f4df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f76d3993a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f76d3995225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f76d399523d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f76d3995918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f76d3a07e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f76d396ec4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f76d2b1c149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f76d3f14b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f76d3eb8787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f76d3f5b66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055a0e90984c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055a0e909ec05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f76d3c3a525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f76cd0921f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f76d3c4159e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f76d3c58753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f76d3c58b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f76d3c59b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055a0e9092eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f76cc24520c (/lib64/libc.so.6+0x2e20c) #51 0x00007f76cc2452bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055a0e9093561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_import-f7af70.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_import-f7af70.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:286: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_import.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/filtermanager.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/filtermanager.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/filtermanager.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/filtermanager.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/filtermanager.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/filtermanager.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/filtermanager.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp 1. parser at end of file 2. Optimizer #0 0x00007f53bd2d5362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f53bd2bbc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f53bd22cb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f53bc3defb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f53bdc36eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f53bdc38b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f53bdf6347f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f53bf5b87c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f53bd4284fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f53bead1662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f53bd4288ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f53bead1612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f53bd4280f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f53c384b4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f53c384e0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f53c3af4110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f53c2ca1149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f53c4099b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f53c403d787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f53c40e066b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055d2ee55f4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055d2ee565c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f53c3dbf525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f53bd2171f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f53c3dc659e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f53c3ddd753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f53c3dddb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f53c3ddeb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055d2ee559eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f53bc3ca20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f53bc3ca2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055d2ee55a561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/filtermanager-5da322.cpp clang-13: note: diagnostic msg: /usr/src/tmp/filtermanager-5da322.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:174: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/filtermanager.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_import.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/regmeta_import.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/regmeta_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_import.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/regmeta_import.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/regmeta_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007ff8065f3362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007ff8065d9c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007ff80654ab28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007ff8056fcfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007ff8057491cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007ff8056fcf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007ff8056e746b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007ff80573d5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007ff805752e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007ff805754a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007ff8057575af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007ff8066ef051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007ff80ccaaabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007ff80cc7acd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007ff80cc63e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007ff80ccbf564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007ff80cccd685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007ff80ccce2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007ff80cd1185c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007ff80cd11385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007ff80ccd5687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007ff80ccd587e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007ff80cdc527a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007ff80cdc60ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007ff80cdc63a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007ff80cdc6613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007ff80cdc5126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007ff80cc6c14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007ff80ce2b755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007ff80cc4b6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007ff80ce97df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007ff80ce36a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007ff80ce38225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007ff80ce3823d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007ff80ce38918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007ff80ceaae8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007ff80ce11c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007ff80bfbf149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007ff80d3b7b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007ff80d35b787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007ff80d3fe66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x00005564887954c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055648879bc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007ff80d0dd525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007ff8065351f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007ff80d0e459e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007ff80d0fb753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007ff80d0fbb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007ff80d0fcb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055648878feb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007ff8056e820c (/lib64/libc.so.6+0x2e20c) #51 0x00007ff8056e82bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000556488790561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_import-f6c09b.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_import-f6c09b.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:286: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_import.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/assemblymd_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/assemblymd_emit.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/assemblymd_emit.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/assemblymd_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/assemblymd_emit.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/assemblymd_emit.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/assemblymd_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp 1. parser at end of file 2. Optimizer #0 0x00007f6943cfe362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f6943ce4c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f6943c55b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f6942e07fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f6942e6255a __libc_free (/lib64/libc.so.6+0x9d55a) #5 0x00007f6943e6052d llvm::User::operator delete(void*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbec52d) #6 0x00007f6943d65e17 llvm::BasicBlock::~BasicBlock() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xaf1e17) #7 0x00007f6943d65f9d llvm::BasicBlock::eraseFromParent() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xaf1f9d) #8 0x00007f69445b87c5 llvm::DeleteDeadBlocks(llvm::ArrayRef, llvm::DomTreeUpdater*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13447c5) #9 0x00007f69446b0855 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x143c855) #10 0x00007f69449c1753 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174d753) #11 0x00007f69449c2442 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174e442) #12 0x00007f69449c2ee5 llvm::SimplifyCFGPass::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174eee5) #13 0x00007f694582c222 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x25b8222) #14 0x00007f6943e514fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #15 0x00007f69454fa662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #16 0x00007f6943e518ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #17 0x00007f69454fa612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #18 0x00007f6943e510f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #19 0x00007f694a2744bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #20 0x00007f694a2770b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #21 0x00007f694a51d110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #22 0x00007f69496ca149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #23 0x00007f694aac2b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #24 0x00007f694aa66787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #25 0x00007f694ab0966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #26 0x00005578df6d14c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #27 0x00005578df6d7c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #28 0x00007f694a7e8525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #29 0x00007f6943c401f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #30 0x00007f694a7ef59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #31 0x00007f694a806753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #32 0x00007f694a806b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #33 0x00007f694a807b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #34 0x00005578df6cbeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #35 0x00007f6942df320c (/lib64/libc.so.6+0x2e20c) #36 0x00007f6942df32bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #37 0x00005578df6cc561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd_emit-ed4769.cpp clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd_emit-ed4769.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:90: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/assemblymd_emit.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/enc/CMakeFiles/mdruntimerw_dac.dir/peparse.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/peparse.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/peparse.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/peparse.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/peparse.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/peparse.cpp:4: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/peparse.cpp:4: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/peparse.cpp:4: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/peparse.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/peparse.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/peparse.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/peparse.cpp 1. parser at end of file 2. Optimizer #0 0x00007f97c37b0362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f97c3796c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f97c3707b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f97c28b9fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f97c4111eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f97c4113b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f97c443e47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f97c5a937c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f97c39034fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f97c4fac662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f97c39038ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f97c4fac612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f97c39030f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f97c9d264bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f97c9d290b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f97c9fcf110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f97c917c149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f97ca574b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f97ca518787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f97ca5bb66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005627fb78f4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005627fb795c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f97ca29a525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f97c36f21f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f97ca2a159e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f97ca2b8753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f97ca2b8b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f97ca2b9b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005627fb789eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f97c28a520c (/lib64/libc.so.6+0x2e20c) #30 0x00007f97c28a52bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005627fb78a561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/peparse-9052fc.cpp clang-13: note: diagnostic msg: /usr/src/tmp/peparse-9052fc.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make:118: src/md/enc/CMakeFiles/mdruntimerw_dac.dir/peparse.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdcolumndescriptors.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/runtime && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdcolumndescriptors.cpp.o -MF CMakeFiles/mdruntime_dac.dir/mdcolumndescriptors.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/mdcolumndescriptors.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdcolumndescriptors.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdcolumndescriptors.cpp:6: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdcolumndescriptors.cpp:6: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdcolumndescriptors.cpp:6: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ 3 warnings generated. gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/enc/CMakeFiles/mdruntimerw_dac.dir/metamodelrw.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/metamodelrw.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/metamodelrw.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/metamodelrw.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelrw.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelrw.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelrw.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelrw.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/metamodelrw.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/metamodelrw.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/metamodelrw.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelrw.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelrw.cpp:828:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelrw.cpp:779:12: LLVM IR generation of declaration 'CMiniMdRW::~CMiniMdRW' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelrw.cpp:779:12: Generating code for declaration 'CMiniMdRW::~CMiniMdRW' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelrw.cpp:780:1: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelrw.cpp:783:5: LLVM IR generation of compound statement ('{}') 6. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/metamodelrw.cpp:785:9: LLVM IR generation of compound statement ('{}') #0 0x00007f772b7aa362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f772b790c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f772b701b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f772a8b3fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f772a9001cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f772a8b3f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f772a89e46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f772a8f45b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f772a909e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f772a90ba3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f772a90e5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f772b8a6051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f7731e317f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007f7731e31cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f7731e1ae34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f7731e76564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f7731e84685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f7731e852bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f7731ec885c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f7731ec8385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f7731e8c687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f7731e8c87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f7731f7c27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f7731f7d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f7731f7d3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f7731f7d613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f7731f7c126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f7731f7dc49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #28 0x00007f7731f7d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #29 0x00007f7731f7d3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #30 0x00007f7731f7d613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #31 0x00007f7731f7c126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #32 0x00007f7731f85c77 clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fac77) #33 0x00007f7731f7d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #34 0x00007f7731f7d3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #35 0x00007f7731f7d613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #36 0x00007f7731f7c126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #37 0x00007f7731e2314c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #38 0x00007f7731fe2755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #39 0x00007f7731e026d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #40 0x00007f773204edf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #41 0x00007f7731feda7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #42 0x00007f7732044e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #43 0x00007f7732061272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #44 0x00007f7731fba9f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #45 0x00007f77311760d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #46 0x00007f773256eb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #47 0x00007f7732512787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #48 0x00007f77325b566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #49 0x000055ba663eb4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #50 0x000055ba663f1c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #51 0x00007f7732294525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #52 0x00007f772b6ec1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #53 0x00007f773229b59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #54 0x00007f77322b2753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #55 0x00007f77322b2b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #56 0x00007f77322b3b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #57 0x000055ba663e5eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #58 0x00007f772a89f20c (/lib64/libc.so.6+0x2e20c) #59 0x00007f772a89f2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #60 0x000055ba663e6561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/metamodelrw-352eb0.cpp clang-13: note: diagnostic msg: /usr/src/tmp/metamodelrw-352eb0.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make:104: src/md/enc/CMakeFiles/mdruntimerw_dac.dir/metamodelrw.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/import.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/import.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:3522:17: warning: variable 'cbTotal' set but not used [-Wunused-but-set-variable] ULONG cbTotal = 0; // total of number bytes for return type + all fixed arguments ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/import.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/import.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp 1. parser at end of file 2. Optimizer #0 0x00007f266a933362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f266a919c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f266a88ab28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f2669a3cfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f266b294eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f266b296b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f266b5c147f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f266cc167c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f266aa864fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f266c12f662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f266aa868ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f266c12f612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f266aa860f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f2670ea94bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f2670eac0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f2671152110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f26702ff149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f26716f7b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f267169b787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f267173e66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055e57158e4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055e571594c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f267141d525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f266a8751f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f267142459e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f267143b753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f267143bb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f267143cb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055e571588eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f2669a2820c (/lib64/libc.so.6+0x2e20c) #30 0x00007f2669a282bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055e571589561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/import-2941b9.cpp clang-13: note: diagnostic msg: /usr/src/tmp/import-2941b9.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:202: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/import.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 4%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/importhelper.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/importhelper.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/importhelper.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/importhelper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:1617:17: warning: variable 'cb2' set but not used [-Wunused-but-set-variable] ULONG cb2; // count of bytes ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:2010:17: warning: variable 'cb1' set but not used [-Wunused-but-set-variable] ULONG cb1; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/importhelper.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/importhelper.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/importhelper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f12084a3362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f1208489c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f12083fab28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f12075acfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f12075f91cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f12075acf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f120759746b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f12075ed5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f1207602e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f1207604a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f12076075af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f120859f051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f120eb5aabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f120eb2acd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f120eb13e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f120eb6f564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f120eb7d685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f120eb7e2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f120ebc185c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f120ebc1385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f120eb85687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f120eb8587e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f120ec7527a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f120ec760ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f120ec763a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f120ec76613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f120ec75126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f120eb1c14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f120ecdb755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f120eafb6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f120ed47df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f120ece6a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f120ece8225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f120ece823d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f120ece8918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f120ed5ae8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f120ecc1c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f120de6f149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f120f267b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f120f20b787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f120f2ae66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000056505d67c4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000056505d682c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f120ef8d525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f12083e51f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f120ef9459e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f120efab753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f120efabb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f120efacb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000056505d676eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f120759820c (/lib64/libc.so.6+0x2e20c) #51 0x00007f12075982bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000056505d677561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/importhelper-c61a1e.cpp clang-13: note: diagnostic msg: /usr/src/tmp/importhelper-c61a1e.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:216: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/importhelper.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdfileformat.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/runtime && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdfileformat.cpp.o -MF CMakeFiles/mdruntime_dac.dir/mdfileformat.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/mdfileformat.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdfileformat.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdfileformat.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdfileformat.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdfileformat.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdfileformat.cpp.o -MF CMakeFiles/mdruntime_dac.dir/mdfileformat.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/mdfileformat.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdfileformat.cpp 1. parser at end of file 2. Optimizer #0 0x00007f51934ee362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f51934d4c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f5193445b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f51925f7fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f5193e4feab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f5193e51b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f519417c47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f51957d17c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f51936414fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f5194cea662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f51936418ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f5194cea612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f51936410f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f5199a644bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f5199a670b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f5199d0d110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f5198eba149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f519a2b2b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f519a256787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f519a2f966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055752de274c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055752de2dc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f5199fd8525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f51934301f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f5199fdf59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f5199ff6753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f5199ff6b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f5199ff7b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055752de21eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f51925e320c (/lib64/libc.so.6+0x2e20c) #30 0x00007f51925e32bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055752de22561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/mdfileformat-73cdd8.cpp clang-13: note: diagnostic msg: /usr/src/tmp/mdfileformat-73cdd8.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/runtime/CMakeFiles/mdruntime_dac.dir/build.make:104: src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdfileformat.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/emit.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/emit.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/emit.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/emit.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007fa37ca65362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fa37ca4bc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fa37c9bcb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fa37bb6efb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fa37bbbb1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fa37bb6ef12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fa37bb5946b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fa37bbaf5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fa37bbc4e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fa37bbc6a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fa37bbc95af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fa37cb61051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fa38311cabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fa3830eccd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fa3830d5e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fa383131564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fa38313f685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fa3831402bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fa38318385c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fa383183385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fa383147687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fa38314787e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fa38323727a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fa3832380ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fa3832383a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fa383238613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fa383237126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fa3830de14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fa38329d755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fa3830bd6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fa383309df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fa3832a8a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fa3832aa225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fa3832aa23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fa3832aa918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fa38331ce8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fa383283c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fa382431149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fa383829b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fa3837cd787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fa38387066b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000557de30f84c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000557de30fec05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fa38354f525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fa37c9a71f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fa38355659e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fa38356d753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fa38356db3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fa38356eb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000557de30f2eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fa37bb5a20c (/lib64/libc.so.6+0x2e20c) #51 0x00007fa37bb5a2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000557de30f3561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/emit-8ec50c.cpp clang-13: note: diagnostic msg: /usr/src/tmp/emit-8ec50c.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:160: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/import.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/import.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:3522:17: warning: variable 'cbTotal' set but not used [-Wunused-but-set-variable] ULONG cbTotal = 0; // total of number bytes for return type + all fixed arguments ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/import.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/import.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp 1. parser at end of file 2. Optimizer #0 0x00007f3e3d286362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f3e3d26cc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f3e3d1ddb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f3e3c38ffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f3e3dbe7eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f3e3dbe9b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f3e3df1447f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f3e3f5697c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f3e3d3d94fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f3e3ea82662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f3e3d3d98ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f3e3ea82612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f3e3d3d90f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f3e437fc4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f3e437ff0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f3e43aa5110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f3e42c52149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f3e4404ab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f3e43fee787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f3e4409166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005620ec2864c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005620ec28cc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f3e43d70525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f3e3d1c81f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f3e43d7759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f3e43d8e753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f3e43d8eb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f3e43d8fb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005620ec280eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f3e3c37b20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f3e3c37b2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005620ec281561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/import-133aa7.cpp clang-13: note: diagnostic msg: /usr/src/tmp/import-133aa7.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:202: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/import.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 8%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/custattr_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/custattr_emit.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/custattr_emit.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/custattr_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/custattr_emit.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/custattr_emit.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/custattr_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f985052c362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f9850512c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f9850483b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f984f635fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f984f6821cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f984f635f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f984f62046b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f984f6765b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f984f68be8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f984f68da3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f984f6905af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f9850628051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f9856be3abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f9856bb3cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f9856b9ce34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f9856bf8564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f9856c06685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f9856c072bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f9856c4a85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f9856c4a385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f9856c0e687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f9856c0e87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f9856cfe27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f9856cff0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f9856cff3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f9856cff613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f9856cfe126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f9856ba514c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f9856d64755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f9856b846d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f9856dd0df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f9856d6fa7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f9856d71225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f9856d7123d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f9856d71918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f9856de3e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f9856d4ac4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f9855ef8149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f98572f0b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f9857294787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f985733766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055fd5b5a54c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055fd5b5abc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f9857016525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f985046e1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f985701d59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f9857034753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f9857034b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f9857035b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055fd5b59feb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f984f62120c (/lib64/libc.so.6+0x2e20c) #51 0x00007f984f6212bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055fd5b5a0561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/custattr_emit-7689e6.cpp clang-13: note: diagnostic msg: /usr/src/tmp/custattr_emit-7689e6.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:132: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/custattr_emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_emit.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/regmeta_emit.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/regmeta_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:982:17: warning: variable 'bSuccess' set but not used [-Wunused-but-set-variable] int bSuccess; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:1369:17: warning: variable 'mdEv' set but not used [-Wunused-but-set-variable] mdEvent mdEv; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:1918:17: warning: variable 'bSuccess' set but not used [-Wunused-but-set-variable] int bSuccess; // Return value for SplitPath(). ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_emit.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/regmeta_emit.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/regmeta_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007fee4b086362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fee4b06cc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fee4afddb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fee4a18ffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fee4a1dc1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fee4a18ff12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fee4a17a46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fee4a1d05b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fee4a1e5e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fee4a1e7a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fee4a1ea5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fee4b182051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fee5173dabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fee5170dcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fee516f6e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fee51752564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fee51760685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fee517612bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fee517a485c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fee517a4385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fee51768687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fee5176887e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fee5185827a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fee518590ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fee518593a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fee51859613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fee51858126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fee516ff14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fee518be755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fee516de6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fee5192adf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fee518c9a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fee518cb225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fee518cb23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fee518cb918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fee5193de8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fee518a4c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fee50a52149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fee51e4ab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fee51dee787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fee51e9166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055db87fc34c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055db87fc9c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fee51b70525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fee4afc81f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fee51b7759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fee51b8e753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fee51b8eb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fee51b8fb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055db87fbdeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fee4a17b20c (/lib64/libc.so.6+0x2e20c) #51 0x00007fee4a17b2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055db87fbe561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_emit-ace2e6.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_emit-ace2e6.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:272: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/importhelper.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/importhelper.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/importhelper.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/importhelper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:1617:17: warning: variable 'cb2' set but not used [-Wunused-but-set-variable] ULONG cb2; // count of bytes ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:2010:17: warning: variable 'cb1' set but not used [-Wunused-but-set-variable] ULONG cb1; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/importhelper.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/importhelper.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/importhelper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f34f6005362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f34f5febc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f34f5f5cb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f34f510efb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f34f515b1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f34f510ef12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f34f50f946b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f34f514f5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f34f5164e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f34f5166a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f34f51695af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f34f6101051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f34fc6bcabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f34fc68ccd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f34fc675e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f34fc6d1564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f34fc6df685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f34fc6e02bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f34fc72385c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f34fc723385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f34fc6e7687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f34fc6e787e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f34fc7d727a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f34fc7d80ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f34fc7d83a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f34fc7d8613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f34fc7d7126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f34fc67e14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f34fc83d755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f34fc65d6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f34fc8a9df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f34fc848a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f34fc84a225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f34fc84a23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f34fc84a918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f34fc8bce8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f34fc823c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f34fb9d1149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f34fcdc9b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f34fcd6d787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f34fce1066b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000056139a60c4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000056139a612c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f34fcaef525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f34f5f471f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f34fcaf659e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f34fcb0d753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f34fcb0db3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f34fcb0eb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000056139a606eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f34f50fa20c (/lib64/libc.so.6+0x2e20c) #51 0x00007f34f50fa2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000056139a607561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/importhelper-61fb5a.cpp clang-13: note: diagnostic msg: /usr/src/tmp/importhelper-61fb5a.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:216: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/importhelper.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 8%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/emit.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/emit.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/emit.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/emit.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp 1. parser at end of file 2. Optimizer #0 0x00007fb9722bc362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fb9722a2c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fb972213b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fb9713c5fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fb9723d9960 llvm::MetadataTracking::untrack(void*, llvm::Metadata&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xba7960) #5 0x00007fb972c1de0a (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebe0a) #6 0x00007fb972c1fb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #7 0x00007fb972f4a47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #8 0x00007fb97459f7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #9 0x00007fb97240f4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #10 0x00007fb973ab8662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #11 0x00007fb97240f8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #12 0x00007fb973ab8612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #13 0x00007fb97240f0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #14 0x00007fb9788324bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #15 0x00007fb9788350b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #16 0x00007fb978adb110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #17 0x00007fb977c88149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #18 0x00007fb979080b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #19 0x00007fb979024787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #20 0x00007fb9790c766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #21 0x000055648793f4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #22 0x0000556487945c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #23 0x00007fb978da6525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #24 0x00007fb9721fe1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #25 0x00007fb978dad59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #26 0x00007fb978dc4753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #27 0x00007fb978dc4b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #28 0x00007fb978dc5b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #29 0x0000556487939eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #30 0x00007fb9713b120c (/lib64/libc.so.6+0x2e20c) #31 0x00007fb9713b12bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #32 0x000055648793a561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin corrupted size vs. prev_size gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:160: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/emit.cpp.o] Aborted gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 0%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/assemblymd_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/assemblymd_emit.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/assemblymd_emit.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/assemblymd_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/assemblymd_emit.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/assemblymd_emit.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/assemblymd_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp 1. parser at end of file 2. Optimizer #0 0x00007f346edbc362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f346eda2c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f346ed13b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f346dec5fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f346df2055a __libc_free (/lib64/libc.so.6+0x9d55a) #5 0x00007f346ef1e52d llvm::User::operator delete(void*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbec52d) #6 0x00007f346ee23e17 llvm::BasicBlock::~BasicBlock() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xaf1e17) #7 0x00007f346ee23f9d llvm::BasicBlock::eraseFromParent() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xaf1f9d) #8 0x00007f346f6767c5 llvm::DeleteDeadBlocks(llvm::ArrayRef, llvm::DomTreeUpdater*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13447c5) #9 0x00007f346f76e855 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x143c855) #10 0x00007f346fa7f753 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174d753) #11 0x00007f346fa80442 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174e442) #12 0x00007f346fa80ee5 llvm::SimplifyCFGPass::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174eee5) #13 0x00007f34708ea222 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x25b8222) #14 0x00007f346ef0f4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #15 0x00007f34705b8662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #16 0x00007f346ef0f8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #17 0x00007f34705b8612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #18 0x00007f346ef0f0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #19 0x00007f34753324bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #20 0x00007f34753350b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #21 0x00007f34755db110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #22 0x00007f3474788149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #23 0x00007f3475b80b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #24 0x00007f3475b24787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #25 0x00007f3475bc766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #26 0x0000559e50d7b4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #27 0x0000559e50d81c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #28 0x00007f34758a6525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #29 0x00007f346ecfe1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #30 0x00007f34758ad59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #31 0x00007f34758c4753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #32 0x00007f34758c4b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #33 0x00007f34758c5b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #34 0x0000559e50d75eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #35 0x00007f346deb120c (/lib64/libc.so.6+0x2e20c) #36 0x00007f346deb12bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #37 0x0000559e50d76561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd_emit-c70412.cpp clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd_emit-c70412.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:90: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/assemblymd_emit.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/enc/CMakeFiles/mdruntimerw_dac.dir/rwutil.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/enc && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/rwutil.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/rwutil.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/rwutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/rwutil.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/rwutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/rwutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/rwutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/enc/CMakeFiles/mdruntimerw_dac.dir/rwutil.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/rwutil.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/rwutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/rwutil.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/rwutil.cpp:433:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/rwutil.cpp:427:13: LLVM IR generation of declaration 'MDTOKENMAP::~MDTOKENMAP' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/rwutil.cpp:427:13: Generating code for declaration 'MDTOKENMAP::~MDTOKENMAP' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/enc/rwutil.cpp:428:1: LLVM IR generation of compound statement ('{}') #0 0x00007fd7ebbf8362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd7ebbdec64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd7ebb4fb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd7ead01fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd7ead4e1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fd7ead01f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fd7eacec46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fd7ead425b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fd7ead57e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fd7ead59a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fd7ead5c5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fd7ebcf4051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fd7f227f7f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007fd7f227fcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fd7f2268e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fd7f22c4564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fd7f22d2685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fd7f22d32bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fd7f231685c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fd7f2316385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fd7f22da687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fd7f22da87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fd7f23ca27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fd7f23cbc49 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2c49) #24 0x00007fd7f23cb0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #25 0x00007fd7f23cb3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #26 0x00007fd7f23cb613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #27 0x00007fd7f23ca126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #28 0x00007fd7f227114c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #29 0x00007fd7f2430755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #30 0x00007fd7f22506d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #31 0x00007fd7f249cdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #32 0x00007fd7f243ba7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #33 0x00007fd7f2492e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #34 0x00007fd7f24af272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #35 0x00007fd7f24089f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #36 0x00007fd7f15c40d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #37 0x00007fd7f29bcb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #38 0x00007fd7f2960787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #39 0x00007fd7f2a0366b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #40 0x0000557e0d6be4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #41 0x0000557e0d6c4c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #42 0x00007fd7f26e2525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #43 0x00007fd7ebb3a1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #44 0x00007fd7f26e959e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #45 0x00007fd7f2700753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #46 0x00007fd7f2700b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #47 0x00007fd7f2701b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #48 0x0000557e0d6b8eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #49 0x00007fd7eaced20c (/lib64/libc.so.6+0x2e20c) #50 0x00007fd7eaced2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #51 0x0000557e0d6b9561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/rwutil-8c9962.cpp clang-13: note: diagnostic msg: /usr/src/tmp/rwutil-8c9962.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/enc/CMakeFiles/mdruntimerw_dac.dir/build.make:132: src/md/enc/CMakeFiles/mdruntimerw_dac.dir/rwutil.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:2624: src/md/enc/CMakeFiles/mdruntimerw_dac.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 7%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/assemblymd_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/assemblymd_emit.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/assemblymd_emit.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/assemblymd_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/assemblymd_emit.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/assemblymd_emit.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/assemblymd_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp 1. parser at end of file 2. Optimizer #0 0x00007fcabe7c9362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fcabe7afc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fcabe720b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fcabd8d2fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fcabd92d55a __libc_free (/lib64/libc.so.6+0x9d55a) #5 0x00007fcabe92b52d llvm::User::operator delete(void*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbec52d) #6 0x00007fcabe830e17 llvm::BasicBlock::~BasicBlock() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xaf1e17) #7 0x00007fcabe830f9d llvm::BasicBlock::eraseFromParent() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xaf1f9d) #8 0x00007fcabf0837c5 llvm::DeleteDeadBlocks(llvm::ArrayRef, llvm::DomTreeUpdater*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13447c5) #9 0x00007fcabf17b855 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x143c855) #10 0x00007fcabf48c753 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174d753) #11 0x00007fcabf48d442 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174e442) #12 0x00007fcabf48dee5 llvm::SimplifyCFGPass::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x174eee5) #13 0x00007fcac02f7222 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x25b8222) #14 0x00007fcabe91c4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #15 0x00007fcabffc5662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #16 0x00007fcabe91c8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #17 0x00007fcabffc5612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #18 0x00007fcabe91c0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #19 0x00007fcac4d3f4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #20 0x00007fcac4d420b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #21 0x00007fcac4fe8110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #22 0x00007fcac4195149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #23 0x00007fcac558db41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #24 0x00007fcac5531787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #25 0x00007fcac55d466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #26 0x000055d6792644c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #27 0x000055d67926ac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #28 0x00007fcac52b3525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #29 0x00007fcabe70b1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #30 0x00007fcac52ba59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #31 0x00007fcac52d1753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #32 0x00007fcac52d1b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #33 0x00007fcac52d2b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #34 0x000055d67925eeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #35 0x00007fcabd8be20c (/lib64/libc.so.6+0x2e20c) #36 0x00007fcabd8be2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #37 0x000055d67925f561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd_emit-49ff95.cpp clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd_emit-49ff95.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:90: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/assemblymd_emit.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_compilersupport.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_compilersupport.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/regmeta_compilersupport.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/regmeta_compilersupport.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ 3 warnings generated. gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 7%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_vm.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_vm.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/regmeta_vm.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/regmeta_vm.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_vm.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/regmeta_vm.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/regmeta_vm.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp 1. parser at end of file 2. Optimizer #0 0x00007f6511070362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f6511056c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f6510fc7b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f6510179fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f65101c61cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f6510179f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f651016446b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f65101ba5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f65101cfe8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f65101d1a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f65101d45af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f65120d0d81 llvm::MemorySSA::renameSuccessorPhis(llvm::BasicBlock*, llvm::MemoryAccess*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1aead81) #12 0x00007f65120d0e95 llvm::MemorySSA::renamePass(llvm::DomTreeNodeBase*, llvm::MemoryAccess*, llvm::SmallPtrSetImpl&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1aeae95) #13 0x00007f65120d7fc8 llvm::MemorySSA::buildMemorySSA(llvm::BatchAAResults&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1af1fc8) #14 0x00007f65120d85f1 llvm::MemorySSA::MemorySSA(llvm::Function&, llvm::AAResults*, llvm::DominatorTree*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1af25f1) #15 0x00007f65120d86d9 llvm::MemorySSAAnalysis::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1af26d9) #16 0x00007f6513356bc6 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d70bc6) #17 0x00007f6511196b97 llvm::AnalysisManager::getResultImpl(llvm::AnalysisKey*, llvm::Function&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbb0b97) #18 0x00007f6511bbb583 llvm::EarlyCSEPass::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x15d5583) #19 0x00007f6513353732 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d732) #20 0x00007f65111c34fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #21 0x00007f651286c662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #22 0x00007f6511fe7342 llvm::CGSCCToFunctionPassAdaptor::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1a01342) #23 0x00007f651286c4d2 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x22864d2) #24 0x00007f6511fe488b llvm::PassManager, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x19fe88b) #25 0x00007f6511df6d42 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1810d42) #26 0x00007f6511fe60b6 llvm::DevirtSCCRepeatedPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1a000b6) #27 0x00007f6511df6ca2 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1810ca2) #28 0x00007f6511fe5679 llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x19ff679) #29 0x00007f6511df6cf2 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1810cf2) #30 0x00007f65111c30f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #31 0x00007f6511df69fd llvm::ModuleInlinerWrapperPass::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x18109fd) #32 0x00007f6513352a72 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6ca72) #33 0x00007f65111c30f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #34 0x00007f65175e64bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #35 0x00007f65175e90b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #36 0x00007f651788f110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #37 0x00007f6516a3c149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f6517e34b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f6517dd8787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f6517e7b66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055d2cdfae4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055d2cdfb4c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f6517b5a525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f6510fb21f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f6517b6159e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f6517b78753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f6517b78b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f6517b79b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055d2cdfa8eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f651016520c (/lib64/libc.so.6+0x2e20c) #51 0x00007f65101652bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055d2cdfa9561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_vm-9b524b.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_vm-9b524b.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:314: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_vm.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/helper.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/helper.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/helper.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/helper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/helper.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/helper.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/helper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f7b18810362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f7b187f6c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f7b18767b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f7b17919fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f7b179661cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f7b17919f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f7b1790446b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f7b1795a5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f7b1796fe8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f7b17971a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f7b179745af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f7b1890c051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f7b1eec7abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f7b1ee97cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f7b1ee80e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f7b1eedc564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f7b1eeea685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f7b1eeeb2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f7b1ef2e85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f7b1ef2e385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f7b1eef2687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f7b1eef287e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f7b1efe227a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f7b1efe30ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f7b1efe33a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f7b1efe3613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f7b1efe2126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f7b1ee8914c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f7b1f048755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f7b1ee686d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f7b1f0b4df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f7b1f053a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f7b1f055225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f7b1f05523d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f7b1f055918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f7b1f0c7e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f7b1f02ec4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f7b1e1dc149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f7b1f5d4b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f7b1f578787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f7b1f61b66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000564e820534c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000564e82059c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f7b1f2fa525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f7b187521f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f7b1f30159e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f7b1f318753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f7b1f318b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f7b1f319b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000564e8204deb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f7b1790520c (/lib64/libc.so.6+0x2e20c) #51 0x00007f7b179052bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000564e8204e561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/helper-b53f7f.cpp clang-13: note: diagnostic msg: /usr/src/tmp/helper-b53f7f.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:188: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/helper.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 6%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/assemblymd_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/assemblymd_emit.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/assemblymd_emit.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/assemblymd_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/assemblymd_emit.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/assemblymd_emit.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/assemblymd_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/assemblymd_emit.cpp 1. parser at end of file 2. Optimizer #0 0x00007f12cdf6e362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f12cdf54c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f12cdec5b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f12cd077fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f12ce8cfeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f12ce8d1b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f12cebfc47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f12d02517c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f12ce0c14fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f12cf76a662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f12ce0c18ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f12cf76a612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f12ce0c10f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f12d44e44bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f12d44e70b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f12d478d110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f12d393a149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f12d4d32b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f12d4cd6787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f12d4d7966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005613e996d4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005613e9973c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f12d4a58525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f12cdeb01f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f12d4a5f59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f12d4a76753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f12d4a76b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f12d4a77b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005613e9967eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f12cd06320c (/lib64/libc.so.6+0x2e20c) #30 0x00007f12cd0632bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005613e9968561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd_emit-d5eccc.cpp clang-13: note: diagnostic msg: /usr/src/tmp/assemblymd_emit-d5eccc.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:90: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/assemblymd_emit.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/regmeta.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/regmeta.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/regmeta.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/regmeta.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:175:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:89:10: LLVM IR generation of declaration 'RegMeta::~RegMeta' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:89:10: Generating code for declaration 'RegMeta::~RegMeta' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:90:1: LLVM IR generation of compound statement ('{}') #0 0x00007f6b483e5362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f6b483cbc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f6b4833cb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f6b474eefb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f6b4753b1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f6b474eef12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f6b474d946b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f6b4752f5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f6b47544e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f6b47546a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f6b475495af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f6b484e1051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f6b4ea6c7f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007f6b4ea6ccd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f6b4ea55e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f6b4ea59e83 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::Address, clang::CodeGen::CallArgList&, clang::CodeGen::AggValueSlot::Overlap_t, clang::SourceLocation, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1693e83) #16 0x00007f6b4ea5a657 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::AggValueSlot, clang::CXXConstructExpr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1694657) #17 0x00007f6b4eacec59 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1708c59) #18 0x00007f6b4eac755a clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr const*, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170155a) #19 0x00007f6b4ea8a1ef clang::CodeGen::CodeGenFunction::EmitExprAsInit(clang::Expr const*, clang::ValueDecl const*, clang::CodeGen::LValue, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c41ef) #20 0x00007f6b4ea8a733 clang::CodeGen::CodeGenFunction::EmitAutoVarInit(clang::CodeGen::CodeGenFunction::AutoVarEmission const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c4733) #21 0x00007f6b4ea8cb06 clang::CodeGen::CodeGenFunction::EmitAutoVarDecl(clang::VarDecl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6b06) #22 0x00007f6b4ea8ce3a clang::CodeGen::CodeGenFunction::EmitDecl(clang::Decl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6e3a) #23 0x00007f6b4ebc37cf clang::CodeGen::CodeGenFunction::EmitDeclStmt(clang::DeclStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fd7cf) #24 0x00007f6b4ebb8675 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2675) #25 0x00007f6b4ebb7126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007f6b4ebb80ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #27 0x00007f6b4ebb83a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #28 0x00007f6b4ebb8613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #29 0x00007f6b4ebb7126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #30 0x00007f6b4ea5e14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #31 0x00007f6b4ec1d755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #32 0x00007f6b4ea3d6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #33 0x00007f6b4ec89df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #34 0x00007f6b4ec28a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #35 0x00007f6b4ec7fe13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #36 0x00007f6b4ec9c272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #37 0x00007f6b4ebf59f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #38 0x00007f6b4ddb10d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #39 0x00007f6b4f1a9b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #40 0x00007f6b4f14d787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #41 0x00007f6b4f1f066b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #42 0x000055cdf1ecc4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #43 0x000055cdf1ed2c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #44 0x00007f6b4eecf525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #45 0x00007f6b483271f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #46 0x00007f6b4eed659e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #47 0x00007f6b4eeed753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #48 0x00007f6b4eeedb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #49 0x00007f6b4eeeeb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #50 0x000055cdf1ec6eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #51 0x00007f6b474da20c (/lib64/libc.so.6+0x2e20c) #52 0x00007f6b474da2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #53 0x000055cdf1ec7561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta-2831eb.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta-2831eb.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:244: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/filtermanager.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/filtermanager.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/filtermanager.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/filtermanager.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/filtermanager.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/filtermanager.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/filtermanager.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp 1. parser at end of file 2. Optimizer #0 0x00007fd559a5d362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd559a43c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd5599b4b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd558b66fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd559a9eac4 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xacbac4) #5 0x00007fd55c2373fe (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x32643fe) #6 0x00007fd55aa58dcb llvm::SimplifyInstruction(llvm::Instruction*, llvm::SimplifyQuery const&, llvm::OptimizationRemarkEmitter*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1a85dcb) #7 0x00007fd55a3c2136 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ef136) #8 0x00007fd55a6eb47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #9 0x00007fd55bd407c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #10 0x00007fd559bb04fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #11 0x00007fd55b259662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #12 0x00007fd559bb08ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #13 0x00007fd55b259612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #14 0x00007fd559bb00f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #15 0x00007fd55ffd34bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #16 0x00007fd55ffd60b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #17 0x00007fd56027c110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #18 0x00007fd55f429149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #19 0x00007fd560821b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #20 0x00007fd5607c5787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #21 0x00007fd56086866b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #22 0x0000556b04efc4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #23 0x0000556b04f02c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #24 0x00007fd560547525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #25 0x00007fd55999f1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #26 0x00007fd56054e59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #27 0x00007fd560565753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #28 0x00007fd560565b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #29 0x00007fd560566b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #30 0x0000556b04ef6eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #31 0x00007fd558b5220c (/lib64/libc.so.6+0x2e20c) #32 0x00007fd558b522bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #33 0x0000556b04ef7561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/filtermanager-1052ea.cpp clang-13: note: diagnostic msg: /usr/src/tmp/filtermanager-1052ea.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:174: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/filtermanager.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/emit.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/emit.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/emit.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/emit.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/emit.cpp 1. parser at end of file 2. Optimizer #0 0x00007f454c72b362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f454c711c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f454c682b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f454b834fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f454d08ceab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f454d08eb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f454d3b947f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f454ea0e7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f454c87e4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f454df27662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f454c87e8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f454df27612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f454c87e0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f4552ca14bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f4552ca40b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f4552f4a110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f45520f7149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f45534efb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f4553493787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f455353666b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055de219914c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055de21997c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f4553215525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f454c66d1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f455321c59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f4553233753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f4553233b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f4553234b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055de2198beb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f454b82020c (/lib64/libc.so.6+0x2e20c) #30 0x00007f454b8202bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055de2198c561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/emit-2bd93e.cpp clang-13: note: diagnostic msg: /usr/src/tmp/emit-2bd93e.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:160: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/emit.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_vm.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_vm.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/regmeta_vm.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/regmeta_vm.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_vm.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/regmeta_vm.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/regmeta_vm.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp 1. parser at end of file 2. Optimizer #0 0x00007f9bbdf15362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f9bbdefbc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f9bbde6cb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f9bbd01efb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f9bbd06b1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f9bbd01ef12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f9bbd00946b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f9bbd05f5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f9bbd074e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f9bbd076a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f9bbd0795af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f9bbef75d81 llvm::MemorySSA::renameSuccessorPhis(llvm::BasicBlock*, llvm::MemoryAccess*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1aead81) #12 0x00007f9bbef75e95 llvm::MemorySSA::renamePass(llvm::DomTreeNodeBase*, llvm::MemoryAccess*, llvm::SmallPtrSetImpl&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1aeae95) #13 0x00007f9bbef7cfc8 llvm::MemorySSA::buildMemorySSA(llvm::BatchAAResults&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1af1fc8) #14 0x00007f9bbef7d5f1 llvm::MemorySSA::MemorySSA(llvm::Function&, llvm::AAResults*, llvm::DominatorTree*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1af25f1) #15 0x00007f9bbef7d6d9 llvm::MemorySSAAnalysis::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1af26d9) #16 0x00007f9bc01fbbc6 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d70bc6) #17 0x00007f9bbe03bb97 llvm::AnalysisManager::getResultImpl(llvm::AnalysisKey*, llvm::Function&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbb0b97) #18 0x00007f9bbea60583 llvm::EarlyCSEPass::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x15d5583) #19 0x00007f9bc01f8732 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d732) #20 0x00007f9bbe0684fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #21 0x00007f9bbf711662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #22 0x00007f9bbee8c342 llvm::CGSCCToFunctionPassAdaptor::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1a01342) #23 0x00007f9bbf7114d2 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x22864d2) #24 0x00007f9bbee8988b llvm::PassManager, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x19fe88b) #25 0x00007f9bbec9bd42 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1810d42) #26 0x00007f9bbee8b0b6 llvm::DevirtSCCRepeatedPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1a000b6) #27 0x00007f9bbec9bca2 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1810ca2) #28 0x00007f9bbee8a679 llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x19ff679) #29 0x00007f9bbec9bcf2 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1810cf2) #30 0x00007f9bbe0680f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #31 0x00007f9bbec9b9fd llvm::ModuleInlinerWrapperPass::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x18109fd) #32 0x00007f9bc01f7a72 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6ca72) #33 0x00007f9bbe0680f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #34 0x00007f9bc448b4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #35 0x00007f9bc448e0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #36 0x00007f9bc4734110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #37 0x00007f9bc38e1149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f9bc4cd9b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f9bc4c7d787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f9bc4d2066b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x00005597ca6c34c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x00005597ca6c9c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f9bc49ff525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f9bbde571f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f9bc4a0659e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f9bc4a1d753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f9bc4a1db3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f9bc4a1eb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x00005597ca6bdeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f9bbd00a20c (/lib64/libc.so.6+0x2e20c) #51 0x00007f9bbd00a2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x00005597ca6be561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_vm-1f970e.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_vm-1f970e.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:314: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_vm.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/mdutil.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/mdutil.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/mdutil.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/mdutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:274:27: warning: variable 'cRefs' set but not used [-Wunused-but-set-variable] ULONG cRefs; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:308:27: warning: variable 'cRefs' set but not used [-Wunused-but-set-variable] ULONG cRefs; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/mdutil.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/mdutil.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/mdutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:1779:5: Generating code for declaration 'CStructArray::~CStructArray' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:1780:5: LLVM IR generation of compound statement ('{}') #0 0x00007f850bf03362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f850bee9c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f850be5ab28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f850b00cfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f850b0591cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f850b00cf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f850aff746b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f850b04d5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f850b062e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f850b064a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f850b0675af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f850bfff051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f85125baabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f851258acd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f8512573e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f85125cf564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f85125dd685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f85125de2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f851262185c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f8512621385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f85125e5687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f85125e587e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f85126d527a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f85126d60ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f85126d63a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f85126d6613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f85126d5126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f851257c14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f851273b755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f851255b6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f85127a7df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f8512746a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f8512748225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f851274823d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f851274823d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #35 0x00007f851274823d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #36 0x00007f8512748918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #37 0x00007f85127bae8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #38 0x00007f8512721c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #39 0x00007f85118cf149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #40 0x00007f8512cc7b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #41 0x00007f8512c6b787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #42 0x00007f8512d0e66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #43 0x000055617093b4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #44 0x0000556170941c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #45 0x00007f85129ed525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #46 0x00007f850be451f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #47 0x00007f85129f459e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #48 0x00007f8512a0b753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #49 0x00007f8512a0bb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #50 0x00007f8512a0cb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #51 0x0000556170935eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #52 0x00007f850aff820c (/lib64/libc.so.6+0x2e20c) #53 0x00007f850aff82bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #54 0x0000556170936561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/mdutil-94a8e9.cpp clang-13: note: diagnostic msg: /usr/src/tmp/mdutil-94a8e9.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:230: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/mdutil.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/runtime/CMakeFiles/mdruntime_dac.dir/metamodel.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/runtime && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/metamodel.cpp.o -MF CMakeFiles/mdruntime_dac.dir/metamodel.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/metamodel.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodel.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodel.cpp:9: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodel.cpp:9: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodel.cpp:9: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/metamodel.cpp.o -MF CMakeFiles/mdruntime_dac.dir/metamodel.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/metamodel.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodel.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodel.cpp:526:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodel.cpp:510:14: LLVM IR generation of declaration 'CMiniMdBase::~CMiniMdBase' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodel.cpp:510:14: Generating code for declaration 'CMiniMdBase::~CMiniMdBase' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodel.cpp:511:1: LLVM IR generation of compound statement ('{}') 5. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodel.cpp:513:5: LLVM IR generation of compound statement ('{}') #0 0x00007f85502f7362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f85502ddc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f855024eb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f854f400fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f854f44d1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f854f400f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f854f3eb46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f854f4415b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f854f456e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f854f458a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f854f45b5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f85503f3051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f855697e7f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007f855697ecd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f8556967e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f85569c3564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f85569d1685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f85569d22bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f8556a1585c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f8556a10ebf (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1738ebf) #20 0x00007f8556a118a0 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17398a0) #21 0x00007f8556a15385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #22 0x00007f85569d5830 clang::CodeGen::CodeGenFunction::EvaluateExprAsBool(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fd830) #23 0x00007f8556b1d8bf clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(clang::Expr const*, llvm::BasicBlock*, llvm::BasicBlock*, unsigned long, clang::Stmt::Likelihood) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18458bf) #24 0x00007f8556b1ddf0 clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(clang::Expr const*, llvm::BasicBlock*, llvm::BasicBlock*, unsigned long, clang::Stmt::Likelihood) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1845df0) #25 0x00007f8556acabb7 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2bb7) #26 0x00007f8556aca0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #27 0x00007f8556aca3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #28 0x00007f8556aca613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #29 0x00007f8556ac9126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #30 0x00007f8556ad2c77 clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fac77) #31 0x00007f8556aca0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #32 0x00007f8556aca3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #33 0x00007f8556aca613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #34 0x00007f8556ac9126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #35 0x00007f855697014c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #36 0x00007f8556b2f755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #37 0x00007f855694f6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #38 0x00007f8556b9bdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #39 0x00007f8556b3aa7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #40 0x00007f8556b91e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #41 0x00007f8556bae272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #42 0x00007f8556b079f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #43 0x00007f8555cc30d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #44 0x00007f85570bbb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #45 0x00007f855705f787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #46 0x00007f855710266b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #47 0x0000563f10d3f4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #48 0x0000563f10d45c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #49 0x00007f8556de1525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #50 0x00007f85502391f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #51 0x00007f8556de859e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #52 0x00007f8556dff753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #53 0x00007f8556dffb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #54 0x00007f8556e00b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #55 0x0000563f10d39eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #56 0x00007f854f3ec20c (/lib64/libc.so.6+0x2e20c) #57 0x00007f854f3ec2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #58 0x0000563f10d3a561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/metamodel-ea01ec.cpp clang-13: note: diagnostic msg: /usr/src/tmp/metamodel-ea01ec.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/runtime/CMakeFiles/mdruntime_dac.dir/build.make:118: src/md/runtime/CMakeFiles/mdruntime_dac.dir/metamodel.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/filtermanager.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/filtermanager.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/filtermanager.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/filtermanager.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/filtermanager.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/filtermanager.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/filtermanager.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp 1. parser at end of file 2. Optimizer #0 0x00007fa752e3d362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fa752e23c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fa752d94b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fa751f46fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fa752e7eac4 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xacbac4) #5 0x00007fa7556173fe (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x32643fe) #6 0x00007fa753e38dcb llvm::SimplifyInstruction(llvm::Instruction*, llvm::SimplifyQuery const&, llvm::OptimizationRemarkEmitter*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x1a85dcb) #7 0x00007fa7537a2136 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ef136) #8 0x00007fa753acb47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #9 0x00007fa7551207c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #10 0x00007fa752f904fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #11 0x00007fa754639662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #12 0x00007fa752f908ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #13 0x00007fa754639612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #14 0x00007fa752f900f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #15 0x00007fa7593b34bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #16 0x00007fa7593b60b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #17 0x00007fa75965c110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #18 0x00007fa758809149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #19 0x00007fa759c01b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #20 0x00007fa759ba5787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #21 0x00007fa759c4866b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #22 0x000055dab202c4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #23 0x000055dab2032c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #24 0x00007fa759927525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #25 0x00007fa752d7f1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #26 0x00007fa75992e59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #27 0x00007fa759945753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #28 0x00007fa759945b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #29 0x00007fa759946b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #30 0x000055dab2026eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #31 0x00007fa751f3220c (/lib64/libc.so.6+0x2e20c) #32 0x00007fa751f322bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #33 0x000055dab2027561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin corrupted double-linked list gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:174: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/filtermanager.cpp.o] Aborted gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:175:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:89:10: LLVM IR generation of declaration 'RegMeta::~RegMeta' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:89:10: Generating code for declaration 'RegMeta::~RegMeta' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:90:1: LLVM IR generation of compound statement ('{}') #0 0x00007f5fceaf6362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f5fceadcc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f5fcea4db28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f5fcdbfffb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f5fcdc4c1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f5fcdbfff12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f5fcdbea46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f5fcdc405b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f5fcdc55e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f5fcdc57a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f5fcdc5a5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f5fcebf2051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f5fd517d7f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007f5fd517dcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f5fd5166e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f5fd516ae83 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::Address, clang::CodeGen::CallArgList&, clang::CodeGen::AggValueSlot::Overlap_t, clang::SourceLocation, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1693e83) #16 0x00007f5fd516b657 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::AggValueSlot, clang::CXXConstructExpr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1694657) #17 0x00007f5fd51dfc59 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1708c59) #18 0x00007f5fd51d855a clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr const*, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170155a) #19 0x00007f5fd519b1ef clang::CodeGen::CodeGenFunction::EmitExprAsInit(clang::Expr const*, clang::ValueDecl const*, clang::CodeGen::LValue, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c41ef) #20 0x00007f5fd519b733 clang::CodeGen::CodeGenFunction::EmitAutoVarInit(clang::CodeGen::CodeGenFunction::AutoVarEmission const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c4733) #21 0x00007f5fd519db06 clang::CodeGen::CodeGenFunction::EmitAutoVarDecl(clang::VarDecl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6b06) #22 0x00007f5fd519de3a clang::CodeGen::CodeGenFunction::EmitDecl(clang::Decl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6e3a) #23 0x00007f5fd52d47cf clang::CodeGen::CodeGenFunction::EmitDeclStmt(clang::DeclStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fd7cf) #24 0x00007f5fd52c9675 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2675) #25 0x00007f5fd52c8126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007f5fd52c90ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #27 0x00007f5fd52c93a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #28 0x00007f5fd52c9613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #29 0x00007f5fd52c8126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #30 0x00007f5fd516f14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #31 0x00007f5fd532e755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #32 0x00007f5fd514e6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #33 0x00007f5fd539adf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #34 0x00007f5fd5339a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #35 0x00007f5fd5390e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #36 0x00007f5fd53ad272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #37 0x00007f5fd53069f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #38 0x00007f5fd44c20d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #39 0x00007f5fd58bab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #40 0x00007f5fd585e787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #41 0x00007f5fd590166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #42 0x000056458384b4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #43 0x0000564583851c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #44 0x00007f5fd55e0525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #45 0x00007f5fcea381f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #46 0x00007f5fd55e759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #47 0x00007f5fd55fe753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #48 0x00007f5fd55feb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #49 0x00007f5fd55ffb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #50 0x0000564583845eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #51 0x00007f5fcdbeb20c (/lib64/libc.so.6+0x2e20c) #52 0x00007f5fcdbeb2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #53 0x0000564583846561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta-34e3a0.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta-34e3a0.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:244: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/mdutil.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/mdutil.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/mdutil.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/mdutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:274:27: warning: variable 'cRefs' set but not used [-Wunused-but-set-variable] ULONG cRefs; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:308:27: warning: variable 'cRefs' set but not used [-Wunused-but-set-variable] ULONG cRefs; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/mdutil.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/mdutil.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/mdutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:1779:5: Generating code for declaration 'CStructArray::~CStructArray' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:1780:5: LLVM IR generation of compound statement ('{}') #0 0x00007fb700d55362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fb700d3bc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fb700cacb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fb6ffe5efb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fb6ffeab1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fb6ffe5ef12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fb6ffe4946b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fb6ffe9f5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fb6ffeb4e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fb6ffeb6a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fb6ffeb95af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fb700e51051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fb70740cabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fb7073dccd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fb7073c5e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fb707421564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fb70742f685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fb7074302bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fb70747385c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fb707473385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fb707437687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fb70743787e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fb70752727a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fb7075280ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fb7075283a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fb707528613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fb707527126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fb7073ce14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fb70758d755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fb7073ad6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fb7075f9df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fb707598a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fb70759a225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fb70759a23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fb70759a23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #35 0x00007fb70759a23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #36 0x00007fb70759a918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #37 0x00007fb70760ce8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #38 0x00007fb707573c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #39 0x00007fb706721149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #40 0x00007fb707b19b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #41 0x00007fb707abd787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #42 0x00007fb707b6066b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #43 0x000055bca7bc44c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #44 0x000055bca7bcac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #45 0x00007fb70783f525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #46 0x00007fb700c971f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #47 0x00007fb70784659e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #48 0x00007fb70785d753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #49 0x00007fb70785db3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #50 0x00007fb70785eb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #51 0x000055bca7bbeeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #52 0x00007fb6ffe4a20c (/lib64/libc.so.6+0x2e20c) #53 0x00007fb6ffe4a2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #54 0x000055bca7bbf561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/mdutil-8a73f4.cpp clang-13: note: diagnostic msg: /usr/src/tmp/mdutil-8a73f4.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:230: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/mdutil.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 7%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/custattr_import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/custattr_import.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/custattr_import.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/custattr_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/custattr_import.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/custattr_import.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/custattr_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp 1. parser at end of file 2. Optimizer #0 0x00007f93c3d5e362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f93c3d44c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f93c3cb5b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f93c2e67fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f93c46bfeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f93c46c1b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f93c49ec47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f93c60417c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f93c3eb14fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f93c555a662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f93c3eb18ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f93c555a612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f93c3eb10f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f93ca2d44bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f93ca2d70b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f93ca57d110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f93c972a149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f93cab22b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f93caac6787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f93cab6966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055c3756804c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055c375686c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f93ca848525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f93c3ca01f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f93ca84f59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f93ca866753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f93ca866b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f93ca867b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055c37567aeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f93c2e5320c (/lib64/libc.so.6+0x2e20c) #30 0x00007f93c2e532bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055c37567b561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/custattr_import-91846d.cpp clang-13: note: diagnostic msg: /usr/src/tmp/custattr_import-91846d.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:118: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/custattr_import.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 7%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/custattr_import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/custattr_import.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/custattr_import.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/custattr_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/custattr_import.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/custattr_import.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/custattr_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp 1. parser at end of file 2. Optimizer #0 0x00007f734e9dd362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f734e9c3c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f734e934b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f734dae6fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f734f33eeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f734f340b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f734f66b47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f7350cc07c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f734eb304fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f73501d9662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f734eb308ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f73501d9612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f734eb300f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f7354f534bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f7354f560b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f73551fc110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f73543a9149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f73557a1b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f7355745787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f73557e866b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000559234ad24c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000559234ad8c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f73554c7525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f734e91f1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f73554ce59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f73554e5753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f73554e5b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f73554e6b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000559234acceb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f734dad220c (/lib64/libc.so.6+0x2e20c) #30 0x00007f734dad22bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000559234acd561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/custattr_import-4be982.cpp clang-13: note: diagnostic msg: /usr/src/tmp/custattr_import-4be982.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:118: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/custattr_import.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/importhelper.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/importhelper.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/importhelper.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/importhelper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:1617:17: warning: variable 'cb2' set but not used [-Wunused-but-set-variable] ULONG cb2; // count of bytes ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:2010:17: warning: variable 'cb1' set but not used [-Wunused-but-set-variable] ULONG cb1; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/importhelper.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/importhelper.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/importhelper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f043103f362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f0431025c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f0430f96b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f0430148fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f04301951cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f0430148f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f043013346b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f04301895b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f043019ee8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f04301a0a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f04301a35af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f043113b051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f04376f6abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f04376c6cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f04376afe34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f043770b564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f0437719685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f043771a2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f043775d85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f043775d385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f0437721687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f043772187e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f043781127a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f04378120ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f04378123a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f0437812613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f0437811126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f04376b814c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f0437877755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f04376976d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f04378e3df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f0437882a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f0437884225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f043788423d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f0437884918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f04378f6e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f043785dc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f0436a0b149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f0437e03b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f0437da7787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f0437e4a66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055fdbf79b4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055fdbf7a1c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f0437b29525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f0430f811f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f0437b3059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f0437b47753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f0437b47b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f0437b48b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055fdbf795eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f043013420c (/lib64/libc.so.6+0x2e20c) #51 0x00007f04301342bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055fdbf796561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/importhelper-0a8570.cpp clang-13: note: diagnostic msg: /usr/src/tmp/importhelper-0a8570.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:216: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/importhelper.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/helper.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/helper.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/helper.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/helper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/helper.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/helper.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/helper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007fbf26a2a362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fbf26a10c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fbf26981b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fbf25b33fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fbf25b801cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fbf25b33f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fbf25b1e46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fbf25b745b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fbf25b89e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fbf25b8ba3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fbf25b8e5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fbf26b26051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fbf2d0e1abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fbf2d0b1cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fbf2d09ae34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fbf2d0f6564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fbf2d104685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fbf2d1052bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fbf2d14885c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fbf2d148385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fbf2d10c687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fbf2d10c87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fbf2d1fc27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fbf2d1fd0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fbf2d1fd3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fbf2d1fd613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fbf2d1fc126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fbf2d0a314c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fbf2d262755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fbf2d0826d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fbf2d2cedf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fbf2d26da7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fbf2d26f225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fbf2d26f23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fbf2d26f918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fbf2d2e1e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fbf2d248c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fbf2c3f6149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fbf2d7eeb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fbf2d792787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fbf2d83566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000056023bd0f4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000056023bd15c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fbf2d514525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fbf2696c1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fbf2d51b59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fbf2d532753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fbf2d532b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fbf2d533b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000056023bd09eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fbf25b1f20c (/lib64/libc.so.6+0x2e20c) #51 0x00007fbf25b1f2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000056023bd0a561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/helper-6ccff3.cpp clang-13: note: diagnostic msg: /usr/src/tmp/helper-6ccff3.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:188: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/helper.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 7%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/custattr_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/custattr_emit.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/custattr_emit.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/custattr_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/custattr_emit.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/custattr_emit.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/custattr_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f0f2103e362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f0f21024c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f0f20f95b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f0f20147fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f0f201941cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f0f20147f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f0f2013246b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f0f201885b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f0f2019de8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f0f2019fa3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f0f201a25af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f0f2113a051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f0f276f5abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f0f276c5cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f0f276aee34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f0f2770a564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f0f27718685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f0f277192bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f0f2775c85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f0f2775c385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f0f27720687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f0f2772087e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f0f2781027a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f0f278110ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f0f278113a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f0f27811613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f0f27810126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f0f276b714c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f0f27876755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f0f276966d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f0f278e2df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f0f27881a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f0f27883225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f0f2788323d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f0f27883918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f0f278f5e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f0f2785cc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f0f26a0a149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f0f27e02b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f0f27da6787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f0f27e4966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055d50c20c4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055d50c212c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f0f27b28525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f0f20f801f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f0f27b2f59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f0f27b46753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f0f27b46b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f0f27b47b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055d50c206eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f0f2013320c (/lib64/libc.so.6+0x2e20c) #51 0x00007f0f201332bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055d50c207561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/custattr_emit-bd0d0a.cpp clang-13: note: diagnostic msg: /usr/src/tmp/custattr_emit-bd0d0a.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:132: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/custattr_emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 8%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/disp.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/disp.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/disp.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/disp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/disp.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/disp.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/disp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:169:17: Generating code for declaration 'SBuffer::~SBuffer' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:170:1: LLVM IR generation of compound statement ('{}') #0 0x00007f8a646a3362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f8a64689c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f8a645fab28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f8a637acfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f8a637f91cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f8a637acf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f8a6379746b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f8a637ed5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f8a63802e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f8a63804a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f8a638075af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f8a6479f051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f8a6ad5aabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f8a6ad2acd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f8a6ad13e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f8a6ad6f564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f8a6ad7d685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f8a6ad7e2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f8a6adc185c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f8a6adbcebf (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1738ebf) #20 0x00007f8a6adbd8a0 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17398a0) #21 0x00007f8a6adc1385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #22 0x00007f8a6ad81830 clang::CodeGen::CodeGenFunction::EvaluateExprAsBool(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fd830) #23 0x00007f8a6aec98bf clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(clang::Expr const*, llvm::BasicBlock*, llvm::BasicBlock*, unsigned long, clang::Stmt::Likelihood) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18458bf) #24 0x00007f8a6ae76bb7 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2bb7) #25 0x00007f8a6ae760ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #26 0x00007f8a6ae763a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #27 0x00007f8a6ae76613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #28 0x00007f8a6ae75126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #29 0x00007f8a6ad1c14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #30 0x00007f8a6aedb755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #31 0x00007f8a6acfb6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #32 0x00007f8a6af47df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #33 0x00007f8a6aee6a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #34 0x00007f8a6aee8225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #35 0x00007f8a6aee823d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #36 0x00007f8a6aee823d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #37 0x00007f8a6aee8918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #38 0x00007f8a6af5ae8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #39 0x00007f8a6aec1c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #40 0x00007f8a6a06f149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #41 0x00007f8a6b467b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #42 0x00007f8a6b40b787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #43 0x00007f8a6b4ae66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #44 0x000055ac174e54c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #45 0x000055ac174ebc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #46 0x00007f8a6b18d525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #47 0x00007f8a645e51f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #48 0x00007f8a6b19459e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #49 0x00007f8a6b1ab753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #50 0x00007f8a6b1abb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #51 0x00007f8a6b1acb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #52 0x000055ac174dfeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #53 0x00007f8a6379820c (/lib64/libc.so.6+0x2e20c) #54 0x00007f8a637982bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #55 0x000055ac174e0561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/disp-27c773.cpp clang-13: note: diagnostic msg: /usr/src/tmp/disp-27c773.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:146: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/disp.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_vm.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_vm.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/regmeta_vm.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/regmeta_vm.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_vm.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/regmeta_vm.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/regmeta_vm.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp 1. parser at end of file 2. Optimizer #0 0x00007f7df245b362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f7df2441c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f7df23b2b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f7df1564fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f7df2dbceab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f7df2dbeb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f7df30e947f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f7df473e7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f7df25ae4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f7df3c57662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f7df25ae8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f7df3c57612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f7df25ae0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f7df89d14bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f7df89d40b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f7df8c7a110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f7df7e27149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f7df921fb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f7df91c3787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f7df926666b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005652a08934c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005652a0899c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f7df8f45525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f7df239d1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f7df8f4c59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f7df8f63753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f7df8f63b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f7df8f64b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005652a088deb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f7df155020c (/lib64/libc.so.6+0x2e20c) #30 0x00007f7df15502bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005652a088e561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_vm-96c5ae.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_vm-96c5ae.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:314: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_vm.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_imetadatatables.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_imetadatatables.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/regmeta_imetadatatables.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/regmeta_imetadatatables.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_imetadatatables.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/regmeta_imetadatatables.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/regmeta_imetadatatables.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp 1. parser at end of file 2. Optimizer #0 0x00007f4ba766a362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f4ba7650c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f4ba75c1b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f4ba6773fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f4ba7fcbeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f4ba7fcdb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f4ba82f847f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f4ba994d7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f4ba77bd4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f4ba8e66662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f4ba77bd8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f4ba8e66612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f4ba77bd0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f4badbe04bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f4badbe30b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f4bade89110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f4bad036149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f4bae42eb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f4bae3d2787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f4bae47566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055ac25a2e4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055ac25a34c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f4bae154525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f4ba75ac1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f4bae15b59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f4bae172753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f4bae172b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f4bae173b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055ac25a28eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f4ba675f20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f4ba675f2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055ac25a29561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_imetadatatables-4a0a06.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_imetadatatables-4a0a06.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:300: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/regmeta_imetadatatables.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_import.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta_import.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_import.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta_import.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f4a0d98a362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f4a0d970c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f4a0d8e1b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f4a0ca93fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f4a0cae01cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f4a0ca93f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f4a0ca7e46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f4a0cad45b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f4a0cae9e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f4a0caeba3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f4a0caee5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f4a0da86051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f4a14041abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f4a14011cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f4a13ffae34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f4a14056564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f4a14064685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f4a140652bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f4a140a885c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f4a140a8385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f4a1406c687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f4a1406c87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f4a1415c27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f4a1415d0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f4a1415d3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f4a1415d613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f4a1415c126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f4a1400314c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f4a141c2755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f4a13fe26d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f4a1422edf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f4a141cda7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f4a141cf225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f4a141cf23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f4a141cf918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f4a14241e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f4a141a8c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f4a13356149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f4a1474eb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f4a146f2787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f4a1479566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000556f451474c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000556f4514dc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f4a14474525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f4a0d8cc1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f4a1447b59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f4a14492753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f4a14492b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f4a14493b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000556f45141eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f4a0ca7f20c (/lib64/libc.so.6+0x2e20c) #51 0x00007f4a0ca7f2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000556f45142561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_import-281b11.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_import-281b11.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:286: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_import.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdinternaldisp.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/runtime && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdinternaldisp.cpp.o -MF CMakeFiles/mdruntime_dac.dir/mdinternaldisp.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/mdinternaldisp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternaldisp.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternaldisp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternaldisp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternaldisp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdinternaldisp.cpp.o -MF CMakeFiles/mdruntime_dac.dir/mdinternaldisp.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/mdinternaldisp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/mdinternaldisp.cpp 1. parser at end of file 2. Optimizer #0 0x00007f86279ed362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f86279d3c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f8627944b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f8626af6fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f862834eeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f8628350b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f862867b47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f8629cd07c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f8627b404fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f86291e9662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f8627b408ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f86291e9612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f8627b400f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f862df634bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f862df660b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f862e20c110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f862d3b9149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f862e7b1b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f862e755787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f862e7f866b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000560e535af4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000560e535b5c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f862e4d7525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f862792f1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f862e4de59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f862e4f5753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f862e4f5b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f862e4f6b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000560e535a9eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f8626ae220c (/lib64/libc.so.6+0x2e20c) #30 0x00007f8626ae22bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000560e535aa561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/mdinternaldisp-f59fec.cpp clang-13: note: diagnostic msg: /usr/src/tmp/mdinternaldisp-f59fec.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/runtime/CMakeFiles/mdruntime_dac.dir/build.make:160: src/md/runtime/CMakeFiles/mdruntime_dac.dir/mdinternaldisp.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/verifylayouts.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/verifylayouts.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/verifylayouts.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/verifylayouts.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/verifylayouts.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/verifylayouts.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/verifylayouts.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/verifylayouts.cpp:12: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ 3 warnings generated. gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp 1. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:175:1: current parser token 'HRESULT' 2. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:89:10: LLVM IR generation of declaration 'RegMeta::~RegMeta' 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:89:10: Generating code for declaration 'RegMeta::~RegMeta' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta.cpp:90:1: LLVM IR generation of compound statement ('{}') #0 0x00007f9dcf5a6362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f9dcf58cc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f9dcf4fdb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f9dce6affb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f9dce6fc1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f9dce6aff12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f9dce69a46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f9dce6f05b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f9dce705e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f9dce707a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f9dce70a5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f9dcf6a2051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f9dd5c2d7f3 clang::CodeGen::CodeGenFunction::EmitLandingPad() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a67f3) #13 0x00007f9dd5c2dcd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f9dd5c16e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f9dd5c1ae83 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::Address, clang::CodeGen::CallArgList&, clang::CodeGen::AggValueSlot::Overlap_t, clang::SourceLocation, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1693e83) #16 0x00007f9dd5c1b657 clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(clang::CXXConstructorDecl const*, clang::CXXCtorType, bool, bool, clang::CodeGen::AggValueSlot, clang::CXXConstructExpr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1694657) #17 0x00007f9dd5c8fc59 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1708c59) #18 0x00007f9dd5c8855a clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr const*, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170155a) #19 0x00007f9dd5c4b1ef clang::CodeGen::CodeGenFunction::EmitExprAsInit(clang::Expr const*, clang::ValueDecl const*, clang::CodeGen::LValue, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c41ef) #20 0x00007f9dd5c4b733 clang::CodeGen::CodeGenFunction::EmitAutoVarInit(clang::CodeGen::CodeGenFunction::AutoVarEmission const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c4733) #21 0x00007f9dd5c4db06 clang::CodeGen::CodeGenFunction::EmitAutoVarDecl(clang::VarDecl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6b06) #22 0x00007f9dd5c4de3a clang::CodeGen::CodeGenFunction::EmitDecl(clang::Decl const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16c6e3a) #23 0x00007f9dd5d847cf clang::CodeGen::CodeGenFunction::EmitDeclStmt(clang::DeclStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17fd7cf) #24 0x00007f9dd5d79675 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2675) #25 0x00007f9dd5d78126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #26 0x00007f9dd5d790ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #27 0x00007f9dd5d793a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #28 0x00007f9dd5d79613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #29 0x00007f9dd5d78126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #30 0x00007f9dd5c1f14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #31 0x00007f9dd5dde755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #32 0x00007f9dd5bfe6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #33 0x00007f9dd5e4adf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #34 0x00007f9dd5de9a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #35 0x00007f9dd5e40e13 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18b9e13) #36 0x00007f9dd5e5d272 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6272) #37 0x00007f9dd5db69f3 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x182f9f3) #38 0x00007f9dd4f720d4 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb0d4) #39 0x00007f9dd636ab41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #40 0x00007f9dd630e787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #41 0x00007f9dd63b166b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #42 0x000055f4b9e204c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #43 0x000055f4b9e26c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #44 0x00007f9dd6090525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #45 0x00007f9dcf4e81f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #46 0x00007f9dd609759e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #47 0x00007f9dd60ae753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #48 0x00007f9dd60aeb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #49 0x00007f9dd60afb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #50 0x000055f4b9e1aeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #51 0x00007f9dce69b20c (/lib64/libc.so.6+0x2e20c) #52 0x00007f9dce69b2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #53 0x000055f4b9e1b561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta-bbb60a.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta-bbb60a.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:244: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 8%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/classfactory.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/classfactory.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/classfactory.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/classfactory.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/classfactory.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/classfactory.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/classfactory.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/classfactory.cpp 1. parser at end of file 2. Optimizer #0 0x00007fb35fdff362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fb35fde5c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fb35fd56b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fb35ef08fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fb360760eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fb360762b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fb360a8d47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fb3620e27c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fb35ff524fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fb3615fb662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fb35ff528ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fb3615fb612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fb35ff520f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fb3663754bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fb3663780b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fb36661e110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fb3657cb149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fb366bc3b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fb366b67787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fb366c0a66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055d8df0044c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055d8df00ac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fb3668e9525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fb35fd411f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fb3668f059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fb366907753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fb366907b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fb366908b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055d8deffeeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fb35eef420c (/lib64/libc.so.6+0x2e20c) #30 0x00007fb35eef42bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055d8defff561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/classfactory-fc44a7.cpp clang-13: note: diagnostic msg: /usr/src/tmp/classfactory-fc44a7.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:104: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/classfactory.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_emit.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta_emit.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:982:17: warning: variable 'bSuccess' set but not used [-Wunused-but-set-variable] int bSuccess; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:1369:17: warning: variable 'mdEv' set but not used [-Wunused-but-set-variable] mdEvent mdEv; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:1918:17: warning: variable 'bSuccess' set but not used [-Wunused-but-set-variable] int bSuccess; // Return value for SplitPath(). ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_emit.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta_emit.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007fe929c5d362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fe929c43c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fe929bb4b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fe928d66fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fe928db31cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fe928d66f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fe928d5146b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fe928da75b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fe928dbce8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fe928dbea3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fe928dc15af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fe929d59051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fe930314abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fe9302e4cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fe9302cde34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fe930329564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fe930337685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fe9303382bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fe93037b85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fe93037b385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fe93033f687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fe93033f87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fe93042f27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fe9304300ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fe9304303a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fe930430613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fe93042f126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fe9302d614c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fe930495755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fe9302b56d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fe930501df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fe9304a0a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fe9304a2225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fe9304a223d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fe9304a2918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fe930514e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fe93047bc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fe92f629149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fe930a21b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fe9309c5787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fe930a6866b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000056246b42b4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000056246b431c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fe930747525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fe929b9f1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fe93074e59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fe930765753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fe930765b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fe930766b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000056246b425eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fe928d5220c (/lib64/libc.so.6+0x2e20c) #51 0x00007fe928d522bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000056246b426561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_emit-ee30f0.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_emit-ee30f0.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:272: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/custattr_import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/custattr_import.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/custattr_import.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/custattr_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/custattr_import.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/custattr_import.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/custattr_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_import.cpp 1. parser at end of file 2. Optimizer #0 0x00007fe91e942362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fe91e928c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fe91e899b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fe91da4bfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fe91f2a3eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fe91f2a5b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fe91f5d047f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fe920c257c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fe91ea954fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fe92013e662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fe91ea958ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fe92013e612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fe91ea950f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fe924eb84bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fe924ebb0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fe925161110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fe92430e149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fe925706b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fe9256aa787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fe92574d66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000560e83feb4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000560e83ff1c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fe92542c525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fe91e8841f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fe92543359e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fe92544a753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fe92544ab3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fe92544bb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000560e83fe5eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fe91da3720c (/lib64/libc.so.6+0x2e20c) #30 0x00007fe91da372bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000560e83fe6561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/custattr_import-fd6c43.cpp clang-13: note: diagnostic msg: /usr/src/tmp/custattr_import-fd6c43.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:118: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/custattr_import.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/mdutil.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/mdutil.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/mdutil.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/mdutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:274:27: warning: variable 'cRefs' set but not used [-Wunused-but-set-variable] ULONG cRefs; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:308:27: warning: variable 'cRefs' set but not used [-Wunused-but-set-variable] ULONG cRefs; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/mdutil.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/mdutil.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/mdutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:1779:5: Generating code for declaration 'CStructArray::~CStructArray' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:1780:5: LLVM IR generation of compound statement ('{}') #0 0x00007f8dfd241362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f8dfd227c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f8dfd198b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f8dfc34afb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f8dfc3971cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f8dfc34af12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f8dfc33546b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f8dfc38b5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f8dfc3a0e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f8dfc3a2a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f8dfc3a55af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f8dfd33d051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f8e038f8abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f8e038c8cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f8e038b1e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f8e0390d564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f8e0391b685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f8e0391c2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f8e0395f85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f8e0395f385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f8e03923687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f8e0392387e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f8e03a1327a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f8e03a140ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f8e03a143a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f8e03a14613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f8e03a13126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f8e038ba14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f8e03a79755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f8e038996d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f8e03ae5df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f8e03a84a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f8e03a86225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f8e03a8623d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f8e03a8623d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #35 0x00007f8e03a8623d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #36 0x00007f8e03a86918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #37 0x00007f8e03af8e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #38 0x00007f8e03a5fc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #39 0x00007f8e02c0d149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #40 0x00007f8e04005b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #41 0x00007f8e03fa9787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #42 0x00007f8e0404c66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #43 0x0000557dce2964c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #44 0x0000557dce29cc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #45 0x00007f8e03d2b525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #46 0x00007f8dfd1831f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #47 0x00007f8e03d3259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #48 0x00007f8e03d49753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #49 0x00007f8e03d49b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #50 0x00007f8e03d4ab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #51 0x0000557dce290eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #52 0x00007f8dfc33620c (/lib64/libc.so.6+0x2e20c) #53 0x00007f8dfc3362bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #54 0x0000557dce291561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/mdutil-038c35.cpp clang-13: note: diagnostic msg: /usr/src/tmp/mdutil-038c35.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:230: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/mdutil.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/helper.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/helper.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/helper.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/helper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/helper.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/helper.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/helper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f70edffc362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f70edfe2c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f70edf53b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f70ed105fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f70ed1521cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f70ed105f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f70ed0f046b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f70ed1465b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f70ed15be8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f70ed15da3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f70ed1605af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f70ee0f8051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f70f46b3abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f70f4683cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f70f466ce34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f70f46c8564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f70f46d6685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f70f46d72bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f70f471a85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f70f471a385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f70f46de687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f70f46de87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f70f47ce27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f70f47cf0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f70f47cf3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f70f47cf613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f70f47ce126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f70f467514c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f70f4834755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f70f46546d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f70f48a0df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f70f483fa7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f70f4841225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f70f484123d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f70f4841918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f70f48b3e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f70f481ac4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f70f39c8149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f70f4dc0b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f70f4d64787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f70f4e0766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000562e61d774c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000562e61d7dc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f70f4ae6525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f70edf3e1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f70f4aed59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f70f4b04753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f70f4b04b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f70f4b05b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000562e61d71eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f70ed0f120c (/lib64/libc.so.6+0x2e20c) #51 0x00007f70ed0f12bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000562e61d72561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/helper-9c0625.cpp clang-13: note: diagnostic msg: /usr/src/tmp/helper-9c0625.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:188: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/helper.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 3%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/import.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/import.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:3522:17: warning: variable 'cbTotal' set but not used [-Wunused-but-set-variable] ULONG cbTotal = 0; // total of number bytes for return type + all fixed arguments ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/import.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/import.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp 1. parser at end of file 2. Optimizer #0 0x00007f168deb7362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f168de9dc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f168de0eb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f168cfc0fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f168e818eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f168e81ab1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f168eb4547f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f169019a7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f168e00a4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f168f6b3662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f168e00a8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f168f6b3612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f168e00a0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f169442d4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f16944300b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f16946d6110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f1693883149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f1694c7bb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f1694c1f787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f1694cc266b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000559f17c264c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000559f17c2cc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f16949a1525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f168ddf91f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f16949a859e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f16949bf753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f16949bfb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f16949c0b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000559f17c20eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f168cfac20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f168cfac2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000559f17c21561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/import-608df1.cpp clang-13: note: diagnostic msg: /usr/src/tmp/import-608df1.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:202: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/import.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_dac.dir/disp.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/disp.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/disp.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/disp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_dac.dir/disp.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/disp.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/disp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:169:17: Generating code for declaration 'SBuffer::~SBuffer' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:170:1: LLVM IR generation of compound statement ('{}') #0 0x00007fa781a29362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fa781a0fc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fa781980b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fa780b32fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fa780b7f1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fa780b32f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fa780b1d46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fa780b735b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fa780b88e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fa780b8aa3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fa780b8d5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fa781b25051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fa7880e0abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fa7880b0cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fa788099e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fa7880f5564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fa788103685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fa7881042bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fa78814785c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fa788142ebf (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1738ebf) #20 0x00007fa7881438a0 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17398a0) #21 0x00007fa788147385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #22 0x00007fa788107830 clang::CodeGen::CodeGenFunction::EvaluateExprAsBool(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fd830) #23 0x00007fa78824f8bf clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(clang::Expr const*, llvm::BasicBlock*, llvm::BasicBlock*, unsigned long, clang::Stmt::Likelihood) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18458bf) #24 0x00007fa7881fcbb7 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2bb7) #25 0x00007fa7881fc0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #26 0x00007fa7881fc3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #27 0x00007fa7881fc613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #28 0x00007fa7881fb126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #29 0x00007fa7880a214c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #30 0x00007fa788261755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #31 0x00007fa7880816d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #32 0x00007fa7882cddf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #33 0x00007fa78826ca7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #34 0x00007fa78826e225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #35 0x00007fa78826e23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #36 0x00007fa78826e23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #37 0x00007fa78826e918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #38 0x00007fa7882e0e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #39 0x00007fa788247c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #40 0x00007fa7873f5149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #41 0x00007fa7887edb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #42 0x00007fa788791787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #43 0x00007fa78883466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #44 0x00005558d26844c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #45 0x00005558d268ac05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #46 0x00007fa788513525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #47 0x00007fa78196b1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #48 0x00007fa78851a59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #49 0x00007fa788531753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #50 0x00007fa788531b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #51 0x00007fa788532b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #52 0x00005558d267eeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #53 0x00007fa780b1e20c (/lib64/libc.so.6+0x2e20c) #54 0x00007fa780b1e2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #55 0x00005558d267f561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/disp-131c4b.cpp clang-13: note: diagnostic msg: /usr/src/tmp/disp-131c4b.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_dac.dir/build.make:146: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/disp.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:2364: src/md/compiler/CMakeFiles/mdcompiler_dac.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_imetadatatables.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_imetadatatables.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/regmeta_imetadatatables.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/regmeta_imetadatatables.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_imetadatatables.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/regmeta_imetadatatables.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/regmeta_imetadatatables.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp 1. parser at end of file 2. Optimizer #0 0x00007f8fb2c4f362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f8fb2c35c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f8fb2ba6b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f8fb1d58fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f8fb35b0eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f8fb35b2b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f8fb38dd47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f8fb4f327c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f8fb2da24fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f8fb444b662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f8fb2da28ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f8fb444b612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f8fb2da20f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f8fb91c54bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f8fb91c80b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f8fb946e110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f8fb861b149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f8fb9a13b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f8fb99b7787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f8fb9a5a66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000556e44e4a4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000556e44e50c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f8fb9739525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f8fb2b911f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f8fb974059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f8fb9757753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f8fb9757b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f8fb9758b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000556e44e44eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f8fb1d4420c (/lib64/libc.so.6+0x2e20c) #30 0x00007f8fb1d442bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000556e44e45561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_imetadatatables-e05b11.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_imetadatatables-e05b11.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:300: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/regmeta_imetadatatables.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 8%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/disp.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/disp.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/disp.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/disp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/disp.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/disp.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/disp.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/disp.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:169:17: Generating code for declaration 'SBuffer::~SBuffer' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:170:1: LLVM IR generation of compound statement ('{}') #0 0x00007f6f1ba92362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f6f1ba78c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f6f1b9e9b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f6f1ab9bfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f6f1abe81cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f6f1ab9bf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f6f1ab8646b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f6f1abdc5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f6f1abf1e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f6f1abf3a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f6f1abf65af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f6f1bb8e051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f6f22149abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f6f22119cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f6f22102e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f6f2215e564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f6f2216c685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f6f2216d2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f6f221b085c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f6f221abebf (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1738ebf) #20 0x00007f6f221ac8a0 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17398a0) #21 0x00007f6f221b0385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #22 0x00007f6f22170830 clang::CodeGen::CodeGenFunction::EvaluateExprAsBool(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fd830) #23 0x00007f6f222b88bf clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(clang::Expr const*, llvm::BasicBlock*, llvm::BasicBlock*, unsigned long, clang::Stmt::Likelihood) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18458bf) #24 0x00007f6f22265bb7 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2bb7) #25 0x00007f6f222650ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #26 0x00007f6f222653a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #27 0x00007f6f22265613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #28 0x00007f6f22264126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #29 0x00007f6f2210b14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #30 0x00007f6f222ca755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #31 0x00007f6f220ea6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #32 0x00007f6f22336df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #33 0x00007f6f222d5a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #34 0x00007f6f222d7225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #35 0x00007f6f222d723d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #36 0x00007f6f222d723d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #37 0x00007f6f222d7918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #38 0x00007f6f22349e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #39 0x00007f6f222b0c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #40 0x00007f6f2145e149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #41 0x00007f6f22856b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #42 0x00007f6f227fa787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #43 0x00007f6f2289d66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #44 0x00005634747c04c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #45 0x00005634747c6c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #46 0x00007f6f2257c525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #47 0x00007f6f1b9d41f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #48 0x00007f6f2258359e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #49 0x00007f6f2259a753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #50 0x00007f6f2259ab3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #51 0x00007f6f2259bb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #52 0x00005634747baeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #53 0x00007f6f1ab8720c (/lib64/libc.so.6+0x2e20c) #54 0x00007f6f1ab872bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #55 0x00005634747bb561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/disp-e2ec6e.cpp clang-13: note: diagnostic msg: /usr/src/tmp/disp-e2ec6e.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:146: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/disp.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 2%] Building CXX object src/md/runtime/CMakeFiles/mdruntime_dac.dir/metamodelro.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/runtime && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/metamodelro.cpp.o -MF CMakeFiles/mdruntime_dac.dir/metamodelro.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/metamodelro.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodelro.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodelro.cpp:9: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodelro.cpp:9: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodelro.cpp:9: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/runtime/CMakeFiles/mdruntime_dac.dir/metamodelro.cpp.o -MF CMakeFiles/mdruntime_dac.dir/metamodelro.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/metamodelro.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/runtime/metamodelro.cpp 1. parser at end of file 2. Optimizer #0 0x00007fd6531a4362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fd65318ac64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fd6530fbb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fd6522adfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fd653b05eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fd653b07b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fd653e3247f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fd6554877c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fd6532f74fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fd6549a0662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fd6532f78ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fd6549a0612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fd6532f70f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fd65971a4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fd65971d0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fd6599c3110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fd658b70149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fd659f68b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fd659f0c787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fd659faf66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005640e9d424c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005640e9d48c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fd659c8e525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fd6530e61f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fd659c9559e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fd659cac753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fd659cacb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fd659cadb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005640e9d3ceb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fd65229920c (/lib64/libc.so.6+0x2e20c) #30 0x00007fd6522992bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005640e9d3d561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/metamodelro-48047f.cpp clang-13: note: diagnostic msg: /usr/src/tmp/metamodelro-48047f.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/runtime/CMakeFiles/mdruntime_dac.dir/build.make:132: src/md/runtime/CMakeFiles/mdruntime_dac.dir/metamodelro.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:2494: src/md/runtime/CMakeFiles/mdruntime_dac.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/filtermanager.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/filtermanager.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/filtermanager.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/filtermanager.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/filtermanager.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/filtermanager.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/filtermanager.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/filtermanager.cpp 1. parser at end of file 2. Optimizer #0 0x00007f232fe8c362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f232fe72c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f232fde3b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f232ef95fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f23307edeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f23307efb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f2330b1a47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f233216f7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f232ffdf4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f2331688662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f232ffdf8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f2331688612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f232ffdf0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f23364024bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f23364050b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f23366ab110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f2335858149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f2336c50b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f2336bf4787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f2336c9766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055c1a43cd4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055c1a43d3c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f2336976525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f232fdce1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f233697d59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f2336994753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f2336994b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f2336995b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055c1a43c7eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f232ef8120c (/lib64/libc.so.6+0x2e20c) #30 0x00007f232ef812bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055c1a43c8561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/filtermanager-b821ce.cpp clang-13: note: diagnostic msg: /usr/src/tmp/filtermanager-b821ce.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:174: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/filtermanager.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_emit.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/regmeta_emit.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/regmeta_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:982:17: warning: variable 'bSuccess' set but not used [-Wunused-but-set-variable] int bSuccess; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:1369:17: warning: variable 'mdEv' set but not used [-Wunused-but-set-variable] mdEvent mdEv; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:1918:17: warning: variable 'bSuccess' set but not used [-Wunused-but-set-variable] int bSuccess; // Return value for SplitPath(). ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_emit.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/regmeta_emit.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/regmeta_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f99a45b1362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f99a4597c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f99a4508b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f99a36bafb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f99a37071cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f99a36baf12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f99a36a546b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f99a36fb5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f99a3710e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f99a3712a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f99a37155af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f99a46ad051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f99aac68abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f99aac38cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f99aac21e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f99aac7d564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f99aac8b685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f99aac8c2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f99aaccf85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f99aaccf385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f99aac93687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f99aac9387e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f99aad8327a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f99aad840ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f99aad843a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f99aad84613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f99aad83126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f99aac2a14c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f99aade9755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f99aac096d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f99aae55df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f99aadf4a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f99aadf6225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f99aadf623d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f99aadf6918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f99aae68e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f99aadcfc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f99a9f7d149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f99ab375b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f99ab319787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f99ab3bc66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000563872bec4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000563872bf2c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f99ab09b525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f99a44f31f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f99ab0a259e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f99ab0b9753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f99ab0b9b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f99ab0bab2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000563872be6eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f99a36a620c (/lib64/libc.so.6+0x2e20c) #51 0x00007f99a36a62bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000563872be7561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_emit-1a6165.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_emit-1a6165.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:272: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_vm.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_vm.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta_vm.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta_vm.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_vm.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta_vm.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta_vm.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp 1. parser at end of file 2. Optimizer #0 0x00007f63ac7f3362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f63ac7d9c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f63ac74ab28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f63ab8fcfb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f63ad154eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f63ad156b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f63ad48147f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f63aead67c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f63ac9464fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f63adfef662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f63ac9468ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f63adfef612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f63ac9460f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f63b2d694bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f63b2d6c0b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f63b3012110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f63b21bf149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f63b35b7b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f63b355b787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f63b35fe66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005566065e54c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005566065ebc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f63b32dd525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f63ac7351f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f63b32e459e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f63b32fb753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f63b32fbb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f63b32fcb2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005566065dfeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f63ab8e820c (/lib64/libc.so.6+0x2e20c) #30 0x00007f63ab8e82bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005566065e0561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_vm-49c4ee.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_vm-49c4ee.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:314: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_vm.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/helper.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/helper.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/helper.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/helper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/helper.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/helper.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/helper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/helper.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f5fa65ae362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f5fa6594c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f5fa6505b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f5fa56b7fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f5fa57041cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f5fa56b7f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f5fa56a246b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f5fa56f85b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f5fa570de8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f5fa570fa3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f5fa57125af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f5fa66aa051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f5facc65abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f5facc35cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f5facc1ee34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f5facc7a564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f5facc88685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f5facc892bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f5facccc85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f5facccc385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f5facc90687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f5facc9087e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f5facd8027a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f5facd810ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f5facd813a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f5facd81613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f5facd80126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f5facc2714c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f5facde6755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f5facc066d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f5face52df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f5facdf1a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f5facdf3225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f5facdf323d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f5facdf3918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f5face65e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f5facdccc4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f5fabf7a149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f5fad372b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f5fad316787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f5fad3b966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x00005580d43814c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x00005580d4387c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f5fad098525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f5fa64f01f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f5fad09f59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f5fad0b6753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f5fad0b6b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f5fad0b7b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x00005580d437beb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f5fa56a320c (/lib64/libc.so.6+0x2e20c) #51 0x00007f5fa56a32bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x00005580d437c561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/helper-22b017.cpp clang-13: note: diagnostic msg: /usr/src/tmp/helper-22b017.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:188: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/helper.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_import.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta_import.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_import.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta_import.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta_import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_import.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007fee233d7362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fee233bdc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fee2332eb28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fee224e0fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fee2252d1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007fee224e0f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007fee224cb46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007fee225215b7 (/lib64/libc.so.6+0x835b7) #8 0x00007fee22536e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007fee22538a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007fee2253b5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007fee234d3051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007fee29a8eabd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007fee29a5ecd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007fee29a47e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007fee29aa3564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007fee29ab1685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007fee29ab22bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007fee29af585c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007fee29af5385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007fee29ab9687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007fee29ab987e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007fee29ba927a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007fee29baa0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007fee29baa3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007fee29baa613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007fee29ba9126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007fee29a5014c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007fee29c0f755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007fee29a2f6d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007fee29c7bdf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007fee29c1aa7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007fee29c1c225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007fee29c1c23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007fee29c1c918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007fee29c8ee8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007fee29bf5c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007fee28da3149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007fee2a19bb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007fee2a13f787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007fee2a1e266b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x0000562a5cd764c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x0000562a5cd7cc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007fee29ec1525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007fee233191f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007fee29ec859e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007fee29edf753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007fee29edfb3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007fee29ee0b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x0000562a5cd70eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007fee224cc20c (/lib64/libc.so.6+0x2e20c) #51 0x00007fee224cc2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x0000562a5cd71561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_import-2b0725.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_import-2b0725.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:286: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_import.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/mdutil.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/mdutil.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/mdutil.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/mdutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/mdutil.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/mdutil.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/mdutil.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/mdutil.cpp 1. parser at end of file 2. Optimizer #0 0x00007f770a94b362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f770a931c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f770a8a2b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f7709a54fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f770b2aceab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f770b2aeb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f770b5d947f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f770cc2e7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f770aa9e4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f770c147662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f770aa9e8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f770c147612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f770aa9e0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f7710ec14bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f7710ec40b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f771116a110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f7710317149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f771170fb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f77116b3787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f771175666b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005625e95df4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005625e95e5c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f7711435525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f770a88d1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f771143c59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f7711453753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f7711453b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f7711454b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005625e95d9eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f7709a4020c (/lib64/libc.so.6+0x2e20c) #30 0x00007f7709a402bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005625e95da561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/mdutil-71a4a6.cpp clang-13: note: diagnostic msg: /usr/src/tmp/mdutil-71a4a6.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:230: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/mdutil.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/importhelper.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/importhelper.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/importhelper.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/importhelper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:1617:17: warning: variable 'cb2' set but not used [-Wunused-but-set-variable] ULONG cb2; // count of bytes ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp:2010:17: warning: variable 'cb1' set but not used [-Wunused-but-set-variable] ULONG cb1; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/importhelper.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/importhelper.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/importhelper.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/importhelper.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f6d5fae9362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f6d5facfc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f6d5fa40b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f6d5ebf2fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f6d5ec3f1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f6d5ebf2f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f6d5ebdd46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f6d5ec335b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f6d5ec48e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f6d5ec4aa3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f6d5ec4d5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f6d5fbe5051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f6d661a0abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f6d66170cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f6d66159e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f6d661b5564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f6d661c3685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f6d661c42bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f6d6620785c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f6d66207385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f6d661cb687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f6d661cb87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f6d662bb27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f6d662bc0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f6d662bc3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f6d662bc613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f6d662bb126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f6d6616214c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f6d66321755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f6d661416d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f6d6638ddf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f6d6632ca7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f6d6632e225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f6d6632e23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f6d6632e918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f6d663a0e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f6d66307c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f6d654b5149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f6d668adb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f6d66851787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f6d668f466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055a6af35b4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055a6af361c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f6d665d3525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f6d5fa2b1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f6d665da59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f6d665f1753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f6d665f1b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f6d665f2b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055a6af355eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f6d5ebde20c (/lib64/libc.so.6+0x2e20c) #51 0x00007f6d5ebde2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055a6af356561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/importhelper-e5e145.cpp clang-13: note: diagnostic msg: /usr/src/tmp/importhelper-e5e145.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:216: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/importhelper.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 8%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/custattr_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/custattr_emit.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/custattr_emit.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/custattr_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES -DFEATURE_METADATA_RELEASE_MEMORY_ON_REOPEN -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/custattr_emit.cpp.o -MF CMakeFiles/mdcompiler-dbi.dir/custattr_emit.cpp.o.d -o CMakeFiles/mdcompiler-dbi.dir/custattr_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/custattr_emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f8474b79362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f8474b5fc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f8474ad0b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f8473c82fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f8473ccf1cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f8473c82f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f8473c6d46b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f8473cc35b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f8473cd8e8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f8473cdaa3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f8473cdd5af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f8474c75051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f847b230abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f847b200cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f847b1e9e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f847b245564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f847b253685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f847b2542bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f847b29785c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f847b297385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f847b25b687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f847b25b87e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f847b34b27a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f847b34c0ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f847b34c3a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f847b34c613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f847b34b126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f847b1f214c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f847b3b1755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f847b1d16d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f847b41ddf7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f847b3bca7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f847b3be225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f847b3be23d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f847b3be918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f847b430e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f847b397c4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f847a545149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f847b93db41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f847b8e1787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f847b98466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x00005559905ca4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x00005559905d0c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f847b663525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f8474abb1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f847b66a59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f847b681753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f847b681b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f847b682b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x00005559905c4eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f8473c6e20c (/lib64/libc.so.6+0x2e20c) #51 0x00007f8473c6e2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x00005559905c5561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/custattr_emit-92f02c.cpp clang-13: note: diagnostic msg: /usr/src/tmp/custattr_emit-92f02c.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/build.make:132: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/custattr_emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:2416: src/md/compiler/CMakeFiles/mdcompiler-dbi.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_vm.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_vm.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta_vm.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta_vm.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_vm.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta_vm.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta_vm.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_vm.cpp 1. parser at end of file 2. Optimizer #0 0x00007fcb274f9362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007fcb274dfc64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007fcb27450b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007fcb26602fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007fcb27e5aeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007fcb27e5cb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007fcb2818747f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007fcb297dc7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007fcb2764c4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007fcb28cf5662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007fcb2764c8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007fcb28cf5612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007fcb2764c0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007fcb2da6f4bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007fcb2da720b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007fcb2dd18110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007fcb2cec5149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007fcb2e2bdb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007fcb2e261787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007fcb2e30466b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005556c2ad14c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005556c2ad7c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007fcb2dfe3525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007fcb2743b1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007fcb2dfea59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007fcb2e001753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007fcb2e001b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007fcb2e002b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005556c2acbeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007fcb265ee20c (/lib64/libc.so.6+0x2e20c) #30 0x00007fcb265ee2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005556c2acc561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_vm-04d6b7.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_vm-04d6b7.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:314: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_vm.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_imetadatatables.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_imetadatatables.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta_imetadatatables.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta_imetadatatables.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_imetadatatables.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/regmeta_imetadatatables.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/regmeta_imetadatatables.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp 1. parser at end of file 2. Optimizer #0 0x00007f2df0e6c362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f2df0e52c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f2df0dc3b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f2deff75fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f2df17cdeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f2df17cfb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f2df1afa47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f2df314f7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f2df0fbf4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f2df2668662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f2df0fbf8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f2df2668612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f2df0fbf0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f2df73e24bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f2df73e50b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f2df768b110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f2df6838149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f2df7c30b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f2df7bd4787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f2df7c7766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x00005584b27914c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x00005584b2797c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f2df7956525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f2df0dae1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f2df795d59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f2df7974753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f2df7974b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f2df7975b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x00005584b278beb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f2deff6120c (/lib64/libc.so.6+0x2e20c) #30 0x00007f2deff612bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x00005584b278c561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_imetadatatables-8c0459.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_imetadatatables-8c0459.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/build.make:300: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/regmeta_imetadatatables.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:2390: src/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_compilersupport.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_compilersupport.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta_compilersupport.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta_compilersupport.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp:11: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_compilersupport.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta_compilersupport.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta_compilersupport.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_compilersupport.cpp 1. parser at end of file 2. Optimizer #0 0x00007f9c6b0da362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f9c6b0c0c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f9c6b031b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f9c6a1e3fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f9c6ba3beab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f9c6ba3db1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f9c6bd6847f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f9c6d3bd7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f9c6b22d4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f9c6c8d6662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f9c6b22d8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f9c6c8d6612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f9c6b22d0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f9c716504bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f9c716530b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f9c718f9110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f9c70aa6149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f9c71e9eb41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f9c71e42787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f9c71ee566b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000056015067f4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000560150685c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f9c71bc4525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f9c6b01c1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f9c71bcb59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f9c71be2753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f9c71be2b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f9c71be3b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000560150679eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f9c6a1cf20c (/lib64/libc.so.6+0x2e20c) #30 0x00007f9c6a1cf2bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000056015067a561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_compilersupport-826f09.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_compilersupport-826f09.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:258: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_compilersupport.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_emit.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_emit.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta_emit.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:14: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:982:17: warning: variable 'bSuccess' set but not used [-Wunused-but-set-variable] int bSuccess; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:1369:17: warning: variable 'mdEv' set but not used [-Wunused-but-set-variable] mdEvent mdEv; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp:1918:17: warning: variable 'bSuccess' set but not used [-Wunused-but-set-variable] int bSuccess; // Return value for SplitPath(). ^ free(): invalid pointer PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_emit.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta_emit.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta_emit.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_emit.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:344:5: Generating code for declaration 'CQuickBytes::~CQuickBytes' 4. /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corhlprpriv.h:345:5: LLVM IR generation of compound statement ('{}') #0 0x00007f2031740362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f2031726c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f2031697b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f2030849fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f20308961cc (/lib64/libc.so.6+0x8f1cc) #5 0x00007f2030849f12 gsignal (/lib64/libc.so.6+0x42f12) #6 0x00007f203083446b abort (/lib64/libc.so.6+0x2d46b) #7 0x00007f203088a5b7 (/lib64/libc.so.6+0x835b7) #8 0x00007f203089fe8c (/lib64/libc.so.6+0x98e8c) #9 0x00007f20308a1a3c (/lib64/libc.so.6+0x9aa3c) #10 0x00007f20308a45af __libc_free (/lib64/libc.so.6+0x9d5af) #11 0x00007f203183c051 llvm::LandingPadInst::addClause(llvm::Constant*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xb86051) #12 0x00007f2037df7abd (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16d6abd) #13 0x00007f2037dc7cd0 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16a6cd0) #14 0x00007f2037db0e34 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x168fe34) #15 0x00007f2037e0c564 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16eb564) #16 0x00007f2037e1a685 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16f9685) #17 0x00007f2037e1b2bb clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16fa2bb) #18 0x00007f2037e5e85c (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d85c) #19 0x00007f2037e5e385 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x173d385) #20 0x00007f2037e22687 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1701687) #21 0x00007f2037e2287e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x170187e) #22 0x00007f2037f1227a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f127a) #23 0x00007f2037f130ba clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f20ba) #24 0x00007f2037f133a8 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f23a8) #25 0x00007f2037f13613 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f2613) #26 0x00007f2037f12126 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x17f1126) #27 0x00007f2037db914c clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x169814c) #28 0x00007f2037f78755 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1857755) #29 0x00007f2037d986d4 clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x16776d4) #30 0x00007f2037fe4df7 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18c3df7) #31 0x00007f2037f83a7c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1862a7c) #32 0x00007f2037f85225 clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864225) #33 0x00007f2037f8523d clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x186423d) #34 0x00007f2037f85918 clang::CodeGen::CodeGenModule::Release() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1864918) #35 0x00007f2037ff7e8a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x18d6e8a) #36 0x00007f2037f5ec4a (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183dc4a) #37 0x00007f203710c149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #38 0x00007f2038504b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #39 0x00007f20384a8787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #40 0x00007f203854b66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #41 0x000055e5bcdc14c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #42 0x000055e5bcdc7c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #43 0x00007f203822a525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #44 0x00007f20316821f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #45 0x00007f203823159e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #46 0x00007f2038248753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #47 0x00007f2038248b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #48 0x00007f2038249b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #49 0x000055e5bcdbbeb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #50 0x00007f203083520c (/lib64/libc.so.6+0x2e20c) #51 0x00007f20308352bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #52 0x000055e5bcdbc561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_emit-eecf6c.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_emit-eecf6c.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:272: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_emit.cpp.o] Error 134 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_imetadatatables.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_imetadatatables.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/regmeta_imetadatatables.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/regmeta_imetadatatables.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DCROSSGEN_COMPILE -DCROSS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTIREG_RETURN -DFEATURE_NATIVE_IMAGE_GENERATION -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PREJIT -DFEATURE_READYTORUN -DFEATURE_READYTORUN_COMPILER -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_imetadatatables.cpp.o -MF CMakeFiles/mdcompiler_crossgen.dir/regmeta_imetadatatables.cpp.o.d -o CMakeFiles/mdcompiler_crossgen.dir/regmeta_imetadatatables.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp 1. parser at end of file 2. Optimizer #0 0x00007ff11143f362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007ff111425c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007ff111396b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007ff110548fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007ff111da0eab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007ff111da2b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007ff1120cd47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007ff1137227c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007ff1115924fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007ff112c3b662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007ff1115928ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007ff112c3b612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007ff1115920f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007ff1179b54bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007ff1179b80b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007ff117c5e110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007ff116e0b149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007ff118203b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007ff1181a7787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007ff11824a66b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000563b17abe4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000563b17ac4c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007ff117f29525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007ff1113811f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007ff117f3059e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007ff117f47753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007ff117f47b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007ff117f48b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000563b17ab8eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007ff11053420c (/lib64/libc.so.6+0x2e20c) #30 0x00007ff1105342bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000563b17ab9561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_imetadatatables-af716f.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_imetadatatables-af716f.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/build.make:300: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/regmeta_imetadatatables.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:2442: src/md/compiler/CMakeFiles/mdcompiler_crossgen.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_imetadatatables.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_imetadatatables.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta_imetadatatables.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta_imetadatatables.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp:38: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_imetadatatables.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/regmeta_imetadatatables.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/regmeta_imetadatatables.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/regmeta_imetadatatables.cpp 1. parser at end of file 2. Optimizer #0 0x00007f3a3686c362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f3a36852c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f3a367c3b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f3a35975fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f3a371cdeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f3a371cfb1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f3a374fa47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f3a38b4f7c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f3a369bf4fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f3a38068662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f3a369bf8ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f3a38068612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f3a369bf0f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f3a3cde24bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f3a3cde50b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f3a3d08b110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f3a3c238149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f3a3d630b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f3a3d5d4787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f3a3d67766b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x000055eaebd4a4c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x000055eaebd50c05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f3a3d356525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f3a367ae1f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f3a3d35d59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f3a3d374753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f3a3d374b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f3a3d375b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x000055eaebd44eb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f3a3596120c (/lib64/libc.so.6+0x2e20c) #30 0x00007f3a359612bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x000055eaebd45561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_imetadatatables-0c2616.cpp clang-13: note: diagnostic msg: /usr/src/tmp/regmeta_imetadatatables-0c2616.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:300: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/regmeta_imetadatatables.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 9%] Building CXX object src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/import.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/import.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/import.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/utilcode.h:22: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/safewrap.h:59: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/holder.h:521:23: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] IUnknown *unknown; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/corpriv.h:20: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/metadata.h:16: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/ex.h:18: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sstring.h:46: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.h:572: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/sbuffer.inl:634:13: warning: variable 'smaller' set but not used [-Wunused-but-set-variable] COUNT_T smaller; ^ In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:13: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/stdafx.h:23: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/liteweightstgdb.h:19: In file included from /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc/stgtiggerstorage.h:51: /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc/mdfileformat.h:213:13: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp:3522:17: warning: variable 'cbTotal' set but not used [-Wunused-but-set-variable] ULONG cbTotal = 0; // total of number bytes for return type + all fixed arguments ^ PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_EMIT_PORTABLE_PDB -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/import.cpp.o -MF CMakeFiles/mdcompiler_ppdb.dir/import.cpp.o.d -o CMakeFiles/mdcompiler_ppdb.dir/import.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/compiler/import.cpp 1. parser at end of file 2. Optimizer #0 0x00007f8d3a49e362 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa8a362) #1 0x00007f8d3a484c64 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xa70c64) #2 0x00007f8d3a3f5b28 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9e1b28) #3 0x00007f8d395a7fb0 (/lib64/libc.so.6+0x42fb0) #4 0x00007f8d3adffeab (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13ebeab) #5 0x00007f8d3ae01b1e llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x13edb1e) #6 0x00007f8d3b12c47f llvm::SROA::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x171847f) #7 0x00007f8d3c7817c3 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2d6d7c3) #8 0x00007f8d3a5f14fe llvm::PassManager >::run(llvm::Function&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd4fe) #9 0x00007f8d3bc9a662 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286662) #10 0x00007f8d3a5f18ad llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd8ad) #11 0x00007f8d3bc9a612 (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x2286612) #12 0x00007f8d3a5f10f9 llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0xbdd0f9) #13 0x00007f8d40a144bc (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15954bc) #14 0x00007f8d40a170b6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x15980b6) #15 0x00007f8d40cbd110 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x183e110) #16 0x00007f8d3fe6a149 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x9eb149) #17 0x00007f8d41262b41 clang::FrontendAction::Execute() (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1de3b41) #18 0x00007f8d41206787 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1d87787) #19 0x00007f8d412a966b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1e2a66b) #20 0x0000562564f254c3 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/lib/llvm-13.0/bin/clang-13+0x154c3) #21 0x0000562564f2bc05 (/usr/lib/llvm-13.0/bin/clang-13+0x1bc05) #22 0x00007f8d40f88525 (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b09525) #23 0x00007f8d3a3e01f3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib/llvm-13.0/bin/../lib64/libLLVM-13.so+0x9cc1f3) #24 0x00007f8d40f8f59e (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b1059e) #25 0x00007f8d40fa6753 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27753) #26 0x00007f8d40fa6b3d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b27b3d) #27 0x00007f8d40fa7b2a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/usr/lib/llvm-13.0/bin/../lib64/libclang-cpp.so.13+0x1b28b2a) #28 0x0000562564f1feb0 main (/usr/lib/llvm-13.0/bin/clang-13+0xfeb0) #29 0x00007f8d3959320c (/lib64/libc.so.6+0x2e20c) #30 0x00007f8d395932bc __libc_start_main (/lib64/libc.so.6+0x2e2bc) #31 0x0000562564f20561 _start (/usr/lib/llvm-13.0/bin/clang-13+0x10561) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) ALT Linux Team clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /usr/src/tmp/import-e2760f.cpp clang-13: note: diagnostic msg: /usr/src/tmp/import-e2760f.sh clang-13: note: diagnostic msg: ******************** gmake[2]: *** [src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/build.make:202: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/import.cpp.o] Error 139 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: *** [CMakeFiles/Makefile2:2468: src/md/compiler/CMakeFiles/mdcompiler_ppdb.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 5%] Generating mscorrc.cpp cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscorrc && /bin/awk -v name=mscorrc -f /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources/rctocpp.awk -f /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources/processrc.awk /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscorrc/mscorrc.rc.i >/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscorrc/mscorrc.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscorrc /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscorrc /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscorrc/CMakeFiles/mscorrc_obj.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' /usr/bin/gmake -f src/dlls/mscorrc/CMakeFiles/mscorrc_obj.dir/build.make src/dlls/mscorrc/CMakeFiles/mscorrc_obj.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Building CXX object src/dlls/mscorrc/CMakeFiles/mscorrc_obj.dir/mscorrc.cpp.o cd /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscorrc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DFX_VER_INTERNALNAME_STR=mscorrc.dll -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_SECURE_SCL=0 -D_UNICODE -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/prebuilt/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/../../artifacts/obj/coreclr -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/src/safecrt -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/amd64 -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/debug/inc/dump -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/md/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/bcltype -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/cryptography -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/classlibnative/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/inc -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/pal/inc/rt/cpp -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/nativeresources -I/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/src/coreclr/src/dlls/mscorrc/../../pal/prebuilt/corerror -O2 -DNDEBUG -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-invalid-offsetof -ferror-limit=4096 -Wno-unused-private-field -Wno-microsoft -Wno-tautological-compare -Wno-constant-logical-operand -Wno-pragma-pack -Wno-unknown-warning-option -Wno-incompatible-ms-struct -fsigned-char -fvisibility=hidden -nostdinc -std=gnu++11 -MD -MT src/dlls/mscorrc/CMakeFiles/mscorrc_obj.dir/mscorrc.cpp.o -MF CMakeFiles/mscorrc_obj.dir/mscorrc.cpp.o.d -o CMakeFiles/mscorrc_obj.dir/mscorrc.cpp.o -c /usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release/src/dlls/mscorrc/mscorrc.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake[1]: Entering directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' [ 10%] Built target mscorrc_obj gmake[1]: Leaving directory '/usr/src/RPM/BUILD/dotnet-runtime-5.0-5.0.15/artifacts/obj/coreclr/Linux.x64.Release' gmake: *** [Makefile:136: all] Error 2 + exit_code=2 + CFLAGS= + CXXFLAGS= + LDFLAGS= + [[ 2 != 0 ]] + echo 'Failed to build "CoreCLR component".' Failed to build "CoreCLR component". + exit 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.13954 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.13954 (%build) Command exited with non-zero status 1 98.57user 25.10system 0:40.36elapsed 306%CPU (0avgtext+0avgdata 105248maxresident)k 0inputs+0outputs (1major+5225174minor)pagefaults 0swaps hsh-rebuild: rebuild of `dotnet-runtime-5.0-5.0.15-alt1.src.rpm' failed. Command exited with non-zero status 1 118.52user 29.51system 1:05.80elapsed 224%CPU (0avgtext+0avgdata 105248maxresident)k 192584inputs+0outputs (45373major+5571263minor)pagefaults 0swaps