Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2026 17:38:02 +0100
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernape@freebsd.org>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Error building kernel
Message-ID:  <CAGwOe2ZaUZtj-vignEGUZ8dLQfoFSzK9hNbMaKq93abEBAhDrA@mail.gmail.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi all,

I'm trying to update one of my systems to latest current. Buildworld is
fine, but building the kernel fails with this error.

Any ideas why?

--- all_subdir_sfxge ---
ctfconvert -L VERSION -g sfxge.o
--- sfxge.ko.full ---
ld -m elf_x86_64_fbsd -warn-common --build-id=sha1 -T
/usr/home/fernape/FreeBSD-repos/src/sys/conf/ldscript.kmod.amd64 -r  -o
sfxge.ko.full sfxge.o sfxge_dma.o sfxge_ev.o sfxge_intr.o sfxge_mcdi.o
sfxge_nvram.o sfxge_port.o sfxge_rx.o sfxge_tx.o efx_bootcfg.o efx_crc32.o
efx_ev.o efx_intr.o efx_lic.o efx_mac.o efx_mcdi.o efx_mon.o efx_nic.o
efx_nvram.o efx_phy.o efx_port.o efx_rx.o efx_sram.o efx_tunnel.o efx_tx.o
efx_vpd.o efx_filter.o efx_hash.o mcdi_mon.o siena_mac.o siena_mcdi.o
siena_nic.o siena_nvram.o siena_phy.o siena_sram.o siena_vpd.o ef10_ev.o
ef10_filter.o ef10_image.o ef10_intr.o ef10_mac.o ef10_mcdi.o ef10_nic.o
ef10_nvram.o ef10_phy.o ef10_rx.o ef10_tx.o ef10_vpd.o hunt_nic.o
medford_nic.o medford2_nic.o
ld: error: efx_rx.o: invalid sh_type for string table section [index 1]:
expected SHT_STRTAB, but got SHT_NULL
*** [sfxge.ko.full] Error code 1

make[4]: stopped making "all" in
/usr/home/fernape/FreeBSD-repos/src/sys/modules/sfxge
make[4]: 1 error

make[4]: stopped making "all" in
/usr/home/fernape/FreeBSD-repos/src/sys/modules/sfxge

make[3]: stopped making "all" in
/usr/home/fernape/FreeBSD-repos/src/sys/modules
--- all_subdir_rtw89 ---
ctfconvert -L VERSION -g rtw8922a_rfk.o
--- rtw8922a.o ---
ctfconvert -L VERSION -g rtw8922a.o
--- all_subdir_sge ---
ctfconvert -L VERSION -g if_sge.o

make[3]: stopped making "all" in
/usr/home/fernape/FreeBSD-repos/src/sys/modules
--- all_subdir_rtw89 ---

make[3]: stopped making "all" in
/usr/home/fernape/FreeBSD-repos/src/sys/modules

make[2]: stopped making "all" in
/usr/obj/usr/home/fernape/FreeBSD-repos/src/amd64.amd64/sys/GENERIC
     1062.82 real      3851.16 user       168.32 sys

make[1]: stopped making "buildkernel" in /usr/home/fernape/FreeBSD-repos/src

make: stopped making "kernel" in /usr/home/fernape/FreeBSD-repos/src

[-- Attachment #2 --]
<div dir="ltr"><div>Hi all,</div><div><br></div><div>I&#39;m trying to update one of my systems to latest current. Buildworld is fine, but building the kernel fails with this error.</div><div><br></div><div>Any ideas why?</div><div><br></div><div>--- all_subdir_sfxge ---</div>ctfconvert -L VERSION -g sfxge.o<br>--- sfxge.ko.full ---<br>ld -m elf_x86_64_fbsd -warn-common --build-id=sha1 -T /usr/home/fernape/FreeBSD-repos/src/sys/conf/ldscript.kmod.amd64 -r  -o sfxge.ko.full sfxge.o sfxge_dma.o sfxge_ev.o sfxge_intr.o sfxge_mcdi.o sfxge_nvram.o sfxge_port.o sfxge_rx.o sfxge_tx.o efx_bootcfg.o efx_crc32.o efx_ev.o efx_intr.o efx_lic.o efx_mac.o efx_mcdi.o efx_mon.o efx_nic.o efx_nvram.o efx_phy.o efx_port.o efx_rx.o efx_sram.o efx_tunnel.o efx_tx.o efx_vpd.o efx_filter.o efx_hash.o mcdi_mon.o siena_mac.o siena_mcdi.o siena_nic.o siena_nvram.o siena_phy.o siena_sram.o siena_vpd.o ef10_ev.o ef10_filter.o ef10_image.o ef10_intr.o ef10_mac.o ef10_mcdi.o ef10_nic.o ef10_nvram.o ef10_phy.o ef10_rx.o ef10_tx.o ef10_vpd.o hunt_nic.o medford_nic.o medford2_nic.o <br>ld: error: efx_rx.o: invalid sh_type for string table section [index 1]: expected SHT_STRTAB, but got SHT_NULL<br>*** [sfxge.ko.full] Error code 1<br><br>make[4]: stopped making &quot;all&quot; in /usr/home/fernape/FreeBSD-repos/src/sys/modules/sfxge<br>make[4]: 1 error<br><br>make[4]: stopped making &quot;all&quot; in /usr/home/fernape/FreeBSD-repos/src/sys/modules/sfxge<br><br>make[3]: stopped making &quot;all&quot; in /usr/home/fernape/FreeBSD-repos/src/sys/modules<br>--- all_subdir_rtw89 ---<br>ctfconvert -L VERSION -g rtw8922a_rfk.o<br>--- rtw8922a.o ---<br>ctfconvert -L VERSION -g rtw8922a.o<br>--- all_subdir_sge ---<br>ctfconvert -L VERSION -g if_sge.o<br><br>make[3]: stopped making &quot;all&quot; in /usr/home/fernape/FreeBSD-repos/src/sys/modules<br>--- all_subdir_rtw89 ---<br><br>make[3]: stopped making &quot;all&quot; in /usr/home/fernape/FreeBSD-repos/src/sys/modules<br><br>make[2]: stopped making &quot;all&quot; in /usr/obj/usr/home/fernape/FreeBSD-repos/src/amd64.amd64/sys/GENERIC<br>     1062.82 real      3851.16 user       168.32 sys<br><br>make[1]: stopped making &quot;buildkernel&quot; in /usr/home/fernape/FreeBSD-repos/src<br><br>make: stopped making &quot;kernel&quot; in /usr/home/fernape/FreeBSD-repos/src<br><div><br></div><div><br></div></div>
home | help

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