<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 - libcxx/memory/trivial_abi/{unique,weak}_ptr_ret.pass.cpp tests fail on 32-bit x86"
   href="https://bugs.llvm.org/show_bug.cgi?id=48939">48939</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libcxx/memory/trivial_abi/{unique,weak}_ptr_ret.pass.cpp tests fail on 32-bit x86
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>48902
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=24439" name="attach_24439" title="Output of tests (.txt)">attachment 24439</a> <a href="attachment.cgi?id=24439&action=edit" title="Output of tests (.txt)">[details]</a></span>
Output of tests (.txt)

I get the following two failures on 32-bit x86 (using amd64 multilib):

  libc++ :: libcxx/memory/trivial_abi/unique_ptr_ret.pass.cpp
  libc++ :: libcxx/memory/trivial_abi/weak_ptr_ret.pass.cpp


I'm attaching the full output of the tests.  The errors seem to boil down to:


t.tmp.exe:
/tmp/portage/sys-libs/libcxx-12.0.0_rc1/work/libcxx/test/libcxx/memory/trivial_abi/unique_ptr_ret.pass.cpp:49:
int main(int, char **): Assertion `(void*)&ret != local_addr' failed.

t.tmp.exe:
/tmp/portage/sys-libs/libcxx-12.0.0_rc1/work/libcxx/test/libcxx/memory/trivial_abi/weak_ptr_ret.pass.cpp:55:
int main(int, char **): Assertion `(void*)&ret != local_addr' failed.


These tests pass on pure amd64.</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 12.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=48902">Bug 48902</a>] [meta] 12.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

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

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