[llvm] 7e43715 - [JITLINK] Disable ELF_ppc64_relocations.s on SystemZ host (#168939)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 12:50:20 PST 2025


Author: anoopkg6
Date: 2025-11-20T21:50:16+01:00
New Revision: 7e43715477b2b8cc05c532c216c003ef9c4d57c1

URL: https://github.com/llvm/llvm-project/commit/7e43715477b2b8cc05c532c216c003ef9c4d57c1
DIFF: https://github.com/llvm/llvm-project/commit/7e43715477b2b8cc05c532c216c003ef9c4d57c1.diff

LOG: [JITLINK] Disable ELF_ppc64_relocations.s on SystemZ host (#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.

Co-authored-by: anoopkg6 <anoopkg6 at github.com>

Added: 
    

Modified: 
    llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s

Removed: 
    


################################################################################
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