Adjust FreeBSD kernel backward compatibility list
Details
- Reviewers
imp jhibbits pkubaj - Group Reviewers
PowerPC - Commits
- rGc3b6408ee82b: powerpc: FreeBSD kernel compatibility cleanup
Run "make buildkernel" for the affected targets
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 43608 Build 40496: arc lint + arc unit
Event Timeline
I'd be sorely tempted to commit the style changes separately.
Also, I thought that we broke powerpc bin-compat with ELFv2. if so, all these lists are way too long :)
This is about kernel, not userland. While you can't execute binaries built for older releases on newer systems, you can have a new kernel and e.g. old chroot or jail.
- style change commited with hash 8d1ab5ad8449e6f51f081e261ed6202a0483a595
- removed COMPAT_FREEBSD8 from config files, since it doesn't exist.
looking better! Thanks for splitting out the style changes.
Just a couple of bits of feedback for comments.
sys/powerpc/conf/GENERIC64LE | ||
---|---|---|
69 | I'd add a rust version here, as well as adding it to the other config files for which it's relevant | |
sys/powerpc/conf/MPC85XXSPE | ||
68 | Why don't the last two have the /powerpc binaries? |
sys/powerpc/conf/MPC85XXSPE | ||
---|---|---|
68 | MPC85XXSPE (powerpcspe) was introduced by FreeBSD 12 according to arch(7), so originally I'd remove compatibility with 10 and 11. Should I get rid of text "/powerpc binaries" on all lines and explain the reason as a full line comment before COMPAT_FREEBSD6 instead? |
sys/powerpc/conf/MPC85XXSPE | ||
---|---|---|
68 |
I think that would be better. |
Or maybe not, I can see some ARM configs also have this, along with comment [KEEP THIS!].