From patchwork Fri Jan 24 15:56:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56060 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A3CBC0218E for ; Fri, 24 Jan 2025 15:57:14 +0000 (UTC) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mx.groups.io with SMTP id smtpd.web11.15560.1737734226245478179 for ; Fri, 24 Jan 2025 07:57:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=UvEtyquk; spf=softfail (domain: sakoman.com, ip: 209.85.216.49, mailfrom: steve@sakoman.com) Received: by mail-pj1-f49.google.com with SMTP id 98e67ed59e1d1-2efd81c7ca4so3214500a91.2 for ; Fri, 24 Jan 2025 07:57:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1737734225; x=1738339025; darn=lists.openembedded.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; bh=2bS3EnvPtqdujFy/QmD8f38Tj/M2eblVWJ+Kw4kfxzE=; b=UvEtyqukm1v2+zi7n0yu/kMBl4jBaPQlWeHPFRKdxSFttHB5T4Fp+m0ywqTceJkVxA eZemTnlT4epOiSCdhCzQ3egVv0SAS+idWVxqXzhynSohiJKpnunhVJnaxt/iB7Fhvtln nkOYlb8fz6JkVBb4zl0HtbN8Q0XmNxlnNUSW1Fu+ZjSVH7HAdkqu9h6+2pLfcktxwGzP tGC2RTfLCGBATWhGodQMd7rsq+soxXIfNsiiC8cXz6Al0UiLv7DAmzoDn3vQqii30RZx /KUzm9TXTmQvr4pls0pPYaNS4ztW/PreCg1mefacPUBd2xnQHQrW+ZJapq3ePmKs2oen Vw0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737734225; x=1738339025; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2bS3EnvPtqdujFy/QmD8f38Tj/M2eblVWJ+Kw4kfxzE=; b=VVreJ9yMfWdpuXmMV1zaiNIXXR941GvnrZRMEQzjX95q/bpnqwlfA1bZ+dookurT5M JGJPKwKGGFzOyFt3aYtANuBBEfcUM8uscLYU+b68OdVxiMvJ6CHUVvDgDwQhvduJBfNm 3c8g7cMaf3fzOC1OnzXfipvHrk/pjepMAZodLpKEpdJ92ua9/by3hJIfW9wyqJUELPdn ECn9FqWz8lbSRlL9/ew5RsnshEk05vC9CmqprEUWMbytt86YzHgrJUHSnvKnD2UMwMrx C25cMQllNFaJkPbSJIE2kCOoYZqpKA5LI9eyjzKMF5oVpJoHiNC9RQ7aGvcb1A5n7r7r PdeA== X-Gm-Message-State: AOJu0YyhsCrWBCiijexAuhXavlO0jMBK3IzjgjUN/hb5KWFA5ovVZSs2 IW3Uf7ctIr/05NjqA6CmNra5jZT9KLbLfO78phhDx2SUsQx1dJampLAKeI1/Tgv+VhkVXRdNERq BJk0= X-Gm-Gg: ASbGncsDkM29Scj3bEt3RPhg79TGJSM3uXaflUD7pduGYcjmwn368zVk3GzYOVbIkHC ZmK9TPBs+qzC27Y7X8uw1xA645jEgRt1P/LvtYVchNEMC8R5meKG8WYPNN19qeuyF0PofIx8H8t OWrFzT4hCcBq4y9/pmbtSFbG2s2sUoraclSeBkXmWBObIxdwI12giZbCtquzBibE2rsGYEx62ui +One9X7IjH4cGOcwFbKcPIQj56wcpQ22lUIDEUqYt9uJnO52hV+0OK+dycG4F0TS7sVpA== X-Google-Smtp-Source: AGHT+IHu0PmfFt5cVX8OMBKhGirW/tGtdVPU1Yeeq9wNC2RJwA4q5LnMNFH2QRDXuspb8nTfRA040w== X-Received: by 2002:a17:90b:2f4d:b0:2ee:3cc1:793b with SMTP id 98e67ed59e1d1-2f782d3603bmr39460305a91.26.1737734225408; Fri, 24 Jan 2025 07:57:05 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f7ffaf9e98sm1879168a91.38.2025.01.24.07.57.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 07:57:05 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 1/6] socat: patch CVE-2024-54661 Date: Fri, 24 Jan 2025 07:56:49 -0800 Message-ID: <624b91c23559d7d1bc51ec221331513529853cd2.1737734087.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 24 Jan 2025 15:57:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210228 From: Peter Marko Picked upstream commit https://repo.or.cz/socat.git/commitdiff/4ee1f31cf80019c5907876576d6dfd49368d660f Since this was the only commit in 1.8.0.2 it also contained release changes which were dropped. Signed-off-by: Peter Marko Signed-off-by: Steve Sakoman --- .../socat/files/CVE-2024-54661.patch | 113 ++++++++++++++++++ .../socat/socat_1.8.0.0.bb | 1 + 2 files changed, 114 insertions(+) create mode 100644 meta/recipes-connectivity/socat/files/CVE-2024-54661.patch diff --git a/meta/recipes-connectivity/socat/files/CVE-2024-54661.patch b/meta/recipes-connectivity/socat/files/CVE-2024-54661.patch new file mode 100644 index 0000000000..3bf685ebd9 --- /dev/null +++ b/meta/recipes-connectivity/socat/files/CVE-2024-54661.patch @@ -0,0 +1,113 @@ +From 4ee1f31cf80019c5907876576d6dfd49368d660f Mon Sep 17 00:00:00 2001 +From: Gerhard Rieger +Date: Fri, 6 Dec 2024 11:42:09 +0100 +Subject: [PATCH] Version 1.8.0.2 - CVE-2024-54661: Arbitrary file overwrite in + readline.sh + +CVE: CVE-2024-54661 +Upstream-Status: Backport [https://repo.or.cz/socat.git/commitdiff/4ee1f31cf80019c5907876576d6dfd49368d660f] +Signed-off-by: Peter Marko +--- + readline.sh | 10 +++++++-- + test.sh | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 71 insertions(+), 2 deletions(-) + +diff --git a/readline.sh b/readline.sh +index b6f8438..1045303 100755 +--- a/readline.sh ++++ b/readline.sh +@@ -22,9 +22,15 @@ if [ "$withhistfile" ]; then + else + HISTOPT= + fi +-mkdir -p /tmp/$USER || exit 1 + # + # + +-exec socat -d readline"$HISTOPT",noecho='[Pp]assword:' exec:"$PROGRAM",sigint,pty,setsid,ctty,raw,echo=0,stderr 2>/tmp/$USER/stderr2 ++if test -w .; then ++ STDERR=./socat-readline.${1##*/}.log ++ rm -f $STDERR ++else ++ STDERR=/dev/null ++fi ++ ++exec socat -d readline"$HISTOPT",noecho='[Pp]assword:' exec:"$PROGRAM",sigint,pty,setsid,ctty,raw,echo=0,stderr 2>$STDERR + +diff --git a/test.sh b/test.sh +index 46bebf8..5204ac7 100755 +--- a/test.sh ++++ b/test.sh +@@ -19154,6 +19154,69 @@ esac + N=$((N+1)) + + ++# Test the readline.sh file overwrite vulnerability ++NAME=READLINE_SH_OVERWRITE ++case "$TESTS" in ++*%$N%*|*%functions%*|*%bugs%*|*%readline%*|*%security%*|*%$NAME%*) ++TEST="$NAME: Test the readline.sh file overwrite vulnerability" ++# Create a symlink /tmp/$USER/stderr2 pointing to a temporary file, ++# run readline.sh ++# When the temporary file is kept the test succeeded ++if ! eval $NUMCOND; then : ++elif ! cond=$(checkconds \ ++ "" \ ++ "" \ ++ "readline.sh" \ ++ "" \ ++ "" \ ++ "" \ ++ "" ); then ++ $PRINTF "test $F_n $TEST... ${YELLOW}$cond${NORMAL}\n" $N ++ numCANT=$((numCANT+1)) ++ listCANT="$listCANT $N" ++ namesCANT="$namesCANT $NAME" ++else ++ tf="$td/test$N.file" ++ te="$td/test$N.stderr" ++ tdiff="$td/test$N.diff" ++ da="test$N $(date) $RANDOM" ++ echo "$da" >"$tf" ++ ln -sf "$tf" /tmp/$USER/stderr2 ++ CMD0="readline.sh cat" ++ printf "test $F_n $TEST... " $N ++ $CMD0 /dev/null 2>"${te}0" ++ rc0=$? ++# if [ "$rc0" -ne 0 ]; then ++# $PRINTF "$CANT (rc0=$rc0)\n" ++# echo "$CMD0" ++# cat "${te}0" >&2 ++# numCANT=$((numCANT+1)) ++# listCANT="$listCANT $N" ++# namesCANT="$namesCANT $NAME" ++# elif ! echo "$da" |diff - "$tf" >$tdiff; then ++ if ! echo "$da" |diff - "$tf" >$tdiff; then ++ $PRINTF "$FAILED (diff)\n" ++ echo "$CMD0 &" ++ cat "${te}0" >&2 ++ echo "// diff:" >&2 ++ cat "$tdiff" >&2 ++ numFAIL=$((numFAIL+1)) ++ listFAIL="$listFAIL $N" ++ namesFAIL="$namesFAIL $NAME" ++ else ++ $PRINTF "$OK\n" ++ if [ "$VERBOSE" ]; then echo "$CMD0 &"; fi ++ if [ "$DEBUG" ]; then cat "${te}0" >&2; fi ++ if [ "$VERBOSE" ]; then echo "$CMD1"; fi ++ if [ "$DEBUG" ]; then cat "${te}1" >&2; fi ++ numOK=$((numOK+1)) ++ listOK="$listOK $N" ++ fi ++fi # NUMCOND ++ ;; ++esac ++N=$((N+1)) ++ + # end of common tests + + ################################################################################## +-- +2.30.2 + diff --git a/meta/recipes-connectivity/socat/socat_1.8.0.0.bb b/meta/recipes-connectivity/socat/socat_1.8.0.0.bb index 912605c95c..bb39730005 100644 --- a/meta/recipes-connectivity/socat/socat_1.8.0.0.bb +++ b/meta/recipes-connectivity/socat/socat_1.8.0.0.bb @@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \ file://0001-fix-compile-procan.c-failed.patch \ + file://CVE-2024-54661.patch \ " SRC_URI[sha256sum] = "e1de683dd22ee0e3a6c6bbff269abe18ab0c9d7eb650204f125155b9005faca7" From patchwork Fri Jan 24 15:56:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56054 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EFABC0218F for ; Fri, 24 Jan 2025 15:57:14 +0000 (UTC) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mx.groups.io with SMTP id smtpd.web10.15738.1737734228007073150 for ; Fri, 24 Jan 2025 07:57:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=WjfEIwAS; spf=softfail (domain: sakoman.com, ip: 209.85.216.42, mailfrom: steve@sakoman.com) Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-2ef8c012913so3226889a91.3 for ; Fri, 24 Jan 2025 07:57:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1737734227; x=1738339027; darn=lists.openembedded.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; bh=3SuvnAr+inhi2dz8u8VmsqqSE9ahlC10DYyIfQgRswg=; b=WjfEIwASIzGv2OlG4Wkj+d5bpGjLe4nkid8eSlxbFTE/Cfd3pXXtO9Xdt3SeL9M/5U 8ZrTNsjdJ0KBU3tJf57bCIuBg9Vf7MesOSi0PtWKtI7WuHLRE2lcd0cXq9eP9Jk50RFY lsWKv17sWE7GRV0XDjedOlAn/o+2vsnwCzyNL0eJWzzxqJbT++1qYx8Z2qnyjwoY66t7 0LguJRBEaZGXCzdzo/4RqwACotkN6muxCzgjYLJSHKBTVARqfGNnPg+3wauHNrpzj3SE m4ji5nCR/UCoxzep8KR63wQMpmjlOUnaZS3IggSQOOOv59e53OArxqVpHJghRnlnfzbe fzlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737734227; x=1738339027; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3SuvnAr+inhi2dz8u8VmsqqSE9ahlC10DYyIfQgRswg=; b=etC2sEk0NThOoEnwrcXYngVM7utny/J9roVghdhYZ6KNj2fXxd2W8AqKDxz6C2RkMb LlISYbEJ6c/4CK/Ki4HzFzjOBX+nJy/LzhV6tnf+yZnmBHNHW2Yxrit2A/rHNiFM1LSq 1lWthgZMfQZcLS+c5YhRkz81q5bm0ViNAFGQiTz79U5jukv6yJItMLv7HNVG9DBkJ5bx bQSJD6nOJeu6A0brkin87ff6xDobZXXMi9HNIBvr+JO0XjtwwSPpHWzC6AmLFwspSwCJ +rySgFGqsQ4Uz1bKPt50s9JAc/bUgTzJz6s9ffGHN5UKDqfNEfyK6w0THiOAE1FlF8c0 tWwQ== X-Gm-Message-State: AOJu0YwB86M1OFq2rt66FoCE0xsmtTRJOEJ/AvXwRWLH2drOJTIGr/fT HHzqTP1FV+o/2rJJJvHBRTNVYpGljpwaZIaF4WzBVnfBtEA1AtihR2ExBit+vuWC4N2uX8yldwh s1p4= X-Gm-Gg: ASbGncsIv+H+7P3FxB8aW6UWGxc3wm0p9mw5k2KGkM8Tcw8bgQEY+g6DeDW/BKTCKQj h+5F54Duft9uAZcat2issHNAOsJfJaIQLEnK0dq3346m8AA7gbrYc/08kZq702wrS3oZohGLGeF ibvHkaJhSckG/U2CKc6qoH0Kwr4PJHQjUQOQ2FzqGsTMX9ZyMY/lxEfUaGW6nIGH/4zIACmWjmW ohF5At/OTwKLu4zG005uANeGSkgG7Ejq+f3hou2zPa3saySl+lR3mzMrnKaCac4TOvWTA== X-Google-Smtp-Source: AGHT+IFAxa45ZQygEiN8dDgZER2sJQU40P3Eys6L3cxKlVDNXYhUzy/blMeoLBe8Y5B9GNzzJ5MrVw== X-Received: by 2002:a17:90a:7187:b0:2f7:e201:a8cc with SMTP id 98e67ed59e1d1-2f7e201ab8fmr22202388a91.18.1737734227267; Fri, 24 Jan 2025 07:57:07 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f7ffaf9e98sm1879168a91.38.2025.01.24.07.57.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 07:57:07 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 2/6] classes/nativesdk: also override TUNE_PKGARCH Date: Fri, 24 Jan 2025 07:56:50 -0800 Message-ID: <9c64247b206efa72a52460a0b94734f7afc832e1.1737734087.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 24 Jan 2025 15:57:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210229 From: Ross Burton The nativesdk class overrides PACKAGE_ARCH and unsets TUNE_FEATURES, but as recipes might want to look at TUNE_PKGARCH too (for example, when setting QEMU_EXTRAOPTIONS) we should also override that variable. Otherwise, a nativesdk recipe will have the TUNE_PKGARCH of the target, which leads to errors (eg passing mips arguments to an arm qemu). Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 05322beb290e1db30bef49b4364f8a8e6e9f7408) Signed-off-by: Steve Sakoman --- meta/classes-recipe/nativesdk.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes-recipe/nativesdk.bbclass b/meta/classes-recipe/nativesdk.bbclass index b0634de582..4e57349aa0 100644 --- a/meta/classes-recipe/nativesdk.bbclass +++ b/meta/classes-recipe/nativesdk.bbclass @@ -32,6 +32,7 @@ RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot" # PACKAGE_ARCH = "${SDK_ARCH}-${SDKPKGSUFFIX}" PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}" +TUNE_PKGARCH = "${SDK_ARCH}" # # We need chrpath >= 0.14 to ensure we can deal with 32 and 64 bit From patchwork Fri Jan 24 15:56:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56059 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F9E6C3DA4A for ; Fri, 24 Jan 2025 15:57:14 +0000 (UTC) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mx.groups.io with SMTP id smtpd.web10.15740.1737734229385348608 for ; Fri, 24 Jan 2025 07:57:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=05/8ChnZ; spf=softfail (domain: sakoman.com, ip: 209.85.216.42, mailfrom: steve@sakoman.com) Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-2ef70c7efa5so3402621a91.2 for ; Fri, 24 Jan 2025 07:57:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1737734229; x=1738339029; darn=lists.openembedded.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; bh=vdxntduq6/3Jqfdtmvd8z8J8Y+YGb1aWMmBwR3nfwwk=; b=05/8ChnZENAg7jE+unLrtTlRTlrPGd4rfXaYoM+e+EHC4Lr+bp6uzqhY5yVE+K5eCF vxJX2ewMCkrqE9UH/T2E6l05KMvtSzVHB+EZDURj2JG44O7tSrpOeh/yGt96YAH3/S5G Oo4im5Ret3n9GjCINO0OTV3TzCvZjWb1XoYG4QSoS/lSSqgGLrWMqveFiOZGqD8OXAeh lgwpL7FO8DXMV2EdH+dQS1Yh1YqMpxp3At2uI1RT+6/3bJOVYXcYiq7zPIEzjqb1z5NA WNjwL8UD6MhK3R/etL6+ksYLKA+KtJMBX1suBw6qr4/1TyhTE98lKs8IAMYkVaAIG7nY t4fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737734229; x=1738339029; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vdxntduq6/3Jqfdtmvd8z8J8Y+YGb1aWMmBwR3nfwwk=; b=gIQPAcMs2Ya/M2K4hxdFDECoXrQp4b7DSk+ru9OlsDnu42fJkuC5xoCDP6jqj19ZXL 7N2p5QJgOVa7U0Cnvw8DqxJvKeEmKB5TIUuD1E6la/yT0kTmUXIwL2u3gx8pM83Ahb9M v9EFvxSHMZCl/y/cZAgTVI+8Ih3pnq4ur+8mxftryu2LSVnB0ILRxIcEqEd9xwcsVq+u Qtg+vuBm1QZlK6RaveQLmVgTEun7OWbamGuXxbcZSTMmTyF9sFV6rl/jHb2dw3d17j9+ Clgy40goQHLpriw/z8YuV1eE/0pxtxk07lBYDAgmv9piq3Ai0yEuE1Cw7ZZcIZG/86+B PhNA== X-Gm-Message-State: AOJu0YxkDmZ9dNsbdJBRQGbcSx4N655fPDuvYwZmTM6J7BuGlt3OmOsH MVrTC4uRiOYE3ebF0IH2k9P5SPZOUxvPCTp2CTra98XVi3357tphTZv9rfY4Z1EOrXa+Sxyy4mv ZwOM= X-Gm-Gg: ASbGncub714XksO2BJbBWtU5bqszSdMo9jBi5eXfRurfOFZv7bcHWb8K/hU8ejFUL8j yO1qdYavtB4PRnpo23SnkRPwSLK/woM2lfjNj557YHiWVphkAL0goYQ4cgpssIL4QjuSLTMxHX8 kz5p2yPrH7HplPXPMYuV9vwgnnhZR5IFp0FfGlErTS/YjDWm1zSMeMvrD8CzApERB+o9qWYdPEe zjthhUeqqn935QOGrWH8hCn5j0vO1qd/bXNJNkpJof5tv5aucHwCUPBT7TkOgmy7Oz5cg== X-Google-Smtp-Source: AGHT+IGFkoSLY/GBmSt53ftYtcaxCPmwWEvmn7m3/G1AlU0U5e/f5gKGrW+pXmGTMKH942OAtj3WGQ== X-Received: by 2002:a17:90b:5208:b0:2ee:863e:9ff6 with SMTP id 98e67ed59e1d1-2f782c99682mr47924777a91.16.1737734228667; Fri, 24 Jan 2025 07:57:08 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f7ffaf9e98sm1879168a91.38.2025.01.24.07.57.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 07:57:08 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 3/6] classes/qemu: use tune to select QEMU_EXTRAOPTIONS, not package architecture Date: Fri, 24 Jan 2025 07:56:51 -0800 Message-ID: <6db23345fd653aa0b4e483d2635376dfe7bed3cd.1737734087.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 24 Jan 2025 15:57:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210230 From: Ross Burton Using the package architecture to select the right qemu options to pass to qemu-user is incorrect, and fails for recipes that set PACKAGE_ARCH to MACHINE_ARCH (as the qemuppc workarounds suggest) because there are not typically any options set for the machine name. Solve this by using TUNE_PKGARCH instead: for the majority of recipes this is the same value, but for machine-specific recipes it remains the same instead of changing to the machine name. This means we can remove the qemuppc workarounds, as they're obsolete. Also update the gcc-testsuite recipe which uses the same pattern to use TUNE_PKGARCH, and generalise the else codepath to avoid needing to update the list of architectures. [ YOCTO #15647 ] Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 414b754a6cbb9cc354b1180efd5c3329568a2537) Signed-off-by: Steve Sakoman --- meta/classes-recipe/qemu.bbclass | 8 ++------ meta/recipes-devtools/gcc/gcc-testsuite.inc | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/meta/classes-recipe/qemu.bbclass b/meta/classes-recipe/qemu.bbclass index dbb5ee0b66..8d7c82668b 100644 --- a/meta/classes-recipe/qemu.bbclass +++ b/meta/classes-recipe/qemu.bbclass @@ -60,8 +60,8 @@ def qemu_run_binary(data, rootfs_path, binary): # this dance). For others (e.g. arm) a -cpu option is not necessary, since the # qemu-arm default CPU supports all required architecture levels. -QEMU_OPTIONS = "-r ${OLDEST_KERNEL} ${@d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH')) or ""}" -QEMU_OPTIONS[vardeps] += "QEMU_EXTRAOPTIONS_${PACKAGE_ARCH}" +QEMU_OPTIONS = "-r ${OLDEST_KERNEL} ${@d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('TUNE_PKGARCH')) or ""}" +QEMU_OPTIONS[vardeps] += "QEMU_EXTRAOPTIONS_${TUNE_PKGARCH}" QEMU_EXTRAOPTIONS_ppce500v2 = " -cpu e500v2" QEMU_EXTRAOPTIONS_ppce500mc = " -cpu e500mc" @@ -71,7 +71,3 @@ QEMU_EXTRAOPTIONS_ppce6500 = " -cpu e500mc" QEMU_EXTRAOPTIONS_ppc64e6500 = " -cpu e500mc" QEMU_EXTRAOPTIONS_ppc7400 = " -cpu 7400" QEMU_EXTRAOPTIONS_powerpc64le = " -cpu POWER9" -# Some packages e.g. fwupd sets PACKAGE_ARCH = MACHINE_ARCH and uses meson which -# needs right options to usermode qemu -QEMU_EXTRAOPTIONS_qemuppc = " -cpu 7400" -QEMU_EXTRAOPTIONS_qemuppc64 = " -cpu POWER9" diff --git a/meta/recipes-devtools/gcc/gcc-testsuite.inc b/meta/recipes-devtools/gcc/gcc-testsuite.inc index 0a950b6c9e..af6c7ad5a9 100644 --- a/meta/recipes-devtools/gcc/gcc-testsuite.inc +++ b/meta/recipes-devtools/gcc/gcc-testsuite.inc @@ -53,8 +53,8 @@ python check_prepare() { # - valid for x86*, powerpc, arm, arm64 if qemu_binary.endswith(("x86_64", "i386", "arm", "aarch64")): args += ["-cpu", "max"] - elif qemu_binary.endswith(("ppc", "mips", "mips64")): - extra = d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH')) + else: + extra = d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('TUNE_PKGARCH')) if extra: args += extra.split() # For mips64 we could set a maximal CPU (e.g. Loongson-3A4000) however they either have MSA From patchwork Fri Jan 24 15:56:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56058 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E14DC0218C for ; Fri, 24 Jan 2025 15:57:14 +0000 (UTC) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mx.groups.io with SMTP id smtpd.web10.15741.1737734230795118329 for ; Fri, 24 Jan 2025 07:57:10 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=kfAJ8pnf; spf=softfail (domain: sakoman.com, ip: 209.85.216.51, mailfrom: steve@sakoman.com) Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-2ef760a1001so4040749a91.0 for ; Fri, 24 Jan 2025 07:57:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1737734230; x=1738339030; darn=lists.openembedded.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; bh=kTMzgg9m8wu8KQqqMh7m8fCMV5tg83aw7uSC71UxQEI=; b=kfAJ8pnfv5kUlRl5EB3aM2bZjDMwhUo+HCGetyBS3/ffrTRhWz4wd7Qq3ghDQlZ3QB y14J2OOSkqwhWR+Aw3dumovjKC0LABgeRHjA/PxD4SNTV0vvxRYQUDPZrSX+nNvqil5L Rw1dOwWu0fDJhwsZzISY58StDk8dqGAeeh7lEJXoM/RGERhiL/y4KOaDuABvv7ffEWey RPT2RGRAsiBVtifn6vHnMajn4SBvzpdR9bbrh90/LNTxhb0uHkpy2fXnKz2VzYKCrwj/ EPMVfu3yz/f3+LidqsOh9qwkKEJucBbFwLpP8VxTHa3tyLDst5REtn+VsIPFvOy0bAQA c50Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737734230; x=1738339030; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kTMzgg9m8wu8KQqqMh7m8fCMV5tg83aw7uSC71UxQEI=; b=vh0tWmvUIjS6uoI1Ou4nT6yKfvG2/n60uJcSw96CU39y2rDOtkXDzvskKjXWBCOMk6 cgdWrZinZpr5b9aPAdK7i21EfxE9ARhNlWPKolg3rx92bPqjBkfVYzKLWXzKdPA+cXCE sZ0rrf8Ct34GdnIp15ZAMV9Hl9aHqeI8oS+api/CMZ9I3dE5JbUMSOAK/u1j/xQ2w0zG UrZq+NWDDBAufybhC34L32xbLTr06PLwySU/8cO9OEdnyCwJqqvuiRdwbZCDijdpt7Wi CsoPWXtjNKyYZlWa5cA2LnV4V/FXKepG1vDe6meTSRkk2Q4Fuxmu9ki9SBrGjfL21G8I Hxpw== X-Gm-Message-State: AOJu0Yzd3SgqEhMPeEQzk7GPIe0NSXzYY+ISMyrRgrotAxtgZjtJDUbn y1YFcQGjXlPaWu8tuN72kmWqAVSVZPSxNC8PfnlRxXwd8ar0XWDG8/Ow37GmC9hqC+hcNsDssZN kMFE= X-Gm-Gg: ASbGncuITyPEoyDs4UF7ZILz0xRfT3qzFMrPEYMx1xgrRzbkKne1wxv0Ame7HF3qjmj JtCxY/Sw0joqr+RE5sE7ehz9eyw/XEP9zVNpRpvl+VB5GtzB/Ho2DtE6QNN3yIyQxoX7sh/mg+3 jqjlaUVKu+rPNuUHpf/jRm7S0XJxW7U9HqgIz1srRaink49hDpJ3G5FzS8rt+ACx8Gsfm8NwFHT EnxSFexB0fqAX99vMWlxK4lvoY/ZAP5njaq7Z5SdVVGZBM0EDXJ5QERSGQnAkVK8MsT/A== X-Google-Smtp-Source: AGHT+IHigLxSUAOfOZvNXY0t+GwT/NR1J9BvT0Gp1o3JjbcxjhQ41+Q2Trdkva/LhAZ09zp1/yRcJQ== X-Received: by 2002:a17:90b:524b:b0:2ea:3d2e:a0d7 with SMTP id 98e67ed59e1d1-2f782c9846fmr46616412a91.15.1737734230052; Fri, 24 Jan 2025 07:57:10 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f7ffaf9e98sm1879168a91.38.2025.01.24.07.57.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 07:57:09 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 4/6] linux: Modify kernel configuration to fix runqlat issue Date: Fri, 24 Jan 2025 07:56:52 -0800 Message-ID: <97e6af0896d3d208bbbe0021a51706f59a662d77.1737734087.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 24 Jan 2025 15:57:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210231 From: Harish Sadineni In Qemu Running "/usr/share/bcc/tools/runqlat 1 5" gives following error:- libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled? libbpf: failed to find valid kernel BTF modprobe: FATAL: Module kheaders not found in directory /lib/modules/6.10.14-yocto-standard Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing the kernel development package for your running kernel version. chdir(/lib/modules/6.10.14-yocto-standard/build): No such file or directory Traceback (most recent call last): File "/usr/share/bcc/tools/./runqlat", line 293, in b = BPF(text=bpf_text) File "/usr/lib/python3.13/site-packages/bcc/__init__.py", line 479, in __init__ raise Exception("Failed to compile BPF module %s" % (src_file or "")) the following patch fixes the error. BCC test summary for x86_64: Before applying the patch: TOTAL: 95 PASS: 29 FAIL: 66 After applying the patch: TOTAL: 95 PASS: 79 FAIL: 16 50 new test cases passed Signed-off-by: Harish Sadineni Signed-off-by: Mathieu Dubois-Briand (cherry picked from commit 3e2f78fba9d259483311db5fa1101e3907549364) Signed-off-by: Steve Sakoman --- meta/recipes-kernel/linux/linux-yocto_6.10.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-kernel/linux/linux-yocto_6.10.bb b/meta/recipes-kernel/linux/linux-yocto_6.10.bb index 3718077ea9..1d5b8af337 100644 --- a/meta/recipes-kernel/linux/linux-yocto_6.10.bb +++ b/meta/recipes-kernel/linux/linux-yocto_6.10.bb @@ -64,6 +64,7 @@ KERNEL_FEATURES:append:qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" KERNEL_FEATURES:append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}" KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc features/nf_tables/nft_test.scc", "", d)}" KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc features/gpio/sim.scc", "", d)}" +KERNEL_FEATURES:append = " ${@bb.utils.contains("KERNEL_DEBUG", "True", " features/reproducibility/reproducibility.scc features/debug/debug-btf.scc", "", d)}" # libteam ptests from meta-oe needs it KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/net/team/team.scc", "", d)}" # openl2tp tests from meta-networking needs it From patchwork Fri Jan 24 15:56:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56055 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31656C0218D for ; Fri, 24 Jan 2025 15:57:14 +0000 (UTC) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mx.groups.io with SMTP id smtpd.web10.15742.1737734232320718310 for ; Fri, 24 Jan 2025 07:57:12 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=MF2ORZ5v; spf=softfail (domain: sakoman.com, ip: 209.85.216.52, mailfrom: steve@sakoman.com) Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-2ef70c7efa5so3402695a91.2 for ; Fri, 24 Jan 2025 07:57:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1737734231; x=1738339031; darn=lists.openembedded.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; bh=OrAsS4KtlMSeW1Rx0Hw0kTpA/iJKb4XdSt4f3yxOXtU=; b=MF2ORZ5vVZY5AOS46frsLE83vxyKtZf6mNKsUB64lUsRYzhr18aRtIbRAuCGLkkAO9 Ffdmag6UY4KT2WQpCcT7F2yHri3zEB0NO+5JwXL6u7cCnRorODWC/31snfCl2zsMuqha 7eikumLvcEiyDzWHzTCNymAEvSa4pBjHt3kJPAKD7phUZU0MEW3Cn52Wl9zzs1iF1ysZ uwiJAPbOAIsuY0zurrsT35z7abzXCxAdeIGkgsXhxVQMoOhRBo3TSdcGE1UgrBVqccHX flQ29gXlsGjqY8M2KJD/pyNfnOYjGpnDJfxO6J5Qe3VLYxKFmSx3beoa9e8Junls9oyq 7RBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737734231; x=1738339031; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OrAsS4KtlMSeW1Rx0Hw0kTpA/iJKb4XdSt4f3yxOXtU=; b=RBBFmoWZF3nluTBnNoUboFgw03gDjOg1l6v9CFGE3QbUPHESmamrwq/toMUZeWli86 T+zZtgoM6Mnez/5kuKZ2oJx31wa8pMC/84T9bvNV6lkLj+VZO6ptYlr2GY/5XGfflFDB peliwowERSmPllyK6PjUOa//0tZrE0dhEZmybeCsiN+JxS7amlr36tf8v1+3TDXJWn88 C++Fz2uVkkA/cAQVEc1pgrtFb83RBcSUWYGxMZ0w0X32/CGdfFfGMhcR+At8an4BNUh8 3FWIWDHnmZQu9UQyRzx9FBrz7Bw/SlZ3yGDPasRXq11drUJrJ1r8IHm6CIuzWrMWm4d9 6WPg== X-Gm-Message-State: AOJu0YxR+IjRZ3rrVXlemuZ8+oqn4vEs3gZAnFTQ96qAzxsGpRRxzE4D +pNT2JwqxSeZsoUNkuwosDS5wXu6jangi5UATa9I+IPw7jzqXXM2NtqOvAM7pcJ6a17LCT2WkRg n4pM= X-Gm-Gg: ASbGncssz7yfi6bTl3H8pth5hs+8TgKH9Pqrhk/jzKZP+14FgSRYOVse1AygL2xGaf1 +6m6T+1vT8Y3ucZ51l1N4N3wr65u1IuEddUfkYJND12gcfleh8smiOr9FHd0aM/yDir7QMnFwtk Y1MHHsL0N1k0qadjfyY5UzInyV9ErJy5bidj7Lkwin/I7O4zuEG8zVVKuSS7dCdYBYfREnahRWl swXXhm0Fobw1cbhZxvy2bhxghSk4NHcZJdK6hnTIj7Hnq+XcMSOO+3+zercO2Y/kUhiBQ== X-Google-Smtp-Source: AGHT+IGJpq/zx0QhyksowVHTPQdKKr3jQzDStXWPJdIi3N5X73IXl9BK0To/fOf5UWNtBpjJDeKVjg== X-Received: by 2002:a17:90a:fc44:b0:2f4:49d8:e718 with SMTP id 98e67ed59e1d1-2f782c6ffb5mr44953604a91.9.1737734231551; Fri, 24 Jan 2025 07:57:11 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f7ffaf9e98sm1879168a91.38.2025.01.24.07.57.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 07:57:11 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 5/6] rust-target-config: Fix TARGET_C_INT_WIDTH with correct size Date: Fri, 24 Jan 2025 07:56:53 -0800 Message-ID: <2ed3b74eb45802cfa64ec9ab460422e098e975d5.1737734087.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 24 Jan 2025 15:57:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210232 From: Harish Sadineni [YOCTO #15600] The TARGET_C_INT_WIDTH value was incorrectly set to 64 instead of 32. It is updated for PPC, Mips, and riscv64 architectures. Discussion links for solution: https://lists.openembedded.org/g/openembedded-core/message/207486 https://lists.openembedded.org/g/openembedded-core/message/207496 Signed-off-by: Harish Sadineni Signed-off-by: Richard Purdie (cherry picked from commit b9df8cd8b29064d115dab3bfd1ea14f94a5c0238) Signed-off-by: Steve Sakoman --- meta/classes-recipe/rust-target-config.bbclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index 334f2e7d5f..58d2ae2117 100644 --- a/meta/classes-recipe/rust-target-config.bbclass +++ b/meta/classes-recipe/rust-target-config.bbclass @@ -198,7 +198,7 @@ MAX_ATOMIC_WIDTH[mipsel] = "32" DATA_LAYOUT[mips64] = "E-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128" TARGET_ENDIAN[mips64] = "big" TARGET_POINTER_WIDTH[mips64] = "64" -TARGET_C_INT_WIDTH[mips64] = "64" +TARGET_C_INT_WIDTH[mips64] = "32" MAX_ATOMIC_WIDTH[mips64] = "64" ## mips64-n32-unknown-linux-{gnu, musl} @@ -212,7 +212,7 @@ MAX_ATOMIC_WIDTH[mips64-n32] = "64" DATA_LAYOUT[mips64el] = "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128" TARGET_ENDIAN[mips64el] = "little" TARGET_POINTER_WIDTH[mips64el] = "64" -TARGET_C_INT_WIDTH[mips64el] = "64" +TARGET_C_INT_WIDTH[mips64el] = "32" MAX_ATOMIC_WIDTH[mips64el] = "64" ## powerpc-unknown-linux-{gnu, musl} @@ -226,14 +226,14 @@ MAX_ATOMIC_WIDTH[powerpc] = "32" DATA_LAYOUT[powerpc64] = "E-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512" TARGET_ENDIAN[powerpc64] = "big" TARGET_POINTER_WIDTH[powerpc64] = "64" -TARGET_C_INT_WIDTH[powerpc64] = "64" +TARGET_C_INT_WIDTH[powerpc64] = "32" MAX_ATOMIC_WIDTH[powerpc64] = "64" ## powerpc64le-unknown-linux-{gnu, musl} DATA_LAYOUT[powerpc64le] = "e-m:e-i64:64-n32:64-v256:256:256-v512:512:512" TARGET_ENDIAN[powerpc64le] = "little" TARGET_POINTER_WIDTH[powerpc64le] = "64" -TARGET_C_INT_WIDTH[powerpc64le] = "64" +TARGET_C_INT_WIDTH[powerpc64le] = "32" MAX_ATOMIC_WIDTH[powerpc64le] = "64" ## riscv32gc-unknown-linux-{gnu, musl} @@ -247,7 +247,7 @@ MAX_ATOMIC_WIDTH[riscv32gc] = "32" DATA_LAYOUT[riscv64gc] = "e-m:e-p:64:64-i64:64-i128:128-n64-S128" TARGET_ENDIAN[riscv64gc] = "little" TARGET_POINTER_WIDTH[riscv64gc] = "64" -TARGET_C_INT_WIDTH[riscv64gc] = "64" +TARGET_C_INT_WIDTH[riscv64gc] = "32" MAX_ATOMIC_WIDTH[riscv64gc] = "64" ## loongarch64-unknown-linux-{gnu, musl} From patchwork Fri Jan 24 15:56:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56057 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54982C02190 for ; Fri, 24 Jan 2025 15:57:14 +0000 (UTC) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mx.groups.io with SMTP id smtpd.web10.15746.1737734233594402048 for ; Fri, 24 Jan 2025 07:57:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=f8Dd9CfO; spf=softfail (domain: sakoman.com, ip: 209.85.216.41, mailfrom: steve@sakoman.com) Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-2f43d17b0e3so4289709a91.0 for ; Fri, 24 Jan 2025 07:57:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1737734233; x=1738339033; darn=lists.openembedded.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; bh=Oy16Us4q0lcH9jG7ufOrQmakS7QkZ+U8JbczeFnGeHk=; b=f8Dd9CfOKMvj1XzrbHP9UrDqiqXgqzcZ0kECVR4rKCyaf/0HNrdlD9dlq1X6asyimC zLDRay5t/vAWKrDV87WSlk/LFMMfFIAzr/nsIDP8taUqMDI5UAjgrjC2xg2qnOvB9KEb v5wvICITabiSuO62eUDQU+MJVT0hqexs8vm9rNtJ6Qel7oO1JQK8Ca6Qi7CzjMwXACQc gxVs+Wzz0Ystivct/IWvJa7XCj2m3w0QCNdhxKHtBFM6ENYjSVC/vxK0yl+NSmuahnqB d9nwDus4ah/xB9j8p2CqsphILl33k2xqfQX0IXisM89zNPpNyN6IqcwuMH8y7m09PALu qdnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737734233; x=1738339033; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Oy16Us4q0lcH9jG7ufOrQmakS7QkZ+U8JbczeFnGeHk=; b=LHcQEl05/eKJtaa5WGEtP0zLYpOlQn5a/LgS2G+wMTk+aIk3FtU666VzwlWKg0Kk3t nIqSuLHtHobjUcyISPC4t7zpL6LjJtmSAL7AW6HY2MOR+YAmQPsPh1QgheWrMN64F9g7 g9emOk2mP5ZUNP0rXbDEy6f7LbSxDtcTrs5vzeAAIMFPLHEJo25Aqhjts6EF+JSxyreR m3NzOp2v3Ui7NN1rvIQPr7T++goe8pVL4oC3bxy3S9QFENg7APx1J8JMGbNBhYcBt86Y QJaCbG5AyIyCaVsVAnqWEfZSKYulriPW5phNlTCxAqrX7zvyyh94k9WXLTUrjSgxk5bm 4DDQ== X-Gm-Message-State: AOJu0Yygc40RQx4Tb1QiksFNoYVQKC9HIt+EhBNzhVR0vLE821Dn6Byb caXijXmdx9SGWddkfXCXYy0eBjDnzuPfA1OVY8Aexm5e1LrOQjq1HzU27rWVGheR1N3Tx86RfMh iw1o= X-Gm-Gg: ASbGncvKiJ4323Yg2HYZY0HRn7e7G8jnlmBzL2Z/KmbrtFoc/NkxMHmO7P1fNpcNz9m uLeQLaRNoW35Q9lh8tIVP0CJVPwpvGfp2i64qLtHS1u3+HFMPD2tPLlCD2q+2h0d0kLrjDbZlUB rXPXZVtziQCphLZKICGh2DDwFSC4jnv58CygMvnyVk0qrt+ivtMn84gL58sfPfALnWi3hWy7+Ft ySx30moIzQCliLZL/rPighVNXATlPOHwuJxy6lZQZOsUpT61I1uIrwJc8vSbYsov6Jsyg== X-Google-Smtp-Source: AGHT+IGMCA5QsXR+686f6divkwajLOuUkpLewx2wfz6EISuznH/GpzIJujWjVty5kG59+BGPXKObPQ== X-Received: by 2002:a17:90b:2e0b:b0:2ea:83a0:47a5 with SMTP id 98e67ed59e1d1-2f782c66295mr44738564a91.4.1737734232731; Fri, 24 Jan 2025 07:57:12 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f7ffaf9e98sm1879168a91.38.2025.01.24.07.57.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 07:57:12 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 6/6] boost: fix do_fetch error Date: Fri, 24 Jan 2025 07:56:54 -0800 Message-ID: <06439dff5437782f7b6627e0374eaa24ca5aee4a.1737734087.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 24 Jan 2025 15:57:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210233 From: Jiaying Song Change the SRC_URI to the correct value due to the following error: WARNING: boost-native-1.86.0-r0 do_fetch: Checksum failure encountered with download of https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2 - will attempt other sources if available Signed-off-by: Jiaying Song Signed-off-by: Steve Sakoman --- meta/recipes-support/boost/boost-1.86.0.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/boost/boost-1.86.0.inc b/meta/recipes-support/boost/boost-1.86.0.inc index 2378b27575..7113a50049 100644 --- a/meta/recipes-support/boost/boost-1.86.0.inc +++ b/meta/recipes-support/boost/boost-1.86.0.inc @@ -11,7 +11,7 @@ BOOST_VER = "${@"_".join(d.getVar("PV").split("."))}" BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}" BOOST_P = "boost_${BOOST_VER}" -SRC_URI = "https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2" +SRC_URI = "https://archives.boost.io/release/${PV}/source/${BOOST_P}.tar.bz2" SRC_URI[sha256sum] = "1bed88e40401b2cb7a1f76d4bab499e352fa4d0c5f31c0dbae64e24d34d7513b" UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"