Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2015 22:50:54 -0700
From:      Conrad Meyer <cse.cem@gmail.com>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: [CURRENT]: r285995: BROKEN! buildkernel fails in kern_shutdown.c
Message-ID:  <CAG6CVpVwJPFb89bXhd=zXJ_EEyivB1bXcnm0SAgOgnLc6a6CHg@mail.gmail.com>
In-Reply-To: <20150729072156.576dfa07@freyja.zeit4.iv.bundesimmobilien.de>
References:  <20150729063547.384dacbe@freyja.zeit4.iv.bundesimmobilien.de> <CAG6CVpVZHvN8cV8CUBMQLzfXGfXSq99Wx_bqYqUj5LyR0HfoSQ@mail.gmail.com> <20150729072156.576dfa07@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 28, 2015 at 10:21 PM, O. Hartmann
<ohartman@zedat.fu-berlin.de> wrote:
> On Tue, 28 Jul 2015 21:58:26 -0700
> Conrad Meyer <cse.cem@gmail.com> wrote:
>
>> On Tue, Jul 28, 2015 at 9:35 PM, O. Hartmann
>> <ohartman@zedat.fu-berlin.de> 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'


Best,
Conrad



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpVwJPFb89bXhd=zXJ_EEyivB1bXcnm0SAgOgnLc6a6CHg>