Messages in this thread | | | From | Nick Desaulniers <> | Date | Mon, 21 Aug 2023 11:15:28 -0700 | Subject | Re: clang-17: selftests: sgx: clang: error: -z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument] |
| |
On Mon, Aug 21, 2023 at 6:52 AM Naresh Kamboju <naresh.kamboju@linaro.org> wrote: > > 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]
Hi Naresh, Thanks for the report.
I think in general for the kselftests, these aren't really regressions; we've simply not spent the time to sit down and get them all building.
That said, we should.
Since this isn't a recent regression, would you mind instead of emailing the list instead file an individual issue at our issue tracker per diagnostic identified?
https://github.com/ClangBuiltLinux/linux/issues
We are very active in tracking the progress on issues there. I would love for you and the LKFT team to participate with us there.
https://github.com/ClangBuiltLinux/linux/issues/1698 is the meta issue tracking the kselftest targets.
When we have a target building that regresses, then we should notify the list, but until then I think it may be less noisy to get issues on file.
> > Links: > - https://storage.tuxsuite.com/public/linaro/lkft/builds/2UHhSg0TPLhjp9Uq9EFceoQd0VL/ > > 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
Any chance you can extract the invocation of `make` from the above for the bug reports? I'm guessing
`make LLVM=1 debugkernel cpupower headers kernel kselftest`? (LLVM_IAS=1 should be obsolete on mainline)
> > > -- > Linaro LKFT > https://lkft.linaro.org
-- Thanks, ~Nick Desaulniers
| |