Skip to content

XFAIL: lld-available lit.cfg tag does not work as intended. #99056

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

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

kamaub
Copy link
Contributor

@kamaub kamaub commented Jul 16, 2024

This change XFAILs instrprof-gc-sections.c compiler-rt test case
because it uses the lld-available lit.config tag which erroneously
uses the CMAKE_LINKER if it is lld instead of checking for the
latest and greatest lld available. A patch is in the works to fix
this.
This change is to bring the clang-ppc64le-linux-test-suite and
clang-ppc64le-linux-multistage back to green as they were broken
as of PR #98382

This change XFAILs instrprof-gc-sections.c compiler-rt test case
because it uses the `lld-available` lit.config tag which erroneously
uses the CMAKE_LINKER if it is lld instead of checking for the
latest and greatest lld available. A patch is in the works to fix
this.
This change is to bring the clang-ppc64le-linux-test-suite and
clang-ppc64le-linux-multistage back to green as they were broken
as of PR llvm#98382
@kamaub kamaub requested a review from vitalybuka July 16, 2024 16:05
@llvmbot llvmbot added compiler-rt PGO Profile Guided Optimizations labels Jul 16, 2024
@kamaub kamaub requested review from amy-kwan and lei137 July 16, 2024 16:06
@llvmbot
Copy link
Member

llvmbot commented Jul 16, 2024

@llvm/pr-subscribers-pgo

Author: Kamau Bridgeman (kamaub)

Changes

This change XFAILs instrprof-gc-sections.c compiler-rt test case
because it uses the lld-available lit.config tag which erroneously
uses the CMAKE_LINKER if it is lld instead of checking for the
latest and greatest lld available. A patch is in the works to fix
this.
This change is to bring the clang-ppc64le-linux-test-suite and
clang-ppc64le-linux-multistage back to green as they were broken
as of PR #98382


Full diff: https://github.com/llvm/llvm-project/pull/99056.diff

1 Files Affected:

  • (modified) compiler-rt/test/profile/instrprof-gc-sections.c (+1-1)
diff --git a/compiler-rt/test/profile/instrprof-gc-sections.c b/compiler-rt/test/profile/instrprof-gc-sections.c
index 8b84c0a242180..06d3eac355638 100644
--- a/compiler-rt/test/profile/instrprof-gc-sections.c
+++ b/compiler-rt/test/profile/instrprof-gc-sections.c
@@ -1,7 +1,7 @@
 // REQUIRES: linux, lld-available
 
 // FIXME: Investigate and fix.
-// XFAIL: powerpc64-target-arch
+// XFAIL: powerpc64-target-arch,powerpc64le-target-arch
 
 // RUN: rm -rf %t.profraw
 // RUN: %clang_profgen=%t.profraw -fuse-ld=lld -fcoverage-mapping -mllvm -enable-name-compression=false -DCODE=1 -ffunction-sections -fdata-sections -Wl,--gc-sections -o %t %s

@kamaub kamaub self-assigned this Jul 16, 2024
@@ -1,7 +1,7 @@
// REQUIRES: linux, lld-available

// FIXME: Investigate and fix.
// XFAIL: powerpc64-target-arch
// XFAIL: powerpc64-target-arch,powerpc64le-target-arch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only an issue on the 64bit arch? What about 32bit?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It affects anyone that had lld in their environment but but does not want to test it, this is only fixes the effected bots.

Copy link
Contributor

@lei137 lei137 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx

@kamaub kamaub merged commit 47f3d55 into llvm:main Jul 16, 2024
4 of 5 checks passed
kamaub added a commit that referenced this pull request Jul 16, 2024
PR #99056 marked this test case as an XFAIl for ppc64le but it
is actually being temporary unsupported, this changes it from
an XFAIl to unsupported.
yuxuanchen1997 pushed a commit that referenced this pull request Jul 25, 2024
This change XFAILs instrprof-gc-sections.c compiler-rt test case
because it uses the `lld-available` lit.config tag which erroneously
uses the `CMAKE_LINKER` if it is lld instead of checking for the
latest and greatest lld available. A patch is in the works to fix
this.
This change is to bring the `clang-ppc64le-linux-test-suite` and
`clang-ppc64le-linux-multistage` back to green as they were broken
as of PR #98382
yuxuanchen1997 pushed a commit that referenced this pull request Jul 25, 2024
Summary:
PR #99056 marked this test case as an XFAIl for ppc64le but it
is actually being temporary unsupported, this changes it from
an XFAIl to unsupported.

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags: 


Differential Revision: https://phabricator.intern.facebook.com/D60251494
jvoung added a commit that referenced this pull request Aug 27, 2024
…O summaries (#106165)

This retries #90692 which was reverted previously due to issues with
lld-available being set, even if the copy of lld is not built from
source.

This does not change any code compared to #90692 to address the
lld-available issue.
The main change w.r.t, lld-available is xfailing tests in PR #99056
(until a longer term fix is available).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler-rt PGO Profile Guided Optimizations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants