<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - clang on s390x: crashes in '@_ZN4llvm18CodeGenDAGPatterns17ParseInstructionsEv'"
   href="https://bugs.llvm.org/show_bug.cgi?id=51026">51026</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang on s390x: crashes in '@_ZN4llvm18CodeGenDAGPatterns17ParseInstructionsEv'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: SystemZ
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sylvestre@debian.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Seems that it happened in this commit:
<a href="https://github.com/llvm/llvm-project/compare/64be5b7d8713..f1cbea3e5275">https://github.com/llvm/llvm-project/compare/64be5b7d8713..f1cbea3e5275</a>

Maybe caused by?
<a href="https://github.com/llvm/llvm-project/commit/37a92f3b03bf165245a9d0dc4830dcc6fed7c253">https://github.com/llvm/llvm-project/commit/37a92f3b03bf165245a9d0dc4830dcc6fed7c253</a>

PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments:
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin/clang++
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
-I/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/tools/clang/stage2-bins/utils/TableGen
-I/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/llvm/utils/TableGen
-I/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/tools/clang/stage2-bins/include
-I/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/llvm/include
-fuse-ld=gold -fPIC -Wno-unused-command-line-argument
-Wno-unknown-warning-option -fPIC -fno-semantic-interposition
-fvisibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
-Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-class-memaccess -Wno-noexcept-type
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override
-Wstring-conversion -Wmisleading-indentation -ffunction-sections
-fdata-sections -O2 -DNDEBUG -g1 -fno-exceptions -std=c++14 -o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o -c
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/llvm/utils/TableGen/CodeGenDAGPatterns.cpp'.
4.      Running pass 'Live Variable Analysis' on function
'@_ZN4llvm18CodeGenDAGPatterns17ParseInstructionsEv'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH
or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamEi+0x38)[0x3ff9848f688]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm3sys17RunSignalHandlersEv+0x36)[0x3ff9848d8c6]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm3sys15CleanupOnSignalEm+0x152)[0x3ff9848e0b2]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(+0xd2fa28)[0x3ff983afa28]
[0x3fffe477196]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm13LiveVariables10runOnBlockEPNS_17MachineBasicBlockEj+0x2f6)[0x3ff9882a386]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm13LiveVariables20runOnMachineFunctionERNS_15MachineFunctionE+0x3c4)[0x3ff9882b6e4]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(+0x1230702)[0x3ff988b0702]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x3ae)[0x3ff985f4a5e]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x38)[0x3ff985f4c80]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x40c)[0x3ff985f601c]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(+0x1ad260c)[0x3ff9fed260c]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang17EmitBackendOutputERNS_17DiagnosticsEngineERKNS_19HeaderSearchOptionsERKNS_14CodeGenOptionsERKNS_13TargetOptionsERKNS_11LangOptionsEN4llvm9StringRefEPNSE_6ModuleENS_13BackendActionESt10unique_ptrINSE_17raw_pwrite_streamESt14default_deleteISK_EE+0xcdc)[0x3ff9fed689c]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(+0x1e2f70e)[0x3ffa022f70e]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang8ParseASTERNS_4SemaEbb+0x50c)[0x3ff9ef4248c]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang13CodeGenAction13ExecuteActionEv+0x56)[0x3ffa022f7d6]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang14FrontendAction7ExecuteEv+0x114)[0x3ffa0b18b84]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x1a0)[0x3ffa0ab58c0]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xa62)[0x3ffa0b9bf7a]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin/clang++(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0x1294)[0x2aa2ed9764c]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin/clang++(+0x13f60)[0x2aa2ed93f60]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(+0x238f77e)[0x3ffa078f77e]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm20CrashRecoveryContext9RunSafelyENS_12function_refIFvvEEE+0x40)[0x3ff983afb20]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZNK5clang6driver10CC1Command7ExecuteEN4llvm8ArrayRefINS2_8OptionalINS2_9StringRefEEEEEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPb+0x182)[0x3ffa0791b7a]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZNK5clang6driver11Compilation14ExecuteCommandERKNS0_7CommandERPS3_+0xce)[0x3ffa076740e]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZNK5clang6driver11Compilation11ExecuteJobsERKNS0_7JobListERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xa6)[0x3ffa0767e16]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang6driver6Driver18ExecuteCompilationERNS0_11CompilationERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xd8)[0x3ffa0772b80]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin/clang++(main+0x1a44)[0x2aa2ed91a6c]
/lib/s390x-linux-gnu/libc.so.6(__libc_start_main+0x10a)[0x3ff97223aca]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin/clang++(+0x13304)[0x2aa2ed93304]
[0x0]
clang-13: error: clang frontend command failed with exit code 139 (use -v to
see invocation)
Ubuntu clang version
13.0.0-++20210708091416+511af1b1ad00-1~exp1~20210708072207.2525
Target: s390x-ibm-linux-gnu
Thread model: posix
InstalledDir:
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>