Re: btxld not found

From: Marek Zarychta <>
Date: Tue, 28 Jan 2020 20:33:26 +0100
W dniu 28.01.2020 o 19:11, Dimitry Andric pisze:
> On 28 Jan 2020, at 12:36, Nick Hibma <> wrote:
>> Could anyone explain to me what I am doing wrong? make installworld fails each time with the following error
>> ===> stand/i386/libi386 (install)
>> ===> stand/i386/loader_4th (install)
>> strip -R .comment -R .note -o loader_4th.bin loader_4th.sym
>> btxld -v -f aout -e 0x200000 -o loader_4th -l /usr/obj/usr/src/i386.i386/stand/i386/btx/btxldr/btxldr  -b /usr/obj/usr/src/i386.i386/stand/i386/btx/btx/btx loader_4th.bin
>> make[6]: exec(btxld) failed (No such file or directory)
>> *** Error code 1
>> This is with source of last week. I had this problem before (from old sources) and fixed it by specifying the full path to btxld in the stand/i386/*/Makefile.
> Yes, this is most likely your clock(s) being off.  At installworld time,
> it should *not* start rebuilding your loader.
> Usually this happens if you build on one machine, and install on
> another, while the install machine's time is behind the build machine's
> time.  But it can also happens on one machine, for instance if you
> start in single user mode, and the clock is not yet synchronized.
> -Dimitry

I build and install on the same machine, WITH_META_MODE=yes the CPU is
Origin="AuthenticAMD"  Id=0x100f43  Family=0x10  Model=0x4  Stepping=3,
underlining filesystem is ZFS, OBJDIR is /usr/obj though it's really
/usr/amdfam10obj.head mounted with nullfs. For build/install I am using
still these old way commands:
make -sj4 buildworld && make installworld
On the same machine I am building/installing 12-STABLE world as well,
but this error is only present for CURRENT. It has appeared for the
first time in early October last year and remains unresolved to me. I
just ignore errors on installworld since then.

===> stand/i386/btx (install)
===> stand/i386/btx/btx (install)
===> stand/i386/btx/btxldr (install)
===> stand/i386/btx/lib (install)
===> stand/i386/boot2 (install)
btxld -v -E 0x2000 -f bin -b
/usr/obj/usr/src/amd64.amd64/stand/i386/btx/btx/btx -l boot2.ldr  -o
boot2.ld -P 1 boot2.bin
make[6]: exec(btxld) failed (No such file or directory)
*** Error code 1

Marek Zarychta

Received on Tue Jan 28 2020 - 18:33:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC