<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/96418>96418</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [libunwind] build error for x86_64-windows-gnu target
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          trcrsired
      </td>
    </tr>
</table>

<pre>
    ```
-- Performing Test CXX_SUPPORTS_FNO_RTTI_FLAG - Failed
CMake Error at /home/cqwrteur/toolchains_build/llvm-project/libunwind/src/CMakeLists.txt:102 (message):
  Compiler doesn't support generation of unwind tables if exception support
  is disabled.  Building libunwind DSO with runtime dependency on C++ ABI
  library is not supported.


-- Configuring incomplete, errors occurred!
ninja: Entering directory `.'
```
```
if (LIBUNWIND_ENABLE_SHARED AND
    NOT (CXX_SUPPORTS_FNO_EXCEPTIONS_FLAG AND
 CXX_SUPPORTS_FUNWIND_TABLES_FLAG))
  message(FATAL_ERROR
 "Compiler doesn't support generation of unwind tables if exception "
 "support is disabled.  Building libunwind DSO with runtime dependency "
          "on C++ ABI library is not supported.")
endif()
```
This fatal_error is useless for that.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVF2PqzYQ_TXmZZSIDJCQBx7IB22kNFklueq-IQMD-Bbs1DY3u_--ApJs967Ul16EkMzMnPk6PtwYUUmiiAUrFmwc3tla6cjqXBuhqXAyVbxHbO7eX3fD3HgygRfSpdKtkBVcyFhYv76m528vL8fT5Zwmh2N6ulx2abKPf4MJJFw0VIyx6z_4XwRbrZUGboFhUquWGCb53zdtqdMME6tUk9dcSJNmnWgKhknT_GgnV62-U277o8g6eROyNxmdM0wG3L0w1kztm2VePHMRGIYtGcMrYrhkXjyWALBW7VU0pKFQZCTDhQXTXa9KW6hIkuZWKAmqhDEJWJ41ZECUQG85XQfrPeABKQwUwvR-xRRg1ZfdD-dZKGzOR7gJW4PupBUtQUFXkgXJ_B2UhDXDFcMVxKvdA7IRmeb6vYeW6lkhFdPR4d_fyQTWSpai6nSfVchctdeGLDFcA_XDNqDyvNOaCoazMUgK-Z0zL4attDTEFUJTbpV-BzZ3pwwX9xyf1__TUZT9nPe71bfDn7vDJt0e4tV-m55_j0_bDcSHzaMfgMPx0vt-Icv2db19ueyOh_NImY-gz673DJc-weja7xWXjwzPZYdJfIn36fZ0Op7uRob4K9bOED8AH9H_a_kfiM-HIX6mxH9wAfE5AJKFKBmGzx8_bepSCwMlt7xJB070aJ2hhoyBUmmwNbdTp4i8YuktuUPRbDFbzjBchIFTR3Pu-TykrCyCwHdDz51li8B35xkViyBYLB0RoYu-O0fPXfhzDKZB7lLAcy9DLwtdn5jvUstFM-1v81TpyhHGdBQt5_4sdBqeUWMGIUKUdIPB2PcXbBwdDQqQdZVhvtsM9_yJYoVtBgX7kIVgA4N0jOQfunsL5-ncn_RmdTOTSnZgua7IOp1uotraq-klAhOGSSVs3WXTXLV37fkqQUN1hmEyVv8jwn8CAAD__wWEqUo">