Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 4 Dec 2020 14:52:41 -0800
From: Sami Tolvanen <>
To: Nick Desaulniers <>
Cc: Will Deacon <>, Masahiro Yamada <>, 
	Nathan Chancellor <>, Steven Rostedt <>, 
	Josh Poimboeuf <>, Peter Zijlstra <>, 
	Greg Kroah-Hartman <>, "Paul E. McKenney" <>, 
	Kees Cook <>, 
	clang-built-linux <>, 
	Kernel Hardening <>, 
	linux-arch <>, 
	linux-arm-kernel <>, 
	linux-kbuild <>, LKML <>, 
	PCI <>, Jian Cai <>, 
	Kristof Beyls <>
Subject: Re: [PATCH v8 00/16] Add support for Clang LTO

On Thu, Dec 3, 2020 at 2:32 PM Nick Desaulniers <> wrote:
> So I'd recommend to Sami to simply make the Kconfig also depend on
> clang's integrated assembler (not just llvm-nm and llvm-ar).

Sure, sounds good to me. What's the preferred way to test for this in Kconfig?

It looks like actually trying to test if we have an LLVM assembler
(e.g. using $(as-instr,.section
".linker-options","e",@llvm_linker_options)) doesn't work as Kconfig
doesn't pass -no-integrated-as to clang here. I could do something
simple like $(success,echo $(LLVM) $(LLVM_IAS) | grep -q "1 1").



Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.