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

Failure in Clang :: Driver/clang-offload-bundler-standardize.c in post-commit #10238

Closed
dm-vodopyanov opened this issue Jul 6, 2023 · 1 comment · May be fixed by #10379
Closed

Failure in Clang :: Driver/clang-offload-bundler-standardize.c in post-commit #10238

dm-vodopyanov opened this issue Jul 6, 2023 · 1 comment · May be fixed by #10379
Assignees
Labels
bug Something isn't working confirmed

Comments

@dm-vodopyanov
Copy link
Contributor

Logs: Linux (Self build + shared libraries + no-assertions) / Build + LIT

FAIL: Clang :: Driver/clang-offload-bundler-standardize.c (9354 of 18465)
******************** TEST 'Clang :: Driver/clang-offload-bundler-standardize.c' FAILED ********************
Script:
--
: 'RUN: at line 5';   /__w/llvm/llvm/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /__w/llvm/llvm/src/clang/test/Driver/clang-offload-bundler-standardize.c -c -o /__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.o
: 'RUN: at line 10';   echo 'Content of device file 1' > /__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.tgt1
: 'RUN: at line 11';   echo 'Content of device file 2' > /__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.tgt2
: 'RUN: at line 17';   clang-offload-bundler -type=o -targets=host-x86_64-unknown-linux-gnu,hip-amdgcn-amd-amdhsa-gfx906,hip-amdgcn-amd-amdhsa-gfx908 -input=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.o -input=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.tgt1 -input=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.tgt2 -output=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.bundle.no.env
: 'RUN: at line 18';   clang-offload-bundler -type=o -targets=host-x86_64-unknown-linux-gnu-,hip-amdgcn-amd-amdhsa--gfx906,hip-amdgcn-amd-amdhsa--gfx908 -input=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.o -input=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.tgt1 -input=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.tgt2 -output=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.bundle.env
: 'RUN: at line 22';   clang-offload-bundler -unbundle -type=o -targets=hip-amdgcn-amd-amdhsa--gfx906,hip-amdgcn-amd-amdhsa--gfx908 -input=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.bundle.no.env -output=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp-hip-amdgcn-amd-amdhsa--gfx906.bc -output=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp-hip-amdgcn-amd-amdhsa--gfx908.bc -debug-only=CodeObjectCompatibility 2>&1 | /__w/llvm/llvm/build/bin/FileCheck /__w/llvm/llvm/src/clang/test/Driver/clang-offload-bundler-standardize.c -check-prefix=BUNDLE-NO-ENV
: 'RUN: at line 27';   clang-offload-bundler -unbundle -type=o -targets=hip-amdgcn-amd-amdhsa-gfx906,hip-amdgcn-amd-amdhsa-gfx908 -input=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp.bundle.env -output=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp-hip-amdgcn-amd-amdhsa-gfx906.bc -output=/__w/llvm/llvm/build/tools/clang/test/Driver/Output/clang-offload-bundler-standardize.c.tmp-hip-amdgcn-amd-amdhsa-gfx908.bc -debug-only=CodeObjectCompatibility 2>&1 | /__w/llvm/llvm/build/bin/FileCheck /__w/llvm/llvm/src/clang/test/Driver/clang-offload-bundler-standardize.c -check-prefix=BUNDLE-ENV
--
Exit Code: 1

Command Output (stderr):
--
/__w/llvm/llvm/src/clang/test/Driver/clang-offload-bundler-standardize.c:23:19: error: BUNDLE-NO-ENV: expected string not found in input
// BUNDLE-NO-ENV: Compatible: Exact match: [CodeObject: hip-amdgcn-amd-amdhsa--gfx906] : [Target: hip-amdgcn-amd-amdhsa--gfx906]
                  ^
<stdin>:1:1: note: scanning from here
clang-offload-bundler: Unknown command line argument '-debug-only=CodeObjectCompatibility'. Try: 'clang-offload-bundler --help'
^

Input file: <stdin>
Check file: /__w/llvm/llvm/src/clang/test/Driver/clang-offload-bundler-standardize.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
          1: clang-offload-bundler: Unknown command line argument '-debug-only=CodeObjectCompatibility'. Try: 'clang-offload-bundler --help' 
check:23     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
          2: clang-offload-bundler: Did you mean '--unbundle=CodeObjectCompatibility'? 
check:23     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

Guilty commit: #9631

@maarquitos14
Copy link
Contributor

Not reproducible anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed
Projects
None yet
3 participants