Cannot build generic kernel

Eduardo Lemos de Sa eduardo.lemosdesa at gmail.com
Thu Jul 18 17:13:22 UTC 2019


Dear

On Thu, Jul 18, 2019 at 11:40 AM Trond Endrestøl <
trond.endrestol at ximalas.info> wrote:

> On Thu, 18 Jul 2019 10:31-0400, David Azarewicz wrote:
>
> > 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?
>
> You're checking out stable/12, so why not download the latest
> stable/12 snapshot and install that one instead of 12.0-RELEASE?
>
>
> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/12.0/FreeBSD-12.0-STABLE-amd64-20190711-r349903-memstick.img
>
> --
> Trond.
>

I had problems to compile kernel GENERIC with 11.3-RELEASE last week. I
solved this problem following instructions on

https://forums.freebsd.org/threads/error-while-compiling-release-11-custom-kernel-after-spectre-meltdown-updates.65555/

Shortelly, the solution is

make kernel-toolchain buildkernel

Cheers

Edu

> _______________________________________________
> 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