From patchwork Fri Jan 12 15:03:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ola x Nilsson X-Patchwork-Id: 37672 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 684F6C4706C for ; Fri, 12 Jan 2024 15:03:14 +0000 (UTC) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.57]) by mx.groups.io with SMTP id smtpd.web11.9166.1705071788845045876 for ; Fri, 12 Jan 2024 07:03:09 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@axis.com header.s=selector1 header.b=FWzSMKv5; spf=pass (domain: axis.com, ip: 40.107.22.57, mailfrom: ola.x.nilsson@axis.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MN83NOt5GADF6rexPqFCvCo7IvdaxJtrAFGurBVnGEezgJYJjhJ74LWcH4SStC4kxYHgGa4KaYpZzNZ2sk+94QTCqtNcCTd0pajYQ1CAEJ2pK73z+rQ/NmM6LVJ3RzmQtjiOdndtQfsYbF8m4pdK/MeVsnndeDVkn1FZP3ESEsl/EY3mNNp8g2c4rayumtAxasWZ2grYjIVNjDwr3NlUJLNUlpwWudN0IqlH2Brna6ib1f3oaeleZaZol5cqBJ2Xee5rEhj6uHIe5ODfBTCXgKtPzhOv8p2MpserzlwTQFdVs9hP8X7iN9WRbHBg+DHl2cdLJNjkFFBxRjOy5wlqsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GQJQql6BTfGQcocKJla9HZ54pIJw8RpfL9J0eBlwzso=; b=lAsw9b59v1QMWFCVskBhNSIUpdoJMosT/DVhbwmqOa/HxkrnS48wGbjrkvKc2nRQLXTQ5OdjrCtJ87yo3Pj861HZAHDjMGGItx/C8oLx5t8a+J7le5ll2nkkUGOyf7u6Je2YF7BQTUfwQY4d+LXI3ApCrUqZXa9YtM83n9Kux+WR0rOy0t/DM4fqGjusdjzLNUUgjjvlqG2F5uzUDF3xp2SNJB27mKo7hXskBj7kOPKfD3zw245klasUtUkrmwLdJOXCWYdVYMOFYIgUCDva2vITiGNmRd/9d+WJMEAq2sT5MjNSJGk9bIAqQoCVxgpXNTmX+AFtlVVeMS/B8z/2fw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 195.60.68.100) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=axis.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=axis.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GQJQql6BTfGQcocKJla9HZ54pIJw8RpfL9J0eBlwzso=; b=FWzSMKv5gF6HPXMLf+6cjnL5UVYex3PF1lA9xcHlSDIaMCqJxIYrnoFu0prvfsFwbxXOUwxAzAXPvyLxRTPvayhH932VXrLRsnG1dz76bmhrbKBf2Oqge8ClVARa0gKCZ1OK9g53nJIiv5xR13KqN1uhQCWhlkMStChQV5g/01Q= Received: from AS9PR06CA0505.eurprd06.prod.outlook.com (2603:10a6:20b:49b::31) by PAVPR02MB9643.eurprd02.prod.outlook.com (2603:10a6:102:300::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.17; Fri, 12 Jan 2024 15:03:04 +0000 Received: from AMS1EPF00000049.eurprd04.prod.outlook.com (2603:10a6:20b:49b:cafe::82) by AS9PR06CA0505.outlook.office365.com (2603:10a6:20b:49b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21 via Frontend Transport; Fri, 12 Jan 2024 15:03:04 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 195.60.68.100) smtp.mailfrom=axis.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=axis.com; Received-SPF: Fail (protection.outlook.com: domain of axis.com does not designate 195.60.68.100 as permitted sender) receiver=protection.outlook.com; client-ip=195.60.68.100; helo=mail.axis.com; Received: from mail.axis.com (195.60.68.100) by AMS1EPF00000049.mail.protection.outlook.com (10.167.16.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.14 via Frontend Transport; Fri, 12 Jan 2024 15:03:03 +0000 Received: from SE-MAIL21W.axis.com (10.20.40.16) by se-mail02w.axis.com (10.20.40.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 12 Jan 2024 16:03:03 +0100 Received: from se-mail01w.axis.com (10.20.40.7) by SE-MAIL21W.axis.com (10.20.40.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 12 Jan 2024 16:03:03 +0100 Received: from se-intmail01x.se.axis.com (10.0.5.60) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Fri, 12 Jan 2024 16:03:03 +0100 Received: from lnxolani1.se.axis.com (lnxolani1.se.axis.com [10.88.125.119]) by se-intmail01x.se.axis.com (Postfix) with ESMTP id 7260E11F77 for ; Fri, 12 Jan 2024 16:03:03 +0100 (CET) Received: by lnxolani1.se.axis.com (Postfix, from userid 20853) id 65B3F8F4A6; Fri, 12 Jan 2024 16:03:03 +0100 (CET) From: Ola x Nilsson To: Subject: [PATCH 1/3] insane.bbclass: Check for adjtime in check_32_bit_symbols Date: Fri, 12 Jan 2024 16:03:01 +0100 Message-ID: <20240112150303.3807006-1-olani@axis.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS1EPF00000049:EE_|PAVPR02MB9643:EE_ X-MS-Office365-Filtering-Correlation-Id: 254a3406-f539-4af2-487e-08dc137f93b1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QS8D6WbVrBmgyOZ8NJVbpYRXq9eyEgGMq5mESQVcWCxGh81e61zpf57zZLOeLJ041LqfMxj8BCIQB05G8EYChfvuZ43ZYyz91ddGkYM7eEwb0c/4KymTUopHZX6QBSyghsCDDz5egu2jKSj9f91rFF1uQS/yCNh83kejlVi11jxxK4LfzWGox9jkPJqtCuqj6mroHWVu2a5j035BVAIeef8xTlbNIDI5fXGJkL0eEEABkVTCmk3XgqBGRwU4xzSAqN/IkycNwu+5CLU21hrtaMPNexTXaPbiPyT7WKvnAdfqI/r80RsjTi0/TIXHHScNy6vzypyuysOa2cYaxFtmVKhPWbiG2M29/dcEZe29wYpkCugpAP4FVekJ9wWHsBek5DfjnCur9Fv42MR0+kzJlLUuWzc83SJrCvgZpnLhu//soqclzteKaCE3+JTu3Hn3oVOYOB/mvswvl/y3u2zWigwwp/ALH/Q+/p3+yQYWYeSytGFLtL0rVT38Lz5WiujukpHcnu3CbnywyOwuw4DwjYYtYQIKTeg+/dXY35uSq4xU31z0oeT0DeqJZpKgXfFnYM/pd8+av/+NLbrp411ZxP47gne6xbAlYVX1TknucXBSgoIey/vHzDzzUSxS+N1GHGSG3ORuCdJjeBV3i9FMrYKq9HxgwtSG8uJ/gzbYNs2NuJ/fRVZAK1qgXmf5mLXN5JBG/Ij+f0WI7JkKpbfu0/ddIg/FSsSsOI4M7ncvYU5w8STLNITmxDA8wleKb1C1j0cw5rgVWSUn3lHTQA+DHQ== X-Forefront-Antispam-Report: CIP:195.60.68.100;CTRY:SE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.axis.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(396003)(346002)(136003)(376002)(39860400002)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(82310400011)(46966006)(36840700001)(40470700004)(1076003)(47076005)(426003)(2616005)(83380400001)(26005)(70586007)(81166007)(5660300002)(336012)(82740400003)(70206006)(4744005)(41300700001)(356005)(42186006)(8936002)(36860700001)(8676002)(2906002)(316002)(6916009)(478600001)(6266002)(36756003)(40460700003)(40480700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 15:03:03.8942 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 254a3406-f539-4af2-487e-08dc137f93b1 X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af;Ip=[195.60.68.100];Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: AMS1EPF00000049.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR02MB9643 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 12 Jan 2024 15:03:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/193586 adjtime was overlooked in the original commit. Signed-off-by: Ola x Nilsson --- meta/classes-global/insane.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index 6f3cd3026d..69741a6a79 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -534,6 +534,7 @@ def check_32bit_symbols(path, packagename, d, elf, messages): # /usr/include/signal.h "sigtimedwait", # /usr/include/sys/time.h + "adjtime", "futimes", "futimesat", "getitimer", "gettimeofday", "lutimes", "setitimer", "settimeofday", "utimes", # /usr/include/sys/timex.h From patchwork Fri Jan 12 15:03:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ola x Nilsson X-Patchwork-Id: 37671 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 6BE5FC4725D for ; Fri, 12 Jan 2024 15:03:14 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.49]) by mx.groups.io with SMTP id smtpd.web10.9132.1705071789223898707 for ; Fri, 12 Jan 2024 07:03:10 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@axis.com header.s=selector1 header.b=jEbTuZmJ; spf=pass (domain: axis.com, ip: 40.107.21.49, mailfrom: ola.x.nilsson@axis.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hFx3n0MEecxyH1zXAneokp0D6EMGpFDjUSb6OctjwKYl+sfMIow9RGxCjtGxC0A6z3CsEHR8nZh4wjDIHrKxeEQnYDVf4xnIXmvadvVR16CRobled48xGri8dRwMOmmZScmTLKnoHlCnFbgxNffL6lpVrNoQ55etf9saFyDbc1Jk+/E27nJkWOdOJrenZlE+7b1dy/jXQX6bdJeeGr4OU0BivEoaSJrUb8nzlTCI1F0qF24SMkY45hQioEBrkys4xzleUa9hNIwZ6TlKMi+5ELkSSWsvj+QkTe3+rC5wYZF2H+CFixO4cxRhEwvmEB768ofNUPdDr9aluJlnzuXx0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qaNiYnyqZb35Q/4+df3asypfDwCFPhTV3S8lGPA3Bfo=; b=FlmlRLKRR0PuRo6gtLYxPKtm2sHriLhD+c+YJR4VZK0DNdpqNsBf3sZviMrlr4NFFScOBcMM2HGEmnQS0tKWAYqZ9DvrqE6XNVVr5YOvPK1X5W3ewDM66Pfh+8U8DAAsng2elt2dkPuy0V0vEj9HOTR/ibndD4ycYJugdFusfrvDco92wg3TDvXfM5Qio1Pq8GpQmSeB98F4WEAbwCLobt18kz7hFLPcxku7dUEB4ZMcZ1LwK7VJ7nQvW01hxcBgcgsFYxX8fLeD7x5ky/n5MLdn4acmnrorKOx4GCuDqGm+5YPmoG7R7/b7zseEOXajS8FUUBZUqbQb81O3lgenTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 195.60.68.100) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=axis.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=axis.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qaNiYnyqZb35Q/4+df3asypfDwCFPhTV3S8lGPA3Bfo=; b=jEbTuZmJNCrnNVg5T+jgWMF35tNXi71OiC+xOo2L8BSa72//033PLudybar7LGWig//xHWQJ/HV5sPlac3+/1y38wbJDduVJtQWmjY0ihB4OgWMz1bJTWCKntPOpJM4dYxNxzo8dKt/c4Cm6+ctaZS+RUL2nvTiZ3oPisEtNedo= Received: from AS9PR06CA0498.eurprd06.prod.outlook.com (2603:10a6:20b:49b::24) by DB8PR02MB5804.eurprd02.prod.outlook.com (2603:10a6:10:11a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19; Fri, 12 Jan 2024 15:03:04 +0000 Received: from AMS1EPF00000049.eurprd04.prod.outlook.com (2603:10a6:20b:49b:cafe::a8) by AS9PR06CA0498.outlook.office365.com (2603:10a6:20b:49b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21 via Frontend Transport; Fri, 12 Jan 2024 15:03:04 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 195.60.68.100) smtp.mailfrom=axis.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=axis.com; Received-SPF: Fail (protection.outlook.com: domain of axis.com does not designate 195.60.68.100 as permitted sender) receiver=protection.outlook.com; client-ip=195.60.68.100; helo=mail.axis.com; Received: from mail.axis.com (195.60.68.100) by AMS1EPF00000049.mail.protection.outlook.com (10.167.16.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.14 via Frontend Transport; Fri, 12 Jan 2024 15:03:04 +0000 Received: from SE-MAIL21W.axis.com (10.20.40.16) by se-mail02w.axis.com (10.20.40.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 12 Jan 2024 16:03:03 +0100 Received: from se-mail01w.axis.com (10.20.40.7) by SE-MAIL21W.axis.com (10.20.40.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 12 Jan 2024 16:03:03 +0100 Received: from se-intmail01x.se.axis.com (10.0.5.60) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Fri, 12 Jan 2024 16:03:03 +0100 Received: from lnxolani1.se.axis.com (lnxolani1.se.axis.com [10.88.125.119]) by se-intmail01x.se.axis.com (Postfix) with ESMTP id 74B0411FAB for ; Fri, 12 Jan 2024 16:03:03 +0100 (CET) Received: by lnxolani1.se.axis.com (Postfix, from userid 20853) id 674C98F4AB; Fri, 12 Jan 2024 16:03:03 +0100 (CET) From: Ola x Nilsson To: Subject: [PATCH 2/3] insane.bbclass: Make check_32bit_symbols check for file functions too Date: Fri, 12 Jan 2024 16:03:02 +0100 Message-ID: <20240112150303.3807006-2-olani@axis.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240112150303.3807006-1-olani@axis.com> References: <20240112150303.3807006-1-olani@axis.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS1EPF00000049:EE_|DB8PR02MB5804:EE_ X-MS-Office365-Filtering-Correlation-Id: fa1fdb44-d557-46dc-2eee-08dc137f9439 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DHNAWgjfL9MBPKAt/EVS65PV+rfcw1iS4O04hDEQ5+3o5HWVty44DfA+jdHJVZpOPQNa8mx0IZa6ho06iRqeTZcI3QtCrdGZYr5bOzf39bkEb6mXV5eepSRE5Hukv6ffY8lRv3JO/4hDrn3RXFGipydPYAHCLyO19fciUac/VB42rzNCBx19Mo6YF2Uzi05wHVehJ3Uw+ibTKWfAI8Z70OAWbiZSIOSEyAQgMpoctq+wG7ei4RSRtAfh73UXkQU1cMWzGwA9jflFcPZanWINPa5vsToudU45Vz4gGJ6raDEuadra97QlY9oIj3B8yodh8QB3r7YWE2ICbqjv+eGBsB+n7Si/Q0W2+nzke1y7HWqkgmusxTpKbaQqmmBmUIFUOvsEZAn/LM3t9/HP+5P7LbIlCVcL0kN9MytF8jymJxQUy9U2GCoooCedhJIm8rQW9BSnP7yENgONstrF3w1Uixw6/wniU/RNKAHV7km2pnaC1a+Azc5tbSkWxDdZS9/+TmwWUxSCCEiQ7mOp+1b296B6AIPirNZwTivKOPV48LiuX80aYF9KZ7lsme8JVxeOcLRhfC8JDB0MEEGpFfHjNSoRQADirT8GX/xngtAuXGYynfAh+k4tswqVDMJpUgQKD20kTSz/h5g5S/uahABBybuyK6nTlst0Nsd0uAFSXb9gaTz2pGMfyhbhdVfOQg1U4i9/f9C8syL9coJ2NwbXC+KMuwd1W3PMNMXpGAl3ZUuwt3lo6WEVrY9IWDXBLC4GnHpU9JO4gCnTMDahAt9A7g== X-Forefront-Antispam-Report: CIP:195.60.68.100;CTRY:SE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.axis.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(346002)(376002)(396003)(39860400002)(136003)(230922051799003)(186009)(1800799012)(82310400011)(64100799003)(451199024)(36840700001)(40470700004)(46966006)(83380400001)(70206006)(6916009)(316002)(42186006)(47076005)(70586007)(6266002)(26005)(5660300002)(1076003)(81166007)(426003)(336012)(2616005)(40480700001)(8676002)(8936002)(40460700003)(82740400003)(356005)(36756003)(36860700001)(41300700001)(478600001)(2906002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 15:03:04.7848 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fa1fdb44-d557-46dc-2eee-08dc137f9439 X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af;Ip=[195.60.68.100];Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: AMS1EPF00000049.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR02MB5804 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 12 Jan 2024 15:03:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/193587 Since _TIME_BITS=64 forces the use of _FILE_OFFSET_BITS=64, also check for functions redirected only based on _FILE_OFFSET_BITS and __USE_FILE_OFFSET64. Signed-off-by: Ola x Nilsson --- meta/classes-global/insane.bbclass | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index 69741a6a79..1ff6a319c4 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -598,6 +598,37 @@ def check_32bit_symbols(path, packagename, d, elf, messages): "fts_set", # /usr/include/netdb.h "gai_suspend", + + # Since _TIME_BITS=64 forces the use of _FILE_OFFSET_BITS=64, + # also check for functions redirected only based on _FILE_OFFSET_BITS + # and __USE_FILE_OFFSET64 + # /usr/include/bits/fcntl-linux.h + "fallocate", + # /usr/include/bits/resource.h + "prlimit", + # /usr/include/sys/statfs.h + "statfs", "fstatfs", "statvfs", "fstatvfs", + # /usr/include/sys/sendfile.h + "sendfile", + # /usr/include/sys/resource.h + "getrlimit", "setrlimit", + # /usr/include/sys/uio.h + "preadv", "pwritev", "preadv2", "pwritev2", + # /usr/include/sys/mman.h + "mmap", + # /usr/include/stdlib.h + "mkstemp", "mkstemps", "mkostemp", "mkostemps", + # /usr/include/stdio.h + "fopen", "tmpfile", "freopen", "fseeko", "ftello", "fgetpos", + "fsetpos", + # /usr/include/dirent.h + "readdir", + "readdir_r", "scandir", "scandirat", "alphasort", "getdirentries", + "versionsort", + # /usr/include/unistd.h + "lseek", "pread", "pwrite", "truncate", "ftruncate", "lockf", + # /usr/include/fcntl.h + "open", "openat", "creat", "posix_fadvise", "posix_fallocate", } ptrn = re.compile( From patchwork Fri Jan 12 15:03:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ola x Nilsson X-Patchwork-Id: 37673 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 4AD2AC4706C for ; Fri, 12 Jan 2024 15:03:24 +0000 (UTC) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.45]) by mx.groups.io with SMTP id smtpd.web11.9171.1705071794982679984 for ; Fri, 12 Jan 2024 07:03:16 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@axis.com header.s=selector1 header.b=Py2X3orX; spf=pass (domain: axis.com, ip: 40.107.7.45, mailfrom: ola.x.nilsson@axis.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fK5l04EmGr6rUVcK1JqF6oZWprBwdhvaVx2gTrKZ0EGULUscYJFdSiPyK1d5mD0CFWT29P0OlnvgUCCTfM9LzKOzu8Rw/2UvoEVAn2Nf/mCVq5IOnvZQfHllB88f5X//zukIb5AuU1OVH5wzdr61M/QNJt71ctl8yIzP0xediNB4m6V7wDu4o8b1BGU7bn0xrXTTYNKn8HoQ0zUWE6akHO6Z0tMJL03SKIYNwe2UlnM42chEvTaqxWmaDy/E7MIwZeMu4lOE6vJwJWIpxX2iemgcRqQYpizXE/xvZHuDpeaTB+wYBrwWSCxVPMIqjtlknSercezhTF+6dX0pe8j21w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=18Xk1uGdv/ONmsOd1770YT4zhbSArKHtLYoePY3TLkc=; b=K4jrKfTRIBhub23mgqCV4cCGees+uq3gmc7YMfg1/8A2Ij6KYBrDllbea9myz8mAawUV0FEoi0bPdg/gdaKo6yVABNd4i6EebduSl/0GHvtG43pwaeKYXHqcx2GB64BETEXqfhzbF3POeqdCg53wbJl5DYtGEEF59dyxbANB2zX39JahGgkgOse66Le1UajIxE8YErAJm9IZBSfX4dHc66ha4unkVKi5u7z/blgiCosAD9izxd3lch6TsGCjTyEGK4CGyS2m/RLDxqpUI2CLlgxAiF+U/M/cai++ZQQsl7UFuYjog7H7xL0ujIKbp4P7MlPKhIq+X3Lf6goRP1/KTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 195.60.68.100) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=axis.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=axis.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=18Xk1uGdv/ONmsOd1770YT4zhbSArKHtLYoePY3TLkc=; b=Py2X3orXBs0GSN6R+SzHKrmQFaLtGyQeKDRf9A19hZ+QQJRaQljk46ybp5CKNr14Gsa2nyc5JngeUj8/NPKnfV3TbwcA4sc2iPp3FrxzU/4ZCH5smx7PJCibaMReqCOwgnpdRUBDqd6iKq7FVAXUzNV1wapnVVP3KOKMkfHlEVk= Received: from DB7PR03CA0082.eurprd03.prod.outlook.com (2603:10a6:10:72::23) by DB9PR02MB9801.eurprd02.prod.outlook.com (2603:10a6:10:452::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19; Fri, 12 Jan 2024 15:03:04 +0000 Received: from DU2PEPF0001E9C1.eurprd03.prod.outlook.com (2603:10a6:10:72:cafe::ed) by DB7PR03CA0082.outlook.office365.com (2603:10a6:10:72::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21 via Frontend Transport; Fri, 12 Jan 2024 15:03:04 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 195.60.68.100) smtp.mailfrom=axis.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=axis.com; Received-SPF: Fail (protection.outlook.com: domain of axis.com does not designate 195.60.68.100 as permitted sender) receiver=protection.outlook.com; client-ip=195.60.68.100; helo=mail.axis.com; Received: from mail.axis.com (195.60.68.100) by DU2PEPF0001E9C1.mail.protection.outlook.com (10.167.8.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.14 via Frontend Transport; Fri, 12 Jan 2024 15:03:04 +0000 Received: from SE-MAILARCH01W.axis.com (10.20.40.15) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 12 Jan 2024 16:03:03 +0100 Received: from se-mail01w.axis.com (10.20.40.7) by SE-MAILARCH01W.axis.com (10.20.40.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 12 Jan 2024 16:03:03 +0100 Received: from se-intmail01x.se.axis.com (10.0.5.60) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Fri, 12 Jan 2024 16:03:03 +0100 Received: from lnxolani1.se.axis.com (lnxolani1.se.axis.com [10.88.125.119]) by se-intmail01x.se.axis.com (Postfix) with ESMTP id 763C511FAC for ; Fri, 12 Jan 2024 16:03:03 +0100 (CET) Received: by lnxolani1.se.axis.com (Postfix, from userid 20853) id 69EEE8F4AC; Fri, 12 Jan 2024 16:03:03 +0100 (CET) From: Ola x Nilsson To: Subject: [PATCH 3/3] insane.bbclass: Python code cleanup in check_32bit_symbols Date: Fri, 12 Jan 2024 16:03:03 +0100 Message-ID: <20240112150303.3807006-3-olani@axis.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240112150303.3807006-1-olani@axis.com> References: <20240112150303.3807006-1-olani@axis.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PEPF0001E9C1:EE_|DB9PR02MB9801:EE_ X-MS-Office365-Filtering-Correlation-Id: 18f529d4-875c-4534-705a-08dc137f93d3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +pgeshz2lKyBHdKBS/IRnLVv2G9/LXXLENunX1Qx8dKvvS+ORfPqEyi4Fol9fV1i0hg79etMokskFVh22tkMJFymyn7y/RZJz5N1okIj/CsFOECLWWz9+GYsLeUQBIrviSemB4JBlhQt52OKO3YdO+ea42DC1aLvt7ilOBU5sRl8L9gzf0AnNjgNoBxkd9zd9n3EgBrb8k0ZtvKiO7pzw4jyf69hmdRqLBEvFu+Q5jKdoQq5W6Mj2juywfAVNbHkI82o4qznYFZweNr4FVAl5BeuZhM2FXbM203jIY1fIFDr0hqxfsxvT9cw/FLMGOkD5lh7jnhnBstKg28JxUFiwDZt5Sp6ffY1GBl+mgUjLrCLpUG6Pqv4W5bwzSYVBrExLCvDe7V7V2SuQMaxdo+EdLvTVuyLQFBCwUAt2fAKprIOB29MjMIeLy3/1IguBBOCObK2ARwWdEwvUyyHSLb+sHePnlexl0rdOnYKBsFokOk9+xKKlaPWBQJPz7jqsMQJhpwtod6xYKWpyCYDD25tMNoY7hdezbhy32Cg60A7w16w3ZtVnnYoHUTouQMPg5Ip+mgTF27m8XHy+yrSFO9k0+OgwvVL/C48L5BDnJPPI6ScmLMd4lUN/JJ7RXWiIBw+f4kdHeGagnNji9/IsboU/H0m3+CYO94h5EIUXg00QKqwRlVyIIsWbdmGfKDnDMsV6CnT6wiWb2Vl33PLk4TXtA1QIE95pf+PgFfHHF/VOAbnz5eKHZHBoJXvnI388KCggFWSnQGmYIV3+cNz6/PDyQ== X-Forefront-Antispam-Report: CIP:195.60.68.100;CTRY:SE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.axis.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(396003)(376002)(39860400002)(136003)(346002)(230922051799003)(1800799012)(186009)(82310400011)(451199024)(64100799003)(46966006)(40470700004)(36840700001)(1076003)(26005)(336012)(356005)(6266002)(2616005)(36756003)(47076005)(83380400001)(426003)(36860700001)(82740400003)(81166007)(41300700001)(478600001)(40480700001)(8936002)(40460700003)(8676002)(5660300002)(70206006)(70586007)(6916009)(316002)(2906002)(4744005)(42186006)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 15:03:04.0868 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 18f529d4-875c-4534-705a-08dc137f93d3 X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af;Ip=[195.60.68.100];Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: DU2PEPF0001E9C1.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR02MB9801 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 12 Jan 2024 15:03:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/193588 --- meta/classes-global/insane.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index 1ff6a319c4..26457764ce 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -514,9 +514,9 @@ 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')) + thirtytwo_bit_time_archs = {'arm','armeb','mipsarcho32','powerpc','x86'} overrides = set(d.getVar('OVERRIDES').split(':')) - if not(thirtytwo_bit_time_archs & overrides): + if not (thirtytwo_bit_time_archs & overrides): return import re @@ -1606,7 +1606,7 @@ do_unpack[postfuncs] += "do_qa_unpack" python () { import re - + tests = d.getVar('ALL_QA').split() if "desktop" in tests: d.appendVar("PACKAGE_DEPENDS", " desktop-file-utils-native")