[llvm-bugs] [Bug 48939] New: libcxx/memory/trivial_abi/{unique, weak}_ptr_ret.pass.cpp tests fail on 32-bit x86

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 29 03:06:44 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=48939

            Bug ID: 48939
           Summary: libcxx/memory/trivial_abi/{unique,weak}_ptr_ret.pass.c
                    pp tests fail on 32-bit x86
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
            Blocks: 48902

Created attachment 24439
  --> https://bugs.llvm.org/attachment.cgi?id=24439&action=edit
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.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=48902
[Bug 48902] [meta] 12.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210129/bdbda467/attachment.html>


More information about the llvm-bugs mailing list