From owner-freebsd-current@FreeBSD.ORG Mon May 23 14:45:55 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D2D11065670; Mon, 23 May 2011 14:45:55 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id B9D9B8FC17; Mon, 23 May 2011 14:45:54 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QOWOH-0008EW-1y>; Mon, 23 May 2011 16:45:53 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QOWOH-0000sf-06>; Mon, 23 May 2011 16:45:53 +0200 Message-ID: <4DDA7320.9070809@zedat.fu-berlin.de> Date: Mon, 23 May 2011 16:45:52 +0200 From: "O. Hartmann" Organization: Freie =?windows-1252?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: Ivan Klymenko References: <4DD9832A.1060506@mail.zedat.fu-berlin.de> <2CCA2B24-7EB8-4A66-B39D-BD6BDCE34880@gmail.com> <4DDA14DE.9@mail.zedat.fu-berlin.de> <20110523155200.1f1dee1c@ukr.net> In-Reply-To: <20110523155200.1f1dee1c@ukr.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: 130.133.86.198 Cc: Garrett Cooper , "O. Hartmann" , freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: kernel: install: mps.ko.symbols: No such file or directory X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2011 14:45:55 -0000 On 05/23/11 14:52, Ivan Klymenko wrote: > =D0=92 Mon, 23 May 2011 10:03:42 +0200 > "O. Hartmann" =D0=BF=D0=B8=D1=88=D0=B5= =D1=82: > >> 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 >>> >> I've blown away /usr/obj, did a svn update in /usr/src this morning >> (but there were no updates) and issued >> >> make buildworld&& make buildkernel >> >> Both went well. >> >> But make installkernel still fails installing mps.ko.symbols (which >> is not found). >> >> Oliver >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" >> >> > > I change the line: > .if defined(DEBUG)&& !defined(INSTALL_NODEBUG)&& \ > on > .if (defined(DEBUG) || defined(DEBUG_FLAGS))&& !defined(INSTALL_NODEBU= G)&& \ > in the file /sys/conf/kmod.mk A diff shows this: Index: /usr/src/sys/conf/kmod.mk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/sys/conf/kmod.mk (revision 222180) +++ /usr/src/sys/conf/kmod.mk (working copy) @@ -286,7 +286,8 @@ _kmodinstall: ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR} -.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) +.if defined(DEBUG) && !defined(INSTALL_NODEBUG) && \ + (defined(MK_KERNEL_SYMBOLS) && ${MK_KERNEL_SYMBOLS} =3D=3D "yes") ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG}.symbols ${DESTDIR}${KMODDIR} .endif I reverted manually the changed lines to the previous ones and everthing = went smooth. Oliver