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

    <tr>
        <th>Summary</th>
        <td>
            compiler-rt: replace aligned_union usage
        </td>
    </tr>

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

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

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

<pre>
    The commit 1dfa47910a2332a351ebc5236b4e2bfb3562c23b introduce usage of aligned_union in compiler-rt.
This is breaking the compilation against "old" native libstdc++ supporting only c++11 and use a future deprecated struct: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1413r3.pdf

The issue is also encountered by some other user
https://discourse.llvm.org/t/how-to-compile-c-files-under-compiler-rt-with-stdlib-libc/60482/6
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVUctu5SAM_ZpkgxIlkOcii46qfkH3Ix5OQsuFiEej-_djcu_MtJLBBoN9zrFw6r6870Cku910JK1aeTfObcMpY5SzvgUhe8oG0QEVq2D9QCVlgmgbvVNJAkmBb0DcSrjRmwX1O1ntLD7INQ9twFc-1kXzWjQv77sOBE144J_abiQ-WuMzHvMvvnFtQyQFpc4o3InFxBcQo0WIShb0FxoJ6Ticj7mCs-ZOnvdtS7hViAgIJ2uKyQNRcHiQPIIiIfokY8FeyB7jETAo6BvaeZ61O8BW2KF2fsOrjyhbdEFSmh9sNJ-UkwHdwQ_wOaDNdX20Xcs8qw-1Plj-5QpINaS8ozbBEbDSJRvBIxZxJ8HdUDdUwGfE_vHrJzKlA37xAWpjvm5PbBHX7s4quuqpcCWrFV2oklUo9zfdq1PHPfNC_SpcKNTb0HRTZjWUsLTD0HbzPNOxVAtTM5t5GXU0sHwrkhXzcBiO0_455Gv2ZfJm-Yl7w65J1FgDDxn601WHdx8gM4NLmqxiP7JxKvdl6rt5mqCjlCrRjwCs5yuooZkpnft1Lg0XYMJS9DhqauF8qItx0b-WesFp0GaiQzN2Pe3rcWzXWYKc5dRyoaDoGrhxbf4pWfrlgiTSFjBpdIjhf5KHkInC1Q7r8xR35xelnZcQ7-XVe7mw_wEOMBFJ">