mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tools/build: Fix s390(x) cross-compilation with clang
@ 2025-06-20 11:00 Thomas Weißschuh
  2025-06-20 11:00 ` [PATCH v2 1/2] " Thomas Weißschuh
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Thomas Weißschuh @ 2025-06-20 11:00 UTC (permalink / raw)
  To: Nathan Chancellor, Nick Desaulniers, Bill Wendling, Justin Stitt,
	Andrii Nakryiko, Quentin Monnet, Jean-Philippe Brucker,
	Willy Tarreau, Thomas Weißschuh
  Cc: linux-kernel, llvm, Thomas Weißschuh

The heuristic to derive a clang target triple from a GCC one does not work
for s390. GCC uses "s390-linux" while clang expects "s390x-linux" or
"powerz-linux".

There doesn't seem to be a formal maintainer for this file.
Maybe the clang/llvm maintainers can pick it up.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Changes in v2:
- Rebase onto mainline master
- Drop custom nolibc workaround
- Link to v1: https://lore.kernel.org/r/20250424-tools-cross-s390-v1-1-d3ec4b43df12@linutronix.de

---
Thomas Weißschuh (2):
      tools/build: Fix s390(x) cross-compilation with clang
      tools/nolibc: drop s390 clang target override

 tools/include/nolibc/Makefile  | 3 ---
 tools/scripts/Makefile.include | 4 +++-
 2 files changed, 3 insertions(+), 4 deletions(-)
---
base-commit: 75f5f23f8787c5e184fcb2fbcd02d8e9317dc5e7
change-id: 20250424-tools-cross-s390-73eaa2d42833

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh@linutronix.de>


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

end of thread, other threads:[~2025-07-04 11:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-20 11:00 [PATCH v2 0/2] tools/build: Fix s390(x) cross-compilation with clang Thomas Weißschuh
2025-06-20 11:00 ` [PATCH v2 1/2] " Thomas Weißschuh
2025-06-20 11:00 ` [PATCH v2 2/2] tools/nolibc: drop s390 clang target override Thomas Weißschuh
2025-07-02 21:41 ` [PATCH v2 0/2] tools/build: Fix s390(x) cross-compilation with clang Nathan Chancellor
2025-07-04 11:41   ` Thomas Weißschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®