Skip to content

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Sep 11, 2025

FreeBSD normally provides this symbol in libc, but it's in the FBSDprivate_1.0 namespace, so it doesn't get included in our abilists file. Fortunately, the implementation is identical for Linux and FreeBSD, so we can just provide it in compiler-rt.

It's interesting to note that the same is not true for NetBSD where the implementation is more complex to support older Arm versions. But we do include the symbol in our abilists file for NetBSD libc, so that's fine.

closes #25215

FreeBSD normally provides this symbol in libc, but it's in the
FBSDprivate_1.0 namespace, so it doesn't get included in our abilists file.
Fortunately, the implementation is identical for Linux and FreeBSD, so we can
just provide it in compiler-rt.

It's interesting to note that the same is not true for NetBSD where the
implementation is more complex to support older Arm versions. But we do include
the symbol in our abilists file for NetBSD libc, so that's fine.

closes ziglang#25215
@alexrp alexrp enabled auto-merge (rebase) September 11, 2025 16:48
@alexrp alexrp merged commit 4972c98 into ziglang:master Sep 11, 2025
14 checks passed
@alexrp alexrp deleted the freebsd-arm-read-tp branch September 12, 2025 00:36
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.

cannot build LLVM for arm-freebsd-eabihf
1 participant