Skip to content

[OpenMP] Fix __kmp_unnamed_critical_addr .type setting #138815

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

Merged
merged 1 commit into from
May 7, 2025

Conversation

rorth
Copy link
Collaborator

@rorth rorth commented May 7, 2025

PR #138517 broke the Android LLVM builders: ARM doesn't understand the @object form. As it turns out, one can use %object instead, which does assemble on all targets currently supported by z_Linux_asm.S.

Tested by rebuilding libomp.so on sparcv9-sun-solaris2.11.

PR llvm#138517 broke the Android LLVM builders: ARM doesn't understand the
`@object` form.  As it turns out, one can use `%object` instead, which does
assemble on all targets currently supported by `z_Linux_asm.S`.

Tested by rebuilding `libomp.so` on `sparcv9-sun-solaris2.11`.
@rorth rorth requested review from MaskRay, brad0 and Sharjeel-Khan May 7, 2025 07:46
@llvmbot llvmbot added the openmp:libomp OpenMP host runtime label May 7, 2025
Copy link
Contributor

@Sharjeel-Khan Sharjeel-Khan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked this change locally and it fixed the issue.

@rorth rorth merged commit 39beeb8 into llvm:main May 7, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openmp:libomp OpenMP host runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants