Re: OpenBSD 7.9 amd64 release fails to compile without DDB - Kernel Compilation Bug - amas.c

Jonathan Gray <[email protected]> Mon, 8 Jun 2026 09:39:03 +1000
Newsgroups gmane.os.openbsd.bugs
Message-ID <[email protected]>
On Sun, Jun 07, 2026 at 03:11:46PM -0700, Gabriel wrote:
> Issue: Kernel does not compile if the in-kernel debugger (DDB) is disabled
> in a custom kernel.
> 
> Steps to recreate: Install the 7.9 sys release source code.
> Edit /usr/src/sys/conf/GENERIC and comment out the first option (DDB)
> Configure and compile as normal - will fail with an error when attempting to
> compile amas.c
> 
> Reason for the customer kernel:
> Do not want the kernel to launch a debugger on panilc - would like the
> system to automatically reboot

Kernel changes are not needed for that.

change /etc/sysctl.conf to have
ddb.panic=0

> 
> You guys are amazing. Been loving OpenBSD since I first tried it in 1997 as
> a kid. Thanks so much for keeping this amazing project going!
> 
> Sincerely,
> 
> Gabriel
> 
>