linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* s390 depending on cc-options makes it difficult to configure
@ 2019-12-09 16:41 Jeremy Cline
  2019-12-10  9:01 ` Michal Kubecek
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Cline @ 2019-12-09 16:41 UTC (permalink / raw)
  To: Heiko Carstens, Vasily Gorbik; +Cc: linux-s390, linux-kernel

Hi folks,

Commit 5474080a3a0a ("s390/Kconfig: make use of 'depends on cc-option'")
makes it difficult to produce an s390 configuration for Fedora and Red
Hat kernels.

The issue is I have the following configurations:

CONFIG_MARCH_Z13=y
CONFIG_TUNE_Z14=y
# CONFIG_TUNE_DEFAULT is not set

When the configuration is prepared on a non-s390x host without a
compiler with -march=z* it changes CONFIG_TUNE_DEFAULT to y which, as
far as I can tell, leads to a kernel tuned for z13 instead of z14.
Fedora and Red Hat build processes produce complete configurations from
snippets on any available host in the build infrastructure which very
frequently is *not* s390.

I did a quick search and couldn't find any other examples of Kconfigs
depending on march or mtune compiler flags and it seems like it'd
generally problematic for people preparing configurations.

Regards,
Jeremy


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-02-18  9:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09 16:41 s390 depending on cc-options makes it difficult to configure Jeremy Cline
2019-12-10  9:01 ` Michal Kubecek
2019-12-11 17:18   ` Jeremy Cline
2020-02-10 18:49     ` Philipp Rudo
2020-02-14  3:31       ` Masahiro Yamada
2020-02-14 20:35         ` Jeremy Cline
2020-02-16  4:08           ` Masahiro Yamada
2020-02-16 18:57             ` Jeremy Cline
2020-02-18  9:37               ` Philipp Rudo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).