CTSRD-CHERI / cheribsd-ports

FreeBSD ports tree adapted for CheriBSD.
https://CheriBSD.org
Other
5 stars 11 forks source link

Switch to new Morello ABI #94

Closed dpgao closed 12 months ago

dpgao commented 1 year ago

Enable -morello-bounded-memargs=caller-only for all new purecap builds. See also CTSRD-CHERI/cheribsd#1695.

kwitaszczyk commented 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.

brooksdavis commented 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.

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.

kwitaszczyk commented 12 months ago

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?

kwitaszczyk commented 12 months ago

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.