Skip to content
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

compiler-builtins CI fails on powerpc64 #99853

Open
Amanieu opened this issue Jul 28, 2022 · 2 comments
Open

compiler-builtins CI fails on powerpc64 #99853

Amanieu opened this issue Jul 28, 2022 · 2 comments
Labels
C-bug Category: This is a bug. O-PowerPC Target: PowerPC processors regression-untriaged Untriaged performance or correctness regression. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@Amanieu
Copy link
Member

Amanieu commented Jul 28, 2022

Some memset tests fail on both powerpc64-unknown-linux-gnu and powerpc64le-unknown-linux-gnu, but only with --release. Bisecting show #91743 as the culprit, but I think it just exposes an existing LLVM bug rather than being the root cause.

powerpc64le

---- memset_backward_aligned stdout ----
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 204, 204, 204, 204, 204, 204, 204, 204, 204, 0, 0, 0, 0, 204, 204, 204, 204, 28, 29, 30, 31]`,
 right: `[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 28, 29, 30, 31]`', testcrate/tests/mem.rs:265:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- memset_backward_misaligned_aligned_start stdout ----
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `[0, 1, 2, 3, 4, 5, 6, 7, 204, 204, 204, 204, 0, 0, 0, 0, 204, 204, 204, 204, 0, 0, 0, 0, 204, 25, 26, 27, 28, 29, 30, 31]`,
 right: `[0, 1, 2, 3, 4, 5, 6, 7, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 25, 26, 27, 28, 29, 30, 31]`', testcrate/tests/mem.rs:253:9

---- memset_backward_misaligned_nonaligned_start stdout ----
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `[0, 1, 2, 3, 4, 5, 204, 204, 204, 204, 204, 204, 0, 0, 0, 0, 204, 204, 204, 204, 204, 204, 204, 23, 24, 25, 26, 27, 28, 29, 30, 31]`,
 right: `[0, 1, 2, 3, 4, 5, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 23, 24, 25, 26, 27, 28, 29, 30, 31]`', testcrate/tests/mem.rs:241:9

powerpc64

---- memset_backward_aligned stdout ----
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 204, 204, 204, 204, 204, 0, 0, 0, 0, 204, 204, 204, 204, 204, 204, 204, 204, 28, 29, 30, 31]`,
 right: `[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 28, 29, 30, 31]`', testcrate/tests/mem.rs:265:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- memset_backward_misaligned_aligned_start stdout ----
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `[0, 1, 2, 3, 4, 5, 6, 7, 0, 0, 0, 0, 204, 204, 204, 204, 0, 0, 0, 0, 204, 204, 204, 204, 204, 25, 26, 27, 28, 29, 30, 31]`,
 right: `[0, 1, 2, 3, 4, 5, 6, 7, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 25, 26, 27, 28, 29, 30, 31]`', testcrate/tests/mem.rs:253:9

---- memset_backward_misaligned_nonaligned_start stdout ----
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `[0, 1, 2, 3, 4, 5, 204, 204, 0, 0, 0, 0, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 23, 24, 25, 26, 27, 28, 29, 30, 31]`,
 right: `[0, 1, 2, 3, 4, 5, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 23, 24, 25, 26, 27, 28, 29, 30, 31]`', testcrate/tests/mem.rs:241:9

@Amanieu Amanieu added C-bug Category: This is a bug. regression-untriaged Untriaged performance or correctness regression. labels Jul 28, 2022
@rustbot rustbot added the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Jul 28, 2022
@Amanieu
Copy link
Member Author

Amanieu commented Jul 28, 2022

#88520 might be related: we previously had some test failures due to the LLVM 13 upgrade, which we never got around to fixing (we just disable those tests on PPC64).

Amanieu added a commit to Amanieu/rustc-builtins that referenced this issue Jul 28, 2022
@apiraino apiraino added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. I-compiler-nominated Nominated for discussion during a compiler team meeting. labels Aug 3, 2022
@apiraino apiraino removed the I-compiler-nominated Nominated for discussion during a compiler team meeting. label Aug 9, 2022
@apiraino
Copy link
Contributor

apiraino commented Sep 1, 2022

removing I-prioritize since this topic will be handled in a T-compiler meeting

@rustbot label -I-prioritize

@rustbot rustbot removed the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Sep 1, 2022
@Enselic Enselic added the O-PowerPC Target: PowerPC processors label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. O-PowerPC Target: PowerPC processors regression-untriaged Untriaged performance or correctness regression. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants