Re: [PATCH] kbuild: allow to use GCC toolchain not in Clang search path

2018-09-19 Thread Masahiro Yamada
2018-09-19 2:16 GMT+09:00 Nick Desaulniers : > On Mon, Sep 17, 2018 at 7:32 PM Stefan Agner wrote: >> >> When using a GCC cross toolchain which is not in a compiled in >> Clang search path, Clang reverts to the system assembler and >> linker. This leads to assembler or linker errors, depending on

Re: [PATCH] kbuild: allow to use GCC toolchain not in Clang search path

2018-09-18 Thread Nick Desaulniers
On Mon, Sep 17, 2018 at 7:32 PM Stefan Agner wrote: > > When using a GCC cross toolchain which is not in a compiled in > Clang search path, Clang reverts to the system assembler and > linker. This leads to assembler or linker errors, depending on > which tool is first used for a given architecture

Re: [PATCH] kbuild: allow to use GCC toolchain not in Clang search path

2018-09-18 Thread Masahiro Yamada
Hi Stefan, 2018-09-18 12:11 GMT+09:00 Stefan Agner : > On 17.09.2018 20:06, Masahiro Yamada wrote: >> Hi Stefan, >> >> 2018-09-18 11:31 GMT+09:00 Stefan Agner : >>> When using a GCC cross toolchain which is not in a compiled in >>> Clang search path, Clang reverts to the system assembler and >>> l

Re: [PATCH] kbuild: allow to use GCC toolchain not in Clang search path

2018-09-17 Thread Stefan Agner
On 17.09.2018 20:06, Masahiro Yamada wrote: > Hi Stefan, > > 2018-09-18 11:31 GMT+09:00 Stefan Agner : >> When using a GCC cross toolchain which is not in a compiled in >> Clang search path, Clang reverts to the system assembler and >> linker. This leads to assembler or linker errors, depending on

Re: [PATCH] kbuild: allow to use GCC toolchain not in Clang search path

2018-09-17 Thread Masahiro Yamada
Hi Stefan, 2018-09-18 11:31 GMT+09:00 Stefan Agner : > When using a GCC cross toolchain which is not in a compiled in > Clang search path, Clang reverts to the system assembler and > linker. This leads to assembler or linker errors, depending on > which tool is first used for a given architecture.

[PATCH] kbuild: allow to use GCC toolchain not in Clang search path

2018-09-17 Thread Stefan Agner
When using a GCC cross toolchain which is not in a compiled in Clang search path, Clang reverts to the system assembler and linker. This leads to assembler or linker errors, depending on which tool is first used for a given architecture. It seems that Clang is not searching $PATH for a matching as