[clang] [llvm] [Clang][LLVM] Disable NonLazyBind when pointer authentication is enabled (PR #188638)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 10 10:56:41 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 175363 tests passed
* 3461 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### Flang
<details>
<summary>Flang.Driver/code-object-version.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -target amdgcn-amd-amdhsa -target-cpu gfx908 -mcode-object-version=3 -S /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/code-object-version.f90 -o /dev/null 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=INVALID_VERSION /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/code-object-version.f90
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -target amdgcn-amd-amdhsa -target-cpu gfx908 -mcode-object-version=3 -S /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/code-object-version.f90 -o /dev/null
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=INVALID_VERSION /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/code-object-version.f90
# note: command had no output on stdout or stderr
--
```
</details>
<details>
<summary>Flang.Driver/target-cpu-features.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -mcpu=cortex-a57 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-A57
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -mcpu=cortex-a57 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-A57
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -mcpu=cortex-a76 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-A76
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -mcpu=cortex-a76 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-A76
# note: command had no output on stdout or stderr
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -march=armv9 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-ARMV9
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -march=armv9 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-ARMV9
# note: command had no output on stdout or stderr
# RUN: at line 14
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mcpu=cortex-a57 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-NO-A57
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mcpu=cortex-a57 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-NO-A57
# note: command had no output on stdout or stderr
# RUN: at line 17
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -march=skylake -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-SKYLAKE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -march=skylake -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-SKYLAKE
# note: command had no output on stdout or stderr
# RUN: at line 20
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mapx-features=egpr -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-APX
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mapx-features=egpr -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-APX
# note: command had no output on stdout or stderr
# RUN: at line 23
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mno-apx-features=ccmp -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-NO-APX
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mno-apx-features=ccmp -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-NO-APX
# note: command had no output on stdout or stderr
# RUN: at line 26
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64h-linux-gnu -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-X86_64H
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64h-linux-gnu -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-X86_64H
# note: command had no output on stdout or stderr
# RUN: at line 29
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=riscv64-linux-gnu -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-RV64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=riscv64-linux-gnu -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-RV64
# note: command had no output on stdout or stderr
# RUN: at line 32
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx908 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-AMDGPU
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx908 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-AMDGPU
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90:79:17: error: CHECK-AMDGPU: expected string not found in input
# | ! CHECK-AMDGPU: "-fc1" "-triple" "amdgcn-amd-amdhsa"
# | ^
# | <stdin>:1:1: note: scanning from here
# | flang version 23.0.0git (https://github.com/llvm/llvm-project bcd1ddfbd6bf45392ad99a5c85e0b4d0ad9d9963)
# | ^
# | <stdin>:9:87: note: possible intended match here
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx908 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -###
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: flang version 23.0.0git (https://github.com/llvm/llvm-project bcd1ddfbd6bf45392ad99a5c85e0b4d0ad9d9963)
# | check:79'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: Target: amdgcn-amd-amdhsa
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: Thread model: posix
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~
# | 4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: Build config: +assertions
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: flang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/ToolChains/AMDGPU.cpp:845: virtual void clang::driver::toolchains::AMDGPUToolChain::addClangTargetOptions(const llvm::opt::ArgList &, llvm::opt::ArgStringList &, llvm::StringRef, Action::OffloadKind) const: Assertion `DeviceOffloadingKind == Action::OFK_None && BoundArch.empty() && "this toolchain is for non-offloading cases"' failed.
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 7: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 8: Stack dump:
# | check:79'0 ~~~~~~~~~~~~
# | 9: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx908 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -###
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:79'1 ? possible intended match
# | 10: 1. Compilation construction
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: 2. Building compilation jobs
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: 3. Building compilation jobs
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: #0 0x00000000094a97b8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:881:13
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: #1 0x00000000094a6611 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | check:79'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Driver/target-gpu-features.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx902 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 -check-prefix=CHECK-AMDGCN
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx902 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 -check-prefix=CHECK-AMDGCN
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90:9:17: error: CHECK-AMDGCN: expected string not found in input
# | ! CHECK-AMDGCN: "-fc1" "-triple" "amdgcn-amd-amdhsa"
# | ^
# | <stdin>:1:1: note: scanning from here
# | flang version 23.0.0git (https://github.com/llvm/llvm-project bcd1ddfbd6bf45392ad99a5c85e0b4d0ad9d9963)
# | ^
# | <stdin>:9:87: note: possible intended match here
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx902 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 -###
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: flang version 23.0.0git (https://github.com/llvm/llvm-project bcd1ddfbd6bf45392ad99a5c85e0b4d0ad9d9963)
# | check:9'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: Target: amdgcn-amd-amdhsa
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: Thread model: posix
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~
# | 4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: Build config: +assertions
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: flang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/ToolChains/AMDGPU.cpp:845: virtual void clang::driver::toolchains::AMDGPUToolChain::addClangTargetOptions(const llvm::opt::ArgList &, llvm::opt::ArgStringList &, llvm::StringRef, Action::OffloadKind) const: Assertion `DeviceOffloadingKind == Action::OFK_None && BoundArch.empty() && "this toolchain is for non-offloading cases"' failed.
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 7: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 8: Stack dump:
# | check:9'0 ~~~~~~~~~~~~
# | 9: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx902 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 -###
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:9'1 ? possible intended match
# | 10: 1. Compilation construction
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: 2. Building compilation jobs
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: 3. Building compilation jobs
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: #0 0x00000000094a97b8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:881:13
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: #1 0x00000000094a6611 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | check:9'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/188638
More information about the cfe-commits
mailing list