Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2020 12:14:48 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        zarychtam@plan-b.pwste.edu.pl, FreeBSD Current <freebsd-current@freebsd.org>, Dimitry Andric <dim@FreeBSD.org>
Subject:   Re: btxld not found
Message-ID:  <71165653-E6AA-46F7-B7F6-B5293ADC9779@yahoo.com>
References:  <71165653-E6AA-46F7-B7F6-B5293ADC9779.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Marek Zarychta zarychtam at plan-b.pwste.edu.pl wrote on
Tue Jan 28 19:33:45 UTC 2020 :

> W dniu 28.01.2020 o 19:11, Dimitry Andric pisze:
> > On 28 Jan 2020, at 12:36, Nick Hibma <nick at van-laarhoven.org> =
wrote:
> >>
> >> Could anyone explain to me what I am doing wrong? make installworld =
fails each time with the following error
> >>
> >> =3D=3D=3D> stand/i386/libi386 (install)
> >> =3D=3D=3D> 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.
> >=20
> > Yes, this is most likely your clock(s) being off.  At installworld =
time,
> > it should *not* start rebuilding your loader.
> >=20
> > 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.
> >=20
> > -Dimitry
> >=20
>=20
> I build and install on the same machine, WITH_META_MODE=3Dyes
. . .

Same here on a ThreadRipper 1950X: a self hosted build and
install gets the issue at install time. WITH_META_MODE in use.

Never started in single user mode. Also happens for targeting a
local directory tree in the install, instead of updating the
live system. (A directory tree used later with poudriere.)

=
https://lists.freebsd.org/pipermail/freebsd-toolchain/2019-December/005130=
.html

has some timestamps that I observed. btxld.full was about 27
seconds later in the file system than btxld.meta, btxld.debug,
and such (until I rebuilt).

Looks to me more like multiple parallel builds that stomp on
each other.


=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?71165653-E6AA-46F7-B7F6-B5293ADC9779>