Recently we have updated the toolchain clang-17 version.
While building selftests exec following warnings / errors noticed on the Linux next with clang-17. But pass with gcc-13.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
exec/load_address_4096 clang: error: argument unused during compilation: '-pie' [-Werror,-Wunused-command-line-argument]
Links: - https://storage.tuxsuite.com/public/linaro/lkft/builds/2UHhSg0TPLhjp9Uq9EFce... - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230821/tes...
Steps to reproduce: - https://storage.tuxsuite.com/public/linaro/lkft/builds/2UHhSg0TPLhjp9Uq9EFce...
tuxmake --runtime podman --target-arch x86_64 --toolchain clang-17 --kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2UHhSg0TPLhjp9Uq9EFce... LLVM=1 LLVM_IAS=1 debugkernel cpupower headers kernel kselftest modules
-- Linaro LKFT https://lkft.linaro.org