Page MenuHomeFreeBSD

arm64: Disable outling atomics
ClosedPublic

Authored by andrew on May 22 2024, 2:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 24, 5:13 PM
Unknown Object (File)
Thu, Jan 23, 6:39 PM
Unknown Object (File)
Fri, Jan 17, 11:27 PM
Unknown Object (File)
Dec 26 2024, 7:20 PM
Unknown Object (File)
Dec 26 2024, 7:09 PM
Unknown Object (File)
Dec 26 2024, 5:44 AM
Unknown Object (File)
Dec 25 2024, 8:24 AM
Unknown Object (File)
Dec 2 2024, 12:57 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 57845
Build 54733: arc lint + arc unit

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.