Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2018 14:35:55 +0200
From:      =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= <uqs@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   -STABLE can no longer build -CURRENT kernel, linker missing ifunc
Message-ID:  <CAJ9axoTbmTaq1OiHVvSdUW8GLg6yRktNQw9-Aasi3p38Yt7vcQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hey all, as of a couple of weeks ago, neither 11.2-RELEASE nor a recent
11-STABLE can buildkernel from head.

This has stopped the Coverity Scan runs dead in its track and I wonder how
anyone would boostrap a move from 11.x to 12.0 then.

% env __MAKE_CONF=3D/dev/null make buildkernel
make[1]: "/data/freebsd.work/Makefile.inc1" line 343: SYSTEM_COMPILER:
libclang will be built for bootstrapping a cross-compiler.
make[1]: "/data/freebsd.work/Makefile.inc1" line 348: SYSTEM_LINKER:
libclang will be built for bootstrapping a cross-linker.

--------------------------------------------------------------
>>> Kernel build for GENERIC started on Wed Jul 25 14:34:46 CEST 2018
--------------------------------------------------------------
=3D=3D=3D> GENERIC
mkdir -p /usr/obj/data/freebsd.work/amd64.amd64/sys

--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
cd /data/freebsd.work/sys/amd64/conf;  PATH=3D/usr/obj/data/
freebsd.work/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/data/freebsd.work/amd=
64.amd64/tmp/legacy/usr/bin:/usr/obj/data/freebsd.work/amd64.amd64/tmp/lega=
cy/bin:/usr/obj/data/freebsd.work/amd64.amd64/tmp/usr/sbin:/usr/obj/data/fr=
eebsd.work/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin
config  -d /usr/obj/data/freebsd.work/amd64.amd64/sys/GENERIC  -I '/data/
freebsd.work/sys/amd64/conf' '/data/freebsd.work/sys/amd64/conf/GENERIC'
Kernel build directory is /usr/obj/data/freebsd.work/amd64.amd64/sys/GENERI=
C
Don't forget to do ``make cleandepend && make depend''

--------------------------------------------------------------
>>> stage 2.1: cleaning up the object tree
--------------------------------------------------------------
cd /usr/obj/data/freebsd.work/amd64.amd64/sys/GENERIC; MACHINE_ARCH=3Damd64
MACHINE=3Damd64 CPUTYPE=3D CC=3D"cc -target x86_64-unknown-freebsd12.0
--sysroot=3D/usr/obj/data/freebsd.work/amd64.amd64/tmp -B/usr/obj/data/
freebsd.work/amd64.amd64/tmp/usr/bin" CXX=3D"c++  -target
x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/data/
freebsd.work/amd64.amd64/tmp -B/usr/obj/data/
freebsd.work/amd64.amd64/tmp/usr/bin" CPP=3D"cpp -target
x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/data/
freebsd.work/amd64.amd64/tmp -B/usr/obj/data/
freebsd.work/amd64.amd64/tmp/usr/bin" AS=3D"as" AR=3D"ar" LD=3D"ld" LLVM_LI=
NK=3D""
NM=3Dnm OBJCOPY=3D"objcopy" RANLIB=3Dranlib STRINGS=3D SIZE=3D"size" INSTAL=
L=3D"sh
/data/freebsd.work/tools/install.sh" PATH=3D/usr/obj/data/
freebsd.work/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/data/freebsd.work/amd=
64.amd64/tmp/legacy/usr/bin:/usr/obj/data/freebsd.work/amd64.amd64/tmp/lega=
cy/bin:/usr/obj/data/freebsd.work/amd64.amd64/tmp/usr/sbin:/usr/obj/data/fr=
eebsd.work/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin
make  -m /data/freebsd.work/share/mk  KERNEL=3Dkernel cleandir
make[2]: "/data/freebsd.work/sys/conf/kern.pre.mk" line 125: amd64 kernel
requires linker ifunc support
*** Error code 1

Stop.
make[1]: stopped in /data/freebsd.work
*** Error code 1

Stop.
make: stopped in /data/freebsd.work



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