Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2020 09:29:05 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Dustin Marquess <dmarquess@gmail.com>
Cc:        Michael Butler <imb@protected-networks.net>,  FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: kldref: too many segments on kernel build
Message-ID:  <CAPyFy2CC=KFFezQCOCwftMmCy8%2BTQuHEhBR6ntvVERSUYDfY=g@mail.gmail.com>
In-Reply-To: <CAJpsHY7itDKQ8DYBrJF-TDw2610ZRDVjuom7oqg%2BC=Rgjb04aA@mail.gmail.com>
References:  <0be4e1e1-a7a4-49c3-4865-3302786c2c00@protected-networks.net> <CAJpsHY7itDKQ8DYBrJF-TDw2610ZRDVjuom7oqg%2BC=Rgjb04aA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Aug 2020 at 00:19, Dustin Marquess <dmarquess@gmail.com> wrote:
>
> On Tue, Aug 18, 2020 at 3:19 PM Michael Butler
> <imb@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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2CC=KFFezQCOCwftMmCy8%2BTQuHEhBR6ntvVERSUYDfY=g>