Regressions on arm build with config rustgcc-lkftconfig-kselftest on the Linux mainline and next failed with CONFIG_RUST=y enabled.
First seen on the v6.14-13039-ge8b471285262 (April 3, 2025) Bad: v6.15-rc1 Good: v6.14-12966-ga2cc6ff5ec8f ( April 3, 2025 )
Bad: next-20250327 Good: next-20250326
* arm, build - rustgcc-lkftconfig-kselftest
Regression Analysis: - New regression? Yes - Reproducibility? Yes
Build regression: arm rustgcc unknown argument '-mno-fdpic'
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
## Build log Unable to generate bindings: clang diagnosed error: error: unknown argument: '-mno-fdpic'
## Source * Kernel version: v6.15-rc1 * Git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git * Git sha: 0af2f6be1b4281385b618cb86ad946eded089ac8 * Git describe: v6.15-rc1 * Project details: https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.15-rc1/ * compiler: gcc version (Debian 14.2.0-19) 14.2.0 * Toolchain: rustgcc * build config: rustgcc-lkftconfig-kselftest
## Test * Test log: https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.15-rc1/tes... * Test details: https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.15-rc1/tes... * Test history: https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.15-rc1/tes... * Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2vNMCPjd4rTR3hQdnzAuH... * Kernel config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2vNMCPjd4rTR3hQdnzAuH... * Test history on next: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250407/tes...
## Steps to reproduce - tuxmake --runtime podman --target-arch arm --toolchain rustgcc --kconfig defconfig --kconfig-add https://gitlab.com/Linaro/lkft/kernel-fragments/-/raw/main/systemd.config --kconfig-add CONFIG_ARM_LPAE=y --kconfig-add CONFIG_GCC_PLUGINS=n --kconfig-add tools/testing/selftests/rust/config TARGETS=rust dtbs dtbs-legacy headers kernel kselftest modules
-- Linaro LKFT https://lkft.linaro.org