kldref: unhandled relocation type 2

Warner Losh imp at bsdimp.com
Wed Aug 8 17:27:23 UTC 2018


On Wed, Aug 8, 2018 at 6:19 PM, Steve Kargl <
sgk at troutmask.apl.washington.edu> wrote:

> On Wed, Aug 08, 2018 at 06:14:19PM +0100, Warner Losh wrote:
> > On Wed, Aug 8, 2018 at 5:58 PM, Steve Kargl <
> > sgk at troutmask.apl.washington.edu> wrote:
> >
> > > Just build a new world and kernel.  Upon doing "make installkernel",
> > > I see at the end of the process
> > >
> > > kldxref /boot/kernel
> > > kldxref: unhandled relocation type 2
> > > kldxref: unhandled relocation type 2
> > > kldxref: unhandled relocation type 2
> > > (40 more messages)
> > > kldxref: unhandled relocation type 2
> > >
> > > The currently running kernel (as I don't want to reboot
> > > if the above messages signal a problem) is
> > >
>
> (snip for brevity)
>
> >
> > Yes. You need a new kldxref installed.
> >
>
> Thanks for info.
>
> I'll note that freshly built kldxref gives the same messages.
>
> % /usr/obj/usr/src/i386.i386/usr.sbin/kldxref/kldxref /boot/kernel
> kldxref: unhandled relocation type 2
> (40+ messages...)
>

Oh, wait: relocation type, not module info.... That's not me, that's ed and
the new linker I think, or Dimitry and the new clang...

Warner


More information about the freebsd-current mailing list