Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2024 22:00:31 +0100
From:      Lexi Winter <lexi@le-fay.org>
To:        arch@freebsd.org
Subject:   enable INVARIANT_SUPPORT in GENERIC in release builds
Message-ID:  <Zh7m7yKbNKafuU0J@ilythia.eden.le-fay.org>

next in thread | raw e-mail | index | archive | help

--mDX6N1oNLAuF4Sxz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

--mDX6N1oNLAuF4Sxz
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYe5u0ACgkQDHqbqZ41
x5ni1wwAjGacl71/dMw2s6WECcF7YjLcxfFd1Y4oea5Y7E47t4rJ0c5LSq4Z0O55
KJnYtDW7CplVZQuIqdNnaLaeIcM0d9hQ3lVq+lFi3efJdj5g+dgwvTIOp7ug/iE2
6KegBEWKk3ViiZMuQ1Qlvx9iLJRxKWRXn8IeB/PLIykcojtP7SZj3ukG8KFs1bR3
hfc2Wn1vLY2x+UOYTcNPXF9BtevV07KRWBM+LmuXQZMKgUW4WZLnmHEnpE8LvgTs
lomkUrVTbB6YuIwXP3s8qUTWa3cyMvK7cS53UCMN8A76vKUUbtpV6Nv3N0zZ3EQ9
/UedNaxVCxD++KR7sKZjTwyCrqBAmLFe7N3nLlV+wH1t+O7j6ohMz4WTok8Ry/VH
O87J8Mg46Gidb8W/kqy7m2UnFtBAZ1de0MKF5E5bWtYqdNJ+1wbC9qhal8whOCaX
8rfeVL8PgP/HIwWKLQSIXJGzL1mFHD5gBoUX2WyCWrztX2Xf+LcxC60qT4XaLFS/
d99je5Vg
=Ypb2
-----END PGP SIGNATURE-----

--mDX6N1oNLAuF4Sxz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Zh7m7yKbNKafuU0J>