Skip to content

Conversation

@llvmbot
Copy link
Member

@llvmbot llvmbot commented Aug 19, 2023

…libc/Android/FreeBSD

Generalize D127933 (Fuchsia special case) to other ELF targets. Ensure
that musl, NetBSD, OpenBSD, etc do not get ifunc codegen which is
unsupported in their rtld.

Link: https://discourse.llvm.org/t/does-ifunc-use-from-llvm-require-os-support/67628
Close: llvm/llvm-project#64631
(cherry picked from commit 0c3a02b)
@MaskRay
Copy link
Member

MaskRay commented Aug 19, 2023

LGTM. This helps some musl based Linux distributions for a few packages using target_clones.

@tru tru merged commit 9afe667 into release/17.x Aug 30, 2023
@tru tru deleted the llvm-issue64631 branch August 30, 2023 15:00
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.

[clang] __attribute__((target_clones)) is accepted even when not supported by the platform (linux-musl)

4 participants