From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id BEA411A289D5 for ; Fri, 24 May 2024 08:32:33 -0400 (EDT) (envelope-from jperkin@mnx.io) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 998EE62C9CE; Fri, 24 May 2024 08:32:33 -0400 ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=arcseal; t= 1716553953; b=rHoyIAnfy2eKRs8tZ2ENr6Tajr7TgpQmXPSBp8rI6M3bqSsVcu d4UzcBfe1aRPmlbqEcEyuwPOxYmEWpM469Pu3fHaUmQ8mWkfYltdp3XJuIUbWWb2 e5LuISQh3sE9nKlvv33mNBP8D1Wuwwv5VF4zYiuFypS1ysYnzWc4iT5gmp1JQ6H4 NJUuyNhQ+BpkWjoDChcU2a00exQwf6uR0qR+VKR3xgy96e+KlI7rO7krlQx6ltdd evQDHTxMtq+73D+h7iD3j+faead+LmDomuoLS87cvCydSuw6sXqxKTw23H+Cs1Xo y0wFPNZ2sZ0HhrIRQgSnMGlB2yK5oF/mMKnw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:message-id:references :content-type:in-reply-to:mime-version; s=arcseal; t=1716553953; bh=16RqUmJzoUIt9SJzEgk3xzCBxA0EC+pHaB7Mr8bIFNg=; b=a7TdYj/N8hsm LBSQj5t0JR6+OsiAR1NlACG7Wbo0nnhlSkqf3qblJ67+AZH/S6qwoga24QMpBHA3 IqkGj05AEz8Dp9Qy2f/DDfGa81mM9qTypTqnHeTXJzkTwQRQx0M32MceNnYZtw4u tb2I0afxLWcbFwNfx2yjYu6gOOENeI63Ia9p+etO1qSFFvGtgTK8yRjDreUhu8Rj W+YD/jt9je/6Vpsy1F2enYrGCaQgmbar0hwaoPqcYPMculGlhP33SpkBMo00NJzA gUzolf30s8odcJ4K/NPlfp3LdrzsGJFhhDrMk2jDdlzAwz/7mnVLCtayAlhKb65j OYRIKvVJXw== ARC-Authentication-Results: i=2; tb-mx1.topicbox.com; arc=pass (as.1.microsoft.com=pass, ams.1.microsoft.com=pass) smtp.remote-ip=40.107.92.94; bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=mnx.io header.i=@mnx.io header.b=YywqN17n header.a=rsa-sha256 header.s=selector1 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=mnx.io; iprev=pass smtp.remote-ip=40.107.92.94 (mail-bn7nam10on2094.outbound.protection.outlook.com); spf=permerror smtp.mailfrom=jperkin@mnx.io smtp.helo=NAM10-BN7-obe.outbound.protection.outlook.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=fail smtp.helo=NAM10-BN7-obe.outbound.protection.outlook.com policy.ptr=mail-bn7nam10on2094.outbound.protection.outlook.com; x-return-mx=pass header.domain=mnx.io policy.is_org=yes (MX Records found: mx1-us1.ppe-hosted.com,mx2-us1.ppe-hosted.com); x-return-mx=pass smtp.domain=mnx.io policy.is_org=yes (MX Records found: mx1-us1.ppe-hosted.com,mx2-us1.ppe-hosted.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 Authentication-Results: tb-mx1.topicbox.com; arc=pass (as.1.microsoft.com=pass, ams.1.microsoft.com=pass) smtp.remote-ip=40.107.92.94; bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=mnx.io header.i=@mnx.io header.b=YywqN17n header.a=rsa-sha256 header.s=selector1 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=mnx.io; iprev=pass smtp.remote-ip=40.107.92.94 (mail-bn7nam10on2094.outbound.protection.outlook.com); spf=permerror smtp.mailfrom=jperkin@mnx.io smtp.helo=NAM10-BN7-obe.outbound.protection.outlook.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=fail smtp.helo=NAM10-BN7-obe.outbound.protection.outlook.com policy.ptr=mail-bn7nam10on2094.outbound.protection.outlook.com; x-return-mx=pass header.domain=mnx.io policy.is_org=yes (MX Records found: mx1-us1.ppe-hosted.com,mx2-us1.ppe-hosted.com); x-return-mx=pass smtp.domain=mnx.io policy.is_org=yes (MX Records found: mx1-us1.ppe-hosted.com,mx2-us1.ppe-hosted.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeikedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvffukfhftggujgggsehttdertddttddvnecu hfhrohhmpeflohhnrghthhgrnhcurfgvrhhkihhnuceojhhpvghrkhhinhesmhhngidrih hoqeenucggtffrrghtthgvrhhnpeegudefleehveefffejvdevtdffgffhjedtveegffel tdegkedvteduveduveeijeenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhrvggrug hmvgdrmhgupdhsmhgrrhhtohhsrdhorhhgpdhtrhhithhonhgurghtrggtvghnthgvrhdr tghomhenucfkphepgedtrddutdejrdelvddrleegpddviedtfeemuddtsgeimeekmegttg emmedugeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeegtddr uddtjedrledvrdelgedphhgvlhhopefptefouddtqdeupfejqdhosggvrdhouhhtsghouh hnugdrphhrohhtvggtthhiohhnrdhouhhtlhhoohhkrdgtohhmpdhmrghilhhfrhhomhep oehjphgvrhhkihhnsehmnhigrdhioheqpdhnsggprhgtphhtthhopedupdhrtghpthhtoh epoeguvghvvghlohhpvghrsehlihhsthhsrdhilhhluhhmohhsrdhorhhgqe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: permerror (mnx.io: Included domain 'dispatch-us.ppe-hosted.com' has no applicable sender policy) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="jperkin@mnx.io"; helo=NAM10-BN7-obe.outbound.protection.outlook.com; client-ip=40.107.92.94 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2094.outbound.protection.outlook.com [40.107.92.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for ; Fri, 24 May 2024 08:32:32 -0400 (EDT) (envelope-from jperkin@mnx.io) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tb3jpUyGCYRR0rf3sv968CPOvRPGoO1SIMklxMYgrjdrsoG13RhoVeQhSzJeoKx82bPZTx8yClmovlQHLCNS4rfzWpWKnFoTuAAtGXnhuTc5ko3cG24mbnmvJxG6yBMIz/Ugd4A54uzXPrKx4r2AGc+AyMLjVP18pDAw72zCU6iL7CR2ufiSGsHqfBREtzRoBTq6qV6mYuYqjXWSOsuGi3GD+9Nb6k6gx12wRtHHqut0tm3UwG7kg2KLpOTIx2jSxcNMGHZWBQjO427FZ71rhM18ekLYzslNGAHA4prkJ+AR0ZmuoGfnWpbn5L2LpKbngczZ0BEnWUZFv3pKHZAhog== 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=16RqUmJzoUIt9SJzEgk3xzCBxA0EC+pHaB7Mr8bIFNg=; b=fH6TaczLhjLCIGZp1GGwuxFdce88aENNHaa2HTu79z/h0SOZibxg4iOgPI3TPYRNlxCcWKlnsT4AH5F7Tz9BJzUyjGPwVmctlJ/pzwwMFeMFjPYEzib7LINSdanyFIqwsAE3fNLpzcVi9P1AN8EMFSyHQI1MBn4FNOKXttHwTSPp+0YibFjaVZBdT4W3jbqPSsTqHa2qXpjKFy/ekouT0dz2hONSspl6o+wa8eHqVhnz7yJV1uhUdPT6FDd0PJBy4/K0fwDzyjySHajvD/yVJmeJUy7OUP76YG5FOCSwpiM1d9U1O09QIFpztcOeQWP254PA8LNMVg6gCwilQXrRSg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mnx.io; dmarc=pass action=none header.from=mnx.io; dkim=pass header.d=mnx.io; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnx.io; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=16RqUmJzoUIt9SJzEgk3xzCBxA0EC+pHaB7Mr8bIFNg=; b=YywqN17nxQBnKFBojK752VwUUmCBb99cfYuc1F2Te/8ABptCH+B+epq2mKQQuk+iwZevMgw8ztKMZiFnpUNtSJZPFqD4tTfpaXX6EcvJ4iNLxj8s8QMdo7EtKR267wg0ntfi+/poQSWJbptuqbp2JvFB7dls+fqIchIl5G9MdeLDCwHdAKNz4SQ6EWwgzwE55UAkBwH7eeZzLYBtusxiBSkNgqiD/NrDK2432OBiwp6D/LrUsN+i0a2BwgKVBC+ju3jLSfBqmfxMtT3R4o3yztHCWJFKjTSNZKybLGpnPNFFCYeDztd6p+T7yHHocb8pk2c8rhGflidYK55H9nSDWQ== Received: from DS0PR12MB6415.namprd12.prod.outlook.com (2603:10b6:8:cc::14) by MW3PR12MB4377.namprd12.prod.outlook.com (2603:10b6:303:55::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Fri, 24 May 2024 12:32:28 +0000 Received: from DS0PR12MB6415.namprd12.prod.outlook.com ([fe80::7c6b:c44b:c399:c7d4]) by DS0PR12MB6415.namprd12.prod.outlook.com ([fe80::7c6b:c44b:c399:c7d4%5]) with mapi id 15.20.7611.016; Fri, 24 May 2024 12:32:28 +0000 Date: Fri, 24 May 2024 13:32:25 +0100 From: Jonathan Perkin To: illumos-developer Subject: Re: [developer] Recent GCC improvements Message-ID: References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: LO4P265CA0110.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c3::14) To DS0PR12MB6415.namprd12.prod.outlook.com (2603:10b6:8:cc::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR12MB6415:EE_|MW3PR12MB4377:EE_ X-MS-Office365-Filtering-Correlation-Id: 918f9cc1-5afe-4dc6-7f5b-08dc7bed92fd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|366007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?tGooOCP7wRO245vZQqswRjK2ZLai4HiZPNUlZszqePiTvsLOoY2lgnXFxMn5?= =?us-ascii?Q?OduyVynk764WzUDQe36fkaOjtycWuRTJgcIdwX/v71L8OD2fO1DdlsuYZqXS?= =?us-ascii?Q?CPsx12o0ENwFo963+H7+yW4JTwOK7tAJ1pWXc5K2mALzln7E0tt11Yvq1j/t?= =?us-ascii?Q?vQUxyXicMt3phJ9YyMZHesjsINxu5YtX0GIh8IaNBWzgq9O6GHNuULwkID6c?= =?us-ascii?Q?DJQc3g6tnJp52C7e34/ssZgfT6EY2+oz+u524IL6uLkcm53SEKdvVDDiM9Wk?= =?us-ascii?Q?yIVmeX48M6qBgnw8Te0nTQIwi/K6TWB+oha3AA4Gx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RxLr900vRcacuGwLStgheyKOE4jHjsvR3FUrLOImFc?= =?us-ascii?Q?=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR12MB6415.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?oEFFv4YaWEIPl5Y7LbCP3L0WveVP26k7QYpRoA0HL9Smvn7EB8imO9f2FqW+?= =?us-ascii?Q?ICRA2z4N/EjyP71VmSVcTEcGfGXMyAp4ZYcLs+kza4u6FHhltQYRTI1At7Z/?= =?us-ascii?Q?0uHWaj608OCb/WosAB6wCteWGz3sxKn8EEdSanhGCRxLlMVq7Q3rYjj6/pKv?= =?us-ascii?Q?GccmoiL6QqVqUZCETyuwWHLvFV4MueAdoTbdCq0YAqFvMRdkU4/NptfLSBs6?= =?us-ascii?Q?1w4IkjQkkQ9z59pmSgdwq/84yzYFlCXCGBNR7qf8uE6qglE53LEUXWQ5ETTw?= =?us-ascii?Q?QmVvjcmrm7+bvK2CR2aIWbr+oW5gl+uqTkTzwxOQQEHRyRD7quBsPmYbt4f2?= =?us-ascii?Q?UQsoTPlrTSWEBeM1OvCuktXUKJg5JP7d085L2L8Kc0N/xD5+I8vMhsPzYZC9?= =?us-ascii?Q?a67wKBkw2k1sNojfaExTItnQ1G47zoqri4LDmm4DtGMfjZ8LMWGDS9zl5Hku?= =?us-ascii?Q?k24lFjIeZrq7QaZP/KMESha2enfqcCPyaTY8eInQ3mHTwa22TcyDbffGNykd?= =?us-ascii?Q?4kzlWmek5ATG7Rhlp5GS2RIV2jmapNmjgpgFT+kDzhaPv/kFNsSHMCv4AOaS?= =?us-ascii?Q?vBuoS+UnVKqL16NTwj+AN6aQWIHT2k4f1ZOl71T53ANXs5XHpUxNIGby/9U1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iUZtYMZiIV2lWUxzYIa6Y0X/1RD0LeY?= =?us-ascii?Q?tYal66gDMy5WM8EBiaI=3D?= X-OriginatorOrg: mnx.io X-MS-Exchange-CrossTenant-Network-Message-Id: 918f9cc1-5afe-4dc6-7f5b-08dc7bed92fd X-MS-Exchange-CrossTenant-AuthSource: DS0PR12MB6415.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2024 12:32:28.4193 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 7cbbbccb-a73b-4293-8866-194afab248db X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Kll+opuymXc6hkA12gGjX/xZkvlnug8LsPxivPGyBXAQzkDbWt95JSLSfD6GPMHC X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4377 X-Received-Authentication-Results: (Received Authentication-Results header removed by tb-mx1.topicbox.com) dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mnx.io; Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: b51681f2-19c9-11ef-8e0a-d8c6a69b708f * On 2024-05-22 at 12:58 BST, Jonathan Perkin wrote: >First, this fix for __STDC_VERSION__ being defined in C++ code: > > https://github.com/jperkin/notes/blob/main/gcc-cpp-stdc/README.md > >This fixes at least one third-party package (scipy), and probably >others that depend on cython. I also have memories of fixing this >manually in third party code in the past, so it's likely some other >upstream issues are being masked. Note that I've updated this with an additional patch that is required for va_copy() visibility in C++98 and C++03 code. This broke the build of spidermonkey185 that I had initially marked down as being masked by a separate intermittent failure. The additional patch restores the va_copy() visibility behaviour compared to unpatched compilers for older C++ code, and is being pushed through additional bulk builds at the moment. Cheers, -- Jonathan Perkin - mnx.io - pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com