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 fb-bld-120-i386.dnsmgr.net:root {203}# uname -a FreeBSD fb-bld-120-i386.dnsmgr.net 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC i386 fb-bld-120-i386.dnsmgr.net:root {204}# fb-bld-120-i386.dnsmgr.net:root {205}# cd ../../conf fb-bld-120-i386.dnsmgr.net:root {206}# config GENERIC Kernel build directory is ../compile/GENERIC Don't forget to do ``make cleandepend && make depend'' fb-bld-120-i386.dnsmgr.net:root {200}# cd ../compile/GENERIC fb-bld-120-i386.dnsmgr.net:root {209}# !201 ( make cleandepend && make depend && make -j4 && make install ) > & make.OUT fb-bld-120-i386.dnsmgr.net:root {210}# fb-bld-120-i386.dnsmgr.net:root {210}# more make.OUT make: "../../../conf/../../../conf/kern.pre.mk" line 127: amd64/arm64/i386 kernel requires linker ifunc support fb-bld-120-i386.dnsmgr.net:root {211}# -- Rod Grimes rgrimes at freebsd.org
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 supportI 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
On 28 Feb 2019, at 00:37, Rodney W. Grimes <freebsd at pdx.rh.CN85.dnsmgr.net> 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 supportAfter ifunc support was introduced, you have to run at least "make kernel-toolchain" before "make buildkernel", or otherwise just run "make buildworld" first. That will build the linker which supports the required functionality. -Dimitry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 223 bytes Desc: Message signed with OpenPGP URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20190228/bc435dcc/attachment.sig>