[libcxx-commits] [libcxx] [libc++][AIX] Add `__hash_memory` to `.abilist` (PR #184064)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Sun Mar 1 21:46:25 PST 2026


https://github.com/H-G-Hristov created https://github.com/llvm/llvm-project/pull/184064

Fixes failure on AIX 64:

  # | ld: 0711-317 ERROR: Undefined symbol: ._ZNSt3__113__hash_memoryEPKvm   
  # | ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.   
  # | clang++: error: linker command failed with exit code 8 (use -v to see invocation)

>From a69cbbf2f0f09e48967300e8a5851bd5b193d78d Mon Sep 17 00:00:00 2001
From: Hristo Hristov <hghristov.rmm at gmail.com>
Date: Mon, 2 Mar 2026 07:45:48 +0200
Subject: [PATCH] [libc++][AIX] Add `__hash_memory` to `.abilist`

Fixes failure on AIX 64:

  # | ld: 0711-317 ERROR: Undefined symbol: ._ZNSt3__113__hash_memoryEPKvm
  # | ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
  # | clang++: error: linker command failed with exit code 8 (use -v to see invocation)
---
 ...owerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist b/libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
index 8daf957e6e55f..2cec2a711630c 100644
--- a/libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
+++ b/libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
@@ -1423,6 +1423,7 @@
 {'import_export': 'wEXP', 'is_defined': True, 'name': '_ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev', 'storage_mapping_class': 'DS', 'type': 'FUNC'}
 {'import_export': 'wEXP', 'is_defined': True, 'name': '_ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_', 'storage_mapping_class': 'DS', 'type': 'FUNC'}
 {'import_export': 'wEXP', 'is_defined': True, 'name': '_ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSEw', 'storage_mapping_class': 'DS', 'type': 'FUNC'}
+{'import_export': 'wEXP', 'is_defined': True, 'name': '_ZNSt3__113__hash_memoryEPKvm', 'storage_mapping_class': 'DS', 'type': 'FUNC'}
 {'import_export': 'wEXP', 'is_defined': True, 'name': '_ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE11__read_modeEv', 'storage_mapping_class': 'DS', 'type': 'FUNC'}
 {'import_export': 'wEXP', 'is_defined': True, 'name': '_ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE12__write_modeEv', 'storage_mapping_class': 'DS', 'type': 'FUNC'}
 {'import_export': 'wEXP', 'is_defined': True, 'name': '_ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4openEPKcj', 'storage_mapping_class': 'DS', 'type': 'FUNC'}



More information about the libcxx-commits mailing list