Closed dpgao closed 12 months ago
Note to self: we should update llvm-base for CheriBSD 22.12 with this change as well to allow people upgrade to the next release.
Note to self: we should update llvm-base for CheriBSD 22.12 with this change as well to allow people upgrade to the next release.
This shouldn't be necessary for buildworld based updates as share/mk changes will cause CheriBSD to be built with the new ABI when we throw the switch. The trick is going to be coordinating all the parts so that people can follow up with a pkg upgrade and get a compatible compiler from the new pkg set.
This shouldn't be necessary for buildworld based updates as share/mk changes will cause CheriBSD to be built with the new ABI when we throw the switch.
Ah, right. I forgot about that. Thanks!
The trick is going to be coordinating all the parts so that people can follow up with a pkg upgrade and get a compatible compiler from the new pkg set.
We've already released for 22.12 llvm-morello that supports flags used in this PR. Is there anything else that we'll have to do here?
I'm merging this change now as it's compatible with 22.12 and we don't have to wait for the next CheriBSD release to merge it.
Enable
-morello-bounded-memargs=caller-only
for all new purecap builds. See also CTSRD-CHERI/cheribsd#1695.