Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding __cxa_thread_atexit_impl #1934

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Adding __cxa_thread_atexit_impl #1934

merged 1 commit into from
Jun 21, 2024

Conversation

jpmedinagl
Copy link
Contributor

Attemping to add __cxa_thread_atexit_impl.

We ran into an issue using enzyme and we got this error message, we're not sure if the line-change will fix it.

error: <unknown>:0:0: in function preprocess__ZN3std3sys6common12thread_local10fast_local12Key$LT$T$GT$14try_initialize17h538e209caf245dc5E.llvm.5507895982844929938 ptr (ptr, ptr): Enzyme: cannot compute with global variable that doesn't have marked shadow global
@__cxa_thread_atexit_impl = extern_weak global i8

@wsmoses wsmoses merged commit be1d460 into EnzymeAD:main Jun 21, 2024
29 of 42 checks passed
@jpmedinagl
Copy link
Contributor Author

@wsmoses
It seems that this did not fix the issue. Do you have an idea of this issue or why it is happening?

@wsmoses
Copy link
Member

wsmoses commented Jun 21, 2024

Do you have a link to the full issue/reprodicer?

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