From patchwork Mon Nov 30 00:52:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Murray X-Patchwork-Id: 106331 Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.23232.1795999964325147682 for ; Sun, 29 Nov 2026 16:52:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=Wn52hoMj; spf=pass (domain: konsulko.com, ip: 209.85.160.171, mailfrom: scott.murray@konsulko.com) Received: by mail-qt1-f171.google.com with SMTP id d75a77b69052e-55d6deecef6so101210341cf.2 for ; Sun, 29 Nov 2026 16:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1795999963; x=1796604763; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=l/C2o+p4JGt0cE5yqEQz86s5h0RPf+BNDVP1Etnn+WQ=; b=Wn52hoMjzRQLYaLpNCEXJeT46GsWKs8ofFigg8T4EQBqGlY54zrPseMxrBcXFVYObY tBPXCQ/Mhl323+zbZ3YMnzvR9zJ1niSDv/y04LJFkle3J0hFpV/E9MMobupAlmw5I3G+ SD1e8bx0Ony+R0udirfps1ZUUTkWGsPle6dK8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795999963; x=1796604763; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=l/C2o+p4JGt0cE5yqEQz86s5h0RPf+BNDVP1Etnn+WQ=; b=d2Pl+copaQz1PEoFJWtIPTPTDyCHUCPB0WnvCwCWz/YfQtfFJPME6LLksyNr4DkaY7 Ps1QiTgtWfzWF52vl6j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+9pdtl4Nkn/tifmysJLydDMA vZudRTInAXjw2b6IVGJa1xlu0qzdn5Yo8WhyBJ5tiLtTbsY0vIq3JJkLfVks45xK4YQ== X-Received: by 2002:a05:620a:199b:b0:949:7502:69c with SMTP id af79cd13be357-949bab7ee59mr5898092185a.73.1795999963071; Sun, 29 Nov 2026 16:52:43 -0800 (PST) Return-Path: Received: from ghidorah.spiteful.org (107-179-213-3.cpe.teksavvy.com. [107.179.213.3]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-921787fd72asm141946796d6.12.2026.11.29.16.52.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 16:52:42 -0800 (PST) From: Scott Murray To: yocto-patches@lists.yoctoproject.org Subject: [meta-lts-mixins][wrynose/rust][PATCH 01/10] rust-target-config.bbclass: Add i128:128 to mips64 data layouts Date: Sun, 29 Nov 2026 19:52:19 -0500 Message-ID: X-Mailer: git-send-email 2.56.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 30 Nov 2026 00:52:52 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/5588 From: Michal Sieron LLVM 22 added i128:128 to the default MIPS64 data layout. rustc rejects a target spec whose data-layout differs from the one LLVM reports, so building libstd for mips64 fails: error: data-layout for target `mips64-octeon2-linux-gnu`, `E-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128`, differs from LLVM target's `mips64-octeon2-linux-gnu` default layout, `E-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128` Add i128:128 to the mips64 and mips64el entries to match, as already done for the other 64-bit architectures. mips64-n32 is left alone. AI-Generated: Uses Cursor Signed-off-by: Michal Sieron Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (adapted from oe-core commit 781e3a54a8cf13c092fd68c46cd87d80ca8679f0) Signed-off-by: Scott Murray --- classes-recipe/rust-target-config.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes-recipe/rust-target-config.bbclass b/classes-recipe/rust-target-config.bbclass index fee19a1..1faaaef 100644 --- a/classes-recipe/rust-target-config.bbclass +++ b/classes-recipe/rust-target-config.bbclass @@ -225,7 +225,7 @@ TARGET_C_INT_WIDTH[mipsel] = "32" MAX_ATOMIC_WIDTH[mipsel] = "32" ## mips64-unknown-linux-{gnu, musl} -DATA_LAYOUT[mips64] = "E-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128" +DATA_LAYOUT[mips64] = "E-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" TARGET_ENDIAN[mips64] = "big" TARGET_POINTER_WIDTH[mips64] = "64" TARGET_C_INT_WIDTH[mips64] = "32" @@ -239,7 +239,7 @@ TARGET_C_INT_WIDTH[mips64-n32] = "32" MAX_ATOMIC_WIDTH[mips64-n32] = "64" ## mips64el-unknown-linux-{gnu, musl} -DATA_LAYOUT[mips64el] = "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128" +DATA_LAYOUT[mips64el] = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" TARGET_ENDIAN[mips64el] = "little" TARGET_POINTER_WIDTH[mips64el] = "64" TARGET_C_INT_WIDTH[mips64el] = "32"