Hay

Known issue: MIPS clang-20 build failures on stable-rc 6.14, 6.12 and 6.6

Description

Regressions on mips defconfig tinyconfig and allnoconfig builds failed with clang-20 toolchain on stable-rc 6.14.7-rc1, 6.12.29-rc1 and 6.6.91-rc1.

But, builds pass with gcc-13.

  • mips, build
  • clang-20-allnoconfig
  • clang-20-defconfig
  • clang-20-tinyconfig
  • korg-clang-20-lkftconfig-hardening
  • korg-clang-20-lkftconfig-lto-full
  • korg-clang-20-lkftconfig-lto-thing

Regression Analysis: - New regression? Yes - Reproducibility? Yes

Build regression: mips instantiation error expected an immediate

Reported-by: Linux Kernel Functional Testing lkft@linaro.org

Build error mips

<instantiation>:7:11: error: expected an immediate ori $26, r4k_wait_idle_size - 2 ^ <instantiation>:10:13: error: expected an immediate addiu $26, r4k_wait_exit - r4k_wait_insn + 2 ^ <instantiation>:10:29: error: expected an immediate addiu $26, r4k_wait_exit - r4k_wait_insn + 2 ^ <instantiation>:7:11: error: expected an immediate ori $26, r4k_wait_idle_size - 2 ^ <instantiation>:10:13: error: expected an immediate addiu $26, r4k_wait_exit - r4k_wait_insn + 2 ^ <instantiation>:10:29: error: expected an immediate addiu $26, r4k_wait_exit - r4k_wait_insn + 2 ^ arch/mips/kernel/genex.S:531:2: warning: macro defined with named parameters which are not used in macro body, possible positional parameter found in body which will have no effect .macro __BUILD_verbose nexception ^

Build mips

  • Build log: https://qa-reports.linaro.org/api/testruns/28409657/log_file/
  • Build history: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.14.y/build/v6.14.6-198-g4f7f8fb4f8e3/testrun/28409667/suite/build/test/clang-20-defconfig/history/
  • Build details: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.14.y/build/v6.14.6-198-g4f7f8fb4f8e3/testrun/28409657/suite/build/test/clang-20-defconfig/details/
  • Build link: https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/builds/2x0SR9ZL9r6xvF3HT3UgkQA9ebC
  • Kernel config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2x0SR9ZL9r6xvF3HT3UgkQA9ebC/config
  • Toolchain: clang-20
Labels
First seen May 12, 2025, 6:12 p.m.
Last seen June 13, 2025, 6:11 a.m.

Incidents