Re: kldxref: file isn't dynamically-linked -- expected behaviour?



On Thu, Oct 18, 2007 at 09:06:55PM +0200, Philipp Ost wrote:
Vlad GALU wrote:
On 10/18/07, Philipp Ost <pj@xxxxxx> wrote:
Hi list,

I'm currently upgrading from 6.2-STABLE (13 Oct. 2007) to RELENG_7. I
did the following after csup'ing my sources:
# make kernel-toolchain
# make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=MYKERNEL
# make -DALWAYS_CHECK_MAKE installkernel KERNCONF=MYKERNEL

The last thing 'installkernel' reports is:
[...]
kldxref /boot/kernel
kldxref: file isn't dynamically-linked
[...]

This message is repeated 514 times... ;-) Is this expected behaviour?
Before I do a reboot I would like to make sure "everything works" as I
rely on that particular machine.

If needed I can provide full logs; MYKERNEL is a cut down version of
GENERIC with atapicam, drm, radeondrm, sound added ;-)


Thanks in advance for any hint/help!

It's harmless. Once you boot with your new RELENG_7 they will
disappear on the next kernel build/install.

Thanks a lot. I saw this message for the first time in my life and was a
little bit concerned about it... But if everything seems to be fine I will
give it a try.

As others have pointed out, these messages are harmless. It's caused
by the old (6.x version) kldxref(8) binary trying to hash the *.symbols
files that are installed along with debug versions of kernel and module
objects, and that contain symbol information needed for debugging, and
aren't dynamically linked ELF files. So the old kldxref(8) ignores
these files, but issues a warning. Once you upgrade to 7.x, you'll have
also installed the new (7.x version) of kldxref(8) that is aware of
.symbols files, so warnings will be gone.

Technically, kldxref(8) should be a cross-tool (in the buildworld
sense), but last time I tried to convert it to be a cross-tool
several years ago it wasn't very easy. It's quite possible it
will be easier now that we only support limited upgrade paths.


Cheers,
--
Ruslan Ermilov
ru@xxxxxxxxxxx
FreeBSD committer
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: kldxref: file isnt dynamically-linked -- expected behaviour?
    ... The last thing 'installkernel' reports is: ... kldxref: file isn't dynamically-linked ... disappear on the next kernel build/install. ... will be easier now that we only support limited upgrade paths. ...
    (freebsd-stable)
  • 6.1 kernel unable to find /dev ?
    ... the previously-good kernel would no longer ... | exec /sbin/oinit: error 20 ... | Automatic reboot in 15 seconds - press a key on the console to abort ... Should I perhaps to a make installkernel installworld ...
    (freebsd-stable)
  • Re: 6.1 kernel unable to find /dev ?
    ... I saw two types of panics ... | Automatic reboot in 15 seconds - press a key on the console to abort ... Or there is a bad kernel module in the mix that is randomly corrupting data. ... Should I perhaps to a make installkernel installworld ...
    (freebsd-stable)
  • Re: New Kernel Breaks IPFW
    ... > I just cvsup'd my src today and was going to buildworld later tonight ... > rebooted, ipfw fell over, specifically, even after ipfw firewall enable, ... Probably because the ABI between ipfwand it's kernel counterpart has ... back in case of problems), mount fs and installkernel, mergemaster), ...
    (freebsd-current)
  • Re: FreeBSD 5.1-Release freezes
    ... if I run with this kernel the ... > make installkernel KERNCONF=SOCKETD) ... Try compiling options MAC_DEBUG into your ... If you have DDB compiled into the kernel (which you probably will ...
    (freebsd-current)