Skip to content

Temporarily disable test clang/Interpreter/crash.cpp #119978

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

Conversation

yuxuanchen1997
Copy link
Member

See discussion on #117475 (comment)

This test currently invokes the system ld, which can cause issues on some CI systems where system ld only works with $LDFLAGS and $LIBS. @vgvassilev has suggested to use the yaml2obj tool to avoid invoking ld.

Before that happens, proposing to disable this test until we find a solution to unblock downstream CI.

@llvmbot llvmbot added the clang Clang issues not falling into any other category label Dec 14, 2024
@llvmbot
Copy link
Member

llvmbot commented Dec 14, 2024

@llvm/pr-subscribers-clang

Author: Yuxuan Chen (yuxuanchen1997)

Changes

See discussion on #117475 (comment)

This test currently invokes the system ld, which can cause issues on some CI systems where system ld only works with $LDFLAGS and $LIBS. @vgvassilev has suggested to use the yaml2obj tool to avoid invoking ld.

Before that happens, proposing to disable this test until we find a solution to unblock downstream CI.


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

1 Files Affected:

  • (modified) clang/test/Interpreter/crash.cpp (+1)
diff --git a/clang/test/Interpreter/crash.cpp b/clang/test/Interpreter/crash.cpp
index 9a606983524d82..11ff938aedd5d5 100644
--- a/clang/test/Interpreter/crash.cpp
+++ b/clang/test/Interpreter/crash.cpp
@@ -1,4 +1,5 @@
 // REQUIRES: host-supports-jit, x86_64-linux
+// UNSUPPORTED: target={{.*}}
 
 // RUN: rm -rf %t
 // RUN: mkdir -p %t

Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

LGTM.

@carlocab
Copy link
Member

Obsoleted by 61ab36a

@vgvassilev
Copy link
Contributor

Obsoleted by 61ab36a

That was the right fix, not the revert...

@carlocab
Copy link
Member

Obsoleted by 61ab36a

That was the right fix, not the revert...

I'm inclined to agree. Could revert the revert then apply this.

@yuxuanchen1997
Copy link
Member Author

May I understand what's the intention of this? I would prefer that the original author figures out a solution that doesn't depend on system linker, which is what I would consider a proper fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants