Messages in this thread | | | From | Naresh Kamboju <> | Date | Mon, 21 Aug 2023 19:24:49 +0530 | Subject | clang-17: selftests: exec/load_address_4096 clang: error: argument unused during compilation: '-pie' [-Werror,-Wunused-command-line-argument] |
| |
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/2UHhSg0TPLhjp9Uq9EFceoQd0VL/ - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230821/testrun/19213758/suite/kselftest-exec/test/shardfile-exec/details/
Steps to reproduce: - https://storage.tuxsuite.com/public/linaro/lkft/builds/2UHhSg0TPLhjp9Uq9EFceoQd0VL/tuxmake_reproducer.sh
tuxmake --runtime podman --target-arch x86_64 --toolchain clang-17 --kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2UHhSg0TPLhjp9Uq9EFceoQd0VL/config LLVM=1 LLVM_IAS=1 debugkernel cpupower headers kernel kselftest modules
-- Linaro LKFT https://lkft.linaro.org
| |