Re: kernel: install: mps.ko.symbols: No such file or directory

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Mon, 23 May 2011 13:11:31 +0200
On 05/23/11 10:36, O. Hartmann wrote:
> On 05/23/11 00:37, Garrett Cooper wrote:
>> On May 22, 2011, at 2:42 PM, O. Hartmann wrote:
>>
>>> Building kernel and modules with CLANG (did not try with gcc) results
>>> in corrupted system with following error message. Operating system is
>>> most recent svn update of FreeBSD 9.0-CURRENT/amd64:
>>>
>>> URL: svn://svn.freebsd.org/base/head
>>> Repository Root: svn://svn.freebsd.org/base
>>> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
>>> Revision: 222199
>>> Node Kind: directory
>>> Schedule: normal
>>> Last Changed Author: rmacklem
>>> Last Changed Rev: 222199
>>> Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011)
>>
>> After doing some review of the checkins made recently and per our
>> offline discussion, it might be r222188 that's causing issues. How did
>> you issue the build (did you run buildworld buildkernel, or just
>> buildkernel, KERNFAST, etc)?
>>
>> Thanks,
>>
>> -Garrett
>>
>
> Maybe a hint, I do not know:
>
> root_at_ase: [src] svn diff -r 222185 sys/conf/kmod.mk
> Index: sys/conf/kmod.mk
> ===================================================================
> --- sys/conf/kmod.mk (revision 222185)
> +++ sys/conf/kmod.mk (working copy)
> _at__at_ -286,7 +286,8 _at__at_
> _kmodinstall:
> ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
> ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR}
> -.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) &&
> ${MK_KERNEL_SYMBOLS} == "yes"
> +.if defined(DEBUG) && !defined(INSTALL_NODEBUG) && \
> + (defined(MK_KERNEL_SYMBOLS) && ${MK_KERNEL_SYMBOLS} == "yes")
> ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
> ${_INSTALLFLAGS} ${PROG}.symbols ${DESTDIR}${KMODDIR}
> .endif
>
>
> I'll try on another box with the same OS version I have access to in my
> lab and report ...
>
> Oliver


All boxes running the most recent FreeBSD 9.0-CURRENT/amd64, compiled 
with CLANG, suffer from this error. I'll try with gcc compiled system 
later ...

Oliver
Received on Mon May 23 2011 - 09:11:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC