From patchwork Fri Jan 12 15:14: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: 37676 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 8F718C4725D for ; Fri, 12 Jan 2024 15:14:14 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.50]) by mx.groups.io with SMTP id smtpd.web11.9476.1705072448904674474 for ; Fri, 12 Jan 2024 07:14: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=dGzebFd9; spf=pass (domain: axis.com, ip: 40.107.21.50, mailfrom: ola.x.nilsson@axis.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k2ES1KafMQc/KA+tFQrX67O0PTEcQbh7WTf5YUPOnIjGphPOFXbpwXtvuUSykBiYX40r5ydnW9ir93j+49Lmh5eaT8JQMlx2k/S0qQ4LDB+FWWEPxtkpAOYsxVqzafonFXfFKKjUKPeoewAsz0wEMD4E1+oHijVwK8BB+DCegEKSfrTIBMcc/3qKvRTpt01S/keWEsEHhOBygR+hdY6IFZO79mNh9sfOFh5td7MU5fFOlS3uc38BTlnoeELJ605QvBXOJAR4AQ58nU2waUqmxL+b5XrLw5bZOPjnm44CZ5kOn1wOZ4M8/bHNqL1NmuWRgaNRLDd05RJduZ3MUlBtzQ== 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=hlplqTwIqHRauGRUQjivcObyK3YOaQdS8hyHxWDxTBi6+vYHuxfjVglvCIXB6/bZsndZQXGWB8xk2x9TIE7i4FeUNND7XJJg+d/BcpRdbeyBpFiasLpYR32PLfwRO60PJUpJZXJu6F/KcVIJc4TigRzJxDLse/XN0B5i6DpHggHShFVNRqiGOeHCdqcfKxqYxcwLsZxnoy4tF/9435yOMrTQxOHwSnAg7UWRlY/D/op3aEKOiAMQN/eCPB9yB9axp8fvMqw62lng9vdOzGMBvWiqz4KBck6pnpGXcSW8FtUXgLotexvghRzL/csDhC2CU42/+kq6EZ6ifAewVFL4cw== 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=dGzebFd99g/hb+tZLTicBgBMnQukN1DT6Um6AYiXZtP6212NrXMi79rzyDsHcQvIX9nP4RLIeD/R5/9s+DY8Jj+lJ0VxcknCUcKBB7yjwnflN2blvr89cf1fyRNx7jTfp0WJu7OlBM90KCSinUDHTtYO9aRv76xMz0I0FzMQgns= Received: from AM0PR01CA0153.eurprd01.prod.exchangelabs.com (2603:10a6:208:aa::22) by VI0PR02MB10704.eurprd02.prod.outlook.com (2603:10a6:800:204::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 15:14:04 +0000 Received: from AM3PEPF0000A798.eurprd04.prod.outlook.com (2603:10a6:208:aa:cafe::2a) by AM0PR01CA0153.outlook.office365.com (2603:10a6:208:aa::22) 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:14: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 AM3PEPF0000A798.mail.protection.outlook.com (10.167.16.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.13 via Frontend Transport; Fri, 12 Jan 2024 15:14:03 +0000 Received: from se-mail01w.axis.com (10.20.40.7) 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:14: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:14: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 AB0C511F9C for ; Fri, 12 Jan 2024 16:14:03 +0100 (CET) Received: by lnxolani1.se.axis.com (Postfix, from userid 20853) id 9EED08F4A6; Fri, 12 Jan 2024 16:14:03 +0100 (CET) From: Ola x Nilsson To: Subject: [PATCH v2 1/3] insane.bbclass: Check for adjtime in check_32_bit_symbols Date: Fri, 12 Jan 2024 16:14:01 +0100 Message-ID: <20240112151403.3810910-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: AM3PEPF0000A798:EE_|VI0PR02MB10704:EE_ X-MS-Office365-Filtering-Correlation-Id: fbc9ec87-6e65-4406-42db-08dc13811d20 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jt0gL5GpzedDKhnFvcZBG3Y1dePnzZ7z0SDXfK1JDw2Wtpcuelw7eBgbMSK1FCG6tBosD3oPitbgmfo93AyRuHA+chxShA1zTJ6pNsdrWnxJjGcGEJMmoTZgKpjnUg4Pqv229s+mZNDNR3HpQL1pyWeWIqGShTddtLMAmcRMwNZyqT9+4pm2FxCWPCOnH/P557gZnjmHeLlpDj5uiNaZV4zLv5h8J/oAJAMRvJTS/5cyq9kjE4KbgP8OEp/QEUJQBhvwumAjZyzXsi6e1sWPmGsm9J7wGSIC5wgUZ2A2nIuuDGPZfXOSnGLOvuosOPuN7FbETZU47RThbsvnLbvWoIGrTao1SZbH8tEX4NvvDykKeGs1ogBUj2+1dRKNWY7vbyO8UXBo0a1WweNjR5yOOA6wU1TmwABI2JlnxUQTucYj0l+RmScUtaBG7/87BV6i/qKZz30RLGNMe5izE+FpApRUr4vFsVq99zHRdtPoWO07Eujn7U+jywSqO5qKs9cWfMddY8VrHqe0vP98USwGbebtkFVh0uRVCdnSG9TwiPQx76uMi2i0eDg2SMX63aADIE/nEAUM6vZu9vYsA/PWgaB+GvgQeoUkXl41LndIgTzkuaxKclpLWSD0uuzEzKoK+YblY/iM131chEhQbFlkk1l4ZUi+dgD4bf5l9NEbMXFX5HklfbWfl5lWaQPUnO7kWsACM6mo1WHaSEqUbP6zgk41ofYMIk45v1M3RGQDRUzzeN9tW1o410Qe4vhfnxGtaIEN9RgUeWjEWlNKJpoo0w== 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)(136003)(376002)(396003)(346002)(39860400002)(230922051799003)(451199024)(1800799012)(82310400011)(186009)(64100799003)(36840700001)(46966006)(40470700004)(336012)(426003)(6266002)(26005)(83380400001)(2616005)(1076003)(82740400003)(478600001)(47076005)(36860700001)(5660300002)(41300700001)(2906002)(4744005)(42186006)(8676002)(316002)(70586007)(8936002)(6916009)(70206006)(36756003)(356005)(81166007)(40460700003)(40480700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 15:14:03.9816 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fbc9ec87-6e65-4406-42db-08dc13811d20 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: AM3PEPF0000A798.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR02MB10704 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:14:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/193591 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:14: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: 37675 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 785ADC4706C for ; Fri, 12 Jan 2024 15:14:14 +0000 (UTC) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.45]) by mx.groups.io with SMTP id smtpd.web11.9475.1705072447943595064 for ; Fri, 12 Jan 2024 07:14:08 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@axis.com header.s=selector1 header.b=QmKverEe; spf=pass (domain: axis.com, ip: 40.107.6.45, mailfrom: ola.x.nilsson@axis.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g3SSzTZcYdXbwLrmSugC8bLFonQ2fjp8Xc5Fhen/Iz96N3XXG3BGBUJi80x6Y7zUOCX49LjpjdxfSEsTdtrANcXhY3koN+mbhW5ZuijbnXIqTBmqhrMk1i46pD4IcJ4i2qkZ+NyRj0mU0azBY6O45UqTZRTZozdxUw9b6rQ7PY8r7K19WQcszviCiPw0jLDx/gIB43rD4vg+PTqTj1opb5aOsEse5S0BcY0Tj9Rgep2LOufbam1AJ40bjDYrAHxXmZt2NY2FPWpge3/tBkWjToB439EAIMFxAoT0X/wydAgRXPDA8aIpfYD9q2Z+v1lcJP1HC/uwm79899BeHVRQ3A== 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=ItajaBpL2xkVXg+SXeosuG7Y7/0N6vKR9/i8E9NVtYQLxVmZKunxxoQmzDuM1GrRM+7pyGRwvL8LPFaVdxvRA0tvR/HYfGKAg96uni7fSouBgm6ih+IRE3t333u8nXX+Jlmjxk/XMq2Q61Zd0pXZBY6hSTqWXlVhnIeXc2C/rmGG6zxKgEROo/dSK36A+wfXM7JU8HOg3xw7IyYrlmYpE7Y7bnjmf2mTJHRkmen6J14xtQXxgoll9D8/nSGYIMM21Ljs9lm5b2qcVoTwNybwCJueeLZO25UhaJLBqicSZIdneVrscdn7tQF6DKDc5WRp55X876IvFySjWRL3s3wrHQ== 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=QmKverEebd/X+SFfb7/TqIUFG2v321NW/mOkeKAJNcbV3J926gBeO8f+vTvIhCyRu+fF8o7CdayfLjTFpc2DiPYVLa0K+UrLQTWKwk9FPZRL1JyvzoutIQFU+u3qOUlhvPvw9aIcnA8bjYHtCj5oCmYO0Wz4YQ5I4toBon8B2NA= Received: from AM0PR01CA0166.eurprd01.prod.exchangelabs.com (2603:10a6:208:aa::35) by AS8PR02MB7223.eurprd02.prod.outlook.com (2603:10a6:20b:3f0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 15:14:05 +0000 Received: from AM3PEPF0000A798.eurprd04.prod.outlook.com (2603:10a6:208:aa:cafe::df) by AM0PR01CA0166.outlook.office365.com (2603:10a6:208:aa::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19 via Frontend Transport; Fri, 12 Jan 2024 15:14:05 +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 AM3PEPF0000A798.mail.protection.outlook.com (10.167.16.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.13 via Frontend Transport; Fri, 12 Jan 2024 15:14:05 +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:14: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:14: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:14: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 AE9B311FA8 for ; Fri, 12 Jan 2024 16:14:03 +0100 (CET) Received: by lnxolani1.se.axis.com (Postfix, from userid 20853) id A16A68F4AB; Fri, 12 Jan 2024 16:14:03 +0100 (CET) From: Ola x Nilsson To: Subject: [PATCH v2 2/3] insane.bbclass: Make check_32bit_symbols check for file functions too Date: Fri, 12 Jan 2024 16:14:02 +0100 Message-ID: <20240112151403.3810910-2-olani@axis.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240112151403.3810910-1-olani@axis.com> References: <20240112151403.3810910-1-olani@axis.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM3PEPF0000A798:EE_|AS8PR02MB7223:EE_ X-MS-Office365-Filtering-Correlation-Id: cad354de-ad37-4f9a-85ce-08dc13811dc9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZE4+at5igQeSvrY9HwG6IRu4wI9PeRW6BmWFAUiXNor3pawhwiRPj0wTPIrAsTkSq2Eykxnr3LN7BTcL+4lV9YZOjWfcmqLywJJ5Nml0ZwrfGI0Kd46hSoIpyQRtlBi9j1qcN4kicliI300yi7D1Wh+jXhNbnLKYdv6ZIR35rPxBfxHyGfb46obm8+ecvHH0lhkYqeyqDWrlgxsa9m4NK88N1VfxR46+LmLD9TL+AZtMXop/tpIwdpxVbLxMuPXMsBkRxvSLJFW0btVsjM34BVz1nP8wfHWUD/o22+eEETEYv8nfAQ2IaBklyCbRppBFxL+K/XdwuWItoi6NIGbWhbypXazzRobAxe640Io3Ikz7gvBTvQDH78uswNamIQ8KTukynubg19T7LhiP9QK1IoGm7C3GzP1CIHUsISJ1KzYk8g8UtqJkcs8CeTPRrtDDrsWOEU3dN5kF/aUgp9ja6QGFr9I0m83Q7wrvwX27FjwIzpfitosL2eRnFO7DFCnhVpUZB6dGq7Neha5mvE0m1ZZGzfT3W7h4/DDjne0pW8LOFtA8K42I3TvGITEDR9etEFEzO2zmHna+kHfF+7+YvkG8krlvYjayVpBSNBK1DDdHAB4A82cSo7grKYUv67cozuQOZ/+iF9bZkevU+mx70AUzkztXlRpL4Wl9BiTMrLjsQOq1krGoFk6KZ1X5HLnap8wtCIW9x7pFYG7krjPJLV4oamHKFYgdKZtp4WSVdiWID1EB/jmW+kTujbrnT6nQtzBci8GLymePxqu3Tre0DQ== 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)(39860400002)(376002)(136003)(346002)(396003)(230922051799003)(186009)(451199024)(82310400011)(64100799003)(1800799012)(40470700004)(46966006)(36840700001)(8676002)(8936002)(2906002)(5660300002)(36756003)(82740400003)(6266002)(478600001)(81166007)(26005)(47076005)(356005)(426003)(1076003)(83380400001)(336012)(2616005)(36860700001)(42186006)(316002)(41300700001)(6916009)(70206006)(70586007)(40480700001)(40460700003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 15:14:05.0754 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cad354de-ad37-4f9a-85ce-08dc13811dc9 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: AM3PEPF0000A798.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR02MB7223 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:14:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/193589 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:14: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: 37674 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 85944C47258 for ; Fri, 12 Jan 2024 15:14:14 +0000 (UTC) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (EUR03-DBA-obe.outbound.protection.outlook.com [40.107.104.72]) by mx.groups.io with SMTP id smtpd.web10.9473.1705072448548497641 for ; Fri, 12 Jan 2024 07:14: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=St1ZL/BH; spf=pass (domain: axis.com, ip: 40.107.104.72, mailfrom: ola.x.nilsson@axis.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X3p5M9bVwR8DjLE7KHELfSzaif8tS65/zPuuVnqu8fWmblWdYWjmPWbraB+iiHTJIuK63ggt8pbQ/CtwkdkEdXKobwmYjkNe6Jiz+a/EpcjWheCO/OdNSFyAHaAQmhXl+rI7ic90yRjprkqYYoz+xrtNj79YVgawrnMpXYCAkSsA0Gdlne8kZ2vAETyzqDJMUILGZDJPpoykHXN1dtWsYT9h09tlzYdN3MYIxn4fdj5IsYRuKkvFj6WmaH2bHx6l6ijlRLeSts98FIpuv/JrA0rFSxBEHKuQOYdCj10M0TusDgo01RVztQrE2OBTWlxPREmqzeJAen3cfND7i2V0NQ== 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=C8HoeD8f33Uy8XZICcnYCzJ4Dz5kbNTvDzvS9GwL+jg=; b=Ss3cD0RoP0XhNiv/BGnstCbnJJQsCK4HZXZxY4UU4uwH/NpGLS8/j3j8aLfVObNlE0X/aB3Ta3cn3lXwpgUZ2/8IS3jCvceoJhQ6qYybdzJ8BzYXfrYpgUG99ynB2pC5D4klx8EXFBbm4dl8gaMpUGSX0HO4gHObAEsxAOTpYvxAqPDg0KtelW9AVrpHwJ155Pp3OULayiOB5P5K5afYxX4oVqPuy9q6tfJzOD6suXJq3PTfkcRXdbZ8htYbDZAiAnEXrKOh9yneoZXEN79wbxy322n22sQtVxYmxVZW+5p7AwvOt3DACx0SoX7Oxy962PCH/OcM53B+PyGCCD//OQ== 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=C8HoeD8f33Uy8XZICcnYCzJ4Dz5kbNTvDzvS9GwL+jg=; b=St1ZL/BHdiXBS6f2PkAHLooRAnRlBCC0xyDUGDBhYZv5bqOZniAF3xLKwhobGmE9fqieqqlSHF+r3sHWWGFxHmG0qB5DgLtI9zcm+HepIZQnYggi57RQTI0Nq/7qvVyPjsmCHQbuiwXAv69kWRCtkmZ/htTU0pOnVDKeCsOLeKY= Received: from AM0PR01CA0147.eurprd01.prod.exchangelabs.com (2603:10a6:208:aa::16) by DB9PR02MB7371.eurprd02.prod.outlook.com (2603:10a6:10:248::6) 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:14:04 +0000 Received: from AM3PEPF0000A798.eurprd04.prod.outlook.com (2603:10a6:208:aa:cafe::15) by AM0PR01CA0147.outlook.office365.com (2603:10a6:208:aa::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19 via Frontend Transport; Fri, 12 Jan 2024 15:14: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 AM3PEPF0000A798.mail.protection.outlook.com (10.167.16.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.13 via Frontend Transport; Fri, 12 Jan 2024 15:14:04 +0000 Received: from se-mail01w.axis.com (10.20.40.7) 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:14: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:14: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 B075711FA9 for ; Fri, 12 Jan 2024 16:14:03 +0100 (CET) Received: by lnxolani1.se.axis.com (Postfix, from userid 20853) id A3ADA8F4A6; Fri, 12 Jan 2024 16:14:03 +0100 (CET) From: Ola x Nilsson To: Subject: [PATCH v2 3/3] insane.bbclass: Python code cleanup in check_32bit_symbols Date: Fri, 12 Jan 2024 16:14:03 +0100 Message-ID: <20240112151403.3810910-3-olani@axis.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240112151403.3810910-1-olani@axis.com> References: <20240112151403.3810910-1-olani@axis.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM3PEPF0000A798:EE_|DB9PR02MB7371:EE_ X-MS-Office365-Filtering-Correlation-Id: 79e5e082-dae0-4f2e-fda5-08dc13811da0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G5zZIrvev5McMIwkmU/Z5GwMZJNKJnheap8D8TUk/FXfQfM0ZUrfKygjDeAgTLjdrzXIk/QdaY5eVJpKfn/8x9c7U+CKyEuaK/J05gGhgQ1dRa6//FYXIWQa5V3rTV0F2WIbz+eFkyvoK8ti9eu7wr0ylITm/888JaR/2PZrPtMl762PRfWVQT8zgNWDqJnZAEia5WDiTZfs6OaRKSEUGQw+BVw0x0M6tLBKD9nolEIHxspjbrAIwjScpD3uORPewCBIrMZwDvfgLeYUnICfWlNeKdBpbyf2Gjc1uaquSMw1InYp5OWpl37KDxvbJ0Z7uR4d7Eb+rzy9koukhQwCZAM0R+73YvFHpdItiVqZ0DzMLLJh/Dkn/9Ci7pkrBSrEEAe/LnGdSBCZqXZn6KloeWvaT7rajVPh3Ps29I4ukr/7bxtR4IlWYI1DnAIgr6r8KqsQvSXBYKg6Tu7k8x3A5Ak9oRdlQlL/I/N4kBL/vQovkCDVYXQfxBLTCDsLQi/ue+sE4FlqLEDFZNyYFaYkO1wX2QpSreD3PHIfA7pqmIAYUNFRTZt9eG/4c6K4Ss+t30BddNrRxgqm2G6LMFXQk+LWVzrGs9368+1MH4DxY8dBzEqLcglHRXqTPysC3RDAxHHjAlftpKoPy4tWwI5Li88Cl+qP64w+z/uQgonee+j3ga4umcuY/Oj5vJQYa2aqW3StMBf5/pyXEsrzVEQZLbgNT2tDhTlOwero8zZJunpcfxoURRQfgZl1YKbHqgez0luGhiAFjPq9cs0mtSWssg== 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)(39860400002)(376002)(396003)(136003)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(82310400011)(36840700001)(40470700004)(46966006)(83380400001)(5660300002)(356005)(81166007)(8676002)(8936002)(2906002)(6266002)(2616005)(336012)(47076005)(426003)(1076003)(26005)(40460700003)(40480700001)(36860700001)(82740400003)(478600001)(36756003)(70586007)(70206006)(6916009)(42186006)(316002)(41300700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 15:14:04.8097 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 79e5e082-dae0-4f2e-fda5-08dc13811da0 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: AM3PEPF0000A798.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR02MB7371 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:14:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/193590 Signed-off-by: Ola x Nilsson --- 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")