From nobody Mon Dec 12 08:40:16 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 4NVw7Q4bHXz4jZt8 for ; Mon, 12 Dec 2022 08:40:34 +0000 (UTC) (envelope-from nork@ninth-nine.com) Received: from mail.ninth-nine.com (153.126.194.184.v6.sakura.ne.jp [IPv6:2401:2500:102:3033:153:126:194:184]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mail.ninth-nine.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NVw7Q0JVfz3nPB for ; Mon, 12 Dec 2022 08:40:33 +0000 (UTC) (envelope-from nork@ninth-nine.com) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.36.138] (sakura.ninth-nine.com [219.127.74.120]) (authenticated bits=0) by mail.ninth-nine.com (8.17.1/8.17.1) with ESMTPSA id 2BC8eL8E064282 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 12 Dec 2022 17:40:21 +0900 (JST) (envelope-from nork@ninth-nine.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ninth-nine.com; s=mailmm; t=1670834421; bh=IN51PlqVH589JUqEdad1jw0Up9LpVdmCcmoD2jDA4hE=; h=Date:Subject:To:References:From:In-Reply-To; b=CB02xHaNqy+906ikvHb0nMVgpuzjPSmmtFHLNkZ5QQx53pLD8GFkcCWpKG0QBdxoG z5JmkXRBPZc/QRmw545j8bJr8/9d0jg3PxX+59jRgzhYWry5v83is2ZfEdpq8fQtLQ Fx3yO/xZxjVnGXq+/fa2umLjz/VO57Utcu29vOrFielNFUUccSLAqCmI9ouNzayRcX l2grQwCUu0yPKmWYxq+pcyABtM/CR73BXWM6s0ot3GmuxOwkGw8SjW+xS/g5zRtPGz r/1A9VxU4O3hq8B9gmv67bw5oYvNCKywhucF2jcr+VzIvih4lRv8xlyPvVGV73vE9I HQMs5xYR8oKWw== X-Authentication-Warning: ik1-333-26680.vs.sakura.ne.jp: Host sakura.ninth-nine.com [219.127.74.120] claimed to be [192.168.36.138] Message-ID: Date: Mon, 12 Dec 2022 17:40:16 +0900 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 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: git: 83bf6ab56829 - main - uname: switch machine to HW_MACHINE_ARCH To: Piotr Kubaj , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202212111208.2BBC835O095410@gitrepo.freebsd.org> From: Norikatsu Shigemura In-Reply-To: <202212111208.2BBC835O095410@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4NVw7Q0JVfz3nPB X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7684, ipnet:2401:2500::/32, country:JP] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Hi pkubaj. On 2022/12/11 21:08, Piotr Kubaj wrote: > commit 83bf6ab568293e325f437342cdb87a626353e27c > Author: Piotr Kubaj > AuthorDate: 2022-12-11 03:01:44 +0000 > Commit: Piotr Kubaj > CommitDate: 2022-12-11 12:05:39 +0000 > uname: switch machine to HW_MACHINE_ARCH > On powerpc64, powerpc64le and riscv64 some software wrongly assumes that > it runs on powerpc or riscv (32-bit). > Differential revision: https://reviews.freebsd.org/D35962 > Approved by: alfredo, imp This change causes src build is broken, I noticed that etcupdate run failed after make world. - - - - - - - - - - - - - - - - - - # etcupdate -L /dev/stdout >>> update command: rerun= tarball= preworld= >>> Building tree at /var/db/etcupdate/etcupdate-5TisjZ3 with make -DNO_FILEMON make[1]: "/usr/src/Makefile.inc1" line 163: Unknown target aarch64:aarch64. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src Failed to build new tree. - - - - - - - - - - - - - - - - - - So I check _TARGET* and MACHINE_*: - - - - - - - - - - - - - - - - - - # make -V_TARGET -V_TARGET_ARCH -V_TARGET_CPUARCH aarch64 aarch64 # make -VMACHINE -VMACHINE_ARCH -VMACHINE_CPUARCH aarch64 aarch64 aarch64 - - - - - - - - - - - - - - - - - - maybe, this should be following.. - - - - - - - - - - - - - - - - - - # make -V_TARGET -V_TARGET_ARCH -V_TARGET_CPUARCH arm64 aarch64 # make -VMACHINE -VMACHINE_ARCH -VMACHINE_CPUARCH arm64 aarch64 aarch64 - - - - - - - - - - - - - - - - - -