Date: Thu, 7 Nov 2019 11:13:52 -0700 From: Warner Losh <imp@bsdimp.com> To: mike tancsa <mike@sentex.net> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: upgrading RELENG_11 to RELENG_12 now fails with kernel requires linker ifunc support Message-ID: <CANCZdfq--LGrryrUm9hcZLSH=PTjk7TDvythdmzJdGO8OFKyvw@mail.gmail.com> In-Reply-To: <3c73c1a2-a70c-c7e3-27c6-81bba13ff75e@sentex.net> References: <3c73c1a2-a70c-c7e3-27c6-81bba13ff75e@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 7, 2019 at 10:07 AM mike tancsa <mike@sentex.net> wrote: > Hi All, > > In the past, I could do something like > > Mount via nfs a RELENG12 kernel and world, do the appropriate > #mount_nfs 192.168.143.5:/crossbuilds /crossbuilds/ > # setenv MAKEOBJDIRPREFIX /crossbuilds/obj/12/ > > and then do an installkernel and world and upgrade to releng12. Now, I > get the following error below. What is the best way to work around this = ? > > > # make KERNCONF=3DGENERIC installkernel > -------------------------------------------------------------- > >>> Install check kernel > -------------------------------------------------------------- > -------------------------------------------------------------- > >>> Installing kernel GENERIC on Thu Nov 7 12:03:02 EST 2019 > -------------------------------------------------------------- > cd /crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/sys/GENERIC; > MACHINE_ARCH=3Damd64 MACHINE=3Damd64 CPUTYPE=3D CC=3D"cc -target > x86_64-unknown-freebsd12.1 > --sysroot=3D/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp > -B/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/bin" > CXX=3D"c++ -target x86_64-unknown-freebsd12.1 > --sysroot=3D/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp > -B/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/bin" > CPP=3D"cpp -target x86_64-unknown-freebsd12.1 > --sysroot=3D/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp > -B/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/bin" > AS=3D"as" AR=3D"ar" LD=3D"ld" LLVM_LINK=3D"" NM=3Dnm OBJCOPY=3D"objcopy" > RANLIB=3Dranlib STRINGS=3D SIZE=3D"size" > > PATH=3D/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/legacy/usr/= sbin:/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/legacy/usr/bin:= /crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/legacy/bin:/crossbui= lds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/sbin:/crossbuilds/obj/12/= crossbuilds/src/12/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin > make KERNEL=3Dkernel install > make[2]: "/crossbuilds/src/12/sys/conf/kern.pre.mk" line 131: > amd64/arm64/i386 kernel requires linker ifunc support > This likely should only be active if the target isn't install... It's a build-time thing, not an install time thing. To confirm, just remove line 131 and see if (a) it installs and (b) boots. Warner > *** Error code 1 > > Stop. > make[1]: stopped in /crossbuilds/src/12 > *** Error code 1 > > Stop. > make: stopped in /crossbuilds/src/12 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfq--LGrryrUm9hcZLSH=PTjk7TDvythdmzJdGO8OFKyvw>