FreeBSD 12.0 RELEASE i386 can not build a kernel?

Rodney W. Grimes freebsd at
Thu Feb 28 01:51:00 UTC 2019

[ Charset ISO-8859-1 unsupported, converting... ]
> Rodney W. Grimes wrote:
> >config CUSTOM
> >Kernel build directory is ../compile/CUSTOM
> >Don't forget to do ``make cleandepend && make depend''
> > {200}# cd ../compile/CUSTOM
> > {201}# (make cleandepend && make depend && >make -j4 && make install) >&make.OUT
> > {202}# more make.OUT
> >make: "../../../conf/../../../conf/" 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".
>>> stage 2.1: cleaning up the object tree
cd /usr/obj/usr/src/i386.i386/sys/GENERIC; MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= CC="cc -target i386-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/i386.i386/tmp -B/usr/obj/usr/src/i386.i386/tmp/usr/bin" CXX="c++  -target i386-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/i386.i386/tmp -B/usr/obj/usr/src/i386.i386/tmp/usr/bin" CPP="cpp -target i386-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/i386.i386/tmp -B/usr/obj/usr/src/i386.i386/tmp/usr/bin" AS="as" AR="ar" LD="ld" LLVM_LINK="" NM=nm OBJCOPY="objcopy" RANLIB=ranlib STRINGS= SIZE="size" INSTALL="sh /usr/src/tools/" PATH=/usr/obj/usr/src/i386.i386/tmp/legacy/usr/sbin:/usr/obj/usr/src/i386.i386/tmp/legacy/usr/bin:/usr/obj/usr/src/i386.i386/tmp/legacy/bin:/usr/obj/usr/src/i386.i386/tmp/usr/sbin:/usr/obj/usr/src/i386.i386/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin make  -m /usr/src/share/mk  KERNEL=kernel cleandir
make[2]: "/usr/src/sys/conf/" line 127: amd64/arm64/i386 kernel requires linker ifunc support
*** Error code 1

make[1]: stopped in /usr/src
*** Error code 1

make: stopped in /usr/src

> rick

Rod Grimes                                                 rgrimes at

More information about the freebsd-stable mailing list