Skip to content

Use __cxa_thread_atexit_impl shim on illumos.#94

Merged
rschu1ze merged 1 commit into
ClickHouse:ClickHouse/release-22.xfrom
jmcarp:jmcarp/illumos-cxa-thread-atexit
May 12, 2026
Merged

Use __cxa_thread_atexit_impl shim on illumos.#94
rschu1ze merged 1 commit into
ClickHouse:ClickHouse/release-22.xfrom
jmcarp:jmcarp/illumos-cxa-thread-atexit

Conversation

@jmcarp
Copy link
Copy Markdown

@jmcarp jmcarp commented May 12, 2026

libcxxabi offers a shim around __cxa_thread_atexit_impl for platforms that don't provide it. Since illumos doesn't provide this feature, include __sun in the guard so that the libcxxabi shim is available.

libcxxabi offers a shim around __cxa_thread_atexit_impl for platforms that
don't provide it. Since illumos doesn't provide this feature, include __sun in
the guard so that the libcxxabi shim is available.
@rschu1ze
Copy link
Copy Markdown
Member

Please also upstream the code.

@jmcarp
Copy link
Copy Markdown
Author

jmcarp commented May 12, 2026

Submitted upstream at llvm#197253.

@rschu1ze rschu1ze merged commit b78a370 into ClickHouse:ClickHouse/release-22.x May 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants