On 15.02.2024 17:38, Oleksii wrote: > On Tue, 2024-02-13 at 14:33 +0100, Jan Beulich wrote: >> On 05.02.2024 16:32, Oleksii Kurochko wrote: >>> + depends on LLD_VERSION >= 150000 || LD_VERSION >= 23600 >> >> What's the linker dependency here? Depending on the answer I might >> further >> ask why "TOOLCHAIN" when elsewhere we use CC_HAS_ or HAS_CC_ or >> HAS_AS_. > I missed to introduce {L}LLD_VERSION config. It should output from the > command: > riscv64-linux-gnu-ld --version
Doesn't answer my question though where the linker version matters here. >> That said, you may or may not be aware that personally I'm against >> encoding such in Kconfig, and my repeated attempts to get the >> respective >> discussion unstuck have not led anywhere. Therefore if you keep this, >> I'll >> be in trouble whether to actually ack the change as a whole. > Could I ask what is wrong with introduction of such things on KConfig? Just one of several possible pointers: https://lists.xen.org/archives/html/xen-devel/2022-09/msg01793.html > Would it be better to put everything in riscv/arch.mk? Or a mix of both, as per the proposal. Just to be clear, if I say "yes" to your question, someone else may come along and tell you to turn around again. Jan