Skip to content

LLVM 21.1.7 Undefined symbols for architecture arm64: "std::__1::__hash_memory(void const*, unsigned long)" for macOS #170970

@Widowmaker2025

Description

@Widowmaker2025

LLVM 21.1.7 was just released, and its "assets" But it was done incorrectly (without -DLIBCXX_ENABLE_VENDOR_AVAILABILITY_ANNOTATIONS=ON).
So doing builds with it triggers this bug's error.

Undefined symbols for architecture arm64:
"std::__1::__hash_memory(void const*, unsigned long)", referenced from:
std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_valu

ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [src/CMakeFiles/workflow-shared.dir/build.make:200: s/workflow/_lib/libworkflow.0.11.11.dylib] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:373: src/CMakeFiles/workflow-shared.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

     .OMMMMo            OS: macOS Tahoe 26.1 (25B78) arm64
           lMM"               Host: Mac Mini (2024)
 .;loddo:.  .olloddol;.       Kernel: Darwin 25.1.0

cKMMMMMMMMMMNWMMMMMMMMMM0: Uptime: 15 hours, 29 mins
.KMMMMMMMMMMMMMMMMMMMMMMMWd. Packages: 259 (brew), 26 (brew-cask)
XMMMMMMMMMMMMMMMMMMMMMMMX. Shell: zsh 5.9
;MMMMMMMMMMMMMMMMMMMMMMMM: Display (Kuycon G27P): 5120x2880 @ 2x in 27", 60 Hz [External]
:MMMMMMMMMMMMMMMMMMMMMMMM: WM: Quartz Compositor 341.1.4
.MMMMMMMMMMMMMMMMMMMMMMMMX. WM Theme: Multicolor (Light)
kMMMMMMMMMMMMMMMMMMMMMMMMWd. Theme: Liquid Glass
'XMMMMMMMMMMMMMMMMMMMMMMMMMMk Font: .AppleSystemUIFont [System], Helvetica [User]
'XMMMMMMMMMMMMMMMMMMMMMMMMK. Cursor: Fill - Black, Outline - White (32px)
kMMMMMMMMMMMMMMMMMMMMMMd Terminal: clion
;KMMMMMMMWXXWMMMMMMMk. CPU: Apple M4 (10) @ 4.46 GHz
"cooc*" "*coo'" GPU: Apple M4 (10) @ 1.58 GHz [Integrated]
Memory: 11.19 GiB / 16.00 GiB (70%)
Swap: 640.00 KiB / 1.00 GiB (0%)
Disk (/): 356.93 GiB / 460.40 GiB (78%) - apfs [Read-only]

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.packagingplatform:macos

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions