-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libcxx/memory/trivial_abi/{unique,weak}_ptr_ret.pass.cpp tests fail on 32-bit x86 #48283
Comments
These tests were added after release 11 (revision https://reviews.llvm.org/D82490, commit 76887bc) and, to the best of my knowledge, never passed on 32-bit x86.
IMO, this comment applies to 32-bit x86 as well. Anyway, I don't think it should be a release blocker. |
This bug was not resolved in time for the 12.0.0 release, so it will have to wait for 12.0.1. If you feel this is a high-priority bug that should be fixed for 12.0.0, please re-add release-12.0.0 to the Blocks field and add a comment explaining why this is high-priority. |
I doubled checked and all libc++ tests pass on native 32-bit x86. Tested on openSUSE Tumbleweed i686. |
I created https://reviews.llvm.org/D102359 to fix these, plus one more test. |
This should be fixed now (thanks Harald!): commit 73cdc75
|
Thanks for committing! Reopening as this is marked for 12.0.1; Tom, do you want to cherry-pick this into the 12.x branch? |
Merged: f1b1151 |
mentioned in issue #48661 |
Extended Description
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.
The text was updated successfully, but these errors were encountered: