Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2018 09:37:20 +0200 (CEST)
From:      Emeric POUPON <emeric.poupon@stormshield.eu>
To:        freebsd-arch <freebsd-arch@freebsd.org>
Subject:   Can't build kernel anymore: amd64 kernel requires linker ifunc support
Message-ID:  <1427128516.12874490.1526456240718.JavaMail.zimbra@stormshield.eu>

next in thread | raw e-mail | index | archive | help
Hello,

Maybe I missed something, but I recently updated /usr/src (HEAD) and I can'=
t build the kernel anymore, I get this:

# make -j4 buildkernel
--- buildkernel ---
make[1]: "/usr/src/Makefile.inc1" line 166: SYSTEM_COMPILER: Determined tha=
t CC=3Dcc matches the source tree.  Not bootstrapping a cross-compiler.
--- buildkernel ---

--------------------------------------------------------------
>>> Kernel build for GENERIC started on Wed May 16 09:35:03 CEST 2018
--------------------------------------------------------------
=3D=3D=3D> GENERIC
mkdir -p /usr/obj/usr/src/amd64.amd64/sys
--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
cd /usr/src/sys/amd64/conf;  PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/legacy=
/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/=
amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/o=
bj/usr/src/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin  config  -=
d /usr/obj/usr/src/amd64.amd64/sys/GENERIC  -I '/usr/src/sys/amd64/conf' '/=
usr/src/sys/amd64/conf/GENERIC'
Kernel build directory is /usr/obj/usr/src/amd64.amd64/sys/GENERIC
Don't forget to do ``make cleandepend && make depend''
--------------------------------------------------------------
>>> stage 2.1: cleaning up the object tree
--------------------------------------------------------------
cd /usr/obj/usr/src/amd64.amd64/sys/GENERIC; COMPILER_VERSION=3D60000 COMPI=
LER_FEATURES=3D" c++11 retpoline" COMPILER_TYPE=3Dclang COMPILER_FREEBSD_VE=
RSION=3D1200014 MACHINE_ARCH=3Damd64 MACHINE=3Damd64 CPUTYPE=3D CC=3D"cc -t=
arget x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/t=
mp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CXX=3D"c++  -target x86_64-u=
nknown-freebsd12.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/=
usr/src/amd64.amd64/tmp/usr/bin" CPP=3D"cpp -target x86_64-unknown-freebsd1=
2.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.a=
md64/tmp/usr/bin" AS=3D"as" AR=3D"ar" LD=3D"ld" LLVM_LINK=3D"" NM=3Dnm OBJC=
OPY=3D"objcopy" RANLIB=3Dranlib STRINGS=3D SIZE=3D"size" INSTALL=3D"sh /usr=
/src/tools/install.sh" PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/s=
bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.=
amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr=
/src/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin make  -j 4 -J 15=
,16 -m /usr/src/share/mk  KERNEL=3Dkernel cleandir
make[2]: "/usr/src/sys/conf/kern.pre.mk" line 125: amd64 kernel requires li=
nker ifunc support
*** [buildkernel] Error code 1

make[1]: stopped in /usr/src
1 error



How can I proceed?

Regards,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1427128516.12874490.1526456240718.JavaMail.zimbra>