enable INVARIANT_SUPPORT in GENERIC in release builds
- Reply: Colin Percival : "Re: enable INVARIANT_SUPPORT in GENERIC in release builds"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Apr 2024 21:00:31 UTC
hello, currently release version of GENERIC (or GENERIC-NODEBUG in main) does not have INVARIANT_SUPPORT enabled. unfortunately, the presence or absense of this option breaks the KABI because, as i understand it, modules built with INVARIANTS won't load on a kernel without INVARIANT_SUPPORT. is there a reason INVARIANT_SUPPORT can't just be enabled by default? this would remove one roadblock to separating kernel modules from the kernel config in both pkgbase and ports, because there would be no need to build a KABI-incompatible kernel just to build a single module with INVARIANTS.