when installing NetBSD 10 from a USB stick using coreboot/seabios, the installer would not properly extract the components, and i believe each time the extraction failed, different libraries segfaulted, it also happened on a existing system if you tried to use gzip to decompress something, it would segfault, and it happened very frequently when running coreboot, but when i flashed the stock bios, all the problems were gone. Now on NetBSD 11, this doesn't happen very often, and i am able to install a working system on a hard drive, but it is still a thing, for some reasons programs act very weridly when i am running coreboot, firefox loves crashing out of the blue, i cannot compile the kernel sources because gcc segfaults for unknown reasons, and i had pkgin segfault once, all of this disappears when using the ami bios
Note: Open, FreeBSD and Linux work fine with no problems whatsoever
here's a snippet of 3 gcc segfaults
--- i915_gem_object_blt.o ---
# compile TWILIGHT/i915_gem_object_blt.o
gcc -fwrapv -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -mno-avx
-msoft-float -mindirect-branch=thunk -mindirect-branch-register -ffreestanding
-fno-zero-initialized-in-bss -fno-delete-null-pointer-checks -g -O2
-fno-omit-frame-pointer -fstack-protector -Wstack-protector --param
ssp-buffer-size=1 -fstack-usage -Wstack-usage=3584 -fno-strict-aliasing
-fno-common -fwrapv -std=gnu11 -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
-Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wno-type-limits
-Wextra -Wno-unused-parameter -Wold-style-definition -Wno-sign-compare
-Wno-address-of-packed-member -Walloca -Wno-missing-field-initializers
-Wno-pointer-arith -Wno-shadow -Damd64 -Dx86_64 -I.
-I../../../../external/mit/xen-include-public/dist/
-I../../../../external/bsd/libnv/dist -I../../../../external/bsd/acpica/dist
-I../../../../../common/lib/libx86emu -I../../../../../common/lib/libc/misc
-I../../../../../common/include -I../../../../arch -I../../../.. -nostdinc
-DCOMPAT_UTILS -D__XEN_INTERFACE_VERSION__=0x3020a -DCOMPAT_44
-DDRM_MAX_RESOLUTION_HORIZONTAL=1440 -DDRM_MAX_RESOLUTION_VERTICAL=900
-DRND_COM -DPREEMPT=1 -D_KERNEL -D_KERNEL_OPT -std=gnu11
-I../../../../lib/libkern/../../../common/lib/libc/quad
-I../../../../lib/libkern/../../../common/lib/libc/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/x86_64/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/x86_64/atomic
-I../../../../lib/libkern/../../../common/lib/libc/hash/sha3
-I../../../../external/bsd/drm2/include
-I../../../../external/bsd/drm2/include/drm
-I../../../../external/bsd/common/include
-I../../../../external/bsd/drm2/dist/include
-I../../../../external/bsd/drm2/dist/include/drm
-I../../../../external/bsd/drm2/dist/include/uapi -D__KERNEL__ -DCONFIG_X86
-DCONFIG_X86_64 -DCONFIG_X86_PAT -DCONFIG_BACKLIGHT_CLASS_DEVICE=0
-DCONFIG_BACKLIGHT_CLASS_DEVICE_MODULE=0 -DCONFIG_DRM_FBDEV_EMULATION=1
-DCONFIG_DRM_FBDEV_OVERALLOC=100 -DCONFIG_FB=0 -DCONFIG_LOCKDEP=0
-DCONFIG_PCI=1 -DCONFIG_DRM_LEGACY -I../../../../external/bsd/drm2/i915drm
-I../../../../external/bsd/drm2/dist/drm/i915 -DCONFIG_DRM_FBDEV_EMULATION=1
-DCONFIG_DRM_I915_DEBUG=1 -DCONFIG_DRM_I915_DEBUG_GEM=1
-DCONFIG_DRM_I915_DEBUG_RUNTIME_PM=0 -DCONFIG_DRM_I915_PREEMPT_TIMEOUT=640
-DCONFIG_DRM_I915_TIMESLICE_DURATION=1 -DCONFIG_DRM_I915_ALPHA_SUPPORT=0
-DCONFIG_DRM_I915_FBDEV=1 -DCONFIG_DRM_I915_GVT=0
-DCONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=0 -DCONFIG_DRM_I915_DEBUG_MMIO=1
-DCONFIG_DRM_I915_FORCE_PROBE=0 -DCONFIG_DRM_I915_SPIN_REQUEST=0
-DCONFIG_DRM_I915_SW_FENCE_CHECK_DAG=1
-DCONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500 -DCONFIG_DRM_I915_STOP_TIMEOUT=100
-DCONFIG_DRM_I915_PREEMPT_TIMEOUT=640 -DCONFIG_DRM_I915_CAPTURE_ERROR=0
-DCONFIG_DRM_I915_SELFTEST=0 -DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=0
-DCONFIG_PM=1 -DCONFIG_INTEL_MEI_HDCP=0 -D_FORTIFY_SOURCE=2
-I../../../../../common/include -I../../../../external/bsd/acpica/dist/include
-I../../../../external/bsd/libnv/dist -c
../../../../external/bsd/drm2/dist/drm/i915/gem/i915_gem_object_blt.c -o
i915_gem_object_blt.o
--- i915_gem_object.o ---
/tmp//cctYdnJF.s: Assembler messages:
/tmp//cctYdnJF.s: Internal error (Segmentation fault).
Please report this bug.
gcc: internal compiler error: Segmentation fault signal terminated program as
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
*** [i915_gem_object.o] Error code 4
make: stopped making "all" in /usr/src/sys/arch/amd64/compile/TWILIGHT
--- i915_gem_object_blt.o ---
ctfconvert -g -L VERSION -g i915_gem_object_blt.o
make: 1 error
make: stopped making "all" in /usr/src/sys/arch/amd64/compile/TWILIGHT
115.01 real 159.78 user 23.81 sys
# compile TWILIGHT/if_gif.o
gcc -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -mno-avx -msoft-float -mindirect-branch=thunk -mindirect-branch-register -ffreestang -fno-zero-initialized-in-bss
-fno-delete-null-pointer-checks -g -O2 -fno-omit-frame-pointer -fstack-protector -Wstack-protector --pm ssp-buffer-size=1 -fstack-usage -Wstack-usage=3584 -fno-strict-aliasing
-fno-common -std=gnu11 -Werror -Wall -Wno-main -Wno-format-z-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings o-unreachable-code -Wno-pointer-sign -Wno-attributes -Wno-type-limits -Wextra -Wno-unused-parameter -Wold-style-definition -Wno-sign-care
-Wno-address-of-packed-member -Walloca -Damd64 -Dx86_64 -I. -I../../../../external/mit/xen-include-public/dist/ -I../../../../extel/bsd/libnv/dist
-I../../../../external/bsd/acpica/dist -I../../../../../common/lib/libx86emu -I../../../../../common/lib/libc/misc -I../../../../common/include -I../../../../arch -I../../../..
-nostdinc -DCOMPAT_UTILS -D__XEN_INTERFACE_VERSION__=0x3020a -DCOMPAT_44 -M_MAX_RESOLUTION_HORIZONTAL=1440 -DDRM_MAX_RESOLUTION_VERTICAL=900 -DRND_COM -DPREEMPT=1 -D_KERNEL
-D_KERNEL_OPT -std=gnu11 -I../../../lib/libkern/../../../common/lib/libc/quad -I../../../../lib/libkern/../../../common/lib/libc/string
-I../../../../lib/libkern/../../.ommon/lib/libc/arch/x86_64/string -I../../../../lib/libkern/../../../common/lib/libc/arch/x86_64/atomic
-I../../../../lib/libkern/../../common/lib/libc/hash/sha3 -D_FORTIFY_SOURCE=2 -I../../../../../common/include -I../../../../external/bsd/acpica/dist/include
-I../../../external/bsd/libnv/dist -c ../../../../net/if_gif.c -o if_gif.o
--- if_ethersubr.o ---
during GIMPLE pass: local-fnsummary
../../../../net/if_ethersubr.c: In function ‘isxdigit’:
../../../../net/if_ethersubr.c:2023:1: internal compiler error: Segmentation fault
2023 | }
| ^
no stack trace because unwind library not available
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
*** [if_ethersubr.o] Error code 1
make: stopped making "all" in /usr/src/sys/arch/amd64/compile/TWILIGHT
--- if_gif.o ---
ctfconvert -g -L VERSION -g if_gif.o
make: 1 error
make: stopped making "all" in /usr/src/sys/arch/amd64/compile/TWILIGHT
--- intel_pch.o ---
# compile TWILIGHT/intel_pch.o
gcc -fwrapv -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -mno-avx -msoft-float -mindirect-branch=thunk
-mindirect-branch-register -ffreestanding -fno-zero-initialized-in-bss -fno-delete-null-pointer-checks -g -O2
-fno-omit-frame-pointer -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -fstack-usage -Wstack-usage=3584
-fno-strict-aliasing -fno-common -fwrapv -std=gnu11 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wno-type-limits -Wextra -Wno-unused-parameter -Wold-style-definition
-Wno-sign-compare -Wno-address-of-packed-member -Walloca -Wno-missing-field-initializers -Wno-pointer-arith -Wno-shadow -Damd64
-Dx86_64 -I. -I../../../../external/mit/xen-include-public/dist/ -I../../../../external/bsd/libnv/dist
-I../../../../external/bsd/acpica/dist -I../../../../../common/lib/libx86emu -I../../../../../common/lib/libc/misc
-I../../../../../common/include -I../../../../arch -I../../../.. -nostdinc -DCOMPAT_UTILS -D__XEN_INTERFACE_VERSION__=0x3020a
-DCOMPAT_44 -DDRM_MAX_RESOLUTION_HORIZONTAL=1440 -DDRM_MAX_RESOLUTION_VERTICAL=900 -DRND_COM -DPREEMPT=1 -D_KERNEL -D_KERNEL_OPT
-std=gnu11 -I../../../../lib/libkern/../../../common/lib/libc/quad -I../../../../lib/libkern/../../../common/lib/libc/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/x86_64/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/x86_64/atomic
-I../../../../lib/libkern/../../../common/lib/libc/hash/sha3 -I../../../../external/bsd/drm2/include
-I../../../../external/bsd/drm2/include/drm -I../../../../external/bsd/common/include
-I../../../../external/bsd/drm2/dist/include -I../../../../external/bsd/drm2/dist/include/drm
-I../../../../external/bsd/drm2/dist/include/uapi -D__KERNEL__ -DCONFIG_X86 -DCONFIG_X86_64 -DCONFIG_X86_PAT
-DCONFIG_BACKLIGHT_CLASS_DEVICE=0 -DCONFIG_BACKLIGHT_CLASS_DEVICE_MODULE=0 -DCONFIG_DRM_FBDEV_EMULATION=1
-DCONFIG_DRM_FBDEV_OVERALLOC=100 -DCONFIG_FB=0 -DCONFIG_LOCKDEP=0 -DCONFIG_PCI=1 -DCONFIG_DRM_LEGACY
-I../../../../external/bsd/drm2/i915drm -I../../../../external/bsd/drm2/dist/drm/i915 -DCONFIG_DRM_FBDEV_EMULATION=1
-DCONFIG_DRM_I915_DEBUG=1 -DCONFIG_DRM_I915_DEBUG_GEM=1 -DCONFIG_DRM_I915_DEBUG_RUNTIME_PM=0
-DCONFIG_DRM_I915_PREEMPT_TIMEOUT=640 -DCONFIG_DRM_I915_TIMESLICE_DURATION=1 -DCONFIG_DRM_I915_ALPHA_SUPPORT=0
-DCONFIG_DRM_I915_FBDEV=1 -DCONFIG_DRM_I915_GVT=0 -DCONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=0 -DCONFIG_DRM_I915_DEBUG_MMIO=1
-DCONFIG_DRM_I915_FORCE_PROBE=0 -DCONFIG_DRM_I915_SPIN_REQUEST=0 -DCONFIG_DRM_I915_SW_FENCE_CHECK_DAG=1
-DCONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500 -DCONFIG_DRM_I915_STOP_TIMEOUT=100 -DCONFIG_DRM_I915_PREEMPT_TIMEOUT=640
-DCONFIG_DRM_I915_CAPTURE_ERROR=0 -DCONFIG_DRM_I915_SELFTEST=0 -DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=0 -DCONFIG_PM=1
-DCONFIG_INTEL_MEI_HDCP=0 -D_FORTIFY_SOURCE=2 -I../../../../../common/include -I../../../../external/bsd/acpica/dist/include
-I../../../../external/bsd/libnv/dist -c ../../../../external/bsd/drm2/dist/drm/i915/intel_pch.c -o intel_pch.o
--- intel_panel.o ---
/tmp//ccMusrvx.s: Assembler messages:
/tmp//ccMusrvx.s:40325: Internal error (Segmentation fault).
Please report this bug