Date: Thu, 28 Feb 2019 01:35:27 +0000 From: Rick Macklem <rmacklem@uoguelph.ca> To: "stable@freebsd.org" <stable@freebsd.org>, "rgrimes@freebsd.org" <rgrimes@freebsd.org> Subject: Re: FreeBSD 12.0 RELEASE i386 can not build a kernel? Message-ID: <QB1PR01MB3537C24C2793032A76EB95FDDD750@QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM> In-Reply-To: <201902272337.x1RNbRU7053449@pdx.rh.CN85.dnsmgr.net> References: <201902272337.x1RNbRU7053449@pdx.rh.CN85.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Rodney W. Grimes wrote:
>config CUSTOM
>Kernel build directory is ../compile/CUSTOM
>Don't forget to do ``make cleandepend && make depend''
>fb-bld-120-i386.dnsmgr.net:root {200}# cd ../compile/CUSTOM
>fb-bld-120-i386.dnsmgr.net:root {201}# (make cleandepend && make depend && >make -j4 && make install) >&make.OUT
>fb-bld-120-i386.dnsmgr.net:root {202}# more make.OUT
>make: "../../../conf/../../../conf/kern.pre.mk" line 127: amd64/arm64/i386 kernel >requires linker ifunc support
I typically build kernels without doing "make buildkernel" and I've found I need
LD=lld SRCTOP=<directory path "sys" is in> on the make commands.
(or something close to that. I haven't done this since December.)
I haven't tried, but I assumed "make buildkernel" takes care of this "behind the
curtains".
rick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?QB1PR01MB3537C24C2793032A76EB95FDDD750>
