Cannot build generic kernel

Eduardo Lemos de Sa eduardo.lemosdesa at gmail.com
Fri Jul 19 23:53:43 UTC 2019


Dear

On Thu, Jul 18, 2019 at 4:55 PM Thomas Mueller <mueller6722 at twc.com> wrote:

> from David Azarewicz:
>
> > I downloaded and installed FreeBSD-12.0-RELEASE-i386-memstick.img
>
> > I checked out base/stable/12 r350009 using svnlite
>
> > I followed the directions on
> https://www.freebsd.org/doc/handbook/kernelconfig-building.html
> > for building the kernel.
>
> > I get an error:
> >   make[2]: "/usr/src/sys/conf/kern.pre.mk" line 127: amd64/arm64/i386
> kernel requires linker
> > ifunc support
>
> > both
> >   make buildkernel
> > and
> >   make buildkernel KERNCONF=GENERIC
> > fail exactly the same way.
>
> > Today I updated to r350112 and the problem persists.
>
> > So I have a fresh unmodified install of FreeBSD 12.0 RELEASE, I have a
> fresh unmodified
> > checkout of FreeBSD 12 stable, I followed the directions for building
> the standard, default,
> > generic kernel and it fails. I tried searching for a solution to this
> problem and could not find a
> > solution. How can I fix this problem?
>
> Did you make buildworld before attempting buildkernel?
>
> I read UPDATING in the top directory of the src tree, and you are supposed
> to "make buildworld" before buildkernel.
>
> That would put updated tools in place for buildkernel.
>
> Tom
>
>
No, I just


make kernel-toolchain buildkernel

make installkernel

reboot

make buildworld

make installworld

(sometimes, you need to do a mergemaster -Ui - as it is described on
handbook)

Cheers

Eduardo


_______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


-- 
Eduardo Lemos de Sa
Professor Titular
Dep. Quimica da Universidade Federal do Paraná
fone: +55(41)3361-3300
fax:   +55(41)3361-3186


More information about the freebsd-questions mailing list