mike tancsa
2019-Nov-07 17:06 UTC
upgrading RELENG_11 to RELENG_12 now fails with kernel requires linker ifunc support
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=GENERIC 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=amd64? MACHINE=amd64? CPUTYPE= CC="cc -target x86_64-unknown-freebsd12.1 --sysroot=/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp -B/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/bin" CXX="c++? -target x86_64-unknown-freebsd12.1 --sysroot=/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp -B/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/bin"? CPP="cpp -target x86_64-unknown-freebsd12.1 --sysroot=/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp -B/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/bin"? AS="as" AR="ar" LD="ld" LLVM_LINK=""? NM=nm OBJCOPY="objcopy"? RANLIB=ranlib STRINGS=? SIZE="size" PATH=/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:/crossbuilds/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=kernel install make[2]: "/crossbuilds/src/12/sys/conf/kern.pre.mk" line 131: amd64/arm64/i386 kernel requires linker ifunc support *** Error code 1 Stop. make[1]: stopped in /crossbuilds/src/12 *** Error code 1 Stop. make: stopped in /crossbuilds/src/12
Warner Losh
2019-Nov-07 18:13 UTC
upgrading RELENG_11 to RELENG_12 now fails with kernel requires linker ifunc support
On Thu, Nov 7, 2019 at 10:07 AM mike tancsa <mike at 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=GENERIC 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=amd64 MACHINE=amd64 CPUTYPE= CC="cc -target > x86_64-unknown-freebsd12.1 > --sysroot=/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp > -B/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/bin" > CXX="c++ -target x86_64-unknown-freebsd12.1 > --sysroot=/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp > -B/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/bin" > CPP="cpp -target x86_64-unknown-freebsd12.1 > --sysroot=/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp > -B/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/bin" > AS="as" AR="ar" LD="ld" LLVM_LINK="" NM=nm OBJCOPY="objcopy" > RANLIB=ranlib STRINGS= SIZE="size" > > PATH=/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:/crossbuilds/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=kernel 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 at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org" >