From nobody Tue Dec 13 02:37:18 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NWN266DG5z4kVWY for ; Tue, 13 Dec 2022 02:37:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NWN256MtFz3qxW for ; Tue, 13 Dec 2022 02:37:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=aN0dujpb; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1670899051; bh=/7dOR6fo3qOG4lNcnOWHlnHEqyscH2p12gJWZxQzW04=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=aN0dujpbk8aIV7H5Wt1H9e4baAREQLJ7C7Hn4HUeLYm9NJnPkqYYakOZNF/q+Ms4vEXycjGUnHwesDOaW/LE0Q1Q9PC0SsXGboRzr4qOtJHBvF8UyyDdBd7F2UF4s0VTxk3oymN0xZ9HVAwxPy66xbCSjvgU6tP1b4V/gjJRlQv168qm05TcoGZTYZs3wB0adYM4qAnsWhaF7CLbuxRnXSfdAQDWtQbDEBVeF/L0iwuxw7d4en1S2Rn9/IfNDVKXW0UHugk7ljqmNscTT7acGyE1IJweExoW+WQVHLe8fRtxjjWivrumo8n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5Igp6gIOI3RdLOqdbvUIUAVTmInNDSoGCIsgXxk6vtuRjAxDS6Q5ogdL.laLFE4 hKa3C08Z.8ALUXU2Ptr4mKcoq1qyBU2hY2X5DpHgNpPGaethGAPNIFlFdNMDC4TTteDdWVZyZpBU yfmFgVNfwVug1AK.X3tZDZXC9_7nvAR9vmO_SHDeng_AMFAZ1skYq2oONDz6c8n_tbSEeYIMj8Aj _R8icO53k2Ar5vbL4rtEZBhtW2VmGF22.Uw_jRBcpg4WqFcy6dlYFiguG3f6r0TD9P1QRFySHkok gb0CYKDTosvY5KfyaDo5PPjgc1LNFBlL1xebJ8oBMNPuyS2i6pWZBqOVS4MheNDEOngpLkJJKnBC BsTyvycHXaO9FiXOgiuSi99VIRCECuanNI7nlzNkESgXPXVUTknGoujdeIw2hbIIV1og2ggMWgQq kaF1.saDsX4p11ehjgJ.Lu1uH7gbYqpaoA5UlZJmF1t_cdowZJde1PCRDvNnjaLnwBBSoWCKoGPy 1SeXZ2yxwqwtYzxii50Q5Q.KIbtZ7KpXxTo.IEP13R5r1LjUsl9ZryRpQcoSOndcd6ZQV31lXPJq HaH0MzuzNJj2dCYf0H01S8e0TTYIW6dDRh_K9vCWsksia5quDDeq.SaOwNDgP2L90JJsbF7koX.m PdsMmr4.nxsTTpOg.i20485e_4JD44EQ1GtPn249qK_2JjiqqEZXWXuqo3eejOiu6IR.5r80QM3H xzrM- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Tue, 13 Dec 2022 02:37:31 +0000 Received: by hermes--production-gq1-d898c4779-wpm62 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 463a88aef2bf6145d57de5ca704298db; Tue, 13 Dec 2022 02:37:29 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: git: 83bf6ab56829 - main - uname: switch machine to HW_MACHINE_ARCH Date: Mon, 12 Dec 2022 18:37:18 -0800 References: <3B0DA088-0B91-49F0-9372-A419E1BF982B@yahoo.com> To: Piotr Kubaj , dev-commits-src-main@freebsd.org In-Reply-To: Message-Id: <6830C482-7785-4560-85ED-469BA57DBDDF@yahoo.com> X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Spamd-Result: default: False [-3.35 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-0.96)[-0.955]; NEURAL_HAM_SHORT(-0.90)[-0.895]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.31:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.31:from] X-Rspamd-Queue-Id: 4NWN256MtFz3qxW X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Dec 12, 2022, at 13:49, Mark Millard wrote: > On Dec 12, 2022, at 11:51, Mark Millard wrote: > >> Piotr Kubaj wrote on >> Date: Mon, 12 Dec 2022 14:48:57 UTC : >> >>> Reverted. Sorry for the breakage. I think will return with the next >>> version of this patch and this time I'll make sure to run make universe >>> on my powerpc64le instead of those pesky universe14 hosts :) >> >> >> I expect that any buildworld buildkernel that explicitly has TARGET and >> TARGET_ARCH set on the command line or in the environment might work, >> both cross builds and explicitly set to match the system doing the >> builds (explicit but actually native --in other worlds, a limiting >> condition of a cross build, a self-hosted cross-style build). For the above: I got the TARGET/TARGET_ARCH use wrong: using the likes of MACHINE=arm explicitly on the make command line or in the environment is what avoids make doing the wrong thing via its otherwise automatic internal assignment. It is not the target that is the problem. See: https://lists.freebsd.org/archives/freebsd-arm/2022-December/002086.html >> So I'm not sure that universe builds are a sufficient test context for >> the specific type of change: You likely need a set of tests that do >> not assign TARGET or TARGET_ARCH explicitly but are executed in >> environments that look to be native for each example architecture. >> You might need to ask folks with systems that you do not have examples >> of to do some testing of non-explicit native builds. So the above is invalid. > I left something implicit for the non-explicit testing > that may not be obvious: a full sequence for a test > seems to be something like: > > A) from a pre-change context, build with the change > B) install the change and boot it > C) Try a native rebuild and install without any explicit > TARGET/TARGET_ARCH assignment. > > Making it through (C) should test the non-explicit case > for the kind of environment involved. > > Of course, if (B) fails or leads to failure in (C), > recovering via more from-source build activity in that > messed up environment could be difficult. Using explicit > TARGET and TARGET_ARCH assignments might help? Doing a build test after doing an update to be running something that contains the change still looks appropriate. It is MACHINE= that should not be explicitly used in such a test. === Mark Millard marklmi at yahoo.com