From patchwork Wed Apr 26 09:50:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 23015 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 C4BBCC77B7F for ; Wed, 26 Apr 2023 09:50:47 +0000 (UTC) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by mx.groups.io with SMTP id smtpd.web11.3962.1682502644722513520 for ; Wed, 26 Apr 2023 02:50:45 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=UtTuVm3y; spf=pass (domain: gmail.com, ip: 209.85.128.46, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-3f086770a50so46091705e9.2 for ; Wed, 26 Apr 2023 02:50:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682502643; x=1685094643; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=avoCL16mdBze8YdZMm3kP56M0k1Y6wXV7K8SqIgx1SA=; b=UtTuVm3yJZuMJjG34WhkUg9Ak0XeQOHYCI4WHBzbVw1s9qqJFKZCCfMDN2rvB3Cc96 lhlt1+So8Otg5lJwESnZ97M2zLy7OkLhBtmoj6++ynKgpTrkEXE0VlEKthn5ifKFgPdp HbPjsbA0rzHvC7hfFndNnmoOCAj09kwsgBb6KHyrR7tSsiPoLVUaocM+SOrDIZnA380H ZJNmkd4h7R3GsWwWjNwf4cDVS3kXt1rg+WT549t/x5yCwgQeJbL8rHM0Me5a9WvO2L/A a2P10bKfWLUdec91vPVddl5aW9yXcGs5EVtIQi1htfJKJt9hWlgbeeocQUh6uKJnMQaJ joJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682502643; x=1685094643; 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=avoCL16mdBze8YdZMm3kP56M0k1Y6wXV7K8SqIgx1SA=; b=KYIuIuk1dAoq5bCS5FMyp8MbvrvNjVTwR71OSQ071M8u7lN4kbVNIUDwRpc7GWNcgR HmRhWnrIaVKyjqiKrqquFdOppuR46OeNpOgRf+BlDKr7vso9uEiuGn5gMWAiIdkYVRiG NTbElNSkqZOUl2HbBHlmflX5FauWBuc5BNZIhSfmFD9H6tnGxaSm+qdAMq/aP5jdVqfF d0h5zk7qPEobRU4EvjUOAPHspr+jyqT0idcQup1vty8CbUV1o7B5rCAR6XmP6qEq5Vbq 8wu31BrpA2B3/+3l92DvYCvicTiB+b03ShpDeSH2e8uN9SIDvV+4QbWVhb3G3YhNr7im qr9Q== X-Gm-Message-State: AAQBX9cOZWPpCuvl4ZtEcxVywgV9L/m5u6XRvNUmM+xrtm0yzND5IgRd 3OZUPaAA39xpGWi9tBFQlY9dSTTfp4g= X-Google-Smtp-Source: AKy350ZOFoxrAbNhx5IalDD+bXBD1fttQWeggZtbmqL5XXwW3I/m82lLZMh+TvwyHubxbXgn/oCZAw== X-Received: by 2002:a7b:c845:0:b0:3f1:9526:22be with SMTP id c5-20020a7bc845000000b003f1952622bemr11124032wml.23.1682502642983; Wed, 26 Apr 2023 02:50:42 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003f18372d540sm17242867wmc.14.2023.04.26.02.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 02:50:42 -0700 (PDT) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 01/11] binutils: backport a patch to address failures when time64.inc is in use Date: Wed, 26 Apr 2023 11:50:26 +0200 Message-Id: <20230426095036.2632847-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 ; Wed, 26 Apr 2023 09:50:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180419 Signed-off-by: Alexander Kanavin --- .../binutils/binutils-2.40.inc | 1 + .../binutils/binutils/fix-time64.patch | 94 +++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/fix-time64.patch diff --git a/meta/recipes-devtools/binutils/binutils-2.40.inc b/meta/recipes-devtools/binutils/binutils-2.40.inc index 93631ca3d7f..ad2c9f9da14 100644 --- a/meta/recipes-devtools/binutils/binutils-2.40.inc +++ b/meta/recipes-devtools/binutils/binutils-2.40.inc @@ -35,5 +35,6 @@ SRC_URI = "\ file://0014-configure-remove-dependencies-on-gmp-and-mpfr-when-g.patch \ file://0015-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \ file://0016-CVE-2023-25586.patch \ + file://fix-time64.patch \ " S = "${WORKDIR}/git" diff --git a/meta/recipes-devtools/binutils/binutils/fix-time64.patch b/meta/recipes-devtools/binutils/binutils/fix-time64.patch new file mode 100644 index 00000000000..0bfc977fd4e --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/fix-time64.patch @@ -0,0 +1,94 @@ +From f6f19a39ecfe962cb8a05522c27f513308687a74 Mon Sep 17 00:00:00 2001 +From: Vladimir Mezentsev +Date: Thu, 16 Feb 2023 19:00:47 -0800 +Subject: [PATCH] gprofng: PR30036 Build failure on aarch64 w/ glibc: symbol + `pwrite64' is already defined + +gprofng/ChangeLog +2023-02-16 Vladimir Mezentsev + + PR gprofng/30036 + * libcollector/iotrace.c: Define creat64 and pwrite64 only when + __USE_LARGEFILE64 and __USE_FILE_OFFSET64 are not defined. + * libcollector/mmaptrace.c: Likewise for mmap64. + +Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=f6f19a39ecfe962cb8a05522c27f513308687a74] +Signed-off-by: Alexander Kanavin +--- + gprofng/libcollector/iotrace.c | 15 ++++++++------- + gprofng/libcollector/mmaptrace.c | 2 +- + 2 files changed, 9 insertions(+), 8 deletions(-) + +diff --git a/gprofng/libcollector/iotrace.c b/gprofng/libcollector/iotrace.c +index af90cc31f1a..d8439b02b3a 100644 +--- a/gprofng/libcollector/iotrace.c ++++ b/gprofng/libcollector/iotrace.c +@@ -1441,7 +1441,7 @@ creat (const char *path, mode_t mode) + } + + /*------------------------------------------------------------- creat64 */ +-#if WSIZE(32) ++#if WSIZE(32) && !defined(__USE_LARGEFILE64) + int + creat64 (const char *path, mode_t mode) + { +@@ -2476,7 +2476,7 @@ __collector_pwrite_2_1 (int fildes, const void *buf, size_t nbyte, off_t offset) + return ret; + } + +-#else ++#endif + ssize_t + pwrite (int fildes, const void *buf, size_t nbyte, off_t offset) + { +@@ -2497,11 +2497,10 @@ pwrite (int fildes, const void *buf, size_t nbyte, off_t offset) + POP_REENTRANCE (guard); + return ret; + } +-#endif + + /*------------------------------------------------------------- pwrite64 */ +-#if WSIZE(32) +-#if !defined(__MUSL_LIBC) && ARCH(Intel) ++#if WSIZE(32) && ARCH(Intel) ++#if !defined(__MUSL_LIBC) + // map interposed symbol versions + + SYMVER_ATTRIBUTE (__collector_pwrite64_2_2, pwrite64@GLIBC_2.2) +@@ -2547,8 +2546,9 @@ __collector_pwrite64_2_1 (int fildes, const void *buf, size_t nbyte, off64_t off + POP_REENTRANCE (guard); + return ret; + } ++#endif + +-#else ++#if !defined(__USE_FILE_OFFSET64) + ssize_t + pwrite64 (int fildes, const void *buf, size_t nbyte, off64_t offset) + { +@@ -2570,7 +2570,8 @@ pwrite64 (int fildes, const void *buf, size_t nbyte, off64_t offset) + return ret; + } + #endif +-#endif /* SIZE(32) */ ++ ++#endif /* SIZE(32) && ARCH(Intel) */ + + /*------------------------------------------------------------- fgets */ + char* +diff --git a/gprofng/libcollector/mmaptrace.c b/gprofng/libcollector/mmaptrace.c +index 61613c21560..221b4e2d176 100644 +--- a/gprofng/libcollector/mmaptrace.c ++++ b/gprofng/libcollector/mmaptrace.c +@@ -1494,7 +1494,7 @@ mmap (void *start, size_t length, int prot, int flags, int fd, off_t offset) + } + + /*------------------------------------------------------------- mmap64 */ +-#if WSIZE(32) /* mmap64 only defined for non-64-bit */ ++#if WSIZE(32) && !defined(__USE_FILE_OFFSET64) + + void * + mmap64 (void *start, size_t length, int prot, int flags, int fd, off64_t offset) +-- +2.31.1 + From patchwork Wed Apr 26 09:50:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 23016 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 E667AC77B78 for ; Wed, 26 Apr 2023 09:50:47 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.web11.3963.1682502645317407950 for ; Wed, 26 Apr 2023 02:50:45 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=lbirwr4m; spf=pass (domain: gmail.com, ip: 209.85.128.48, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-3f1cfed93e2so41137275e9.3 for ; Wed, 26 Apr 2023 02:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682502643; x=1685094643; 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=OHZfHLmsYtvAY+N7U+CR30dcvB38iFTzZ4YDYun4JeM=; b=lbirwr4mKBxVjMiL4KwnEO+0nWQCKTifWTVHHNt0CU31dYCH9+LeRcg4kDCqr8Urzx O8Qug7jb2kT2xF/NXwYpTm+cjvNxlx2o0XRNUzp2Mtj//bhmE9ATjMSbATEzGKeVc4zL l7qsXM8J/gXCwwAUCldrz2B2dX+sYOwdGv70RuNczdmZE54fFUYiOnd/Zyv4cYKsF1Lm UXLQtfVfGuWEiwU5QwVvcdSPaLI8Rc6oSsTNS6/ltLGSy5+zPsDsklD3FWYXb8cWfaHQ 7+zVmdTCTCcai7zbhilH88rRnvpukl+Q6X0vSIFsTnYaI+U0PfgIo8flW8MsqkZ0r6hs /OGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682502643; x=1685094643; 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=OHZfHLmsYtvAY+N7U+CR30dcvB38iFTzZ4YDYun4JeM=; b=UoMd/nJl/4oNKVTBdqLCuTgRPhh2h2WC2xtBuE0HMl1/bpq+sB6fFzvYNUaD0lzrFz o4bCVTEj2nMCx0Y/Go+B0FUEHCXyZErD+J2/fqbgiLi1y6QMOyaYq2V8Ccp7GM9wycRw Ec9af6ja0/wxBlp2vVSqUWDhNc5tG4HsO7Ga6Ode1uTNRuWh7t09ZreDlJDr5YTI9UzX DlcodXncLQOoQn8oVCwpnJ34Z+76VG6xvvuF5vQ9WARy24IUVBW+LCCGDlp3w6UWRuLX 8L/gq/MhzrgxEgHy9nS4ksn0gt50r1zSwiNkEJY6DpeF3iD4bzg9uDDdXwFZmRqnLTP7 balQ== X-Gm-Message-State: AAQBX9cwH1lTKNxY5VZNyysryXf3g09mC3Jf1N71TRWzbTnTeJVhz52z dxCxmBkJLsU5fck8j5ZQvoECuw9fYBI= X-Google-Smtp-Source: AKy350advO+g9n52c9HxTUSUDp5k4jpQYAHDcWzWhNrNemnaXZgbeC3GORISfuxeGId9SX7LbPM6Gg== X-Received: by 2002:a7b:cb57:0:b0:3f2:51e7:f110 with SMTP id v23-20020a7bcb57000000b003f251e7f110mr5803790wmj.32.1682502643497; Wed, 26 Apr 2023 02:50:43 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003f18372d540sm17242867wmc.14.2023.04.26.02.50.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 02:50:43 -0700 (PDT) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 02/11] time64.inc: add glibc-testsuite to 'special cases' Date: Wed, 26 Apr 2023 11:50:27 +0200 Message-Id: <20230426095036.2632847-2-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230426095036.2632847-1-alex@linutronix.de> References: <20230426095036.2632847-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 ; Wed, 26 Apr 2023 09:50:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180420 It builds glibc source like other glibc recipes do, and so the same problems occur. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/time64.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/distro/include/time64.inc b/meta/conf/distro/include/time64.inc index 2e7278292c6..73adebd39db 100644 --- a/meta/conf/distro/include/time64.inc +++ b/meta/conf/distro/include/time64.inc @@ -10,6 +10,7 @@ TARGET_CC_ARCH:append:x86 = "${@bb.utils.contains('TUNE_FEATURES', 'm32', '${GLI GLIBC_64BIT_TIME_FLAGS:pn-glibc = "" GLIBC_64BIT_TIME_FLAGS:pn-glibc-tests = "" +GLIBC_64BIT_TIME_FLAGS:pn-glibc-testsuite = "" # pipewire-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to # both 32 and 64 bit file APIs. But it does not handle the time side? # Needs further investigation From patchwork Wed Apr 26 09:50:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 23012 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 BD334C7618E for ; Wed, 26 Apr 2023 09:50:47 +0000 (UTC) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by mx.groups.io with SMTP id smtpd.web11.3964.1682502645600861971 for ; Wed, 26 Apr 2023 02:50:45 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=q1fCVHT/; spf=pass (domain: gmail.com, ip: 209.85.128.46, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-3f09b4a1584so46992035e9.2 for ; Wed, 26 Apr 2023 02:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682502644; x=1685094644; 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=3FCKSEiBKsdnPnOfQ0KJHVx12u1UKgE8eNKhQz0q4XU=; b=q1fCVHT/EWkmh7ppShORwpHZARYwhX3kBufghaBuqCBrpTRMOUDUzIA4ibGX3xC0Du ZivoXsGvJwYMkolxlitC6bubO5QSz6YBcGGJ1A0RqpkwwH7wDwEWFsxsVpDUmsSkpyq+ nU1Dvgi2jqDJ9vgaj/MHEMo2Dyk3BM/XKS8JOQvjZ7A+HaiGoFy9gLgXv+UrDZ2PhfO5 HJGv6P+3O2ggyJc7YRAKMW2HqqVXlAxq83pQ71hY5dvuuD9/cLXk42PsWmjjTD1ckNPJ nX5CASTQre0HTEdhHgHN8QqUgDtMPQ4EZmJFrd3YPGgJW3DEwQNiRcpceTlOoKGvk445 YEnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682502644; x=1685094644; 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=3FCKSEiBKsdnPnOfQ0KJHVx12u1UKgE8eNKhQz0q4XU=; b=WgFokie5zAwX5VNlTyMtrxjxypwlOFzufbCvDF/r1aLAw5kFbjLOmH3jE9x9+eJ31E rB1Um3fntQsVmtBbPMKwsqUaszHmbT+d6FtPUUExf++QT9Aj4DSdp7Q6YAlWnCSQgvfK 73mfBzzH5124pspZZ5jKKh/T5MTlUucBy5bPKDnHGVIFI13gyWxVfRgvXWA3EPDUE0aO HOjigQRdxZRUMCjfYS7GB27qMBfzZnuLAjdAt5apht+XRyt9oLaCaKErpsweuZy30hAZ KfzrPr34c2++DqKl9dSKVoMVGqYwpyXQ6Xic+O/Jek7mMEif28AX2bBP4+3ncx9unofI vJoQ== X-Gm-Message-State: AAQBX9cspZxHKu5GKi7AZl3rdY4+eXUxhlOPR47adJ65buMvR7e6Fms2 fVxHjxm90LQGSd41EAxz7Fnwu1HYiQU= X-Google-Smtp-Source: AKy350bMDeD0yIrWE+nMlAnhOhsQ7tctcklbqu3ybBHLyoWfQt7wAFja56YDavV0I2dMEwGypdUA8w== X-Received: by 2002:a1c:7409:0:b0:3f2:4fca:1b0f with SMTP id p9-20020a1c7409000000b003f24fca1b0fmr6873455wmc.24.1682502644113; Wed, 26 Apr 2023 02:50:44 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003f18372d540sm17242867wmc.14.2023.04.26.02.50.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 02:50:43 -0700 (PDT) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 03/11] strace: exclude from x86 (32 bit) ptests Date: Wed, 26 Apr 2023 11:50:28 +0200 Message-Id: <20230426095036.2632847-3-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230426095036.2632847-1-alex@linutronix.de> References: <20230426095036.2632847-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 ; Wed, 26 Apr 2023 09:50:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180421 Please see the linked ticket. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/ptest-packagelists.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 78750a0d98b..77d69c9fcd1 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -114,6 +114,10 @@ PTESTS_SLOW:append:libc-musl = " libc-test" PTESTS_SLOW:remove:x86 = "valgrind" PTESTS_PROBLEMS:append:x86 = " valgrind" +# https://github.com/strace/strace/issues/250 +PTESTS_SLOW:remove:x86 = "strace" +PTESTS_PROBLEMS:append:x86 = " strace" + # ruby \ # Timeout # lz4 \ # Needs a rewrite # rt-tests \ # Needs to be checked whether it runs at all From patchwork Wed Apr 26 09:50:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 23014 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 D0548C7EE21 for ; Wed, 26 Apr 2023 09:50:47 +0000 (UTC) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.web11.3965.1682502646260224310 for ; Wed, 26 Apr 2023 02:50:46 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=BexWMUKf; spf=pass (domain: gmail.com, ip: 209.85.221.53, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-3003b97fa12so4171075f8f.2 for ; Wed, 26 Apr 2023 02:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682502644; x=1685094644; 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=rJfxJ4X9sfCiwlmRnxJkW2b8NRPnZdXK3+fJN+/OZOg=; b=BexWMUKfDfsp2ZI6MJIwIM0Y7nsxaz/Nd1PDAzc4grQmwuTxEINUlqbMbVC/bKvL1n Ol9KTQ2w7mctV2CY9lAx3E1qjurJRPw2/jlTNTQW3hCCK2CfboXujpbGcyE7zJI7/IZ2 E4ITsCT0mNz/+94ye57kXLxzf+b5qP0svSiiOq6pAebXgCSwy5ga26fesQgLVPM1kSmf A64TBFSmDcLYUIxCEiKmlSVsklKdLYwPrcCoSHMpjflL9RN4S7gK1RlqOw1jL10hLT2s iZzjfOZYYVXd+5SqiUSVkmNIrlB9NqA0k2ns3ss7ioRlIpjZW3via2NVP/IEE4+YX52C Bmsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682502644; x=1685094644; 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=rJfxJ4X9sfCiwlmRnxJkW2b8NRPnZdXK3+fJN+/OZOg=; b=jt8/2v42yySEk4jgcI9ftdjGkj9SN4zmgd2sSGGTNkKWhZCoi6iGs2+5JlrZ5M2ffS fNAQhYtONKlyXhvG9xJfqv40+h8zhK2ixRv5fzqcyM3u8EqgXHowbRPmRxps5vdryqlz TvjnwBB8M4Kt1xzv+5eSCmEWfdt3iQOfxiaQzIxglt2+C0k3GfOhOZ4kQyCwi6kiUG2I 0bHyUA7HBdDJSATjcZhvS/1H+Is5swPv0Zxpu7d9k+9CvkAak8Emvp0GkOyzAGEo3hLy L58DXtLpLMfLp+CJcnMEJdkMvJLSAqMPTZ7Eb/NJgaVcGUvCjN1KRohnLkEyC1MkIaDN cPPg== X-Gm-Message-State: AAQBX9dq9wLtyxSli3nXroAWX3YjZE7PuRv51hCChZzH1PaCvzJkDrm4 vrZLJ2mjkG7K4JY7njVchz0PNQ1vqxc= X-Google-Smtp-Source: AKy350YjjhBvUsOtVEz272J0Rlg4w6tPqB6ZzsuVKnmm3yO51qRWgM5BbDa0RcYO5Qmq0IdkUYQcHQ== X-Received: by 2002:a5d:5151:0:b0:2e6:348:5fef with SMTP id u17-20020a5d5151000000b002e603485fefmr14556622wrt.55.1682502644624; Wed, 26 Apr 2023 02:50:44 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003f18372d540sm17242867wmc.14.2023.04.26.02.50.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 02:50:44 -0700 (PDT) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 04/11] lttng-tools: exclude from x86 (32 bit) ptests Date: Wed, 26 Apr 2023 11:50:29 +0200 Message-Id: <20230426095036.2632847-4-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230426095036.2632847-1-alex@linutronix.de> References: <20230426095036.2632847-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 ; Wed, 26 Apr 2023 09:50:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180422 Please see the comment. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/ptest-packagelists.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 77d69c9fcd1..39b885066ce 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -118,6 +118,12 @@ PTESTS_PROBLEMS:append:x86 = " valgrind" PTESTS_SLOW:remove:x86 = "strace" PTESTS_PROBLEMS:append:x86 = " strace" +# Needs support for 64 bit syscall versions +# which was added in http://git.lttng.org/?p=lttng-modules.git;a=commitdiff;h=86040c9e2ff8a79633db34220e32bdda536b00e6 +# and should show up in lttng-modules 2.14.x +PTESTS_SLOW:remove:x86 = "lttng-tools" +PTESTS_PROBLEMS:append:x86 = " lttng-tools" + # ruby \ # Timeout # lz4 \ # Needs a rewrite # rt-tests \ # Needs to be checked whether it runs at all From patchwork Wed Apr 26 09:50:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 23011 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 D093EC7EE23 for ; Wed, 26 Apr 2023 09:50:47 +0000 (UTC) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by mx.groups.io with SMTP id smtpd.web11.3966.1682502646903328560 for ; Wed, 26 Apr 2023 02:50:47 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=hqFqYyVx; spf=pass (domain: gmail.com, ip: 209.85.128.46, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-3f19323259dso57182715e9.3 for ; Wed, 26 Apr 2023 02:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682502645; x=1685094645; 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=6k6bsi/KuGbDbZ+itrwFEFr+6A0llxvLUhZHyWH41yI=; b=hqFqYyVx5rXFAjK1yV8HrEUp7zxX1nTxJWAVhXuNy/Z7669d/ZGlNGEMhUUB83EQYX jm/hEPIBegpvXQQ1KQqf6eyfTFQOo9HsIOXznX3XTwzrpIXZXinEVDKoIOLQ7iysh2fJ 8XPwtCQzcnOPT9TtXmNnZsTqhTcssCaN7gpTQ5JDwDJbZK93Dh/0g/kl70KAXGC1stP3 xG6FFmoF7mrYsUtgP4WkTQP6rMSSNbN6jHoUrqEsRBjdIQ2Mm/7+cfIgcbUVM/mwk/lA 5c/3f8req/GmJ5FFF1XaKeIWMnGD79rvzNnijzPNsEEQEPEGz/cJ8NF0T9ZMhi/I8MOf YNrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682502645; x=1685094645; 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=6k6bsi/KuGbDbZ+itrwFEFr+6A0llxvLUhZHyWH41yI=; b=i3kc1s3uGgcbeu6R7FOLeOPGeVyAnyexE11t5IdQS0/lMbFq3my8SgF17UHB6iU407 4XT20RV7N9R3TgN9hcBRr6vGNOvLwxF6LBbwIIo7J+QuheVlxjXotXLzFOVtDsB6mQhC RDxjqCnO/bjC7Nc0WX3GI3Wx2zDFRw8sxnsEBmzaslpgWRMDkSjXxSVeSMFFFyzvziXK bKvUZY7CSjsoC2HEKa6xk8EczYiEDANTp0gTPwXcPmtA0vKAmHA9QQQl11dDUA2iWsZQ Lt1q7pY1VLgih84H8gdJ8Boz2ekNeU+iZDgXZzskDPmKd7nZg2kICMZ96NauFcToukCL o/hA== X-Gm-Message-State: AAQBX9difedrjcNpoUnxqRoSyrBIljr+xzWYMsPrhJlAFy8xKmIE9nBN d/t/Dg3utUGgosPzh082QoIm/T76w3k= X-Google-Smtp-Source: AKy350YBvocIm6kzb1N5X9w/ADZ+ofhTIUZDBSHSUAxaA2bwvmksCiCc+fDDoQP0EVUipAnS3pFphw== X-Received: by 2002:a7b:c7d4:0:b0:3f1:9527:8e8a with SMTP id z20-20020a7bc7d4000000b003f195278e8amr11501822wmk.21.1682502645195; Wed, 26 Apr 2023 02:50:45 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003f18372d540sm17242867wmc.14.2023.04.26.02.50.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 02:50:44 -0700 (PDT) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 05/11] bitbake.conf: set minimum required kernel to 5.15 Date: Wed, 26 Apr 2023 11:50:30 +0200 Message-Id: <20230426095036.2632847-5-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230426095036.2632847-1-alex@linutronix.de> References: <20230426095036.2632847-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 ; Wed, 26 Apr 2023 09:50:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180423 In particular this enables a number of useful features in glibc, such as actually using 64 bit time_t versions of kernel syscalls: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/kernel-features.h;h=07b440f4eea364b05fa49bf71ceebf78f80efe13;hb=HEAD#l164 Signed-off-by: Alexander Kanavin --- meta/conf/bitbake.conf | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index afd9e2f5527..2db84a46eed 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -469,12 +469,7 @@ SDKPATHINSTALL = "/usr/local/${SDK_NAME_PREFIX}-${SDK_ARCH}" # Kernel info. ################################################################## -OLDEST_KERNEL = "3.2.0" -OLDEST_KERNEL:aarch64 = "3.14" -OLDEST_KERNEL:nios2 = "3.19" -OLDEST_KERNEL:powerpc64le = "3.10.0" -OLDEST_KERNEL:riscv32 = "5.4" -OLDEST_KERNEL:riscv64 = "4.15" +OLDEST_KERNEL = "5.15" # SDK_OLDEST_KERNEL can't be set using overrides since there are # none for the SDK architecture. Best to set it from a machine-sdk From patchwork Wed Apr 26 09:50:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 23013 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 C3C28C77B60 for ; Wed, 26 Apr 2023 09:50:47 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.web10.4086.1682502647254956684 for ; Wed, 26 Apr 2023 02:50:47 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=PeApuaYS; spf=pass (domain: gmail.com, ip: 209.85.128.48, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-3f1728c2a57so71454145e9.0 for ; Wed, 26 Apr 2023 02:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682502646; x=1685094646; 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=9O+wDU/fL0m2dm7FNEuNswV/O2rbclHrIFfEPHGT918=; b=PeApuaYSGOvHWIwd1hRTv8+kKflmEiol2Ops+P5CdtCI+uOcbi6Dem8YTwaoI+q3cH lP5ojorciCaD05y9vrd9i6br1khMSr7x40IoaZGL84aexjtB459aLkfDb/jIzKfPYNVS IxixrrPOlin6iy7yv49ZRqq8gLAOdF4T8VwAjZxMIahI1QioBEursGi0VYdq09I3oV04 Vlc1DaxVJyMkDet4athTDZQeW4xGKCHyUhS6anDyQgBCSn58Bgf6190fHMPRKrQ+qt41 GKQCOkfzz6E25Sey9QPLcIv2gmUsFrVobQWNAZ73VQH4ohShfo3BdK+Dj8ReZEhF3mXE j6UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682502646; x=1685094646; 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=9O+wDU/fL0m2dm7FNEuNswV/O2rbclHrIFfEPHGT918=; b=Z59zT1q2vB90u0Utmz6Tg0UPrqgfZ0rLiCHhqNortDZjflZWBIJ/4Q8zO7/TNBXqn8 kWgEWDJVf3UmGbhnqovWsP8i1VgiEZR97NTTlNSqtpv+vR+AVATORHwtGlKHHoyDQkE4 1CXNAci/Nk6gtVF4muuWl9QoMi5dMB5FlLHE5zI5AT7mUygxW5fSocr/OJ9ThoCI4o8L 8vsfmsuQ/DwDdg54DCYERmzEA0a3t96JD2nQBTyMMJb0MJbTuAzYfeEw8p2h+HGIjXXn AfX7ZZV9Dl54A/nMYf6SLJF0MKAMYiKa6OZ3eKoItnTkkqlJjKdoBSd7H7B06ffHZPNS FQxA== X-Gm-Message-State: AAQBX9cGTPVtDHZlt7p11SJSBTpezHLV3MBiTVOnP6xtSa/6G1KfhOVy VWmvzwJo5YNDG2gGf5aGcRPgjG96wiU= X-Google-Smtp-Source: AKy350YdB18xFq0QgYpfcKx+u4vqI1DKGS1mcfgfh+h4YWzxgxZDNFchqSf6C3kDYKd0j+WnZvBnsw== X-Received: by 2002:a05:600c:364c:b0:3f1:95af:172c with SMTP id y12-20020a05600c364c00b003f195af172cmr9639644wmq.41.1682502645736; Wed, 26 Apr 2023 02:50:45 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003f18372d540sm17242867wmc.14.2023.04.26.02.50.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 02:50:45 -0700 (PDT) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 06/11] python3-pytest: add missing tomllib runtime dependency Date: Wed, 26 Apr 2023 11:50:31 +0200 Message-Id: <20230426095036.2632847-6-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230426095036.2632847-1-alex@linutronix.de> References: <20230426095036.2632847-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 ; Wed, 26 Apr 2023 09:50:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180424 Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/python/python3-pytest_7.3.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-pytest_7.3.1.bb b/meta/recipes-devtools/python/python3-pytest_7.3.1.bb index 9965844d1ad..914ea553464 100644 --- a/meta/recipes-devtools/python/python3-pytest_7.3.1.bb +++ b/meta/recipes-devtools/python/python3-pytest_7.3.1.bb @@ -26,6 +26,7 @@ RDEPENDS:${PN} += " \ ${PYTHON_PN}-py \ ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-six \ + ${PYTHON_PN}-tomllib \ ${PYTHON_PN}-wcwidth \ " From patchwork Wed Apr 26 09:50:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 23018 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 C58DCC77B78 for ; Wed, 26 Apr 2023 09:50:57 +0000 (UTC) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mx.groups.io with SMTP id smtpd.web10.4087.1682502647888946156 for ; Wed, 26 Apr 2023 02:50:48 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=heRi7H0/; spf=pass (domain: gmail.com, ip: 209.85.128.44, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-3f19b9d5358so46006345e9.1 for ; Wed, 26 Apr 2023 02:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682502646; x=1685094646; 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=YAXbg3MVnG6H9wvPvWvHabwB/Rg6I3XYIT6SwZY6+7w=; b=heRi7H0/gpo/w3sf+9Igf9WRth8Qr8b/mXEHxBzQsjM6DPUZmtyObtykIz4RIBh7a9 Wu8ZBzIe7kQ/Y4ymF00dnU6YzZGwds7XUH5W36dQOQUbcSNf33c8BnIC8BevQaqDm6BV hCisUH4UIIeuYSWOMRHbee4tr9fdWeAvVS63EylBVHMLOExMdIPpesrnnO1HvSUhfJpl l9Qx29BV87fI5mDjoIrn5bl8yp45yo3wL4e0WtP0cf5CJTAcT0jjfCzq+K+4gvPjCcsD Pf654BO3574nCG/uAAMC++Q1xWfyhkcUmhFlld7qt1oJR27i/uMRSoml7Lbo3B7Sxn90 YUcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682502646; x=1685094646; 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=YAXbg3MVnG6H9wvPvWvHabwB/Rg6I3XYIT6SwZY6+7w=; b=UjV3dsnDFQ+LNS3li504FA4SEZAG2r5ITDNaT/n3u/GrOa1iiui2EiXNkwLJJYLpGv Xf6FxnL68AGJTJhiueZOxObLMRVhyQqYmj2SMfy3NK/Ezj3mWLQ15r+nfnUpMw62fDLz cnkrRgP9MfOFaz4mApxoGT6BclZGa+nbaP+mP0/YGdze8NvlrNycjZ+ivqzuLbFuHcNX PNv2jBTIMGs16a1CUgEknevcnSEe/roGe5ivnqF0rVWhzRitecORc+03GV4sDVM5yEi1 iSuh0Ph9pIqU14NdJBmArPvWRa3SRhXbfpvNdt5pP6T+27PKwDXXzWE78vqFfbwknAY8 s8Sw== X-Gm-Message-State: AAQBX9dnNWOjbKN6cTCdqQlgsUujNmD1weJ0nPPmlND3hRXN8wgm6ISd MaWwzRQiA7xTbXuxMcsSKlJPyDD19xg= X-Google-Smtp-Source: AKy350Y4vSFOZLdUN3NUvdHuRnzJQ3W6Agjpg4tlcTeDqA4BAPQWpkAcCLGrUjf35bSAgfysTm9QDA== X-Received: by 2002:a7b:ce01:0:b0:3f1:91ba:feb2 with SMTP id m1-20020a7bce01000000b003f191bafeb2mr12318361wmc.2.1682502646251; Wed, 26 Apr 2023 02:50:46 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003f18372d540sm17242867wmc.14.2023.04.26.02.50.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 02:50:46 -0700 (PDT) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 07/11] time64.inc: add a comment about how to simulate Y2038 Date: Wed, 26 Apr 2023 11:50:32 +0200 Message-Id: <20230426095036.2632847-7-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230426095036.2632847-1-alex@linutronix.de> References: <20230426095036.2632847-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 ; Wed, 26 Apr 2023 09:50:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180425 Setting clock to 2040 causes the following ptest failures on qemux86: {'perl': ['t/op/magic', 'lib/File/stat', 'ext/POSIX/t/time']} {'python3': ['test_create_server_ssl_verified', 'test_create_unix_server_ssl_verified', 'test_local_good_hostname']} {'dbus': ['dbus/test-relay_with_config.test', 'dbus/test-misc-internals.test', 'dbus/test-corrupt.test', 'dbus/test-loopback_with_config.test', 'dbus/test-relay.test', 'dbus/test-misc-internals_with_config.test', 'dbus/test-loopback.test', 'dbus/test-fdpass_with_config.test', 'dbus/test-corrupt_with_config.test', 'dbus/test-fdpass.test']} {'openssl': ['Dubious,_test_returned_5', 'Dubious,_test_returned_1']} {'glibc-tests': ['/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utimes', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utimensat', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utime', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-timespec_get', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-timer4', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-stat', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-sigtimedwait', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-settimeofday', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-sem5', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-select', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-scm_rights', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-rwlock14', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ppoll', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_gettimex', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_gettime', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_adjtime', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mtx-timedlock', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue8', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue2', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue10', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue1', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lutimes', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lchmod', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimesat', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimes', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimens', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-fts', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-fcntl', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-cond11', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-cnd-timedwait', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock_settime', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock_adjtime', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-aio6', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-adjtimex', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/ftwtest', '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lchmod-time64']} {'openssh': ['key_options']} {'curl': ['test_0031', 'test_0046', 'test_0053', 'test_0061', 'test_0062', 'test_0172', 'test_0179', 'test_0327', 'test_0329', 'test_0420', 'test_1104', 'test_1216', 'test_1415']} {'glib-2.0': ['glib/asyncqueue.test', 'glib/module-test-plugin.test', 'glib/file.test', 'glib/fileutils.test', 'glib/module-test-library.test']} {'gstreamer1.0': ['gstreamer/elements_multiqueue.test']} (may be flaky) {'tcl': ['cmdAH.test', 'interp.test']} {'libmodule-build-perl': ['t/compat']} Some ptests fail on qemux86-64 as well: {'curl': ['test_0031', 'test_0046', 'test_0053', 'test_0061', 'test_0062', 'test_0172', 'test_0179', 'test_0327', 'test_0329', 'test_0420', 'test_1104', 'test_1216', 'test_1415']} {'python3': ['test_create_server_ssl_verified', 'test_create_unix_server_ssl_verified', 'test_local_good_hostname']} {'openssh': ['key_options']} {'openssl': ['Dubious,_test_returned_5', 'Dubious,_test_returned_1']} {'tcl': ['interp.test']} {'python3-cryptography': ['tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_smime_sign_detached', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_pem', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg0-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x01]', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg1-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x02]', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg2-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x03]', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_attached', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_binary', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_smime_canonicalization', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_text', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_no_capabilities', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_no_attributes', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_multiple_signers', 'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_multiple_signers_different_hash_algs']} Note that setting the year to 2035 resolves almost all of the above, as onl the following then fail: qemux86: {'python3': ['test_local_good_hostname']} {'curl': ['test_0420']} qemux86-64: {'python3': ['test_local_good_hostname']} {'curl': ['test_0420']} Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/time64.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meta/conf/distro/include/time64.inc b/meta/conf/distro/include/time64.inc index 73adebd39db..f3bdfba4acf 100644 --- a/meta/conf/distro/include/time64.inc +++ b/meta/conf/distro/include/time64.inc @@ -1,3 +1,13 @@ +# To simulate Y2038 occurring, add to your build configuration: +# QB_OPT_APPEND:append = " -rtc base=2040-02-02" +# +# Note that this does result in ptest failures on qemux86: +# perl python3 dbus openssl glibc-tests openssh curl glib-2.0 tcl libmodule-build-perl +# and a subset of those occurs in qemux86-64 as well: +# curl python3 openssl openssl tcl python3-cryptography +# +# Working to address those (before Y2038 rolls in) will be appreciated. + GLIBC_64BIT_TIME_FLAGS = " -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" # Only needed for some 32-bit architectures, some relatively newer From patchwork Wed Apr 26 09:50:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 23019 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 D4FCAC7EE23 for ; Wed, 26 Apr 2023 09:50:57 +0000 (UTC) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mx.groups.io with SMTP id smtpd.web11.3968.1682502648438201108 for ; Wed, 26 Apr 2023 02:50:48 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=hKsTN5Z1; spf=pass (domain: gmail.com, ip: 209.85.221.52, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-3047ff3269aso1961428f8f.0 for ; Wed, 26 Apr 2023 02:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682502647; x=1685094647; 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=2qMzxeLtJNRqgP38a0zIVcK7sRkcU+Z3xfTHpoEh21c=; b=hKsTN5Z1Nq4/hW9yWxeYOHxFAcf3FqbIOKdpuTvdTv3tsKhBn/VJJs6Oc/rtIdoOTk JQm5Nn6Vp04FNx0/WM58NW7mcHhhIgRZc9qE+RrqU0QUojPIMKXFe+RaExP7NYvCgGyM pHrIWNvLxyme2eMfWROPc82GSU7BPs16rakWsNvj1jP0cU5yktGHl2k9sxXWEybQqvPS t5Yos1ojI+VcNMBuNiACtp0TuGk/46QKXmvAhtV01s3EzB3KP0fAbv/tP1WfOToUEADG D4D8C9zf05JTB1M3DJKWW7tPCylLmK/8JTK/bVoCi23DchqMCLbTJ/lz3Tv0tV7qso0c en0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682502647; x=1685094647; 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=2qMzxeLtJNRqgP38a0zIVcK7sRkcU+Z3xfTHpoEh21c=; b=Olk1TfFhfN2A+lcRcta9kUthN5YKgSYpJCi8rF19R2u5GMEaamhKmFWBLhLHR9Xzl2 76Pc+L8gmqZduxfBkbb0LJWkkJCV0b9a8xo5sg0hmezfFHjAt6elKzjlR6BTgOFHSG4Z GxG7UglyQjhOT1qKLwDf0k2oE3pUop+KA8T4sIxkshT32NtJELZCWRuOvCG9UbfJX5DA xu5YK5FU9EZMrYs+ZcLSE4nxRyHR7MCb93PJTzw9uH3EQJAiqSD4QDsjrMpQ6ePuIrD4 ihmTGgMOjwwyuQLry+06I4aqpcU9JejfvEtCGIEkqpwSs9PBHJs0QXuyv+ty1vIaB31F KslA== X-Gm-Message-State: AAQBX9dCr3+7FhTyC4O9ihzr2+TxHlks7MBJECtsK1ydqZFBxwwcmDm7 vunEMbinuX0BmcqJknQ8WVijLK2CY48= X-Google-Smtp-Source: AKy350Z9ovSL/6xksCs6/aLRc2bhJ62GlXeWfHW1TF+/Zr+lxDdyyr4z4JC02eOhP5Y376kQ5OCovQ== X-Received: by 2002:a5d:66c2:0:b0:2ef:af46:1278 with SMTP id k2-20020a5d66c2000000b002efaf461278mr15002516wrw.10.1682502646851; Wed, 26 Apr 2023 02:50:46 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003f18372d540sm17242867wmc.14.2023.04.26.02.50.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 02:50:46 -0700 (PDT) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 08/11] oeqa/sdk/assimp: run only when zlib is in the SDK Date: Wed, 26 Apr 2023 11:50:33 +0200 Message-Id: <20230426095036.2632847-8-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230426095036.2632847-1-alex@linutronix.de> References: <20230426095036.2632847-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 ; Wed, 26 Apr 2023 09:50:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180426 Otherwise assimp will silently fall back to a vendored copy of zlib which will fail with -D_TIME_BITS=64 due to https://github.com/madler/zlib/pull/764 This was exposed by multilib mips core-image-minimal SDKs, where the default 64 bit sysroot has zlib, but 32 bit sysroot does not. Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/sdk/cases/assimp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/lib/oeqa/sdk/cases/assimp.py b/meta/lib/oeqa/sdk/cases/assimp.py index aa6541c6f6d..e4c5c730037 100644 --- a/meta/lib/oeqa/sdk/cases/assimp.py +++ b/meta/lib/oeqa/sdk/cases/assimp.py @@ -22,6 +22,9 @@ class BuildAssimp(OESDKTestCase): if not (self.tc.hasHostPackage("nativesdk-cmake") or self.tc.hasHostPackage("cmake-native")): raise unittest.SkipTest("Needs cmake") + if not (self.tc.hasTargetPackage("zlib", multilib=True) or \ + self.tc.hasTargetPackage("libz1", multilib=True)): + raise unittest.SkipTest("Assimp test needs zlib in the SDK") def test_assimp(self): with tempfile.TemporaryDirectory(prefix="assimp", dir=self.tc.sdk_dir) as testdir: From patchwork Wed Apr 26 09:50:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 23021 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 CBC25C7618E for ; Wed, 26 Apr 2023 09:50:57 +0000 (UTC) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mx.groups.io with SMTP id smtpd.web11.3969.1682502648892879688 for ; Wed, 26 Apr 2023 02:50:49 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=PDooR+tH; spf=pass (domain: gmail.com, ip: 209.85.221.52, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-2f46348728eso4175849f8f.3 for ; Wed, 26 Apr 2023 02:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682502647; x=1685094647; 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=Lwtd56FmyDMg0/VoBrXJRtJbmxAJNoHagbPHATeicyY=; b=PDooR+tHR2b8y9gvlklO/CGOEjYFixQwacoIW3nU1qAPuavFNbwMTn5qXpH1Zj2JuY QKX8rKuL3dDiX0GFyy/oZ7FaWHByVnc8l1abWoRiIIcDPXvzQ4bFXfxHKL6IQ5kh5/c+ zHJLelW7ysKBu2786NatyYuNNq6TRoHDnDNkNEtc3+P/1Tw/DQjPLYUqTffRCNYPdvsz cPyulJbSbjvqZ5xRAKGSazW7zldUa4GOWKxHiE0VErWowRf9vNYd/UBC79sqHYzoz+BX +nL8YOEhssFl/vqEeIGpoAMRpAziYU4fbMY6Cod5sVWBZre+C6EAye9jQ3T/mFNH0LkS 1MMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682502647; x=1685094647; 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=Lwtd56FmyDMg0/VoBrXJRtJbmxAJNoHagbPHATeicyY=; b=TMbein/Hk9pjv+ExVeF2DHkvpFFzJMJ/q1WZvHv5L/rJ9BD0MqvgkEpDr0/RhgfmyX l4g4Ut7cQPg30NpwRiKyUJN74rAmBG47a9jVuGbO4SE1R5P+uO5PvzXUeZ9C2lsKHn5n 6ijXNKfJbflz8/+QzYqM/u+uBJt8PrCuWXeFwxFsURKxukOjpEY0DNPPUROzHCsPW0JT Rp512DqszBA0ZIWdqOsc9MiHaGV8oYx96qPfvtyDyKYQZ4AayZTfIp76tTxZ5BtQz2RY 4FvlN/e5enZnSHmQbTZiXPGM2tRHB0tdut/Bgd7+rMJ5bJZmE1f2eCzHspAObEsKI6WY VdyQ== X-Gm-Message-State: AAQBX9fgbvAkW+tfAc4rtgrDhaygCl+IIO7o8DrmaMKWFNirpbQG5eoY kUILRG3o9k285rWtGpRzZdNLjRLQIMI= X-Google-Smtp-Source: AKy350bvQSTbaKaUbrdaNvrVddCY9jEcIxkj13t7nOrxInItN8wYMBVFTQgvOwzZrajfTxlSJo4H8A== X-Received: by 2002:a5d:4f8e:0:b0:2fe:d6a1:f377 with SMTP id d14-20020a5d4f8e000000b002fed6a1f377mr13124180wru.33.1682502647421; Wed, 26 Apr 2023 02:50:47 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003f18372d540sm17242867wmc.14.2023.04.26.02.50.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 02:50:47 -0700 (PDT) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 09/11] defaultsetup: Enable largefile and 64bit time_t support systemwide Date: Wed, 26 Apr 2023 11:50:34 +0200 Message-Id: <20230426095036.2632847-9-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230426095036.2632847-1-alex@linutronix.de> References: <20230426095036.2632847-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 ; Wed, 26 Apr 2023 09:50:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180427 From: Khem Raj Signed-off-by: Khem Raj --- meta/conf/distro/defaultsetup.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf index f6894f3ab56..1abb5096293 100644 --- a/meta/conf/distro/defaultsetup.conf +++ b/meta/conf/distro/defaultsetup.conf @@ -2,7 +2,7 @@ include conf/distro/include/default-providers.inc include conf/distro/include/default-versions.inc include conf/distro/include/default-distrovars.inc include conf/distro/include/maintainers.inc - +include conf/distro/include/time64.inc require conf/distro/include/tcmode-${TCMODE}.inc require conf/distro/include/tclibc-${TCLIBC}.inc From patchwork Wed Apr 26 09:50:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 23017 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 C58A6C77B60 for ; Wed, 26 Apr 2023 09:50:57 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.groups.io with SMTP id smtpd.web11.3970.1682502649438201476 for ; Wed, 26 Apr 2023 02:50:49 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=YP8Yv4aA; spf=pass (domain: gmail.com, ip: 209.85.221.46, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-2f7c281a015so4219985f8f.1 for ; Wed, 26 Apr 2023 02:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682502648; x=1685094648; 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=9jHIMz8o25cNaD07lYa5F+G7CROl0X33hps2nLl3h40=; b=YP8Yv4aAAjkzEyHGblSNL/M9DljcmOqfAd0C199VWve+EIBE99noxLzo403I3dALzU 5StNsoAnCai6B+7VQuTBzNObYRn+VWG73NgnPKr18Zx1Qo3vFvoi2kdkuj+8XmavEjkL sifNEnEYF67Sa90zfv0EyHU5/vdWK/+M0Kfka45jYapM3ZBGSlFwfWVZi4LiSd9rtP/y YYPmX9mtX8VtYBMjMX0O31nAwhNRnBZmKNWaje3EM3TNico0bYugbT31S5To+6rc2toX vDdzimyiU10ZoNlE7LTPSBpapooAAIMWhi1aE7XouFrJfuDQkCCAADCodXYz8aPpkdqr 5FLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682502648; x=1685094648; 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=9jHIMz8o25cNaD07lYa5F+G7CROl0X33hps2nLl3h40=; b=bCfXS8aoqqecOxCUd3ku0iRx/AEgipr2+/G2EoI2QtViALVmxohHoYFLY20SQCvhKh QzboflHrAUtngzftCdmw9qV2pdSBCl8SZIASL8ebH6LuhSsfANmzb7wi7oD0b0PcjKka FWqH8CDykI+FZ8CECo+ELhWM1Ut2zd5alvHgoCEc1g9GpXPoQoZpaj02kgf9M6tWQz33 95lq3ccPnSh3lnMA9gwGf1nMfV6Q+paQZpakOIV+kccDohq5weo98MNtd7PTQM4Q3e3D dmO3CFCaWObSBfWuoF5o4zscyRn370AUg3UPMwQqu/zC+DrqnooRF100GDC1ZREmbGBE RwmQ== X-Gm-Message-State: AAQBX9emEm9DypeQ30ZKX15WUJkPNcK+sigTyWCfWHYobvqhuyGHzZ3a WiKfchUcyho+hqrHWeub5/Tubp5XHKI= X-Google-Smtp-Source: AKy350bypQKNKPB7JQuFfVSGMiU4yeFgHjht83NHTgy/RywdH1esMSaOxOdVGbquozX758+ojfsTLA== X-Received: by 2002:a5d:4d52:0:b0:2f2:8de9:f744 with SMTP id a18-20020a5d4d52000000b002f28de9f744mr13617575wru.31.1682502647986; Wed, 26 Apr 2023 02:50:47 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003f18372d540sm17242867wmc.14.2023.04.26.02.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 02:50:47 -0700 (PDT) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 10/11] insane.bbclass: simplify exceptions for 32 bit time API check Date: Wed, 26 Apr 2023 11:50:35 +0200 Message-Id: <20230426095036.2632847-10-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230426095036.2632847-1-alex@linutronix.de> References: <20230426095036.2632847-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 ; Wed, 26 Apr 2023 09:50:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180428 Existing implementation required to list both specific problematic apis, and files that use them: neither is necessary as both are seen in package_qa error messages, and can cause excessive amount of exception lines, if there are too many files, or they are installed in arch-specific locations. Also, the value of INSANE_SKIP should be the test that needs to be skipped, and in this case it wasn't. Also, all problematic recipes are now correctly listed. Signed-off-by: Alexander Kanavin --- meta/classes-global/insane.bbclass | 14 +++----------- meta/conf/distro/include/time64.inc | 18 ++++++++++++------ 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index ee34d5208d1..8788f58fc5b 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -617,22 +617,14 @@ def check_32bit_symbols(path, packagename, d, elf, messages): # At this point, any symbol information is stripped into the debug # package, so that is the only place we will find them. elfpath = elfpath.replace('.debug/', '') - allowed = ( - d.getVarFlag( - 'INSANE_SKIP:' + d.getVar('PN'), elfpath.replace('/', '_') - ) or '' - ).split() - usedapis -= set(allowed) - if usedapis: + allowed = "32bit-time" in (d.getVar('INSANE_SKIP') or '').split() + if not allowed: msgformat = elfpath + " uses 32-bit api '%s'" for sym in usedapis: oe.qa.add_message(messages, '32bit-time', msgformat % sym) oe.qa.add_message( messages, '32bit-time', - 'Suppress with INSANE_SKIP:%s[%s] = "%s"' % ( - d.getVar('PN'), elfpath.replace('/', '_'), - ' '.join(usedapis) - ) + 'Suppress with INSANE_SKIP = "32bit-time"' ) # Check license variables diff --git a/meta/conf/distro/include/time64.inc b/meta/conf/distro/include/time64.inc index f3bdfba4acf..1a3399bc5e6 100644 --- a/meta/conf/distro/include/time64.inc +++ b/meta/conf/distro/include/time64.inc @@ -30,10 +30,16 @@ GLIBC_64BIT_TIME_FLAGS:pn-pipewire = "" GLIBC_64BIT_TIME_FLAGS:pn-pulseaudio = "" GLIBC_64BIT_TIME_FLAGS:pn-gcc-sanitizers = "" -INSANE_SKIP:libstd-rs[_usr_lib_rustlib_armv7-poky-linux-gnueabihf_lib_libstd.so] = "clock_gettime gettime fcntl fstat64 fstatat64 getsockopt ioctl lstat64 nanosleep prctl recvmsg sendmsg setsockopt stat64" -INSANE_SKIP:librsvg[_usr_bin_rsvg-convert] = "fcntl fstat64 prctl stat64 clock_gettime" -INSANE_SKIP:librsvg[_usr_lib_librsvg-2.so.2.48.0] = "fcntl lstat64 setsockopt sendmsg fstat64 getsockopt ioctl nanosleep timegm fstatat64 prctl mktime gmtime_r recvmsg stat64 clock_gettime localtime_r" - -# libpulsedsp.so is a preload-library that hooks libc functions -INSANE_SKIP:pulseaudio[_usr_lib_pulseaudio_libpulsedsp.so] = "setsockopt fcntl" +INSANE_SKIP:append:pn-cargo = " 32bit-time" +INSANE_SKIP:append:pn-gcc-sanitizers = " 32bit-time" +INSANE_SKIP:append:pn-glibc = " 32bit-time" +INSANE_SKIP:append:pn-glibc-tests = " 32bit-time" +INSANE_SKIP:append:pn-librsvg = " 32bit-time" +INSANE_SKIP:append:pn-libstd-rs = " 32bit-time" +INSANE_SKIP:append:pn-pulseaudio = " 32bit-time" +INSANE_SKIP:append:pn-python3-bcrypt = " 32bit-time" +INSANE_SKIP:append:pn-python3-cryptography = " 32bit-time" +INSANE_SKIP:append:pn-rust = " 32bit-time" +INSANE_SKIP:append:pn-rust-hello-world = " 32bit-time" +INSANE_SKIP:append:pn-strace = " 32bit-time" From patchwork Wed Apr 26 09:50:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 23020 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 D45D4C77B7F for ; Wed, 26 Apr 2023 09:50:57 +0000 (UTC) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.web10.4088.1682502650205021916 for ; Wed, 26 Apr 2023 02:50:50 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=OMZRi5s2; spf=pass (domain: gmail.com, ip: 209.85.221.53, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-2f4214b430aso4247578f8f.0 for ; Wed, 26 Apr 2023 02:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682502648; x=1685094648; 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=3GxyhcY/w6ZDDpAo67rOhVDy0EsBfqgoBM3DQs6tBz8=; b=OMZRi5s2LF2FsidXC4kDMAjrIL7otJEMwSkMnUmmXVcvJNEta8OelLdyAI+sL64m6I Kw/zuKGk2m6tzY10cUdWkGvbgNge2GD7ozPCYkWuLs1ayh+dq4y/HM8FFXs3aVKLoLfB DZv52F9blBUZZGMsk1hVM5aSWYMn7kimpqJPxqNsdoZfk3TSVuCXjBi1HhaPlEiQEkvB AWcH/89PmnhtRbwLHI95oi6sJsqbJA1KnzIagjcG80v7RpX8rmdXEi3T/mO1nHVhDOwj 8EG1YL5TKJXhieLQf0T//qhPA9ApJKorzfGtpbnAtDT+X0Ro1zWHfNOFjfE6X/DaW4t+ lOvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682502648; x=1685094648; 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=3GxyhcY/w6ZDDpAo67rOhVDy0EsBfqgoBM3DQs6tBz8=; b=hD4a3ZvcsUPHNQPyKs3E3nYCIROUGXAP8M1PI5AB5SEg7Mw7JmEdnY1X7wZGl2BSfh UxSWEiUoWzBhLulLqtDgJMZF1Dwv0smb3JPh8ahp9cSoeQuD1Zj6/6FvrhZIGRb/tGb7 7NRxMz0gCW1Ww6YIDB9El/fzOFcmURtw2StMT1HKXpFvToiZIM/Zsz9iuAwF/zBPTf8Q cvZmtKgUUqjH0yoMPGckqlXjVIxnTfSSgmIVSV7CNlVDaoYoHnnZY+fzLuyRJsKcIO/Q 0OgjCHoPo4+79rl5BTN4ipkfeMLmzDdrbBRZeWXgfA6ghazx12INfN4ZU8HsJN2lSZsh KQyw== X-Gm-Message-State: AAQBX9cQgYyqc8VngJ4+8fKx7eelI6iPp2eItfO4uH1P7/PsC1lOPr6Q XIrI/ly9vzSZpzxHlRIY7izG/lxjK5E= X-Google-Smtp-Source: AKy350ac8cjmLbMo8r+YME6jCbf9vnOPNfZrc6qVnb73St5pSOqHWEsk05KF88/X3C0hmFaVi40DtA== X-Received: by 2002:a5d:5488:0:b0:2f7:be02:e977 with SMTP id h8-20020a5d5488000000b002f7be02e977mr13990147wrv.19.1682502648616; Wed, 26 Apr 2023 02:50:48 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003f18372d540sm17242867wmc.14.2023.04.26.02.50.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 02:50:48 -0700 (PDT) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 11/11] insane.bbclass: enable 32 bit time API check on affected architectures Date: Wed, 26 Apr 2023 11:50:36 +0200 Message-Id: <20230426095036.2632847-11-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230426095036.2632847-1-alex@linutronix.de> References: <20230426095036.2632847-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 ; Wed, 26 Apr 2023 09:50:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180429 Signed-off-by: Alexander Kanavin --- meta/classes-global/insane.bbclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index 8788f58fc5b..38126d89a58 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -44,7 +44,7 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \ already-stripped installed-vs-shipped ldflags compile-host-path \ install-host-path pn-overrides unknown-configure-option \ useless-rpaths rpaths staticdev empty-dirs \ - patch-fuzz patch-status-core\ + patch-fuzz patch-status-core 32bit-time \ " # Add usrmerge QA check based on distro feature ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}" @@ -512,6 +512,11 @@ def check_32bit_symbols(path, packagename, d, elf, messages): """ Check that ELF files do not use any 32 bit time APIs from glibc. """ + thirtytwo_bit_time_archs = set(('arm','armeb','mipsarcho32','powerpc','x86')) + overrides = set(d.getVar('OVERRIDES').split(':')) + if not(thirtytwo_bit_time_archs & overrides): + return + import re # This list is manually constructed by searching the image folder of the # glibc recipe for __USE_TIME_BITS64. There is no good way to do this