Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2019 09:28:17 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        Matthew Macy <mmacy@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>,  svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r344487 - in head/sys: conf gnu/gcov
Message-ID:  <CAOtMX2h3mrOUNh_UotnVzzmwiWcLi2Sp9utcxzXnf9-25KCy4Q@mail.gmail.com>
In-Reply-To: <CAPrugNrKBQr27dmPR5RgOH-9azKiO2tSEymSCrmU3J2yABL3wQ@mail.gmail.com>
References:  <201902232114.x1NLE0cH085345@repo.freebsd.org> <CAOtMX2hD=o%2BF1z1sErDuBxaL8qm%2BS-BDAwvLr=1z0MhmAJ8ang@mail.gmail.com> <CAPrugNrnKeDkqsqDtPyTCsPBK6rUsAThog1KO1u3FPCGihD3sw@mail.gmail.com> <CAOtMX2j5tFdapsHr3WwVAG3PjUNBuuvoZSiy9L=_7c925M=zRQ@mail.gmail.com> <CAPrugNrKBQr27dmPR5RgOH-9azKiO2tSEymSCrmU3J2yABL3wQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It's not a problem with the version; they're built from the same
source.  But is there a problem with the compiler?  Can a GCC-built
kernel work with Clang-built world?

On Tue, Mar 5, 2019 at 12:54 AM Matthew Macy <mmacy@freebsd.org> wrote:
>
> World? It looks like there's a version mismatch between the kernel and modules.
>
> -M
>
> On Thu, Feb 28, 2019 at 7:11 PM Alan Somers <asomers@freebsd.org> wrote:
> >
> > On Thu, Feb 28, 2019 at 6:40 PM Matthew Macy <mmacy@freebsd.org> wrote:
> > >
> > > to config add:
> > > options LINDEBUGFS
> > > options GCOV
> > >
> > > compile kernel with gcc (otherwise it will be a no-op)
> > >
> > > sysctl debug.gcov.enable=1
> > >
> > > mount -t debugfs debugfs /sys/kernel/debug
> > >
> > > (or wherever) and the output artifacts will appear under gcov/<kernel
> > > build path> - you need to be root to see the artifacts
> > >
> > > gcov can then generate the results as it would normally from the
> > > profiling and the build time artifacts
> > >
> > > bug reports welcome
> > >
> > >
> > > -M
> >
> > Here's a bug report: I rebuilt the kernel but boot fails with this
> > error.  Do I need to rebuild world too?
> >
> > Mounting local filesystems:kldload: fdescfs.ko: lost base for reltab
> > linker_load_file: /boot/kernel/fdescfs.ko - unsupported file type
> > mount: fdescfs: Operation not supported by device
> > Mounting /etc/fstab filesystems failed, will retry after root mount hold release
> > kldload: fdescfs.ko: lost base for reltab
> > linker_load_file: /boot/kernel/fdescfs.ko - unsupported file type
> > mount: fdescfs: Operation not supported by device
> > .
> > Mounting /etc/fstab filesystems failed, startup aborted



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2h3mrOUNh_UotnVzzmwiWcLi2Sp9utcxzXnf9-25KCy4Q>