Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH 0/2] selftests/nolibc: fix loongarch build with recent versions of clang
@ 2025-11-22 11:01 Thomas Weißschuh
  2025-11-22 11:01 ` [PATCH 1/2] selftests/nolibc: use lld to link loongarch binaries Thomas Weißschuh
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Weißschuh @ 2025-11-22 11:01 UTC (permalink / raw)
  To: Willy Tarreau, Shuah Khan
  Cc: linux-kselftest, linux-kernel, Thomas Weißschuh

LLVM 21 switched to -mcmodel=medium for LoongArch64 compilations.
This code model uses R_LARCH_ECALL36 relocations which might not be
supported by GNU ld which the nolibc testsuite uses by default.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (2):
      selftests/nolibc: use lld to link loongarch binaries
      selftests/nolibc: error out on linker warnings

 tools/testing/selftests/nolibc/Makefile.nolibc | 1 +
 tools/testing/selftests/nolibc/run-tests.sh    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
base-commit: 6059e06967aaac9bf736c6cec75b9bccaf5bbe18
change-id: 20251121-nolibc-lld-f32af4983cc0

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>


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

end of thread, other threads:[~2025-11-22 11:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-22 11:01 [PATCH 0/2] selftests/nolibc: fix loongarch build with recent versions of clang Thomas Weißschuh
2025-11-22 11:01 ` [PATCH 1/2] selftests/nolibc: use lld to link loongarch binaries Thomas Weißschuh
2025-11-22 11:01 ` [PATCH 2/2] selftests/nolibc: error out on linker warnings Thomas Weißschuh
2025-11-22 11:14 ` [PATCH 0/2] selftests/nolibc: fix loongarch build with recent versions of clang Willy Tarreau

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