Page MenuHomeFreeBSD

arm64: Disable outling atomics
ClosedPublic

Authored by andrew on May 22 2024, 2:35 PM.
Tags
None
Referenced Files
F124809310: D45301.diff
Thu, Jul 31, 12:39 AM
Unknown Object (File)
Mon, Jul 7, 5:54 AM
Unknown Object (File)
Sun, Jul 6, 10:10 PM
Unknown Object (File)
Sun, Jul 6, 7:04 PM
Unknown Object (File)
Sat, Jul 5, 9:56 PM
Unknown Object (File)
Sat, Jul 5, 8:29 AM
Unknown Object (File)
Fri, Jul 4, 1:04 PM
Unknown Object (File)
Jul 1 2025, 4:07 AM
Subscribers

Details

Summary

We don't have the symbols for this. The virtio randon number driver
uses a C11 atomic operation. With inline atomics this is translated to
an Armv8.0 atomic operation, with outling atomics this becomes a
function call to a handler. As we don't have the needed function the
kernel fails to link.

Fix by disabling outline atomics for now.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 3 2024, 6:16 PM

It would be nice to have an associated bug report to link in the comment.

This revision was automatically updated to reflect the committed changes.