From owner-freebsd-current@freebsd.org Wed Jan 29 07:30:38 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C5DDC1C4600 for ; Wed, 29 Jan 2020 07:30:38 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plan-b.pwste.edu.pl", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 486wBN6w2Qz4FSF for ; Wed, 29 Jan 2020 07:30:36 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from fomalhaut.potoki.eu (static62133140050.ostnet.pl [62.133.140.50]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.15.2/8.15.2) with ESMTPSA id 00T7UWcq035896 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 29 Jan 2020 08:30:32 +0100 (CET) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1580283032; bh=x25l+e5JVqKQhvtAao21oFOBsXQshVk83juZNR5F4R4=; h=Subject:To:References:From:Date:In-Reply-To; b=jG+I0zwCf5rlL8v+IWpKcfevwvVPaI8zR+1GuzEvhhFIzb8d2uTu+VCYCEpiIARHz vAHliZ/RvGcQHMj7/CeihWLJsJa4wbqC437LrNMVIFPAojGWzU0j/nN8iLuw4JTovC XS967U9yfAR2xxsBNdqf1EsRhJBcticsohp+4zNucjN3fJZ+nZk3vF2DHUaf40igmY m/yJmPT8JC5ZAOGZ6sEsKt0l32VTQI/nT2XEJXwGREosZzPPzfrSRer5oybPKAQnIR TWv6si3Cfy9dN78S3/N1fIx9VmUmCam2Qk+4V1BngMGMm33sbuczPRn8OXNIWjNCbO yAwsZSPirhhwQ== X-Authentication-Warning: plan-b.pwste.edu.pl: Host static62133140050.ostnet.pl [62.133.140.50] claimed to be fomalhaut.potoki.eu Subject: Re: btxld not found To: freebsd-current@freebsd.org References: <71165653-E6AA-46F7-B7F6-B5293ADC9779.ref@yahoo.com> <71165653-E6AA-46F7-B7F6-B5293ADC9779@yahoo.com> From: Marek Zarychta Autocrypt: addr=zarychtam@plan-b.pwste.edu.pl; prefer-encrypt=mutual; keydata= mQENBFfi3cMBCADLecMTFXad4uDXqv3eRuB4qJJ8G9tzzFezeRnnwxOsPdytW5ES2z1ibSrR IsiImx6+PTqrAmXpTInxAi7yiZGdSiONRI4CCxKY9d1YFiNYT/2WyNXCekm9x29YeIU7x0JB Llbz0f/9HC+styBIu2H+PY/X98Clzm110CS+n/b9l1AtiGxTiVFj7/uavYAKxH6LNWnbkuc5 v8EVNc7NkEcl5h7Z9X5NEtzDxTOiBIFQ/kOT7LAtkYUPo1lqLeOM2DtWSXTXQgXl0zJI4iP1 OAu4qQYm2nXwq4b2AH9peknelvnt1mpfgDCGSKnhc26q6ibTfMwydp+tvUtQIQYpA6b9ABEB AAG0N01hcmVrIFphcnljaHRhIChQbGFuLWIpIDx6YXJ5Y2h0YW1AcGxhbi1iLnB3c3RlLmVk dS5wbD6JATcEEwEIACEFAlfi4LkCGwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQHZW8 vIFppoJXdgf8D9X3VRFSNaR9lthSx/+uqas17J3FJKBo1xMQsC2a+44vzNvYJSuPGLLJ+LW2 HPVazjP/BWZJbxOYpliY4zxNRU0YCp0BLIVLibc//yax+mE42FND/+NiIZhqJscl6MLPrSwo sIwXec4XYkldkyqW/xBbBYXoIkBqdKB9j5j42Npy1IV/RizOSdmvTWY27ir8e/yGMR1RLr4F 8P5K3OWTdlGy2H2F/3J8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LDjjp8bbA Q9VgQ68MntAnYxMqK0S3CrHp5Pruvb0x4MfFLNwaKtWK+UnJGPT4umj8PMP6XLsFC3g+SGoP aWoYRDI297ZGx4IBWEaJq181oEC5iUQ6WREti9fNQ3TsAB3Q2CjNlkx1geSczIFJSyOHmyJZ RqAocw1sIuPopvhWtR0AEQEAAYkCRAQYAQgADwUCV+OTdwIbAgUJCWYBgAEpCRAdlby8gWmm gsBdIAQZAQgABgUCV+OTdwAKCRB1n+z//VKNLOETCAC3ggwAAQij4hkIxQFapnRuIVb5vq7D AwJ9+Ld5/zYHOj2Tfu+BPSNGzI2edqboz2w1t55UHEYzYDp2axxIfPrZrXsBV4DsjtGwzVV/ jZ9or5qTaYFDEStRkzL4mRpTyYhl/T7GgWpwOJWOih+cU7RWzjSOxiYMi4QSYlkpDUCcZew0 C3HfcxeFqpeL46zgysHC2ptjINXQ+xR2/F6dbed+l7OsvJAfkBqJoQ/48m+8ly1lbViKck7q gWw143ljaKn2qGIjZdb95zcI/CP4L45SXq8NOweACdx2NfUphLrIMbNCqLkMUJcrnruKfbnp C8OMjFJIqlu+PsW593NcZyOugEAH/0cBsDxlSauSVK4kp8ald26pcBI6igNnIMgjaxMiZBjn eoxBiKAOAO93sPnPr9/64CMMwv1T+0vU2lj8SMKOdHVrB9sW/ICGji5skE85xPEAtUkdAQN+ +c2clotujcaj9lBZKJdncKmSxY0SshEa66H+s76u+2Q3jGK6vOrdxakWYCvh2P0/l52Nd/t2 eazLFgwtk5rbo7O0MSC1GNXUsG07vtZ+zxJXFRx7PQ3ZIn0Y4HqwvXUvqgZ9EHiKy8F+ondz 9IS8/Fs81N5ieujHhSWqbaibapnpeDHvT/FWf8iXfJqWq+F7C8lGShSkmsS5AOhB4TNNH5/m ZzECJa1ql64= Message-ID: <9079b2c2-d055-f304-0744-215e2573e291@plan-b.pwste.edu.pl> Date: Wed, 29 Jan 2020 08:30:28 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="o2Acsl9JZohj43FuWj66sel8DVnStjgjR" X-Rspamd-Queue-Id: 486wBN6w2Qz4FSF X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=jG+I0zwC; dmarc=pass (policy=none) header.from=pwste.edu.pl; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl X-Spamd-Result: default: False [-4.53 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[pwste.edu.pl.dwl.dnswl.org : 127.0.11.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_ATTACHMENT(0.00)[]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; DMARC_POLICY_ALLOW(-0.50)[pwste.edu.pl,none]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; IP_SCORE(0.37)[asn: 206006(1.79), country: PL(0.07)]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2020 07:30:38 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --o2Acsl9JZohj43FuWj66sel8DVnStjgjR Content-Type: multipart/mixed; boundary="f0brc4kUcl1dHV9Puoe0NCqmkXd8EMEmK"; protected-headers="v1" From: Marek Zarychta To: freebsd-current@freebsd.org Message-ID: <9079b2c2-d055-f304-0744-215e2573e291@plan-b.pwste.edu.pl> Subject: Re: btxld not found References: <71165653-E6AA-46F7-B7F6-B5293ADC9779.ref@yahoo.com> <71165653-E6AA-46F7-B7F6-B5293ADC9779@yahoo.com> In-Reply-To: --f0brc4kUcl1dHV9Puoe0NCqmkXd8EMEmK Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable W dniu 28.01.2020 o=C2=A023:22, Kyle Evans pisze: > On Tue, Jan 28, 2020 at 3:28 PM Kyle Evans wrote: >> >> On Tue, Jan 28, 2020 at 2:15 PM Mark Millard wrote= : >>> >>> 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 wr= ote: >>>>>> >>>>>> Could anyone explain to me what I am doing wrong? make installworl= d 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/i38= 6.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 sta= nd/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 machi= ne'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=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/0= 05130.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. >>> >> >> I suspect y'all want something like the following: >> >=20 > Sorry, that patch is clearly wrong- here's take two. A lot of these > have dependencies on btxldr that aren't formally described in the > targets, so I missed... a lot. New version just builds btx first gated > behind a .WAIT then parallel the rest. >=20 > diff --git a/stand/i386/Makefile b/stand/i386/Makefile > index a9d402acf60..24255eefabf 100644 > --- a/stand/i386/Makefile > +++ b/stand/i386/Makefile > @@ -4,7 +4,10 @@ NO_OBJ=3Dt >=20 > .include >=20 > -SUBDIR.yes=3D mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot \ > +# Almost everything else here relies on btxldr, so we must make sure i= t's built > +# before everything else proceeds so we don't end up building against = a stale > +# btxldr and ending up with a build-during-install scenario. > +SUBDIR.yes=3D btx .WAIT mbr pmbr boot0 boot0sio boot2 cdboot gptboo= t \ > isoboot libi386 >=20 > SUBDIR.${MK_LOADER_FIREWIRE}+=3D libfirewire > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >=20 I have not correctly applied the patch. I am sorry for the confusion. The world builds fine with this second patch. I am not able to reproduce the original error anymore (buildworld and installworld after that, both go fine even with unpatched stand/i386/Makefile b/stand/i386/Makefile). --=20 Marek Zarychta --f0brc4kUcl1dHV9Puoe0NCqmkXd8EMEmK-- --o2Acsl9JZohj43FuWj66sel8DVnStjgjR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEMOqvKm6wKvS1/ZeCdZ/s//1SjSwFAl4xNJcACgkQdZ/s//1S jSywBgf/UU9TnFMDdQ+FY5GG7G8QKHssnwDW2YUON1HGYVj68cYnIVCbWkV+e63G SY1ABu9AH9pFZsIAzuapNnPL30Hp83KqdKbiIOug3gopm8TI4MZXoGW01zNooenZ MbVP0Gww8vpzQ00o6LN3Qxo8YqCLChkFtjoR+oA6cAe0GJNVnUpYqhh7VJxtNTgV ALV/y+9QxF3oG0bCxIqMSEjLDPs/zGgUvjM4g8ja353HmUWKvbEXJD268SIz8cbJ LTMZ9JLJQmL8ht6vuIRVLSzIKbCI7oVv/j/HyQR+sQLs44OTnB8CxQZ+G4FpdeO2 JzwKcC1o4GBQfDem7AQk8teV4fcG+w== =W6x+ -----END PGP SIGNATURE----- --o2Acsl9JZohj43FuWj66sel8DVnStjgjR--