Recently we have updated the toolchain clang-17 version.
While building selftests sgx following warnings / errors noticed on the Linux next with clang-17.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
sgx/main.o clang: error: -z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument]
Links: - https://storage.tuxsuite.com/public/linaro/lkft/builds/2UHhSg0TPLhjp9Uq9EFce...
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