On Tue, Sep 6, 2016 at 3:36 AM, Alex Shupikov <a.shupi...@gmail.com> wrote: > I didn't build i386 stable. Compiled and rebootted with the new kernel was > successfully, but I got errors during build the userland: > > .text has incorrect file offset 0x140 (should be 0x120) > .data has incorrect file offset 0x11678 (should be 0x11658) > *** Error 1 in sys/arch/i386/stand/boot (Makefile:66 'boot': @perl > /usr/src/sys/arch/i386/stand/boot/../boot/check-boot.pl boot.new)
That sounds like you started from a post-6.0 setup, whether a snapshot or by building the trunk, which includes RELRO support. If so, and you really want to switch from following -current to following the older 6.0-stable then you'll need to do a full reinstall. If that's not what you're trying to do, then you'll need to describe *exactly* what the system was running before you started that build: what was the last release or snap you installed and if if you did a src build (before *this* one) after installing that snap/release then what branch and date was checked out? Philip Guenther