Bug 253727 - 13-BETA install fails with "regcomp@FBSD_1.6" when invoked on non-build machine with older version system
Summary: 13-BETA install fails with "regcomp@FBSD_1.6" when invoked on non-build machi...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.0-STABLE
Hardware: i386 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-20 19:33 UTC by ota
Modified: 2021-02-22 07:44 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ota 2021-02-20 19:33:13 UTC
I had built world/kernel on 13-BETA releases.  After install, I had incrementally run build world and kernel.

Then, I detached a USB disk with /usr/src /usr/obj and connected to 12.2-RELEASE and run make installkernel.

The 12.2-RELEASE fails to find a library for boot-strapping "make".

$ make installkernel -C /usr/src
--------------------------------------------------------------
>>> Install check kernel
--------------------------------------------------------------
--------------------------------------------------------------
>>> Installing kernel GENERIC on Fri Feb 19 00:42:38 EST 2021
--------------------------------------------------------------
cd /usr/obj/usr/src/i386.i386/sys/GENERIC;  MACHINE_ARC
H=i386  MACHINE=i386  CPUTYPE= CC="cc -target i386-unk
nown-freebsd13.0 --sysroot=/usr/obj/usr/src/i386.i386/tmp -
B/usr/obj/usr/src/i386.i386/tmp/usr/bin" CXX="c++  -target i
386-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/i386.i38
6/tmp -B/usr/obj/usr/src/i386.i386/tmp/usr/bin"  CPP="cpp -
target i386-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/i3
86.i386/tmp -B/usr/obj/usr/src/i386.i386/tmp/usr/bin"  AS="
as" AR="ar" LD="ld" LLVM_LINK=""  NM=nm OBJCOPY="objcop
y"  RANLIB=ranlib STRINGS=  SIZE="size" STRIPBIN="strip" PAT
H=/usr/obj/usr/src/i386.i386/tmp/bin:/usr/obj/usr/src/i386.i
386/tmp/usr/sbin:/usr/obj/usr/src/i386.i386/tmp/usr/bin:/us
r/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/tm
p/legacy/bin:/usr/obj/usr/src/i386.i386/tmp/legacy/usr/libe
xec::/sbin:/bin:/usr/sbin:/usr/bin  make  KERNEL=kernel install
ld-elf.so.1: /usr/obj/usr/src/i386.i386/tmp/legacy/usr/sbin/m
ake: Undefined symbol "regcomp@FBSD_1.6"
*** Error code 1
Comment 1 ota 2021-02-21 03:13:46 UTC
I wonder if bmake can be statically linked so that install can be run on different and older systems.
Comment 2 Mark Millard 2021-02-22 07:44:41 UTC
Trying to run 13-BETA code (even installer material) on a system
that is running a 12.2-RELEASE kernel is not supported in general
as I understand: 12 does not support 13. Far more could be wrong
than just what static linking could cover.

One gnerally needs to get a 13 kernel in place and in operation
before running other 13 code on that system, as I understand.