re: netbsd-11 kernel build failure
Hauke Fath <[email protected]>
| Newsgroups | gmane.os.netbsd.current |
|---|---|
| Organization | Lacking |
| Message-ID | <[email protected]> |
On Fri, 09 Jan 2026 06:23:52 +1100, matthew green wrote: >>> It gets initialized, the compiler is just not smart enough to see it. >>> Initializing it to ((ACPI_HANDLE)0) to set an invalid value is ok. >> >> Why doesn't this happen on the official builds? > > using -O3 can do this. Hauke, are you using any other special > compiler flags by chance? I guess # Because gcc omits the frame pointer for any -O level, the line below # is needed to make backtraces in DDB work. makeoptions COPTS="-Os -fno-omit-frame-pointer" might be relevant... This is a minimal config for a small VPS. Builds fine on netbsd-10. Cheerio, Hauke -- Hauke Fath <[email protected]> Linnéweg 7 64342 Seeheim-Jugenheim Germany