Re: [PATCH 1/2] s390: only build for new CPUs with clang

2019-04-11 Thread Nick Desaulniers
On Thu, Apr 11, 2019 at 3:18 AM Arnd Bergmann wrote: > > On Thu, Apr 11, 2019 at 12:20 AM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > On Wed, Apr 10, 2019 at 1:13 PM Arnd Bergmann wrote: > > > > > > llvm does does not understand -march=z9-109 and older target > > > > Please file

Re: [PATCH 1/2] s390: only build for new CPUs with clang

2019-04-11 Thread Arnd Bergmann
On Thu, Apr 11, 2019 at 8:24 AM Heiko Carstens wrote: > > On Wed, Apr 10, 2019 at 10:12:40PM +0200, Arnd Bergmann wrote: > > llvm does does not understand -march=z9-109 and older target > > specifiers, so disable the respective Kconfig settings and > > the logic to make the boot code work on old

Re: [PATCH 1/2] s390: only build for new CPUs with clang

2019-04-11 Thread Arnd Bergmann
On Thu, Apr 11, 2019 at 12:20 AM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Wed, Apr 10, 2019 at 1:13 PM Arnd Bergmann wrote: > > > > llvm does does not understand -march=z9-109 and older target > > Please file bugs for these in LLVM's issue tracker. It might be > possible to enable

Re: [PATCH 1/2] s390: only build for new CPUs with clang

2019-04-11 Thread Heiko Carstens
On Wed, Apr 10, 2019 at 10:12:40PM +0200, Arnd Bergmann wrote: > llvm does does not understand -march=z9-109 and older target > specifiers, so disable the respective Kconfig settings and > the logic to make the boot code work on old systems when > building with clang. > > Signed-off-by: Arnd

Re: [PATCH 1/2] s390: only build for new CPUs with clang

2019-04-10 Thread Nick Desaulniers
On Wed, Apr 10, 2019 at 1:13 PM Arnd Bergmann wrote: > > llvm does does not understand -march=z9-109 and older target Please file bugs for these in LLVM's issue tracker. It might be possible to enable these additional architecture variants if they're similar to existing ones and simply

[PATCH 1/2] s390: only build for new CPUs with clang

2019-04-10 Thread Arnd Bergmann
llvm does does not understand -march=z9-109 and older target specifiers, so disable the respective Kconfig settings and the logic to make the boot code work on old systems when building with clang. Signed-off-by: Arnd Bergmann --- arch/s390/Kconfig | 6 ++ arch/s390/boot/Makefile | 2