Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: netbsd-11 kernel build failure
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 <hauke%Espresso.Rhein-Neckar.DE@localhost>
Linnéweg 7
64342 Seeheim-Jugenheim
Germany
Home |
Main Index |
Thread Index |
Old Index