[llvm] [JITLINK] Disable ELF_ppc64_relocations.s on SystemZ host (PR #168939)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 20 11:56:48 PST 2025
https://github.com/anoopkg6 created https://github.com/llvm/llvm-project/pull/168939
Mark ELF_ppc64_relocations.s as unsupported on SystemZ because of cross build issue related to using dlsym for host symbols.
Test fails to resolve __tls_get_aadr on SystemZ host.
>From ef8297ec23d74b5097de86f7b967b2fba48ac690 Mon Sep 17 00:00:00 2001
From: anoopkg6 <anoopkg6 at github.com>
Date: Thu, 20 Nov 2025 20:42:42 +0100
Subject: [PATCH] Disable the test on SystemZ because of cross build issue
related to using dlsym for host symbols, __tls_get_addr to be more specific
in this test
---
.../ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s b/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s
index 8f28a8662cbd6..76a07389458f6 100644
--- a/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s
+++ b/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s
@@ -25,6 +25,10 @@
# RUN: --abs pcrel_external_tls=0x36668880 \
# RUN: --check %s %t/elf_reloc.o
+# There seems to be issue with cross-build using dlsym for *host* symbols.
+# Disabling for SystemZ - reloc_tlsgd_pcrel34 fails to resolve __tls_get_addr.
+# UNSUPPORTED: target=s390{{.*}}
+
# jitlink-check: section_addr(elf_reloc.o, $__GOT) + 0x8000 = __TOC__
.text
.abiversion 2
More information about the llvm-commits
mailing list