From owner-freebsd-current@freebsd.org Wed Jul 29 12:24:39 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B0A39ACD1D for ; Wed, 29 Jul 2015 12:24:39 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF0266B3 for ; Wed, 29 Jul 2015 12:24:36 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from [109.237.91.29] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZKQPL-00053C-3f; Wed, 29 Jul 2015 15:24:27 +0300 Subject: Re: [CURRENT]: r285995: BROKEN! buildkernel fails in kern_shutdown.c To: Conrad Meyer , "O. Hartmann" References: <20150729063547.384dacbe@freyja.zeit4.iv.bundesimmobilien.de> <20150729072156.576dfa07@freyja.zeit4.iv.bundesimmobilien.de> Cc: freebsd-current From: Alexandr Krivulya X-Enigmail-Draft-Status: N1110 Message-ID: <55B8C5F6.6000602@shurik.kiev.ua> Date: Wed, 29 Jul 2015 15:24:22 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 109.237.91.29 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 29 Jul 2015 12:24:39 -0000 29.07.2015 08:50, Conrad Meyer пишет: > On Tue, Jul 28, 2015 at 10:21 PM, O. Hartmann > wrote: >> On Tue, 28 Jul 2015 21:58:26 -0700 >> Conrad Meyer wrote: >> >>> On Tue, Jul 28, 2015 at 9:35 PM, O. Hartmann >>> wrote: >>>> Sources as of r285995 fail to build kernel with >>>> >>>> [...] >>>> --- kernel --- >>>> linking kernel >>>> kern_shutdown.o: In function `kern_reboot': >>>> /usr/src/sys/kern/kern_shutdown.c:(.text+0x2e6): undefined reference to >>>> `bufshutdown' *** [kernel] Error code 1 >>> >>> Hi, >>> >>> It appears you've got an old version of vfs_bio.o cached. Try deleting >>> that and building. >>> >>> Best, >>> Conrad >> I doubt that. When I start building world this morning, I deleted /usr/obj/*. >> So it should be not as you presumed. >> >> I just did a >> >> make -j12 kernel >> >> in /usr/src again and it failed at the very same position. Again, the source >> tree has been recently updated, afterwards I started buidlworld on a >> deleted/fresh /usr/obj. > > Well, r285993 is probably the offending commit. It looks ok to me, > though I also hit: > > kern_shutdown.o: In function `kern_reboot': > /usr/home/cmeyer/src/freebsd/sys/kern/kern_shutdown.c:315: undefined > reference to `bufshutdown' > Fixed in r286002