Re: [PATCH v2 3/4] Makefile: lld: tell clang to use lld

2019-04-01 Thread Masahiro Yamada
Hi Nick, On Tue, Apr 2, 2019 at 12:54 PM Nick Desaulniers wrote: > > On Sat, Feb 16, 2019 at 10:09 AM Masahiro Yamada > wrote: > > > > On Thu, Feb 14, 2019 at 8:08 AM Nick Desaulniers > > wrote: > > > > > > On Wed, Feb 13, 2019 at 6:59 AM Masahiro Yamada > > > wrote: > > > > > > > > On Tue, F

Re: [PATCH v2 3/4] Makefile: lld: tell clang to use lld

2019-04-01 Thread Nick Desaulniers
On Sat, Feb 16, 2019 at 10:09 AM Masahiro Yamada wrote: > > On Thu, Feb 14, 2019 at 8:08 AM Nick Desaulniers > wrote: > > > > On Wed, Feb 13, 2019 at 6:59 AM Masahiro Yamada > > wrote: > > > > > > On Tue, Feb 12, 2019 at 5:42 AM wrote: > > > > > > > > This is needed because clang doesn't select

Re: [PATCH v2 3/4] Makefile: lld: tell clang to use lld

2019-02-15 Thread Masahiro Yamada
On Thu, Feb 14, 2019 at 8:08 AM Nick Desaulniers wrote: > > On Wed, Feb 13, 2019 at 6:59 AM Masahiro Yamada > wrote: > > > > On Tue, Feb 12, 2019 at 5:42 AM wrote: > > > > > > This is needed because clang doesn't select which linker to use based on > > > $LD but rather -fuse-ld=lld. This is prob

Re: [PATCH v2 3/4] Makefile: lld: tell clang to use lld

2019-02-13 Thread Nick Desaulniers
On Wed, Feb 13, 2019 at 6:59 AM Masahiro Yamada wrote: > > On Tue, Feb 12, 2019 at 5:42 AM wrote: > > > > This is needed because clang doesn't select which linker to use based on > > $LD but rather -fuse-ld=lld. This is problematic especially for > > cc-ldoption, which checks for linker flag supp

Re: [PATCH v2 3/4] Makefile: lld: tell clang to use lld

2019-02-13 Thread Masahiro Yamada
On Tue, Feb 12, 2019 at 5:42 AM wrote: > > This is needed because clang doesn't select which linker to use based on > $LD but rather -fuse-ld=lld. This is problematic especially for > cc-ldoption, which checks for linker flag support via invoking the > compiler, rather than the linker. Sorry, pl

[PATCH v2 3/4] Makefile: lld: tell clang to use lld

2019-02-11 Thread ndesaulniers
This is needed because clang doesn't select which linker to use based on $LD but rather -fuse-ld=lld. This is problematic especially for cc-ldoption, which checks for linker flag support via invoking the compiler, rather than the linker. Link: https://github.com/ClangBuiltLinux/linux/issues/342 Su