kldref: too many segments on kernel build
Ed Maste
emaste at freebsd.org
Wed Aug 19 13:29:20 UTC 2020
On Wed, 19 Aug 2020 at 00:19, Dustin Marquess <dmarquess at gmail.com> wrote:
>
> On Tue, Aug 18, 2020 at 3:19 PM Michael Butler
> <imb at protected-networks.net> wrote:
> >
> > Any thoughts as to why this is happening when I build a (custom) kernel?
> >
> > kldxref: /boot/kernel/kernel: too many segments
>
> I'm seeing this too. I haven't tried actually booting the kernel
> because of this.
This is fallout from Clang 11. The kernel should boot fine despite the
warnings, and this should be cleaned up in the near future (by
increasing the number of segments supported by kldxref, by changing
the kernel linker script, or a combination of both).
More information about the freebsd-current
mailing list