[llvm] [clang] [LinkerWrapper] Support device binaries in multiple link jobs (PR #72442)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 16 08:41:58 PST 2023


jhuber6 wrote:

The Windows builder gives the following error which I don't relieve on Linux. Does anyone have any clue what this `invalid argument` error could be caused by?
```
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: 'c:\ws\src\build\bin\filecheck.exe' 'C:\ws\src\clang\test\Driver\linker-wrapper.c' --check-prefix=AMDGPU-LINK-ID
# .---command stderr------------
# | C:\ws\src\clang\test\Driver\linker-wrapper.c:52:20: error: AMDGPU-LINK-ID: expected string not found in input
# | // AMDGPU-LINK-ID: clang{{.*}} -o {{.*}}.img --target=amdgcn-amd-amdhsa -mcpu=gfx90a -O2 -Wl,--no-undefined {{.*}}.o {{.*}}.o
# |                    ^
# | <stdin>:1:1: note: scanning from here
# | c:\ws\src\build\bin\clang-linker-wrapper.exe: error: invalid argument
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\ws\src\clang\test\Driver\linker-wrapper.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# |           1: c:\ws\src\build\bin\clang-linker-wrapper.exe: error: invalid argument
# | check:52     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
```

https://github.com/llvm/llvm-project/pull/72442


More information about the cfe-commits mailing list