From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4hFF5M0rHZz37CV for ; Wed, 05 Aug 2026 02:40:39 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4hFF5H5PW4z378R for ; Wed, 05 Aug 2026 02:40:35 +0000 (UTC) Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4hFF574jVgz5fY for ; Wed, 05 Aug 2026 02:40:27 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=gmail.com header.s=20251104 header.b=cTtD35mi; spf=pass (mail01.ipfire.org: domain of vincent.mc.li@gmail.com designates 2607:f8b0:4864:20::534 as permitted sender) smtp.mailfrom=vincent.mc.li@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; d=lists.ipfire.org; s=202003rsa; cv=none; t=1785897627; b=hNjgfdqkjHXP0cjsNb5JBE3aJm1aDeOVJRHL9fDdu6I9FqBo2FbmQSFTf4IL6NvUTJrsia yaN2XGVYGVtHbCqx9dCJLLllA8l56CYOArmJtf4eVAr8nWbzdGr0pElWBKs+iwrTZeDKvE 0aM7PfglnSCaVmocd2WDdcrFK4Lau+pwIG0XzxbKMprCKOsCbbhzm/kVrQ6kTVApgQJRUS HGM+/uP3YUILKqrvwNIMIWO9tB7GC1pquYfQfu24ZoERZRsTxNNjkN6XP0xHM7kiGddrAO ymV0xv9cAiwzsF3beLxK1eVpb5V8C1+xW8h/Yet4KvAhDt3oK+0zj/sJhdUb5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1785897627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=IG594TnkWoBv5FU7AKcGGCHpLOF0/p3E+RiHtJxG1Dc=; b=hs9F/C5nPydST8mkc6s8Rkqa+fAN3YIPMOlgOnkZ2UVSBAUTZ0uOYZFYI0Qc93z2aW3NpV THMVSZH/8U1sqLKEdFIJIQyMWx9a548qlV4ZIE/o4A9rkBabT8qhMxXSvQUksehlUqMY0r 3I+4r4/3rmTzsybzTlTpwI15JjWEpA3LczH5NvZvPB+BnMHyEgmS0aUWJ6Y84sshX1hftD V+0hGvWIrk813e8Ts9KwWT+8SH/2koNlYL22OkJJ+AXo4dWrqB8D3SakIyFltSz18NiKvq DWEoBE8SYlUC2mONwQ/hyadcIPz39A1olO4syDneUUThljtX6Wc/qwwlgAqDBA== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=gmail.com header.s=20251104 header.b=cTtD35mi; spf=pass (mail01.ipfire.org: domain of vincent.mc.li@gmail.com designates 2607:f8b0:4864:20::534 as permitted sender) smtp.mailfrom=vincent.mc.li@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-ca97d139d8dso260161a12.2 for ; Tue, 04 Aug 2026 19:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785897626; x=1786502426; darn=lists.ipfire.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=IG594TnkWoBv5FU7AKcGGCHpLOF0/p3E+RiHtJxG1Dc=; b=cTtD35midJ13onppRdHjm57mLvGmu+y0Jq2vv4sJBG6nw32Dtltj8q1vQGEweus7/r SfKMeKGE5YTQPZMq9PquGyBsBp/W3MAbjN5Jl3xd72PxB/hmDEWFgujJSdqnDyfC3Fpg BP4o9uxbfmTE3Gp1wm5ZEsS4WHNqbz14ZfJ9kFpPNQXxtxCPW9k2v1CwOKh0lYzkOtLu V2r/IeSKclDBSv0i7p3x06anVxtCBOOat/KvZ+3usojbm79QGEZPUzLb9FLQTjOg6qBa q9/gVQRUi5KgyGK/iBpTLq8VujlIFPT5O84XEGXaREalvvKHoushOyL2HK90JPffl3ci bimQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785897626; x=1786502426; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=IG594TnkWoBv5FU7AKcGGCHpLOF0/p3E+RiHtJxG1Dc=; b=nOYWJ0wzb1o6rBSs8SgGS7uR7GcFWpD4A/BKqmlz2R0nB8Tdlo6AtnZxc+wJrga4L1 Zrt3tD7i5k7n+BdKhd4Z47BmvLA+Am0rMcx5FXY8H6ZBGvTJU/NDTSQTmcCxxiUSKnvg mpgSkJLRw04rzvxzdGm0KwhcRDYVArNrwcEtH4HimTa9W2riuY5WciZXsVaAUS9xQiaF LtKVdFVIZmbzGQwg4tfcZON3SxzxGiBgVrtCOq6J/1wuwPLPCid4+TcSu00tGaBxrnYk 2FpDEEOUEIFk5KppUe8QOSkzKq/gUobbhaX7HXAFwfyp/woibhLRsNBxk/zYbi7zxn3Q mglA== X-Forwarded-Encrypted: i=1; AHgh+Ro/qvAaFhHXYvvZo/6irFIDdT+JWlcG1uAgROrDc/ih8vEFuP36/3OzeTC4qpuuX68oCg6HV1c1cao9NA==@lists.ipfire.org X-Gm-Message-State: AOJu0Yz2DFqn/C482n13CRDg6cDzrPvONJftmWnuyskL5/e4x3nz/Rpw ioQXZUNvKRMFM42fdtHdi5KW3rUdL4QtvpU1ES3AgbKWfYAyani6Q7BPfPdZwhsW0LU= X-Gm-Gg: AR+sD11kzE6sDEy4wCMGWnXIGs2UYn4M6+a36QQGO30C1hQEdle/lEstW3ftSG56JGR +PggQSUyeKhgJmSk7HzflBDKJuVuzqbNxTsBWiZ+ijO7wnS3S6h80kVGKionDcFcZ6Lcor/0pu/ RhqOtG69CvLRt5URLlYzNEd/4Xq+yIhKJH69rbJICJdGJIA2z4ch4ReYQveM9/UpQSaJkzJyVwN +ztc3OFqPhEH7udbAAxNY18ETjW5sLdwiYJXgVENCPJnyYV+WTvR+BhNtYQVBye8LFb4OSW49Yt xtxk6hu/Wa8/fLgLXt/ECZ9MYiTT/UVKeg6gldOltazosIlgIs3tAW4AKCbKsCFKv1ThShb2ODw ZNBQW9qGZoWfV02fdm5PF8SO/URWunVibhghITbL3MTmDeV1E6ZX21GvBCeF25ACSZFBVMnNlmr R++1hLEw+wDM+hbPio7Glq1HolFIy0aSG64TvDweiVMdVyiP3m+dG+DMJvjKmBUtUQjJgW X-Received: by 2002:a05:6a21:1b85:b0:3c8:d3a4:7b40 with SMTP id adf61e73a8af0-3cb85ded978mr3936085637.2.1785897625647; Tue, 04 Aug 2026 19:40:25 -0700 (PDT) Received: from sc.10086.cn ([2409:8a62:4216:8470:43c3:3b45:83f6:fb4a]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-cbe708be5bdsm476544a12.15.2026.08.04.19.40.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2026 19:40:25 -0700 (PDT) From: Vincent Li To: Michael Tremer , development@lists.ipfire.org Cc: Vincent Li Subject: [PATCH v1 3/8] lfs/Config: Update config.guess and config.sub for loongarch64 support Date: Tue, 4 Aug 2026 19:39:51 -0700 Message-Id: <20260805023956.3379890-4-vincent.mc.li@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20260805023956.3379890-1-vincent.mc.li@gmail.com> References: <20260805023956.3379890-1-vincent.mc.li@gmail.com> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4hFF574jVgz5fY X-Rspamd-Action: no action X-Spamd-Result: default: False [-6.58 / 11.00]; BAYES_HAM(-3.00)[100.00%]; R_DKIM_ALLOW(-1.69)[gmail.com:s=20251104]; DKIM_REPUTATION(-0.96)[-0.95925563116036]; SPF_REPUTATION_HAM(-0.53)[-0.53023859239936]; R_MISSING_CHARSET(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4864::/56:c]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.10)[gmail-smtp-in.l.google.com]; RCVD_TLS_LAST(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 15169(-0.30), country: US(-0.01), ip: 2607:f8b0:4864:20::(-0.76)]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[development@lists.ipfire.org]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ALIAS_RESOLVED(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCPT_COUNT_THREE(0.00)[3]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::534:from]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[] X-Rspamd-Server: mail01.haj.ipfire.org Some software packages contain outdated config.guess and config.sub scripts that do not recognize loongarch64 as a valid architecture. This causes build failures when configuring packages that use these scripts to detect the target platform. Extend the UPDATE_AUTOMAKE macro to also apply to loongarch64 builds, ensuring that config.guess and config.sub are updated from the system automake installation for all packages. This brings loongarch64 in line with the existing behavior for aarch64 and riscv64 architectures, where these scripts are already updated to support those newer architectures. Signed-off-by: Vincent Li --- lfs/Config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/Config b/lfs/Config index 5abcd0715..2334d5f0a 100644 --- a/lfs/Config +++ b/lfs/Config @@ -476,7 +476,7 @@ define INSTALL_INITSCRIPTS done endef -ifeq "$(BUILD_ARCH)" "$(filter $(BUILD_ARCH),aarch64 riscv64)" +ifeq "$(BUILD_ARCH)" "$(filter $(BUILD_ARCH),aarch64 riscv64 loongarch64)" define UPDATE_AUTOMAKE for i in $$(find $(DIR_APP) -name config.guess -o -name config.sub); do \ cp -vf /usr/share/automake*/$$(basename $${i}) $${i} || \ -- 2.38.1