From patchwork Thu Nov 16 22:48:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34772 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 99E89C54E76 for ; Thu, 16 Nov 2023 22:48:51 +0000 (UTC) Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) by mx.groups.io with SMTP id smtpd.web11.20268.1700174923550810252 for ; Thu, 16 Nov 2023 14:48:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=N0I4BYAp; spf=pass (domain: gmail.com, ip: 209.85.218.45, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-9db6cf8309cso187467366b.0 for ; Thu, 16 Nov 2023 14:48:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174922; x=1700779722; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wdINWa2NOTzzDn2JLeo8XSLNYZlyVd5C1BIpEjvmmeU=; b=N0I4BYApffOaBX7QE3EtgjKcGs+gl/dMGy28tLnrTCMf3d66hDJUg+JT3Ak7FXdP81 jnGkqjhFvJNcxl2GClEX7DImJvY7rjKYZng+RvBoyiypXHkU8CnVxrqYVc0a5qMJWM8W NabNKPepUDXeMqaZLqGQwtOLDFV0VLMPmZAzTlQyo9T7gS374iqyUoIE8oaVtI9cq1k4 pkeG1IiB/vIrhFzavtg8CzecWpzlxXw3H89aWevGH5OlZZn+57BT7Ibtzx9ix6pbZjpw J/2h3zQ4JGHhj6PxNh2X2UySAiEzBPRlmp8cnE6YCeF+duid1jacXftGc1SqgoStNgaZ kb/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174922; x=1700779722; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wdINWa2NOTzzDn2JLeo8XSLNYZlyVd5C1BIpEjvmmeU=; b=W7gefRuMZIsHV66J+zn840wnlKqy4A7PvIkKREKlxGisScnSB8WLLY41BS9V/jLPDh xkw8N9AEXoDcsg5q2QlE0MU0wGUMfOX2cOtx4UOFuC6hb6DpqVp4RE+ndyYG0Gl2OG7+ SEDClKDCnaOOQNmkpB711wYfFcB2j39oGdZ6DV4mH63B4hqhJpBNoU4F9lwAYZIIKlek 19Vvi+kq86O1hF9lj2BO7U4lua047+ZpgOy1j5gxN6rspJoaZPMcGZzpPFOYQ9rzLidg hPBfVOW4VQdiFMHnAz/iP9axhn2VDW2oVrzwZJKWIQH+DidoMnFtW3DfuHihxEPGUBCA SodQ== X-Gm-Message-State: AOJu0Yz2gs2inV97V6N+Q4PW2al7VXaudG5bh1ty0i3RuVcCGPKfZ9QS 9D1LVuq2mP8I4N1tqQ0vO6qC9SEq700= X-Google-Smtp-Source: AGHT+IEQJUVAB4CbtGMMN7rCdhhz5Mo2VyyvyqJt6dtfYoZUoSgNB+s1+ZoLehOC2RbM8XfGpqX1hA== X-Received: by 2002:a17:906:af18:b0:9e6:18fe:7447 with SMTP id lx24-20020a170906af1800b009e618fe7447mr12598112ejb.9.1700174921668; Thu, 16 Nov 2023 14:48:41 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id u19-20020a1709063b9300b009e5db336137sm118657ejf.196.2023.11.16.14.48.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:41 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv4 01/12] bitbake.conf: drop ${PE} and ${PR} from -f{file,macro,debug}-prefix-map Date: Thu, 16 Nov 2023 23:48:25 +0100 Message-ID: <20231116224836.2696913-1-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 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 ; Thu, 16 Nov 2023 22:48:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190815 * ${EXTENDPE} and ${PR} was already dropped from ${WORKDIR} in: https://lists.openembedded.org/g/openembedded-core/message/185818 adjust -fmacro-prefix-map and -fdebug-prefix-map similarly. As we don't depend on PR in WORKDIR maybe we don't need it in /usr/src/debug paths as well anymore. * add TARGET_DBGSRC_DIR variable with "/usr/src/debug/${PN}/${PV}" because there is quite a few places where this location is being used in various recipes * The interesting side-effect of this is that for DISTROs which still use PR (e.g. webOS OSE), the difference in -fdebug-prefix-map causes all binaries to be slightly different when rebuilt with different PR (due to this path, even when otherwise they are binary reproducible) and when the number of digits in PR changes (e.g. from r9 to r10) it also results in slightly bigger binaries (and more unnecessary changes in buildhistory diffs). For example this foo binary, the difference between "new" and "old" is extra patch applied in SRC_URI (which doesn't affect the foo binary, but was the reason for PR bump). And the binary is bigger with r10, identical with r6 and slightly different due to debug-prefix-map between r6 and r7: $ ls -la 1.0.0-175-*/image/usr/sbin/foo -rwxr-xr-x 1 bitbake bitbake 30182460 Nov 8 08:29 1.0.0-175-new-r10/image/usr/sbin/foo -rwxr-xr-x 1 bitbake bitbake 30182224 Nov 8 08:02 1.0.0-175-new-r6/image/usr/sbin/foo -rwxr-xr-x 1 bitbake bitbake 30182224 Nov 8 07:49 1.0.0-175-new-r7/image/usr/sbin/foo -rwxr-xr-x 1 bitbake bitbake 30182224 Nov 8 07:39 1.0.0-175-old-r6/image/usr/sbin/foo $ md5sum 1.0.0-175-*/image/usr/sbin/foo 8e3ab67d596f8cc2f9c6320dab10af01 1.0.0-175-new-r10/image/usr/sbin/foo f6ff1e64fe6affb9ba0d8f278cf7ed79 1.0.0-175-new-r6/image/usr/sbin/foo 6469a0b10aac233911e63c5ea97b03c0 1.0.0-175-new-r7/image/usr/sbin/foo f6ff1e64fe6affb9ba0d8f278cf7ed79 1.0.0-175-old-r6/image/usr/sbin/foo Signed-off-by: Martin Jansa --- v4: add TARGET_DBGSRC_DIR variable meta/conf/bitbake.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 67ff769046..59f142f6bc 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -646,12 +646,13 @@ EXTRA_OEMAKE:prepend:task-install = "${PARALLEL_MAKEINST} " ################################################################## # Optimization flags. ################################################################## +TARGET_DBGSRC_DIR ?= "/usr/src/debug/${PN}/${PV}" # Beware: applied last to first DEBUG_PREFIX_MAP ?= "-fcanon-prefix-map \ - -fmacro-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ - -fdebug-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ - -fmacro-prefix-map=${B}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ - -fdebug-prefix-map=${B}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ + -fmacro-prefix-map=${S}=${TARGET_DBGSRC_DIR} \ + -fdebug-prefix-map=${S}=${TARGET_DBGSRC_DIR} \ + -fmacro-prefix-map=${B}=${TARGET_DBGSRC_DIR} \ + -fdebug-prefix-map=${B}=${TARGET_DBGSRC_DIR} \ -fdebug-prefix-map=${STAGING_DIR_HOST}= \ -fmacro-prefix-map=${STAGING_DIR_HOST}= \ -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \ From patchwork Thu Nov 16 22:48:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34780 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 24527C5AE5B for ; Thu, 16 Nov 2023 22:48:52 +0000 (UTC) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by mx.groups.io with SMTP id smtpd.web10.20271.1700174924320634365 for ; Thu, 16 Nov 2023 14:48:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=haSSmmbr; spf=pass (domain: gmail.com, ip: 209.85.208.45, mailfrom: martin.jansa@gmail.com) Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-544455a4b56so1957304a12.1 for ; Thu, 16 Nov 2023 14:48:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174923; x=1700779723; darn=lists.openembedded.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; bh=qoQ0E3pbkkS+y0QW/y7zkIXHnqISclla4keoR5O+9fc=; b=haSSmmbrrPCkbezevQa74N8SRkvw+2IM2KtcamwatoKTKSTImvsw3WidoRx5vdrxWq YX7l7p5yVmjUeZZS1RwLnJAqAO933xH0sbMzw6D805WCVjbfH1ZowI04OGj1HVKCjlml pf0H+wqVGeaBrjOnAHI5VgV5a7WV8/B6p12Pf4XUg4zZaPalpGq/9wUgk9mvou3+InKL Lcf825S985AOZnXUO48kNsbkosERTQKKYNU518A0bXfGAAXSyh0E0OG9Y/Wjr0eRfTG6 g6WE6zrcDO/Rp3hVqMCBVE7YcANQBoSLRpFd1WKC3pRduKbwGlZeNcSw3h+j5izGuLuH NgbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174923; x=1700779723; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qoQ0E3pbkkS+y0QW/y7zkIXHnqISclla4keoR5O+9fc=; b=h5mZNfCLr1jd6utfYrRSudtjuwXZHO9A2weBpxAOyeWISUrFofLP/JqlVPM99awiOY CrpSExpuSb7ko3mzKLTvR8TTKIJaK/bZF8SC0TP7/mwa58aAa0Ajkn6EUu5RHEsPIE48 6P1GVi+Yo2uEoHjsS5a+ZNjZMf/RZS9Ue2WmjDmqKLVQKhivqBDX1vHppTJ2EyFzEbP8 Q9MDqi9ndCqy0hLl5ysw0CAYRRV3dRJClbfO5AAXtQ4RQE5RktO83BuPXTo2jpgJBUlJ HWaVzfdbUI5mSuleoTktrmPveoUYtKJWUwKoLc0tzGh10/3Ii9aLa/UZd0ltLpXrllxC v5mQ== X-Gm-Message-State: AOJu0YzyAQNLNvnO+l02tE41NTBctJUEp9tD7684Uf1KeaDYcHssJ3C9 /pnd1yTaUFaDF/UQ4r7UjjDqWbCjoIM= X-Google-Smtp-Source: AGHT+IE7oVxjGj2HD0kFjhApTbUUOz+9qjJ2Ol4mVKSKsNNmIRubEQcZeNtxlKJ3MnBcwMl2ns2Xpg== X-Received: by 2002:a05:6402:35b:b0:542:d895:762a with SMTP id r27-20020a056402035b00b00542d895762amr11027194edw.39.1700174922478; Thu, 16 Nov 2023 14:48:42 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id w15-20020a056402128f00b0053da3a9847csm123291edv.42.2023.11.16.14.48.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:42 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv2 02/12] ovmf: drop PE, PR from /usr/src/debug paths Date: Thu, 16 Nov 2023 23:48:26 +0100 Message-ID: <20231116224836.2696913-2-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231116224836.2696913-1-martin.jansa@gmail.com> References: <20231116224836.2696913-1-martin.jansa@gmail.com> 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 ; Thu, 16 Nov 2023 22:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190816 Signed-off-by: Martin Jansa --- meta/recipes-core/ovmf/ovmf_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb index 6bbe21ac5c..3dc031d3b6 100644 --- a/meta/recipes-core/ovmf/ovmf_git.bb +++ b/meta/recipes-core/ovmf/ovmf_git.bb @@ -122,7 +122,7 @@ fix_toolchain:append:class-native() { # --debug-prefix-map to nasm (we carry a patch to nasm for this). The # tools definitions are built by ovmf-native so we need to pass this in # at target build time when we know the right values. -export NASM_PREFIX_MAP = "--debug-prefix-map=${WORKDIR}=/usr/src/debug/ovmf/${EXTENDPE}${PV}-${PR}" +export NASM_PREFIX_MAP = "--debug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}" export GCC_PREFIX_MAP = "${DEBUG_PREFIX_MAP} -Wno-stringop-overflow -Wno-maybe-uninitialized" GCC_VER="$(${CC} -v 2>&1 | tail -n1 | awk '{print $3}')" From patchwork Thu Nov 16 22:48:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34771 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 9B958C197A0 for ; Thu, 16 Nov 2023 22:48:51 +0000 (UTC) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by mx.groups.io with SMTP id smtpd.web11.20270.1700174924772125091 for ; Thu, 16 Nov 2023 14:48:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Cb2NeMHa; spf=pass (domain: gmail.com, ip: 209.85.218.46, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-9d0b4dfd60dso181197566b.1 for ; Thu, 16 Nov 2023 14:48:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174923; x=1700779723; darn=lists.openembedded.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; bh=Ta4TLg3JbHO+uo1q77kUrRRcXlFeybZ7iqiHAEbrogo=; b=Cb2NeMHafzC2q+bnBrxFhSQMcQTJr9r6Btg9h1A6E1mncv10f938IpsXVX8ZIzKsrM OEYpWDqZTvH4XhlT6wQSB9j/E0AZUUsgtXVCfSLc1pe/Y7NGg0bmLEW7HBQYX5q501NE IO2A1QvlAimtmUjqqs4xnC0yPwbgieBu1H0r9aoIuj0PpevwNwvzuDtxXM/BtPJjnih9 defRlDkCAJHuYNi1W/t9z45YXBGIErbiNzm2OJU48VJ1sfOTO3TF3wUIxiphTE5XVvIf Vi4ltNgadpNRFg5N/0Q1+Zm9+1+KSzay9p0zkct4+uf6aD2+iIl7AlJKxwwoP8kQJnMu /26A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174923; x=1700779723; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ta4TLg3JbHO+uo1q77kUrRRcXlFeybZ7iqiHAEbrogo=; b=DGy1Pzl/mZfU+Ih68fPApYtn9A4pvi3rWMdX9Iac82I4cgoMBQu3i2JcizbXltU5Sm 267tQH7LPZ0/Jt1Bh5m3mUtnpezlH0DMcTLLzcEIdpMWTZCPX+Os+7iOnRInPCy5+cEB CXaYAoBg+55/Y6EQ17EBjfPxK0rSt0/ixI7PilEfxWsPe5pEOO2qRRFm+z4ALEqrovmo Vy0DR8r57JO1E0ActmZ/1NazFx++mMgWeqvXT6cibw9Nlh4G7YkfLeVljNZtFHeJxktq XzxYWxP8JcUxEYZEZMgiFAwZ77ErfHUk24ttl3JEiSBB6/icHZ58HdEaJcbfhnf34QHE GLHA== X-Gm-Message-State: AOJu0YzuB38/wqEGQEuJmVG7z3asQ3SEUaWhyBJkZr9YKOFcByWsI9V9 qhhU7+Qrd0v2MFXL6WkHenr6lt+G+O8= X-Google-Smtp-Source: AGHT+IHirdOlczI4oES8sef1Tyd0IN3bOwth38BF2lXeta2eoWGwK2u3axd0p9GKlsgCFaxmJVX8Ow== X-Received: by 2002:a17:906:6a1f:b0:9b2:df16:851d with SMTP id qw31-20020a1709066a1f00b009b2df16851dmr17263014ejc.57.1700174923194; Thu, 16 Nov 2023 14:48:43 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id j4-20020a170906410400b009de3fd8cbfasm138476ejk.0.2023.11.16.14.48.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:42 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv2 03/12] go-cross-canadian.inc: drop PE, PR from /usr/src/debug paths Date: Thu, 16 Nov 2023 23:48:27 +0100 Message-ID: <20231116224836.2696913-3-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231116224836.2696913-1-martin.jansa@gmail.com> References: <20231116224836.2696913-1-martin.jansa@gmail.com> 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 ; Thu, 16 Nov 2023 22:48:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190817 Signed-off-by: Martin Jansa --- meta/recipes-devtools/go/go-cross-canadian.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/go/go-cross-canadian.inc b/meta/recipes-devtools/go/go-cross-canadian.inc index 45758f3361..8298fe31be 100644 --- a/meta/recipes-devtools/go/go-cross-canadian.inc +++ b/meta/recipes-devtools/go/go-cross-canadian.inc @@ -8,7 +8,7 @@ PN = "go-cross-canadian-${TRANSLATED_TARGET_ARCH}" # it uses gcc on build machine during go-cross-canadian bootstrap, but # the gcc version may be old and not support option '-fmacro-prefix-map' # which is one of default values of DEBUG_PREFIX_MAP -DEBUG_PREFIX_MAP = "-fdebug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ +DEBUG_PREFIX_MAP = "-fdebug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR} \ -fdebug-prefix-map=${STAGING_DIR_HOST}= \ -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \ " From patchwork Thu Nov 16 22:48:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34774 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 D6E71C5AE4B for ; Thu, 16 Nov 2023 22:48:51 +0000 (UTC) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by mx.groups.io with SMTP id smtpd.web11.20271.1700174925450936948 for ; Thu, 16 Nov 2023 14:48:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mYc3emrT; spf=pass (domain: gmail.com, ip: 209.85.218.54, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-9d2e7726d5bso182436466b.0 for ; Thu, 16 Nov 2023 14:48:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174924; x=1700779724; darn=lists.openembedded.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; bh=itOiZvzC+BEAUzkPJmTwxBCthyy8wGQr/c/YXZINPuM=; b=mYc3emrTDZ9K/AopfHuIGE9HIEbMuTmODy9kUSP9kNcOBRuSTgOpF8MejcEuLvMySe d1RyBMgmtUF6Un4XuGMs3RlcubhPSlUE52VCBxE41PXaiXFhA2HaXQ3E9nNmpYAfJXzg /MYa+Y+0tJ3NKoltVKIrSj7FdTdTnb8EycpZtwcm4RXCZtzrIpCHq1mRyNO/08341uhk XSWe4dwO4A7n8uUYXtZ9X4a6cqcIVqaoihjgN89sgNI8D9GpptSIZQ2pn5SC4P+cm+uh wL3wgU4rfnr3hvSWcsmLt0CHHjvEhp3c5Mplox/jvInEB//YCJqIAcz0ccSMpaoYRD5X 8ADg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174924; x=1700779724; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=itOiZvzC+BEAUzkPJmTwxBCthyy8wGQr/c/YXZINPuM=; b=a3LcDgXfxtrD4VMqtU1Fy2FjFGc/EUINHxPDF4e7/NwvuVmXvwGoR1QxovrNT8bAmz yn50sUBq7+jIbJGJigc6p0igvJzC2NfmTxkk8bBr33K2HErftf3GS2O3ZaQ+DWgQ7MeU Cw/XGeHT+CSePJfi9bGmGOv86JTblGDclpWoW0oBwK1sWs/ElHnqUFb3vf4+kRqrY8cx P3QRKNANLqocmolaO+SFi235P8flDCp9qunCYxg9foDjDl1thQV9BeoQv3QZgJ9l9coD 0NYWnk1tKtedPDKSr3SrBnsuXwBvbIlxYKg1BJMTkEs+GwxBmqkQ0zA/sjM8PcU8+dWv df0g== X-Gm-Message-State: AOJu0Yw1DtnBK1hpmfldgWA7AH5DIT9nJxVZU8+Om8mQkXR9QPgLM5zE UTYMO9WJkSXEMX63AFmX86Fv3wPTG/8= X-Google-Smtp-Source: AGHT+IHVseITpHThx4k7RGztd8jYD+NKhengO6RvhPE9W7WuNcMX62JofwPZyj83jfinYU8m3V9syg== X-Received: by 2002:a17:907:724c:b0:9e2:bbc4:16cb with SMTP id ds12-20020a170907724c00b009e2bbc416cbmr18318800ejc.49.1700174923928; Thu, 16 Nov 2023 14:48:43 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id k5-20020a17090666c500b009e603786444sm127760ejp.90.2023.11.16.14.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:43 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv2 04/12] acpica: drop PE, PR from /usr/src/debug paths Date: Thu, 16 Nov 2023 23:48:28 +0100 Message-ID: <20231116224836.2696913-4-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231116224836.2696913-1-martin.jansa@gmail.com> References: <20231116224836.2696913-1-martin.jansa@gmail.com> 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 ; Thu, 16 Nov 2023 22:48:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190818 Signed-off-by: Martin Jansa --- meta/recipes-extended/acpica/acpica_20230628.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/acpica/acpica_20230628.bb b/meta/recipes-extended/acpica/acpica_20230628.bb index b7921516a2..8974bdc1f1 100644 --- a/meta/recipes-extended/acpica/acpica_20230628.bb +++ b/meta/recipes-extended/acpica/acpica_20230628.bb @@ -36,7 +36,7 @@ EXTRA_OEMAKE = "CC='${CC}' \ INSTALLDIR=${bindir} \ INSTALLFLAGS= \ YACC=bison \ - YFLAGS='-y --file-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}' \ + YFLAGS='-y --file-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}' \ " do_install() { From patchwork Thu Nov 16 22:48:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34777 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 EBF8DC54FB9 for ; Thu, 16 Nov 2023 22:48:51 +0000 (UTC) Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) by mx.groups.io with SMTP id smtpd.web11.20272.1700174926179959793 for ; Thu, 16 Nov 2023 14:48:46 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=g0pkQav9; spf=pass (domain: gmail.com, ip: 209.85.218.45, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-9f27af23441so189286966b.2 for ; Thu, 16 Nov 2023 14:48:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174924; x=1700779724; darn=lists.openembedded.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; bh=V8Si5arUcqikDpmmQoApc/b/zKekCni8UtksjwpSviM=; b=g0pkQav9X5rkpOwrPp5+UxTzNBB/FetQgUlu2hNu/paRNzX2QWpNSeyrd11P5s5E+T rftu0W33iav8YiWr2gYW8Imh4ZvpuFo+RgPc4EeSjEDKMPwFgyhn19aB9c+W/ocnKTr4 xhm/08E6oI3wzd4DFdfch77uePh3LhDrvCYVgl/ZyH/2eePcg05qDbj8VYd/nAgs4aTr SxvKia/kM063dPRMLh5o5Csc3o0ClDqHIeXywc2BQIOAb942wRcWsS+97xGwBVGkYFQC U6yPPsRonrlDwJ/FyIUQkyp+50bRpVqCqcfy4gYPYnqY4LYgNexioOQBjNKOqPclYWBK j6xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174924; x=1700779724; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V8Si5arUcqikDpmmQoApc/b/zKekCni8UtksjwpSviM=; b=I3VhtaYXWGaOyO3QXL0AXhYdROLu30k8kJzPlWKQz7/yRTQsYiDtNg4vxqWw7u80Ah o4pCW6rHQseLz5mOOJXW81yxGD/sNorL2jOR0N7ZT3R8saEHPLrlxrpTil7+13drMP/K 8XFU0yP2jeTDi/iP14ZfWFJWCMs5fT31XUKTpH7zXbgqGRr3c1CfFGY63Dh5b15LzCi5 TAcwCq7vrSYSDC8Jekb+Ah7NExOmLyJsew8U0YV5kWuV/4QtE0N7yAFB3ainJOiQ3V/o rdonrtQwAOk6kRpp1Z8Z6g0qRKk0AzSCUWN/IBNPjXwGb776JJzNF5mqXx4WBKeLIllm e18w== X-Gm-Message-State: AOJu0YySepzCVupwF+P4kHU6kmZyRX7b9A3f/Vdbixxvf9Xc14sfLGiR waG3e+RyWRB4uusXt4pLk3sbW6HVEjM= X-Google-Smtp-Source: AGHT+IEzl0+jLl352lzMkxlkvyrB9uQbbuX4AscE5f6AOAHvbwYunmreswMABhgOgZCKiOa+OqU/2g== X-Received: by 2002:a17:906:3754:b0:9e5:fe54:8539 with SMTP id e20-20020a170906375400b009e5fe548539mr13645652ejc.18.1700174924609; Thu, 16 Nov 2023 14:48:44 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id cw25-20020a170906c79900b009e6279fc1d6sm128663ejb.40.2023.11.16.14.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:44 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv2 05/12] libjpeg-turbo: drop PE, PR from /usr/src/debug paths Date: Thu, 16 Nov 2023 23:48:29 +0100 Message-ID: <20231116224836.2696913-5-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231116224836.2696913-1-martin.jansa@gmail.com> References: <20231116224836.2696913-1-martin.jansa@gmail.com> 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 ; Thu, 16 Nov 2023 22:48:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190819 Signed-off-by: Martin Jansa --- meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb b/meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb index 99ed82dac4..132d4b375a 100644 --- a/meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb +++ b/meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb @@ -24,7 +24,7 @@ RCONFLICTS:${PN} += "jpeg" inherit cmake pkgconfig -export NASMENV = "--reproducible --debug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" +export NASMENV = "--reproducible --debug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}" # Add nasm-native dependency consistently for all build arches is hard EXTRA_OECMAKE:append:class-native = " -DWITH_SIMD=False" From patchwork Thu Nov 16 22:48:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34776 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 F2517C5AE5C for ; Thu, 16 Nov 2023 22:48:51 +0000 (UTC) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by mx.groups.io with SMTP id smtpd.web11.20273.1700174927072803949 for ; Thu, 16 Nov 2023 14:48:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CApLuRQH; spf=pass (domain: gmail.com, ip: 209.85.218.48, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-9e62f903e88so180102566b.2 for ; Thu, 16 Nov 2023 14:48:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174925; x=1700779725; darn=lists.openembedded.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; bh=7vWvhN2Du7IvDsMEo1Y1tzdHo8ipS232PsUuRthEhIc=; b=CApLuRQHHZ+cW1kWlylKQY3KMq2vm64RWmgvhquI3cQv6jJ/nK5MVZpSIzW91b16qZ 2eUn6uP6iUnzVobSJlhcsixyMX+cbDwtV7EkRLPx48zkOjvwY3S5j9BaD2dYatJwL6qd B4afCqHzw7eCaSpRAbZELNG0PDl+a+Qor8X52iQqtnxaHpBGiC8YNaq883xN+mUt2I/s xuGwpEvtPSkhvn5IP4+tO9qpb9XASQVdV9Xl3De72HX4sSOw/Nn9yQCyfAKyYn28Y+iw f4cfRxdOcJyeBVzxQWNdtAAhPq/ShjcKbezio6PhK7Kjd1a5yPKl97Pws6sPRp1ynQGS Z4pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174925; x=1700779725; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7vWvhN2Du7IvDsMEo1Y1tzdHo8ipS232PsUuRthEhIc=; b=jKj0rZW5VN4APQY83RJa8y6xLs26zpQIE+tEnXX313r6YeLmwfzt151+O5byo6EtFB 3CnyxGQrMTSS1WXcAq6i5j73MyoF10HyIDmo36BJUkpnPggooGt5O44r8bxEzhPuYdZ2 l9nmqpz/9DrZhkL8Ln/Nk7nykHKjsz2bM/hBpJaD6HH8aDd9xRGSpfM+PZL8tV2/I9P9 moE9UTjGrVjkQZXSIDhzMbO2oJstEelBqpsN1qq6Qm4+ewzXNs3glp3VYEtUMwYltyoH S+YMz0Fg14KX2W8c0aNLgaK4Y3GXx5JzIv3l4PVY5DNzPjh7eNGg7uKFzYZNFZNJUCTa HUZw== X-Gm-Message-State: AOJu0YxaDEIRuRWk3xiEWVjhICOZByfDu4ZxGJX7rmJdRJUhoCusqcCL XpyyEOLCBnRB1Doi9owC3c/OlKii5TA= X-Google-Smtp-Source: AGHT+IEB+czFPmlLN69wFMBbAiBu2+ZsmmeInHUpVqAl5/mrxQHu9x6w1trZbABfPK4UV66Xt19soA== X-Received: by 2002:a17:906:40c5:b0:9e2:d087:86de with SMTP id a5-20020a17090640c500b009e2d08786demr11847783ejk.42.1700174925570; Thu, 16 Nov 2023 14:48:45 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id t18-20020a170906a11200b009e50ea0a05asm121038ejy.99.2023.11.16.14.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:45 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv2 06/12] ffmpeg: drop PE, PR from /usr/src/debug paths Date: Thu, 16 Nov 2023 23:48:30 +0100 Message-ID: <20231116224836.2696913-6-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231116224836.2696913-1-martin.jansa@gmail.com> References: <20231116224836.2696913-1-martin.jansa@gmail.com> 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 ; Thu, 16 Nov 2023 22:48:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190820 Signed-off-by: Martin Jansa --- meta/recipes-multimedia/ffmpeg/ffmpeg_6.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.0.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.0.bb index e65f80d64b..1c9edaf176 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.0.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.0.bb @@ -151,7 +151,7 @@ do_configure() { export TMPDIR="${B}/tmp" mkdir -p ${B}/tmp ${S}/configure ${EXTRA_OECONF} - sed -i -e "s,^X86ASMFLAGS=.*,& --debug-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} --debug-prefix-map=${B}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR},g" ${B}/ffbuild/config.mak + sed -i -e "s,^X86ASMFLAGS=.*,& --debug-prefix-map=${S}=${TARGET_DBGSRC_DIR} --debug-prefix-map=${B}=${TARGET_DBGSRC_DIR},g" ${B}/ffbuild/config.mak } # patch out build host paths for reproducibility From patchwork Thu Nov 16 22:48:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34778 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 139DDC5AE5E for ; Thu, 16 Nov 2023 22:48:52 +0000 (UTC) Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by mx.groups.io with SMTP id smtpd.web11.20275.1700174928357479542 for ; Thu, 16 Nov 2023 14:48:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=c2ZorgdO; spf=pass (domain: gmail.com, ip: 209.85.218.52, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-9d10f94f70bso185061166b.3 for ; Thu, 16 Nov 2023 14:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174927; x=1700779727; darn=lists.openembedded.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; bh=wdlzgoUZANXR6v0465sIrJ9Hs3IgMFC19ooZZ+TXjyg=; b=c2ZorgdOfik2ZxDSWty3hHrXFMW1nByV+/ZDsHyjSfkokgZy8xTaZ0ZyqlUuufb/3o JJDN85b4e+vj8qPTMziZFKaSxjf18wxO/I2IORzrd8vtdXi8ZO0yiqmyaDA+1b+w9sgR X/OPXxT1PnRHqba7Y05aVwp+RT7ZU0pvrU6mRzNDAx8RkQ+uFEYOe0ha6sg4qn2bQKtK j7o3d+eWt9niCY+qaanyaU0e5BQGPzE108WTkAAk72rxOcwM8td4dfGnQdx12qbRyThb QyhdYIlsZ9C9pRuS/01+d/3lHeRPiimCAsTJtwrCS9+wfyCVzsGu8mU2lNkPif7Tz4dI bCjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174927; x=1700779727; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wdlzgoUZANXR6v0465sIrJ9Hs3IgMFC19ooZZ+TXjyg=; b=R4c/rAf9IwsVWtp6YFJ07PZd1NvEhTQEqLteeML9NY00zzGMNxiDSwY/J5Y3VzGKq3 rj4YoEwZGzzj/xNKecE/eQ7pjcsgW72Vvr/ysqYibKu+xe5I9W84wwKxjWfWbfK05Ym1 3JtH+3mjnkBLgYBzYjbtyTorQCZr3Xzo7NGfp00FLiQu2IhcJSKKhk75ljgTKHcXz8qT 9AX5w9Ox+Em1qsxb9SphzIqk9xtejKhkOrfPF5nxgNinvsd+wJ3/OCRdgWdClHtwyENc cLbSOjrG63Ou0N5/e1vD2yDVmTYnrScLsCPTvh8Mr2UB0d24Cw1Hc1L3q93LdtL/RqI3 0zXA== X-Gm-Message-State: AOJu0Yx+CIKUDEmHsxahRQ7V51p3N8ag6KPoH1dbSDgLdJomZGbgDmqK kDiV2QZJas7KehGwl0bScy1V5GbM7dI= X-Google-Smtp-Source: AGHT+IErojjFdTSfB1NBT60uLqF2M5uFksZtwg5WiPG6bTj1v/sLlRg2JHxld21aQYm8hlxc8fT58g== X-Received: by 2002:a17:907:7795:b0:9c0:99c4:79e8 with SMTP id ky21-20020a170907779500b009c099c479e8mr12696109ejc.6.1700174926446; Thu, 16 Nov 2023 14:48:46 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id b19-20020a170906709300b009e5eaf7a9b6sm122152ejk.139.2023.11.16.14.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:46 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv2 07/12] perf: drop PE, PR from /usr/src/debug paths Date: Thu, 16 Nov 2023 23:48:31 +0100 Message-ID: <20231116224836.2696913-7-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231116224836.2696913-1-martin.jansa@gmail.com> References: <20231116224836.2696913-1-martin.jansa@gmail.com> 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 ; Thu, 16 Nov 2023 22:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190821 Signed-off-by: Martin Jansa --- meta/recipes-kernel/perf/perf.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index a90acd55ef..32882afdf4 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb @@ -98,7 +98,7 @@ EXTRA_OEMAKE = '\ AR="${AR}" \ LD="${LD}" \ EXTRA_CFLAGS="-ldw -I${S}" \ - YFLAGS='-y --file-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}' \ + YFLAGS='-y --file-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}' \ EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \ perfexecdir=${libexecdir} \ NO_GTK2=1 \ @@ -405,7 +405,7 @@ PACKAGESPLITFUNCS =+ "perf_fix_sources" perf_fix_sources () { for f in util/parse-events-flex.h util/parse-events-flex.c util/pmu-flex.c \ util/pmu-flex.h util/expr-flex.h util/expr-flex.c; do - f=${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/$f + f=${PKGD}${TARGET_DBGSRC_DIR}/$f if [ -e $f ]; then sed -i -e 's#${S}/##g' $f fi From patchwork Thu Nov 16 22:48:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34779 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 1B0C4C5B55F for ; Thu, 16 Nov 2023 22:48:52 +0000 (UTC) Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by mx.groups.io with SMTP id smtpd.web11.20276.1700174928770566298 for ; Thu, 16 Nov 2023 14:48:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fQn8tfx9; spf=pass (domain: gmail.com, ip: 209.85.218.52, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-9df8d0c2505so265326966b.0 for ; Thu, 16 Nov 2023 14:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174927; x=1700779727; darn=lists.openembedded.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; bh=WDXyPdTdGr6dOcf2QYvz1fFYvHXTYFElMcgNna+uRww=; b=fQn8tfx9iGXcCtXn4x2FLjQd8mw2hJbrTaMBvYGQxywkzD/FUkstq9J6MBYel4HMxy kNCVo6KGerEXlSdJRDOyPFmdo22+Jm9W+G8Ad+Kc/We65TkRH4WNlY5Xmuew+ZBPGlM4 XfavZaJO4LouNiukONPJEQQIgWfx2Ly8q8FeoLEuNSNgVHKcwT3BTic4LK/61qludqG1 3xO8Bjn0ZHDdZLy6aCLO4T7hZX+MMeFIyxVeCI0FPGFTnRrAuL17CiRGaRVaWJNnGxvs LEheLQ8I2UOM1oWC5gCpvJ39nGpqj/n1mSfVX+Qs+578POH6bzgGwC5pdq/NMc0Tie3m XpEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174927; x=1700779727; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WDXyPdTdGr6dOcf2QYvz1fFYvHXTYFElMcgNna+uRww=; b=HIqU9HcffyUJP2xwEC8wBBzZL3TQbGNEet8YBVBiEleRMCUrZJArq5Mdwy7uZgQqQ0 EbqnpYCptFzB1tyg94vahsoBL4TmYxiOJCX/aqllQXU7kXqslSyYkKxc5oPUkJWpUky7 4IfmsmVCe/Cf0gnoU2OmUeP/YugNqi7unXOkzaHtpxPpNznnCBS6PJaw9rtPLGl/DTvJ +5ZH/Rn9NAE0fYtMuU098006R4Sr6NbUQUIBWMyCtHZyqPgLBCvBzoqgFDyJ7rgF6aid RSj+XT3fuVIY2fCBJgfPnyRNYDdiaF62uP1vnQnqz4qpR7VnWyoHrQF65ncNJbRKyR3Q HIJw== X-Gm-Message-State: AOJu0YyHVifbxgE0twwwvnWySzgvIjh4aHEujAnkNhPhVm7Azn+i06oH 20VcB2gBdaQFaMy2yOQAbW0cs0NEee0= X-Google-Smtp-Source: AGHT+IFuFVgjRkVs7m48kweBRPJvTzouh3qnliNKZOfj0aVSVRjZ6RzQWa48K2Ff/cO8O1zDS+6URA== X-Received: by 2002:a17:906:f43:b0:9a1:b528:d0f6 with SMTP id h3-20020a1709060f4300b009a1b528d0f6mr2707718ejj.27.1700174927209; Thu, 16 Nov 2023 14:48:47 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id y5-20020a170906524500b009e6cedc8bf5sm129197ejm.29.2023.11.16.14.48.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:46 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv2 08/12] rust: drop PE, PR from /usr/src/debug paths Date: Thu, 16 Nov 2023 23:48:32 +0100 Message-ID: <20231116224836.2696913-8-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231116224836.2696913-1-martin.jansa@gmail.com> References: <20231116224836.2696913-1-martin.jansa@gmail.com> 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 ; Thu, 16 Nov 2023 22:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190822 Signed-off-by: Martin Jansa --- meta/classes-recipe/rust-common.bbclass | 2 +- meta/recipes-devtools/rust/cargo_1.70.0.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes-recipe/rust-common.bbclass b/meta/classes-recipe/rust-common.bbclass index 878272721c..3d73a370ec 100644 --- a/meta/classes-recipe/rust-common.bbclass +++ b/meta/classes-recipe/rust-common.bbclass @@ -14,7 +14,7 @@ FILES:${PN}-dev += "${rustlibdir}/*.rlib ${rustlibdir}/*.rmeta" FILES:${PN}-dbg += "${rustlibdir}/.debug" RUSTLIB = "-L ${STAGING_DIR_HOST}${rustlibdir}" -RUST_DEBUG_REMAP = "--remap-path-prefix=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" +RUST_DEBUG_REMAP = "--remap-path-prefix=${WORKDIR}=${TARGET_DBGSRC_DIR}" RUSTFLAGS += "${RUSTLIB} ${RUST_DEBUG_REMAP}" RUSTLIB_DEP ?= "libstd-rs" RUST_PANIC_STRATEGY ?= "unwind" diff --git a/meta/recipes-devtools/rust/cargo_1.70.0.bb b/meta/recipes-devtools/rust/cargo_1.70.0.bb index a5c1064106..50b7e7c7b4 100644 --- a/meta/recipes-devtools/rust/cargo_1.70.0.bb +++ b/meta/recipes-devtools/rust/cargo_1.70.0.bb @@ -19,7 +19,7 @@ CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor" inherit cargo pkgconfig -DEBUG_PREFIX_MAP += "-fdebug-prefix-map=${RUSTSRC}/vendor=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" +DEBUG_PREFIX_MAP += "-fdebug-prefix-map=${RUSTSRC}/vendor=${TARGET_DBGSRC_DIR}" do_cargo_setup_snapshot () { ${WORKDIR}/rust-snapshot-components/${CARGO_SNAPSHOT}/install.sh --prefix="${WORKDIR}/${CARGO_SNAPSHOT}" --disable-ldconfig From patchwork Thu Nov 16 22:48:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34781 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 2C0C6C5B562 for ; Thu, 16 Nov 2023 22:48:52 +0000 (UTC) Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) by mx.groups.io with SMTP id smtpd.web10.20275.1700174929508159509 for ; Thu, 16 Nov 2023 14:48:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jZhDRUj3; spf=pass (domain: gmail.com, ip: 209.85.208.46, mailfrom: martin.jansa@gmail.com) Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-53f9af41444so1978111a12.1 for ; Thu, 16 Nov 2023 14:48:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174928; x=1700779728; darn=lists.openembedded.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; bh=In7YTCxwVOmU+PC6OzKKhL6sigZnUpVN+XYJbBt1/f4=; b=jZhDRUj3Og7q6l8bcwqRTuWq+Qwkd/ATRI73Jsurx5IGRs3B/lsWZqLu/+YlM3QpEZ P+u1w6sbKp+Si/sCmxHGZGXTHf1WseKvOFHOQnPjIWGOkSFLtR9CzDtOh4SDEhYLg/52 7fXUjGWZ5M9fTFOrJ0R2PShynpvNO7WooMf89zUlxMYfa2sOlglMYYI/hPbGfrf1B7hT gcozZGPM7vKh2Lg6LaqeYtInim3fAgIVNKILS7d0hhO2qbQCPRKV6BaXpZSLFVy99Tkw XBN6H5XV4L/CxQY6CGB33B7QTkfpffhCR/gtkgpeJbLQRWurcS2/uy+9unPgRs3yGP6y QaBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174928; x=1700779728; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=In7YTCxwVOmU+PC6OzKKhL6sigZnUpVN+XYJbBt1/f4=; b=rcCNJrQU9qfQyIJvTT3pK464l8ojfbTne3i6/vKs871PblnvFE5RXcpCGn0H7xJR3D Sh/ezl/3+GjiP7oLJaqm61OXuvp2Yi7WUX9AjeTipIWKuLruHpM79+KxJYUkDpeeCTb8 9LsUj8B064W8Sg6cInij0aH7wfnU8OCD2wrBFq878uf4ePFRpcRDJvr4jQSl34Wts8qa d0kzqZuvfFUJL5nryz98w2qem5s/p6sQ0493Umq/Ufps0NUWPJ8Q7s7/LRT6fgp0plWu I+e/kvADnvU+vN3xWk6L0jgjazb90aCm0ECHeIcmoLAdSZQbBl/lZEzM7ATjWDuKz5P0 ao+g== X-Gm-Message-State: AOJu0YxzsWbYWMxXdVZNFwH9wD0XhtZfdaHyK4uG3oFNGmWcmMo2X48U jjNPJ+rheqJ+f9WtoFWEMzHtXTvgnjg= X-Google-Smtp-Source: AGHT+IHNvZk9IlSufU7STrumImNF3QG+U7Dksc9wzU4fj0iaN+8JfoaLsYF+T/MYsJRr4D06zD7PcA== X-Received: by 2002:a05:6402:10cf:b0:53f:2671:e0f4 with SMTP id p15-20020a05640210cf00b0053f2671e0f4mr12593242edu.38.1700174927978; Thu, 16 Nov 2023 14:48:47 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id u21-20020aa7d0d5000000b005434e3d8e7bsm126272edo.1.2023.11.16.14.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:47 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv2 09/12] vulkan-samples: drop PE, PR from /usr/src/debug paths Date: Thu, 16 Nov 2023 23:48:33 +0100 Message-ID: <20231116224836.2696913-9-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231116224836.2696913-1-martin.jansa@gmail.com> References: <20231116224836.2696913-1-martin.jansa@gmail.com> 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 ; Thu, 16 Nov 2023 22:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190823 Signed-off-by: Martin Jansa --- .../0001-vulkan-samples-Fix-reproducibility-issue.patch | 2 +- meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/vulkan/vulkan-samples/0001-vulkan-samples-Fix-reproducibility-issue.patch b/meta/recipes-graphics/vulkan/vulkan-samples/0001-vulkan-samples-Fix-reproducibility-issue.patch index 7609011421..c16e05112f 100644 --- a/meta/recipes-graphics/vulkan/vulkan-samples/0001-vulkan-samples-Fix-reproducibility-issue.patch +++ b/meta/recipes-graphics/vulkan/vulkan-samples/0001-vulkan-samples-Fix-reproducibility-issue.patch @@ -9,7 +9,7 @@ in the debug source remapping from CFLAGS We export the right path to use in the recipe with: -EXTRA_OECMAKE = "-DCMAKE_DEBUG_SRCDIR=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/" +EXTRA_OECMAKE = "-DCMAKE_DEBUG_SRCDIR=${TARGET_DBGSRC_DIR}/" and we then patch this into the code instead of the broken use of CMAKE_SOURCE_DIR since __FILENAME__ will match our path prefix diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb index 66f1ef5e9d..d60c0f3190 100644 --- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb +++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb @@ -29,7 +29,7 @@ FILES:${PN} += "${datadir}" # used for logging with LOGE in the code. We need to make this match the value we use # in the debug source remapping from CFLAGS # -EXTRA_OECMAKE += "-DCMAKE_DEBUG_SRCDIR=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/" +EXTRA_OECMAKE += "-DCMAKE_DEBUG_SRCDIR=${TARGET_DBGSRC_DIR}/" # Binaries built with PCH enabled don't appear reproducible, differing results were seen # from some builds depending on the point the PCH was compiled. Disable it to be # deterministic From patchwork Thu Nov 16 22:48:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34775 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 AACA5C5ACB3 for ; Thu, 16 Nov 2023 22:48:51 +0000 (UTC) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by mx.groups.io with SMTP id smtpd.web10.20276.1700174930439740430 for ; Thu, 16 Nov 2023 14:48:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Tp8/IOoB; spf=pass (domain: gmail.com, ip: 209.85.208.44, mailfrom: martin.jansa@gmail.com) Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-53f9af41444so1978128a12.1 for ; Thu, 16 Nov 2023 14:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174929; x=1700779729; darn=lists.openembedded.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; bh=CqEPMMS2vLOSRA9x9J/Bek7wYU1HlzQddMoKpZ7y/w0=; b=Tp8/IOoB1lD3CSnuTRSbVK2nyl4y1PTCULU05qOoD17fN3XTbqwF56jJvEz2n6oOO4 E7M2c2YMZ4SeDDjmvcV7cUOZs60xPH1+ZX4U/MQcl2KaFhNaJ8Af9DbDyvfndGCnq16T ZuD+FFMHwVS82185AdTq1CethHxFQ6xG7BFLW48gJwbl3YgulU3BTuGHo4NmXUYMlXzj f4gIBepZ73sTdAf0ktbxsBAwOUZ1OAGmv5URicm8VBinmqZXS6EVUxA+fH5dxSqItGfN Ur4dvV9EwZ0ad3tVRpbdo4p/6RGc4eehLnHtxky7y+mBwmLvVw/gcxr1M7WwdvzRdiSw uH0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174929; x=1700779729; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CqEPMMS2vLOSRA9x9J/Bek7wYU1HlzQddMoKpZ7y/w0=; b=bk4LsbFBT7rrY9yOtbLNX3X3ojwGDoRtNHlNEgs7wFE6Jj0jDzPy4vOC/jvoke6W4t yj2sP754Z7mtyOXl6TqOcCY/NwfC8CkPT0U+Sh5g+A+XBPoV8io/JMnHJLO6FGbK/lBt JafMBa9wjiJR01MnLsR7ncCr/A996W4lbB2SX3vpzQSwLwwC3QgHG85qTJoWJPnFFYbb 0b8Vguu6pfyYP/geyYcJC+u80FDMN9zOqlap87AJavEPjwpoMWBjGEtxN6ZQv2xBHrnz oVFLTztpx9gOo/WxlcjLMzb8GQcvJvAQ45L6s71Wi2JY1yWXq6S/5LQwUE8Z7CIK45Uz prsw== X-Gm-Message-State: AOJu0YyNJsjZWnEjRjzFTDBdNGLHgvtxTOslsZpVtkECldyCoSpkLwoW W2so0y2euu7RYkl1VBV7QPf/MNQTx7E= X-Google-Smtp-Source: AGHT+IG8ecejR4cBbvAUqxtHDvU6lGsJhW+nldq0c4U6Y8RQq461aTQJGhjav6QCaPBgImOtjT0bXA== X-Received: by 2002:aa7:c788:0:b0:543:8391:a19a with SMTP id n8-20020aa7c788000000b005438391a19amr10810776eds.40.1700174928667; Thu, 16 Nov 2023 14:48:48 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id w9-20020a056402070900b0053e5a1bf77dsm117878edx.88.2023.11.16.14.48.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:48 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv2 10/12] valgrind: drop PE, PR from /usr/src/debug paths Date: Thu, 16 Nov 2023 23:48:34 +0100 Message-ID: <20231116224836.2696913-10-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231116224836.2696913-1-martin.jansa@gmail.com> References: <20231116224836.2696913-1-martin.jansa@gmail.com> 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 ; Thu, 16 Nov 2023 22:48:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190824 Signed-off-by: Martin Jansa --- meta/recipes-devtools/valgrind/valgrind_3.21.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/valgrind/valgrind_3.21.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.21.0.bb index 68ab319a1b..67a197c509 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.21.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.21.0.bb @@ -239,8 +239,8 @@ do_install_ptest() { # As the binary isn't stripped or debug-splitted, the source file isn't fetched # via dwarfsrcfiles either, so it needs to be installed manually. - mkdir -p ${D}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/none/tests/ - install ${S}/none/tests/tls.c ${D}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/none/tests/ + mkdir -p ${D}${TARGET_DBGSRC_DIR}/none/tests/ + install ${S}/none/tests/tls.c ${D}${TARGET_DBGSRC_DIR}/none/tests/ } do_install_ptest:append:x86-64 () { From patchwork Thu Nov 16 22:48:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34773 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 BECF0C5AE4A for ; Thu, 16 Nov 2023 22:48:51 +0000 (UTC) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by mx.groups.io with SMTP id smtpd.web11.20277.1700174930939628554 for ; Thu, 16 Nov 2023 14:48:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=av+6SNPZ; spf=pass (domain: gmail.com, ip: 209.85.218.42, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-9d216597f64so188441866b.3 for ; Thu, 16 Nov 2023 14:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174929; x=1700779729; darn=lists.openembedded.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; bh=lSpne9tcPtjN5X4ATJj2VXqWSRsuq3aCu1/pTO3fi4E=; b=av+6SNPZlRZM/2yEnF1E3wxTrFoseCZp1gkogfVTkAwzypdKSTmL2KY74VHIFJ/twP wEbwy+1jyhMGnFddHn9ONvWuH/gIXT6wT3MctgTcZj8gCGkQIcXWewJrznYRlVesYVJn FgwD/o+mNHl3eUnv4VicBnJ0wkXRFIr9vG/cADJuRqTNXFZtin2ARjLwYQxC7rp8AjJf fN9OanlgJGuo1TjJ9qULWlENsQziCeCwr1fKvGEHH1CiJi1o3U+Gboy0kqvWmSCOq1+n 5tg+dzqcoT+B6GFcjhvp++WQN3tFM2Gq6ecaECqV+1T+jZWJVaVlZh2aHYMiIPEKxS9I 9vOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174929; x=1700779729; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lSpne9tcPtjN5X4ATJj2VXqWSRsuq3aCu1/pTO3fi4E=; b=N5tQe6NdkpZRWmptBraeOE1B1iVOWxGGu9BCBJ6cH6ETa7cfAtgZzawBeCDILf9lY8 ZPwNfU/9QVQSXfOX7iq1ovXmtFdF0O7KvjK8hTSxDqsmDdImOrJnolOtAYcwRU/tydU+ N16x1sAVzab3WNYElKbEW7kKuyPtfUFfgKm2E07WKfF8THW+v9Z7wQzH3zMrdGF3L2h5 1wqVqPLhBF4yeATLFZPyOO0Ct5IZUm0GH7exXTUxCgZ7YsJzZ3u7V7fixRtLmIoS+DNh SeB6V60YgiyuX9uAKla2D0adUHarJY8EudG1yDunC9FopuSw46LlkprtL8KvICoEw0FM wSWw== X-Gm-Message-State: AOJu0YwivoLhoRlh8UMUP9aDylLTjR14k6hOoOaC/NY2oROX2iTbfmPf 8rzDJ9yeuREmQSRbeygR2tuBJF1ieaE= X-Google-Smtp-Source: AGHT+IGDevX1IenW1/bU8z/QXX+YXmcUMBERlUmFnEKNTOjI1cfGjmf54AuAESskh9jH7Lc7CTtwlw== X-Received: by 2002:a17:906:79c6:b0:9e7:3af8:1fcd with SMTP id m6-20020a17090679c600b009e73af81fcdmr10740613ejo.76.1700174929403; Thu, 16 Nov 2023 14:48:49 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id j4-20020a170906410400b009de3fd8cbfasm138557ejk.0.2023.11.16.14.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:49 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv2 11/12] python3-cython: drop PE, PR from /usr/src/debug paths Date: Thu, 16 Nov 2023 23:48:35 +0100 Message-ID: <20231116224836.2696913-11-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231116224836.2696913-1-martin.jansa@gmail.com> References: <20231116224836.2696913-1-martin.jansa@gmail.com> 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 ; Thu, 16 Nov 2023 22:48:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190825 Signed-off-by: Martin Jansa --- .../python/python3-cython_0.29.36.bb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/meta/recipes-devtools/python/python3-cython_0.29.36.bb b/meta/recipes-devtools/python/python3-cython_0.29.36.bb index 78be2b94ed..07638d7ad7 100644 --- a/meta/recipes-devtools/python/python3-cython_0.29.36.bb +++ b/meta/recipes-devtools/python/python3-cython_0.29.36.bb @@ -20,17 +20,17 @@ do_install:append() { PACKAGESPLITFUNCS =+ "cython_fix_sources" cython_fix_sources () { - for f in ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/FlowControl.c \ - ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/FusedNode.c \ - ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/Scanning.c \ - ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Compiler/Visitor.c \ - ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Plex/Actions.c \ - ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Plex/Scanners.c \ - ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Runtime/refnanny.c \ - ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/Cython/Tempita/_tempita.c \ + for f in ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/FlowControl.c \ + ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/FusedNode.c \ + ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/Scanning.c \ + ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/Visitor.c \ + ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Plex/Actions.c \ + ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Plex/Scanners.c \ + ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Runtime/refnanny.c \ + ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Tempita/_tempita.c \ ${PKGD}${libdir}/${PYTHON_DIR}/site-packages/Cython*/SOURCES.txt; do if [ -e $f ]; then - sed -i -e 's#${WORKDIR}/Cython-${PV}#/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}#g' $f + sed -i -e 's#${WORKDIR}/Cython-${PV}#${TARGET_DBGSRC_DIR}#g' $f fi done } From patchwork Thu Nov 16 22:48:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 34782 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 34801C5B564 for ; Thu, 16 Nov 2023 22:48:52 +0000 (UTC) Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by mx.groups.io with SMTP id smtpd.web11.20278.1700174931591064198 for ; Thu, 16 Nov 2023 14:48:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Oveoxqdh; spf=pass (domain: gmail.com, ip: 209.85.208.48, mailfrom: martin.jansa@gmail.com) Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-543c3756521so1939778a12.2 for ; Thu, 16 Nov 2023 14:48:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700174930; x=1700779730; darn=lists.openembedded.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; bh=S1IEKX7nVreq8WegwxeTm8fVYJPSk3MZgy3l7E/C6GQ=; b=Oveoxqdhqajqd/Pgda/wHCMpM6ev9CCN4m0mfBzC2XPsLTpxyHWa6dmq4YHNL2uNe9 0N2FExYU6BDBEquLmFaNvjOgUNBab0OFbHZ2szZqvpp4Qp52HthiAx4EYq/OGQ4HfSAO rPJpXiEzuIkUoIjjRFG9MrXiPnhkhAH0zXnJss9/qTY2wu+IlbL0k8LqfWiExcHV6DpX H9B5c/tOKxikwDpdxeS5t+DWUcqF/5+aCRIUVM0zDzDesa814rivRHkU210Awh8fKv6Q vtCpU3QcMGxPkMHBXDdSVXHdouZYieu8AV0DVz+t6yKGv0bwbq7aisiQSF6FAUDXLQHo cG5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700174930; x=1700779730; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S1IEKX7nVreq8WegwxeTm8fVYJPSk3MZgy3l7E/C6GQ=; b=Kcir8Vjj126BAjbNzZFKo8J0sdfHDiCd7YsmcO4+Y7bBNPUZsUFAJNuA8TeVpzGQMp sEvWpeXn5oN2ZEr+Z9Sex/si8LzwMpB1Y/XyVLcUXXfr7afz2t7UXpgOo1LtA1VEDRw3 VSGJVtHMnehpeAROYh6A5B6TG52KpXWYQvzY1oyiRQbRcrs8Q94obpEkWBLwGjL7dZMb nqjPRapk3mJ86+hanY0CSEVvj80w7CXtrZ6peBFcXlo4F1erQgDw2B3WXceY7T7ZOC2O Geg2oRYMkYjx2aoJATHE0MN6gZ8dvTfuDoatNTmrkEynPdai8nyRMG/WQYvfSgKdFg4I jG8g== X-Gm-Message-State: AOJu0YwII1FsmlnMHK+hjDsfHEyhIyKdt6CyyD+Mf1XDJrMf7jfj9DQ5 +rAec9H2+IWa/vfv391FaW/W8HnSBIE= X-Google-Smtp-Source: AGHT+IGsbXzFES3p5ZUCfqV1l3C79Use3ayoDoOBDnwIlZgGYQiRu4Ki5hiBNLBV43mlMqerEX2XWQ== X-Received: by 2002:a17:906:40c1:b0:9e4:67f7:aa04 with SMTP id a1-20020a17090640c100b009e467f7aa04mr2712664ejk.58.1700174930107; Thu, 16 Nov 2023 14:48:50 -0800 (PST) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id y6-20020a17090668c600b009a1be9c29d7sm120605ejr.179.2023.11.16.14.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:48:49 -0800 (PST) From: Martin Jansa To: openembedded-core@lists.openembedded.org Cc: Martin Jansa Subject: [PATCHv2 12/12] igt-gpu-tools: drop PR from /usr/src/debug paths Date: Thu, 16 Nov 2023 23:48:36 +0100 Message-ID: <20231116224836.2696913-12-martin.jansa@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231116224836.2696913-1-martin.jansa@gmail.com> References: <20231116224836.2696913-1-martin.jansa@gmail.com> 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 ; Thu, 16 Nov 2023 22:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/190826 Signed-off-by: Martin Jansa --- meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb index 529b374c7d..90cd09ea70 100644 --- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb +++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb @@ -24,7 +24,7 @@ PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests" PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-Dchamelium=disabled,gsl xmlrpc-c" -EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dsrcdir=/usr/src/debug/${PN}/${PV}-${PR}/git/ -Dversion_hash=${PV}" +EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dsrcdir=${TARGET_DBGSRC_DIR}/git/ -Dversion_hash=${PV}" COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux" COMPATIBLE_HOST:libc-musl:class-target = "null" SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}"