From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2063.outbound.protection.outlook.com [40.107.21.63]) by sourceware.org (Postfix) with ESMTPS id C8CDA3858D20 for ; Fri, 15 Dec 2023 04:24:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C8CDA3858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=axis.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=axis.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C8CDA3858D20 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.21.63 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1702614298; cv=pass; b=XWumTJ8+DrSUdyw9oL/bik2pa3WSxLtAhpz77qv548qlk/OWv6u0bM51K4G73c//zFPHjkbhLYwHPBf8WtnKHnk1iNWwvT4w+358c4LOiCi8RUoGDjyiG8nehsDnZ8kmmm+IYiwcPCyrFiNxqE2by0wgPGiI1vCh0NamFYJOdQ0= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1702614298; c=relaxed/simple; bh=vDeX7Tlp9zxgcDx+1Bz/X+5OjGsAjTqHxhpei00xqhU=; h=DKIM-Signature:From:To:Subject:MIME-Version:Message-ID:Date; b=gqYrYMOJRWx2Uq8dUwv/ZOn9sKYReE138lUrfgbDC2mpCbe4deAXDX5hDaKxedvMwG72lKIzgp9cFARuMdS0gt/dpawyrpVmfEToka1g6iBheszzhv3kg6GbsQqabPPE0TlUMO66gzUhHIXMmwp4XY85bVHH1mmT7Awo52JbFZs= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JV29hIVfsehxzf1MRH46SS8DubyjpFHPjISqPzxj6slBtu/hCACVcI1Jln4Gpp/ui399ujRNyTY7Yhkjj4ju3QgqoMIug2ZNdokhnLVdx/Wib+fo+9BB9skCRDzeSvlvUZPIpOPHGrDlJ0oOPJIB5O+ehB3//HVsdCxzseSPmgXTClrCA1BIS+7yE+lJ9v6gRDjsOVQ7f/Ru2u4fBW9sN/gIl1Z+DqnXqiVdX3ht37ZWVWktd0fimqJVAE59yIiEH4zBgC+XDqrsq+P/RGfXeahQ5OwEKwzJdpc9JNk8iv7WMLLvwaLTZ2/DYLo7Vh/nMQt3sLy4AG55HwZWE2Upsg== 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=dq0a6aCBggg97l/5rzXgzUuGBO6SerELX/4SEl4pRns=; b=JirttgB1V+IF1ZvspQ2awKL0XFybZqE5MBPABM1p6I6k8HP9CAGvXVTwRXr2TlldDrIEue34DL8+lm5zTdZEt4DaSTKSh23y/F5kuHb6FsS75tWVwfWGSfh5Qk/sD9eOcVjbbTE74hy9LjlwRNm2f88hUzZrQNAFCJ5b3zEX0Oo2l5Fv4eOyMS2WxL8YGvEtdJH7xwb4jsxdb8uEiVOE9My3oEIFF0xj65iMBOZ/33joLbqi7zuSE3Zbw+gtNP0YXxO19lZTVTnEsJ6Gs+XgZ7T6ggWt0+3CAdV8esNtdm4Ds0q4fSVPkfniluNMDjue3/4IKWNra+QxI0DpStIbUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 195.60.68.100) smtp.rcpttodomain=foss.st.com 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=dq0a6aCBggg97l/5rzXgzUuGBO6SerELX/4SEl4pRns=; b=nF2B7eab0D+OfTHLtk0qYYeLKcKvZD9nnmyji1cHqFjL+soVfMPavPAG/sT1dXaE5Hp0xkiIfJoTe9C1YUo6Ie7atpJGWmPpPV0go38Q91yrRY6yCp0LdU8DiIyjlJXmQB82zE1YLYHyvFICoo/H7PfZaKlk+WQTTkP7HhrChIo= Received: from AS9PR06CA0614.eurprd06.prod.outlook.com (2603:10a6:20b:46e::11) by GV1PR02MB8786.eurprd02.prod.outlook.com (2603:10a6:150:89::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.31; Fri, 15 Dec 2023 04:24:51 +0000 Received: from AM1PEPF000252DB.eurprd07.prod.outlook.com (2603:10a6:20b:46e:cafe::1) by AS9PR06CA0614.outlook.office365.com (2603:10a6:20b:46e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.28 via Frontend Transport; Fri, 15 Dec 2023 04:24:51 +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 AM1PEPF000252DB.mail.protection.outlook.com (10.167.16.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7091.26 via Frontend Transport; Fri, 15 Dec 2023 04:24:50 +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, 15 Dec 2023 05:24:50 +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, 15 Dec 2023 05:24:50 +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, 15 Dec 2023 05:24:50 +0100 Received: from pchp3.se.axis.com (pchp3.se.axis.com [10.88.21.53]) by se-intmail01x.se.axis.com (Postfix) with ESMTP id C2172FFC9; Fri, 15 Dec 2023 05:24:49 +0100 (CET) Received: by pchp3.se.axis.com (Postfix, from userid 171) id 10C6220430; Fri, 15 Dec 2023 05:24:50 +0100 (CET) From: Hans-Peter Nilsson To: Torbjorn SVENSSON CC: In-Reply-To: <9121fbed-c56b-4a79-89e6-26ea2cae1427@foss.st.com> (message from Torbjorn SVENSSON on Wed, 6 Dec 2023 20:52:48 +0100) Subject: Re: [committed 0/2] CRIS: Fix compilation warnings that recent gcc treats as errors MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT References: <20231206175046.1EFB420419@pchp3.se.axis.com> <9121fbed-c56b-4a79-89e6-26ea2cae1427@foss.st.com> Message-ID: <20231215042450.10C6220430@pchp3.se.axis.com> Date: Fri, 15 Dec 2023 05:24:50 +0100 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM1PEPF000252DB:EE_|GV1PR02MB8786:EE_ X-MS-Office365-Filtering-Correlation-Id: b212b6ee-224b-4705-f5cb-08dbfd25c7bf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EpoBgk9RSZBi6pJRVp848sA3JXGiJLTGekfxzcbGTOIYuGHiNEyVea5B8tJlFGli5TIkgwF0A/cE5mCzcYKJmkuZKXuwaIoc6dprLOX5Gi3dDr8oL19Dq+nFpWeEg0R2sijhSc891RGdV7qdsRpfESymaWlx/agMl4dMTw0E0Txl5sI1GzC6FFBiJ13Ccj5pIE/1jzpoLcJEzT/gUPoame2qM/LRalBIpjD0NrBFIMW89fESVy5OQUzzN821HctGfrXYgb4oUHKaLRjC1lAAr0IDvHK6wWxaNUr8dbK8cO96TsaAwa7Qgl3aP5iqgHQsucSEOM7WCvBxqelSou9eUC3rAmLllWoQPQwEOvGM8f3Ihi2DkOf/lOxNreYxlkXnwbt41/wahIHug0DTyCIWtAs81V9eCB5ykhviJk4ML/IhaDhDmcjV74BlCfn0xzqR4Ed3nyFKT1ZvqI1FzxQM+WBVleozAA1RJwjI2BOS90+bmDQANf8rRkpkiSQQb20kqdQgPuDXAb0DEJ3KjisQaG8eYxbqjPMg7/ykVW0bDjfNHq9O6i0wLeydGzrkAGMJP3oLC7AnD9voelxxGeEGh8T6NWcT58BjlOmzkIwu8wWhTCLBV0LG9N80kmLY/ejXWW7Lr8BFyG7NEhItzCsjCxQuCQtY4oeXOa/Q5XmXcR7iZ3UAnvyC3TDKIAd3QcjwXMp1X2Wt912g8Sq/cnDj9kNCwjIqkwGH4uMF3YWFsE57Ya09F5HNz7AHQjKrEDmVtTbK+fkTBCb51csJV3OieAKVHEIBrZClajaMW2AQGaNGEJxUMsykZ9s9q5pAQZK+ 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)(136003)(376002)(346002)(396003)(230273577357003)(230173577357003)(230922051799003)(64100799003)(186009)(82310400011)(1800799012)(451199024)(40470700004)(36840700001)(46966006)(40460700003)(26005)(1076003)(336012)(426003)(6266002)(53546011)(36860700001)(83380400001)(47076005)(5660300002)(4326008)(41300700001)(2906002)(478600001)(8676002)(8936002)(70586007)(70206006)(316002)(6916009)(42186006)(82740400003)(356005)(33656002)(81166007)(40480700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Dec 2023 04:24:50.9451 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b212b6ee-224b-4705-f5cb-08dbfd25c7bf 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: AM1PEPF000252DB.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR02MB8786 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > Date: Wed, 6 Dec 2023 20:52:48 +0100 > From: Torbjorn SVENSSON (Sorry for the late reply: the newlib mailer appears to have directed your mail only to the newlib without even a CC to me, so your reply got into my newlib folder, unfortunately not visited daily.) > Hi Hans-Peter, > > On 2023-12-06 18:50, Hans-Peter Nilsson wrote: > > Caveat: a patch-set adding a _getentropy stub > > from August (IIRC) causes lots of FAILs; some of those are worked > > around in gcc to get better coverage. > > What problems are there with the _getentropy stubs that I've submitted? I hope to get into details later, as indicated by the "film at 11". The problem is fairly visible with a standard test-run for cris-elf (with simulator and baseboard cris-sim): all libstdc++ tests fail with a linker warning, as its configure tests detect a presence of _getentropy but its reference trigs the stub warning (the .gnu.warning thing). I *think* it's also visible for a build with arm-eabi+arm-sim which made me wonder how you configured and tested (you may have stated, I haven't looked). Adding a patch to "prune" the stub-warning in libstdc++ prune.exp only exposes runtime errors when _getentropy is actually called. Those errors are not present when _getentropy is not detected (and not used). Looks like I managed to actually state the gist of the problem. Missing are details such as (todo) proposed best actions, besides reverting that patch, to better handle the problem *you* say. That's also all I can say for now. Feel very free to wait until I come back to this: I can't focus on this issue right now; just thought I'd reply with what state I have at the top of my head, since you asked. Sorry! brgds, H-P