[clang] clang: Stop assuming one toolchain covers all GPUArchs (PR #190369)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 3 11:00:12 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 53492 tests passed
* 1068 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Driver/hip-toolchain-no-rdc.hip</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -rf C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp && mkdir C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp'
# note: command had no output on stdout or stderr
# executed command: mkdir 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -### --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2 -fuse-ld=lld -BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld -nogpuinc --no-offload-new-driver C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=CHECK,LINK,OLD C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' '-###' --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1' '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2' -fuse-ld=lld '-BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld' -nogpuinc --no-offload-new-driver 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu' 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=CHECK,LINK,OLD 'C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip'
# note: command had no output on stdout or stderr
# RUN: at line 12
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -### --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2 -fuse-ld=lld -BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld -nogpuinc -c --no-offload-new-driver C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=CHECK,OLD C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' '-###' --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1' '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2' -fuse-ld=lld '-BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld' -nogpuinc -c --no-offload-new-driver 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu' 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=CHECK,OLD 'C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip'
# note: command had no output on stdout or stderr
# RUN: at line 22
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -### --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2 -fuse-ld=lld -BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld -nogpuinc --offload-new-driver -c C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=CHECK,NEW C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' '-###' --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1' '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2' -fuse-ld=lld '-BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld' -nogpuinc --offload-new-driver -c 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu' 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=CHECK,NEW 'C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip'
# note: command had no output on stdout or stderr
# RUN: at line 32
touch C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp/a.o C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp/b.o
# executed command: touch 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp/a.o' 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp/b.o'
# note: command had no output on stdout or stderr
# RUN: at line 33
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -### --target=x86_64-linux-gnu --hip-link --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 -fuse-ld=lld -BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld -nogpuinc C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp/a.o C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp/b.o 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=LKONLY C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' '-###' --target=x86_64-linux-gnu --hip-link --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 -fuse-ld=lld '-BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld' -nogpuinc 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp/a.o' 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp/b.o'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=LKONLY 'C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip'
# note: command had no output on stdout or stderr
# RUN: at line 39
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -### --target=x86_64-linux-gnu --no-offload-new-driver --offload-arch=amdgcnspirv --offload-arch=gfx900 C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip -nogpuinc -nogpulib 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=AMDGCNSPIRV C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' '-###' --target=x86_64-linux-gnu --no-offload-new-driver --offload-arch=amdgcnspirv --offload-arch=gfx900 'C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip' -nogpuinc -nogpulib
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=AMDGCNSPIRV 'C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip:218:17: error: AMDGCNSPIRV: expected string not found in input
# | // AMDGCNSPIRV: "-cc1" "-triple" "amdgcn-amd-amdhsa" {{.*}}"-emit-obj" {{.*}}"-target-cpu" "gfx900"{{.*}} "-o" "[[GFX900_OBJ:.*o]]"
# | ^
# | <stdin>:8:486: note: scanning from here
# | "llvm-spirv" "--spirv-max-version=1.6" "--spirv-ext=+all,-SPV_KHR_untyped_pointers" "--spirv-allow-unknown-intrinsics" "--spirv-lower-const-expr" "--spirv-preserve-auxdata" "--spirv-debug-info-version=nonsemantic-shader-200" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-amdgcnspirv-14dbfc-linked-46ec6f.bc" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-amdgcnspirv-14dbfc.out"
# | ^
# | <stdin>:12:102: note: possible intended match here
# | "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-aux-triple" "amdgcn-amd-amdhsa" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "hip-toolchain-no-rdc.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-fcoverage-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-resource-dir" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fhip-new-launch-api" "--no-offloadlib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-fcuda-include-gpubinary" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-46672a.hipfb" "-cuid=c569ccc88a238055" "-fcuda-allow-variadic-functions" "-faddrsig" "-fdwarf2-cfi-asm" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-15b660.o" "-x" "hip" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver\\hip-toolchain-no-rdc.hip"
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: clang version 23.0.0git (https://github.com/llvm/llvm-project 71e204994b77fed91b56bf4f1e91fe943216ef2a)
# | 2: Target: x86_64-unknown-linux-gnu
# | 3: Thread model: posix
# | 4: InstalledDir: C:\_work\llvm-project\llvm-project\build\bin
# | 5: Build config: +assertions
# | 6: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe" "-cc1" "-triple" "spirv64-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-Wspir-compat" "-emit-llvm-bc" "-emit-llvm-uselists" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "hip-toolchain-no-rdc.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-mllvm" "-amdgpu-internalize-symbols" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-fembed-bitcode=marker" "-disable-llvm-passes" "-debugger-tuning=gdb" "-fdebug-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-fcoverage-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-resource-dir" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "--no-offloadlib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=c569ccc88a238055" "-fcuda-allow-variadic-functions" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-amdgcnspirv-0af822.bc" "-x" "hip" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver\\hip-toolchain-no-rdc.hip"
# | 7: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\llvm-link" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-amdgcnspirv-14dbfc-linked-46ec6f.bc" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-amdgcnspirv-0af822.bc"
# | 8: "llvm-spirv" "--spirv-max-version=1.6" "--spirv-ext=+all,-SPV_KHR_untyped_pointers" "--spirv-allow-unknown-intrinsics" "--spirv-lower-const-expr" "--spirv-preserve-auxdata" "--spirv-debug-info-version=nonsemantic-shader-200" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-amdgcnspirv-14dbfc-linked-46ec6f.bc" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-amdgcnspirv-14dbfc.out"
# | check:218'0 X error: no match found
# | 9: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "hip-toolchain-no-rdc.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-mllvm" "-amdgpu-internalize-symbols" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-target-cpu" "gfx900" "-debugger-tuning=gdb" "-fdebug-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-fcoverage-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-resource-dir" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "--no-offloadlib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=c569ccc88a238055" "-fcuda-allow-variadic-functions" "-faddrsig" "-fdwarf2-cfi-asm" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-gfx900-e35f7a.bc" "-x" "hip" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver\\hip-toolchain-no-rdc.hip"
# | check:218'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 10: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\lld" "-flavor" "gnu" "-m" "elf64_amdgpu" "--no-undefined" "-shared" "-plugin-opt=-amdgpu-internalize-symbols" "--lto-partitions=8" "-plugin-opt=mcpu=gfx900" "--whole-archive" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-gfx900-e96342.out" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-gfx900-e35f7a.bc" "--no-whole-archive"
# | check:218'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang-offload-bundler" "-type=o" "-bundle-align=4096" "-targets=host-x86_64-unknown-linux-gnu,hip-spirv64-amd-amdhsa--amdgcnspirv,hip-spirv64-amd-amdhsa--gfx900" "-input=nul" "-input=C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-amdgcnspirv-14dbfc.out" "-input=C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-gfx900-e96342.out" "-output=C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-46672a.hipfb"
# | check:218'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-aux-triple" "amdgcn-amd-amdhsa" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "hip-toolchain-no-rdc.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-fcoverage-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-resource-dir" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fhip-new-launch-api" "--no-offloadlib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-fcuda-include-gpubinary" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-46672a.hipfb" "-cuid=c569ccc88a238055" "-fcuda-allow-variadic-functions" "-faddrsig" "-fdwarf2-cfi-asm" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-15b660.o" "-x" "hip" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver\\hip-toolchain-no-rdc.hip"
# | check:218'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:218'1 ? possible intended match
# | 13: "ld" "--hash-style=gnu" "--eh-frame-hdr" "-m" "elf_x86_64" "-pie" "-dynamic-linker" "/lib64/ld-linux-x86-64.so.2" "-o" "a.out" "Scrt1.o" "crti.o" "crtbeginS.o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-3z48jebj\\hip-toolchain-no-rdc-15b660.o" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "crtendS.o" "crtn.o"
# | check:218'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/190369
More information about the cfe-commits
mailing list