From patchwork Mon Dec 26 08:44:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 17214 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 2521CC3DA79 for ; Mon, 26 Dec 2022 08:45:19 +0000 (UTC) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.groups.io with SMTP id smtpd.web10.132423.1672044310357761603 for ; Mon, 26 Dec 2022 00:45:10 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FQhlztr2; spf=pass (domain: gmail.com, ip: 209.85.128.41, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f41.google.com with SMTP id fm16-20020a05600c0c1000b003d96fb976efso4784295wmb.3 for ; Mon, 26 Dec 2022 00:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BSItT7+m/7YSA0uLBi0oLlWhxkpt1HYIneloDbD4BzI=; b=FQhlztr2gyOPYECgeAscYRnDmX8VtXziB+GLhuntr1NTFsFL1SS3urXROHhOBoLGuC oU4AwHDYID9ioHeNZEdiImbXmfXFZiNlLDooLOj/NFzkUieoZVnL0iMfgNyCjjQX6i/N G6sYr+3hhUu6F1zaLeLbdS+X3aeDdpwb3PQdrq/5uza+7OB+/WdsnLf9yBApxD+0hxfq XTFk0zfDISorgFHGE6HyT/YfSY6zjxEmI096Yu3nBniSF3DqQ8vP39L6l6UlMqrRv14E nY+U7LGG7bqm5IBMK6Pp7Moo7iWS0THzKQmMADaIyv+4LG2BHd+wzjoG3ib6f7rM4+t4 8Ocg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=BSItT7+m/7YSA0uLBi0oLlWhxkpt1HYIneloDbD4BzI=; b=v2RbF+RSWcPplTONsZP2LTrJS44f0j3RvyQFa442RyS16KKyvpg0yZgAOjNHjdyVbN FRW7psFRbsnfYRDN7aEVlfrK2KAurlEItxXA/lXNfHOKThCyTGWB2rTrKB6lQ52fAZ1R SF67RdakQUYHREKNIvskmYZ5MLrbB2smXOZXTz/9efWoXEZnvRuqJ9UcLvsbjp7niqf0 cU3LO5/C4bVdbq8couvBVCABoZOZj5OaIhj6CvQCvFouVrlZ0bv9smy02byxpCVi9YJb WPDrAOTP/fGNAexNfGGAnPHd6p8uhZ2QmNkL5kTD7A4MXGJRhmdwT/aU9ExdiZwMS2iP PADg== X-Gm-Message-State: AFqh2koEVlDR/sqs62NO1HMCqjN8nddtyPyxTkglyaLWmaPB9F5eF1dr TjdJXB+K1kEGkNhiJTVBlzIePaK2i8E= X-Google-Smtp-Source: AMrXdXsPAfytu4zCGEudPJl+rSuXErgEgl/RwNIUQwXOWiEOxKiVvZne0SfOtrxE9jnhdB2FV/SLVA== X-Received: by 2002:a05:600c:12c6:b0:3cf:6926:2abb with SMTP id v6-20020a05600c12c600b003cf69262abbmr13051446wmd.7.1672044308463; Mon, 26 Dec 2022 00:45:08 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id n64-20020a1ca443000000b003d21759db42sm18203942wme.5.2022.12.26.00.45.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Dec 2022 00:45:07 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [RFC PATCH 1/3] conf/machine/include: add x86-64-v3 tunes (AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE) Date: Mon, 26 Dec 2022 09:44:53 +0100 Message-Id: <20221226084455.2835751-1-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 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 ; Mon, 26 Dec 2022 08:45:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/175013 Qemu 7.2 finally allows us to move beyond building for original Core 2/Core i7 era hardware, and this patch adds support for the newer generations. But first, a bit of background: Recently toolchains gained support for specifying x86-64 'levels' of instruction set support; v3 corresponds to 2013-era Haswell CPUs (and later), with AVX, AVX2 and a few other instructions that were introduced in that generation. I believe this is preferrable to picking a specific CPU model as the baseline. Here's Phoronix's feature article that explains the feature and the available levels: "Both LLVM Clang 12 and GCC 11 are ready to go in offering the new x86-64-v2, x86-64-v3, and x86-64-v4 targets. These x86_64 micro-architecture feature levels have been about coming up with a few "classes" of Intel/AMD CPU processor support rather than continuing to rely on just the x86_64 baseline or targeting a specific CPU family for optimizations. These new levels make it easier to raise the base requirements around Linux x86-64 whether it be for a Linux distribution or a particular software application where the developer/ISV may be wanting to compile with greater instruction set extensions enabled in catering to more recent Intel/AMD CPUs." https://www.phoronix.com/news/GCC-11-x86-64-Feature-Levels Here's gcc docs for it: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html And here's the formal specification (click on the pdf link): https://gitlab.com/x86-psABIs/x86-64-ABI The actual tune file was created by copying corei7 tunes and doing search/replace on them. Qemu options were dropped as unnecessary. Signed-off-by: Alexander Kanavin --- .../machine/include/x86/tune-x86-64-v3.inc | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta/conf/machine/include/x86/tune-x86-64-v3.inc diff --git a/meta/conf/machine/include/x86/tune-x86-64-v3.inc b/meta/conf/machine/include/x86/tune-x86-64-v3.inc new file mode 100644 index 0000000000..365e23b49b --- /dev/null +++ b/meta/conf/machine/include/x86/tune-x86-64-v3.inc @@ -0,0 +1,35 @@ +# Settings for the GCC(1) cpu-type "x86-64-v3": +# +# CPUs with AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE. +# (but not AVX512). +# See https://www.phoronix.com/news/GCC-11-x86-64-Feature-Levels for details. +# +# This tune is recommended for Intel Haswell/AMD Excavator CPUs (and later). +# +DEFAULTTUNE ?= "x86-64-v3-64" + +# Include the previous tune to pull in PACKAGE_EXTRA_ARCHS +require conf/machine/include/x86/tune-corei7.inc + +# Extra tune features +TUNEVALID[x86-64-v3] = "Enable x86-64-v3 specific processor optimizations" +TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'x86-64-v3', ' -march=x86-64-v3', '', d)}" + +# Extra tune selections +AVAILTUNES += "x86-64-v3-32" +TUNE_FEATURES:tune-x86-64-v3-32 = "${TUNE_FEATURES:tune-x86} x86-64-v3" +BASE_LIB:tune-x86-64-v3-32 = "lib" +TUNE_PKGARCH:tune-x86-64-v3-32 = "x86-64-v3-32" +PACKAGE_EXTRA_ARCHS:tune-x86-64-v3-32 = "${PACKAGE_EXTRA_ARCHS:tune-corei7-32} x86-64-v3-32" + +AVAILTUNES += "x86-64-v3-64" +TUNE_FEATURES:tune-x86-64-v3-64 = "${TUNE_FEATURES:tune-x86-64} x86-64-v3" +BASE_LIB:tune-x86-64-v3-64 = "lib64" +TUNE_PKGARCH:tune-x86-64-v3-64 = "x86-64-v3-64" +PACKAGE_EXTRA_ARCHS:tune-x86-64-v3-64 = "${PACKAGE_EXTRA_ARCHS:tune-corei7-64} x86-64-v3-64" + +AVAILTUNES += "x86-64-v3-64-x32" +TUNE_FEATURES:tune-x86-64-v3-64-x32 = "${TUNE_FEATURES:tune-x86-64-x32} x86-64-v3" +BASE_LIB:tune-x86-64-v3-64-x32 = "libx32" +TUNE_PKGARCH:tune-x86-64-v3-64-x32 = "x86-64-v3-64-x32" +PACKAGE_EXTRA_ARCHS:tune-x86-64-v3-64-x32 = "${PACKAGE_EXTRA_ARCHS:tune-corei7-64-x32} x86-64-v3-64-x32" From patchwork Mon Dec 26 08:44:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 17215 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 29246C4708D for ; Mon, 26 Dec 2022 08:45:19 +0000 (UTC) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mx.groups.io with SMTP id smtpd.web11.133335.1672044310783592950 for ; Mon, 26 Dec 2022 00:45:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AwwuTzMd; spf=pass (domain: gmail.com, ip: 209.85.128.51, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f51.google.com with SMTP id p13-20020a05600c468d00b003cf8859ed1bso7210132wmo.1 for ; Mon, 26 Dec 2022 00:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=UpGZifAH9x0x3lGzxqjOuBQXHQ8bJeqzDk4knYhqWM0=; b=AwwuTzMdx0SjlglyeD5G5WcXIjwha4LZGmElUnKvnSip3uLUjSSQEU+xAIFtJOxBll TQ3Wk6w/0npJDaw8La5OZsH1GsYFavd1tvGxohlNNmD1g1Iv5JudvUgjg6CXCarnBY1n DS81pkslZhMIdRW3NKmmTBFnOQUUjx19mt9Jq4qyoviQ9had7tbkyztJRUfV0l7p8R/m 3DmMcYj9jFnrcqSRIU4YJu+D07rXTdgVM38IHJrh/g4eYfc+8tO9iUczGqdrYDSLco+c DNUZKWJn8sDY3fhGcPCJaHEJYDXZM+quCZdkjHnJaIQxIBv076RfeUK2sPAHov/dJP0Z UsHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=UpGZifAH9x0x3lGzxqjOuBQXHQ8bJeqzDk4knYhqWM0=; b=OW6MxN6TqTWabBaJrPUn6nQ80e4M4Jj968XthmX89ssLd/5gBKH7n22RwRr9vO4rrm zSf3KC7741s52kxNitfmDABehTm0Eijg/2uM5fF2vShf181NxySoyynCKiBICVbYZZQw S9xQJw8A9bwY5Jz34S2iOh0ChI/ZkHf58OX6w1vFHCZiDJpL3TaXM1171rjEtfD5vLqt htl/anhg96KGVE8nuZ4eDIG+XjqBh2cJoWmNClOWSZJJBczcS5DI8EGxoqS3M/s/Dbx6 Rv3lLGEYtuKYO4XCzUUhBtRdR0TPeD0ZR3qd+8PuGuBO32sv8y9hTlYr0dqKQHStp6s5 oYxw== X-Gm-Message-State: AFqh2kr9Ft6No9NQEV5kRmN11q0Yd562TzQdquapLzK/thn2JJbj/zDC Sf969RmI0XFJjyd/9k+dKWVdnVz+PgU= X-Google-Smtp-Source: AMrXdXvYxhRLTLEUJ6WMPFc8uptHmpzfMhCbrpFYZcI392K06cxseWtBRbEA911L+Ad3Xj9/OmnIYw== X-Received: by 2002:a05:600c:5006:b0:3d2:3eda:dd1 with SMTP id n6-20020a05600c500600b003d23eda0dd1mr12458551wmr.17.1672044309105; Mon, 26 Dec 2022 00:45:09 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id n64-20020a1ca443000000b003d21759db42sm18203942wme.5.2022.12.26.00.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Dec 2022 00:45:08 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [RFC PATCH 2/3] qemux86-64: build for x86-64-v3 (2013 Haswell and later) rather than Core 2 from 2006 Date: Mon, 26 Dec 2022 09:44:54 +0100 Message-Id: <20221226084455.2835751-2-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221226084455.2835751-1-alex@linutronix.de> References: <20221226084455.2835751-1-alex@linutronix.de> 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 ; Mon, 26 Dec 2022 08:45:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/175014 This allows us to - test those more recent instruction sets (AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE) - benefit from improved performance across the stack both in kvm-driven system emulation and when running on real silicon. For example, glibc: https://www.phoronix.com/news/Glibc-strcasecmp-AVX2-EVEX v4 level is adding AVX-512, which is far less established, particularly Intel has famously backtracked from supporting it in Alder Lake/Raport Lake client CPUs and AMD has only implemented it in very recent Zen4 products: https://www.phoronix.com/news/GCC-11-x86-64-Feature-Levels Signed-off-by: Alexander Kanavin --- meta/conf/machine/include/x86/qemuboot-x86.inc | 4 ++-- meta/conf/machine/qemux86-64.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/conf/machine/include/x86/qemuboot-x86.inc b/meta/conf/machine/include/x86/qemuboot-x86.inc index 3953679366..31db1b2a61 100644 --- a/meta/conf/machine/include/x86/qemuboot-x86.inc +++ b/meta/conf/machine/include/x86/qemuboot-x86.inc @@ -4,8 +4,8 @@ QB_SMP = "-smp 4" QB_CPU:x86 = "-cpu IvyBridge -machine q35,i8042=off" QB_CPU_KVM:x86 = "-cpu IvyBridge -machine q35,i8042=off" -QB_CPU:x86-64 = "-cpu IvyBridge -machine q35,i8042=off" -QB_CPU_KVM:x86-64 = "-cpu IvyBridge -machine q35,i8042=off" +QB_CPU:x86-64 = "-cpu Skylake-Client -machine q35,i8042=off" +QB_CPU_KVM:x86-64 = "-cpu Skylake-Client -machine q35,i8042=off" QB_AUDIO_DRV = "alsa" QB_AUDIO_OPT = "-device AC97" diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf index 8640867911..ba8ed21707 100644 --- a/meta/conf/machine/qemux86-64.conf +++ b/meta/conf/machine/qemux86-64.conf @@ -9,8 +9,8 @@ PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa" require conf/machine/include/qemu.inc -DEFAULTTUNE ?= "core2-64" -require conf/machine/include/x86/tune-corei7.inc +DEFAULTTUNE ?= "x86-64-v3-64" +require conf/machine/include/x86/tune-x86-64-v3.inc require conf/machine/include/x86/qemuboot-x86.inc UBOOT_MACHINE ?= "qemu-x86_64_defconfig" From patchwork Mon Dec 26 08:44:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 17213 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 24770C4332F for ; Mon, 26 Dec 2022 08:45:19 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.web10.132424.1672044311585695113 for ; Mon, 26 Dec 2022 00:45:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NOX3043T; spf=pass (domain: gmail.com, ip: 209.85.128.47, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f47.google.com with SMTP id m8-20020a05600c3b0800b003d96f801c48so4616544wms.0 for ; Mon, 26 Dec 2022 00:45:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=e1wOyVB7s11MYUhJcrU1gyp4st78TAJcj6/PFUxwXj0=; b=NOX3043TKyBFapQA7NnSh7OwJ8KUX0fA87L3rvEYA+6hewohO7ZuqYS/Y0PfB6Osnz Aat0Onxu7GpEtALterM64wbHrFc/WnVg7+vGDUx3kfSqiFj5FhNJkpu3m7OE9dw3HRqF Z1vdl6cgF+FRyYPy9MKUGlpVJuqDVTJloW43Vpt474tG2BxhIFxcg9khjxIZoRWewXjB 6h0shluHuOIRPiJTB5uO3LhOMYufuD0xafB+7RjucOH+9bEtbPeOQrYTEznevEe7OVz8 Rz23vxwGyqXVvc9YXnDaOWkyQJRqaqV1mO+FTIxp5noYcJCCsDNe9aY/IFtePxqkb/4M i06A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=e1wOyVB7s11MYUhJcrU1gyp4st78TAJcj6/PFUxwXj0=; b=BeDilHByZYimqJYcG5aMFku3INYcJzgHTWDTwQvpHRwvdqmt1rwLRJsIvuyWdHE9Vp UkwR1/VWsQx902/oa9RNMkLt1kycyy9CuE5ns2hzTiqWILUYoK1G5ITHLGiarGbZzmkE f7XUnhej8+CgZSemwNs6KQjRPd7wEyX7SJdA2UiBiIg/wILr7BCZO9ZDhf5kZb/16eRx tAnQYYiGODgp/9T5kydCdUl172hCLZuOQiq4Ob5opmfw5XhpASlds0Bwa4S1sMou1R5S 9AsLyBpTT4Vt/FqP6wUgS1O+/EK30TjIqXfwwYiilNFJwJ/X8R+2+wi6Q5/zO+Q6GLUb pKzg== X-Gm-Message-State: AFqh2krHJNTLQ9rWSUOdQbSg1TUXps70q0Cg3HNBzBNwafqzoeHAH33N G/k4GDP8SjwO4eq1zw1Af7ns9RyEknQ= X-Google-Smtp-Source: AMrXdXshPcwwH/VeT0qIIldXj4lrrYS4dPCMlyydRx4T03Fdi+3jRFchYU31pkc6hpi/RMTYS4y/cw== X-Received: by 2002:a05:600c:1c12:b0:3d3:5841:e8af with SMTP id j18-20020a05600c1c1200b003d35841e8afmr12519670wms.25.1672044309891; Mon, 26 Dec 2022 00:45:09 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id n64-20020a1ca443000000b003d21759db42sm18203942wme.5.2022.12.26.00.45.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Dec 2022 00:45:09 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [RFC PATCH 3/3] valgrind: disable tests that started failing after switching to x86-64-v3 target Date: Mon, 26 Dec 2022 09:44:55 +0100 Message-Id: <20221226084455.2835751-3-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221226084455.2835751-1-alex@linutronix.de> References: <20221226084455.2835751-1-alex@linutronix.de> 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 ; Mon, 26 Dec 2022 08:45:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/175015 Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/valgrind/valgrind_3.20.0.bb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meta/recipes-devtools/valgrind/valgrind_3.20.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.20.0.bb index cd9c4d9fe9..1e1f0ccdd3 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.20.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.20.0.bb @@ -242,6 +242,15 @@ do_install_ptest() { install ${S}/none/tests/tls.c ${D}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/none/tests/ } +do_install_ptest:append:x86-64 () { + # https://bugs.kde.org/show_bug.cgi?id=463456 + rm ${D}${PTEST_PATH}/memcheck/tests/origin6-fp.vgtest + # https://bugs.kde.org/show_bug.cgi?id=463458 + rm ${D}${PTEST_PATH}/memcheck/tests/vcpu_fnfns.vgtest + # https://bugs.kde.org/show_bug.cgi?id=463463 + rm ${D}${PTEST_PATH}/none/tests/amd64/fma.vgtest +} + # avoid stripping some generated binaries otherwise some of the tests will fail # run-strip-reloc.sh, run-strip-strmerge.sh and so on will fail INHIBIT_PACKAGE_STRIP_FILES += "\