Date: Sat, 14 Dec 2019 19:13:25 -0800 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD Toolchain <freebsd-toolchain@freebsd.org> Subject: head -r355761 for amd64 self-hosted: installworld failed for: "btxld: not found" Message-ID: <FD01152D-3ED3-4CB9-BA3B-9039A9887A67@yahoo.com> References: <FD01152D-3ED3-4CB9-BA3B-9039A9887A67.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I give various details based on how I got past it as well as the original error messages. This was a -j32 threadripper 1950X context at the start: the installworld with -j32 got: --- realinstall_subdir_stand --- btxld -v -E 0x2000 -f bin -b = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/stand/i386/btx/btx/bt= x -l boot2.ldr -o boot2.ld -P 1 boot2.bin . . . --- realinstall_subdir_stand --- sh: btxld: not found . . . --- realinstall_subdir_stand --- *** [boot2.ld] Error code 127 However retrying without the -j32 got: =3D=3D=3D> stand/i386/btx (install) =3D=3D=3D> stand/i386/btx/btx (install) =3D=3D=3D> stand/i386/btx/btxldr (install) =3D=3D=3D> stand/i386/btx/lib (install) =3D=3D=3D> stand/i386/boot2 (install) btxld -v -E 0x2000 -f bin -b = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/stand/i386/btx/btx/bt= x -l boot2.ldr -o boot2.ld -P 1 boot2.bin make[6]: exec(btxld) failed (No such file or directory) *** Error code 1 Stop. make[6]: stopped in /usr/src/stand/i386/boot2 *** Error code 1 Retrying the buildworld buildkernel and then the installworld, all without -j32 and without forcing it to start from scratch, got past the problem. The original -j32 buildworld buildkernel log shows: # grep "btxld\>" = ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-2019-12-1= 4:18:01:22 | more --- includes_subdir_usr.sbin/btxld --- =3D=3D=3D> usr.sbin/btxld (includes) --- all_subdir_usr.sbin/btxld --- =3D=3D=3D> usr.sbin/btxld (all) Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld.= o --- all_subdir_usr.sbin/btxld --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/elfh.o= Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld.= full --- all_subdir_usr.sbin/btxld --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld.= debug Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld The times in that directory show that the non-j32 build did generate btxld and btxld.debug but the btx.full was from the earlier -j32 build: # ls -laTt = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/ total 200 -rw-r--r-- 1 root wheel 715 Dec 14 18:46:16 2019 btxld.meta -rwxr-xr-x 1 root wheel 27504 Dec 14 18:46:16 2019 btxld -rw-r--r-- 1 root wheel 550 Dec 14 18:46:16 2019 btxld.debug.meta -rwxr-xr-x 1 root wheel 28968 Dec 14 18:46:16 2019 btxld.debug -rwxr-xr-x 1 root wheel 49568 Dec 14 18:19:13 2019 btxld.full drwxrwxr-x 2 root wheel 512 Dec 14 18:18:54 2019 . -rw-r--r-- 1 root wheel 3308 Dec 14 18:18:54 2019 btxld.full.meta -rw-r--r-- 1 root wheel 4088 Dec 14 18:18:54 2019 elfh.o.meta -rw-r--r-- 1 root wheel 4880 Dec 14 18:18:54 2019 elfh.o -rw-r--r-- 1 root wheel 7371 Dec 14 18:18:54 2019 btxld.o.meta -rw-r--r-- 1 root wheel 37824 Dec 14 18:18:54 2019 btxld.o drwxrwxr-x 225 root wheel 4096 Nov 22 22:53:23 2019 .. -rw-r--r-- 1 root wheel 971 Nov 9 08:29:35 2018 btxld.8.gz.meta -rw-r--r-- 1 root wheel 1429 Nov 9 08:29:35 2018 btxld.8.gz I do not know if this is some sort of race that silently stopped btxld and btxld.debug from being generated (despite the "Building" lines). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FD01152D-3ED3-4CB9-BA3B-9039A9887A67>