From nobody Mon Jan 6 19:10:19 2025 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YRkKB6Xf5z5k3PJ for ; Mon, 06 Jan 2025 19:10:22 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YRkKB5XTBz4NvM; Mon, 6 Jan 2025 19:10:22 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736190622; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=stn/jWpuVKLSgrG70xs0Q9/bqOKURngOuYjlVvWjjb8=; b=j7q5NUoVLxNskRd/4p9HtMURmk4v1e0UZNWI3BxmEyslWqn6rvH9Powm6BPkCrjYX2glfQ sEhx3h8xGKTB69U2Rvp0eie6Tqnm5Sw/4P619jdqYSono8b0F4K4xdayvp6mCFi9VC0oGt Na4XzwLR3kGeZArjT0rEUCpYdFzr5B6AiAoPTmLoAEnI2HsbGMNPWmuKRP3fFNUOToIVTj pK0Wabi3AyqyKBD/3FZSiBvCaqOWPybb51jD4aP4ConTwrtva0jB7LqYdpnP6tum8G8r9Q 8wfI9f42RsjQVJ4Sidk1mEzwpiPjNBKNYOfxBJZKRDTDY0XMDlKjX00L4w/Y4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736190622; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=stn/jWpuVKLSgrG70xs0Q9/bqOKURngOuYjlVvWjjb8=; b=iNkS3xPonLAwDsoin2waUL9CxQsN/jbZNBxUYt+CI4yod1TbVfjQjZsd1Lf2zOudNgJryR tUZOXNUa/ai8QaTOs3ponD2j29POymi2JIzzGNf9/YESiSOA1CeTmtM0tOpgTDwemzOvlL /u5oRIIAWuK2zTBshWGJD4KuIUhlNalC3VWtiySSno1A7x1lFWAER8Q/Pi8e2/FvPWzwV3 wKQCWcjYNixaOHZ+NDfTOFeiXn4tmxkPLx+CpZs4PQb2Tqi2J2TBD6+KHc+8Ox21c4ofXJ MxRcckUm1x3q+oZ1qKGHrxElDbbisqoY6LIltf8bhPgFqTelMmXSoRNvEKzdxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736190622; a=rsa-sha256; cv=none; b=iR7ruuJOYhxWsYps5nc8DtlduEL9xFg8c0ehPIlEL8dmmAzDlBGYaB19VGp69Ty+7tTsv9 a5PXR+jjw21ti47CCFCqIOuGuIHa2+/G5OInkVt8k8mSgOTDOG6s2Qfk5WNFQPSEpvA/ww wPh1s9XdbDhwxW0X71a1h8nhW6RlRyKeHTcWuomJciTV1WIf9igUWr3EIrXpzY0dqMSeBO /ml1uaEgY9NdEwYmcI5X7wP/xpI1T1oHov+mqFFDHlahSbhuT/vYRLWWzNEOcCHzZCj5mj IFSh5W87KyuoLb8c9m5DSCBeEPVluiFrC9l9ot4acThH8Bd4zFbImAqnYQTocA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from cell.glebi.us (glebi.us [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YRkKB1qtZzpB0; Mon, 06 Jan 2025 19:10:22 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Mon, 6 Jan 2025 11:10:19 -0800 From: Gleb Smirnoff To: current@freebsd.org Cc: rmacklem@freebsd.org Subject: kernel RPC over netlink(4) and general krpc cleanup Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, last year I tried to check-in a new implementation of unix(4) SOCK_STREAM and SOCK_SEQPACKET in d80a97def9a1, but was forced to back it out due to several kernel side abusers of a unix(4) socket. The most difficult ones are the NFS related RPC services, that act as RPC clients talking to an RPC servers in userland. Since it is impossible to fully emulate a userland process connection to a unix(4) socket they need to work with the socket internal structures bypassing all the normal KPIs and conventions. Of course they didn't tolerate the new implementation that totally eliminated intermediate buffer on the sending side. As I want to go forward with the new unix/stream and unix/seqpacket I need to do something with the kernel RPC. Today we got a new kind of socket - netlink(4) that is designed specifically for kernel<->userland communication. Although it is originally designed to provide kernel services to userland, we can work it around to do the opposite. The plan is that kernel modules that are seeking a specific RPC service will multicast their requests on specific netlink multicast groups and respective userland programs will reply on them. Working on that idea I realized that the kernel RPC code (living in sys/rpc) has quite a lot of dead code. Some is disabled at compile time, some is basically never called or never reached. Thus, in combination with two new modules: kernel netlink client and libc/rpc netlink server, I am also going to do some code deletion in sys/rpc. Note that I don't want to refactor anything, I just want to shave off pieces that are never used. This cleanup makes it much easier to understand what needs to be done to avoid abuse of unix(4) socket and what doesn't. My development branch is shared here: https://github.com/glebius/FreeBSD/commits/gss-netlink/ ATM, it has converted to netlink(4) communication for gssd(8) and rpcbind(8). Comments welcome! -- Gleb Smirnoff From nobody Tue Jan 7 09:39:12 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YS5bq2VC7z5kGNx for ; Tue, 07 Jan 2025 09:39:19 +0000 (UTC) (envelope-from prvs=1102f389dc=weike_chen@dell.com) Received: from mx0b-00154904.pphosted.com (mx0b-00154904.pphosted.com [148.163.137.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YS5bp32Yjz50jK for ; Tue, 7 Jan 2025 09:39:18 +0000 (UTC) (envelope-from prvs=1102f389dc=weike_chen@dell.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dell.com header.s=smtpout1 header.b="Gke RHDe"; spf=pass (mx1.freebsd.org: domain of "prvs=1102f389dc=weike_chen@dell.com" designates 148.163.137.20 as permitted sender) smtp.mailfrom="prvs=1102f389dc=weike_chen@dell.com"; dmarc=pass (policy=reject) header.from=dell.com; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Received: from pps.filterd (m0170394.ppops.net [127.0.0.1]) by mx0b-00154904.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5074eqld005479 for ; Tue, 7 Jan 2025 04:39:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h= content-type:date:from:message-id:mime-version:subject:to; s= smtpout1; bh=EoqGCtKdjwWg9yWmiTMN4G/itTes5XjtUSFzta3h3pk=; b=Gke RHDexmTe7hVOjfhuX84tKgrNCwLolpT4dgl5EzSM2LxqxeXEs6mPSkXxdgfWJ8kN bYrY+QphiDJ08kdFTybBTA5J6lqjK1mMbToIcTcX70X7I4JW/9IZErr6ukpPdjP3 cfj2MnrBO5Oxs/cJUA/ErHPv8tzm8M5OCn2QrwWgTzJdkidjGIrZTWqsaxINLOQ3 PlfuCtNCK4Gg9SURf3l0VWvn1efT3Utelx4HvA567L8J5c/U+qvhcy/FWs7t7oif d54PZlHIpzVRSHENAwpOYW4l1k065JvNChy8zWacyzUs5LlxGirV9N++L+49v7Ce OlOZGK7GyBlfDcT+gOw== Received: from mx0b-00154901.pphosted.com (mx0b-00154901.pphosted.com [67.231.157.37]) by mx0b-00154904.pphosted.com (PPS) with ESMTPS id 440wf494bs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 07 Jan 2025 04:39:17 -0500 (EST) Received: from pps.filterd (m0393468.ppops.net [127.0.0.1]) by mx0a-00154901.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5079Met0014232 for ; Tue, 7 Jan 2025 04:39:17 -0500 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2044.outbound.protection.outlook.com [104.47.55.44]) by mx0a-00154901.pphosted.com (PPS) with ESMTPS id 440rwf5vv7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 07 Jan 2025 04:39:16 -0500 (EST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZM8+4QL+7XnbZdWc0cSzSd8qP9wUgr3/s4uy+MkhS7iaWdnkLk7pt9Ke7sdH/NKQGPHwxdKdZL/fO5xMBccu2e9vqxptz9tTB07ekIk9Ylrr9SF2aqtnXGAIRCTQ0Hvd1vRXej8SxeBPNhJXdYaBift7Ercf418xp2CSObY3H1z/3B/uWdXGUCa7m/d10I8bbFjnI5CXMOogXHeAyUYzIyWwIHSBHQsPMos7sUI5mPG/pD6aVwbVU9nXqS1uxIjDm+t1U528x270PoD59Zbarsuc/R5EFHjNO3MI2+x43PINlPZc7T3+VuZvMJLFJ5sLmeDZpJeSTFJIZnBXjjbwuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=EoqGCtKdjwWg9yWmiTMN4G/itTes5XjtUSFzta3h3pk=; b=eqzQMVd4rLjxKOWGSQHX3mtVn3PhERFr0YuM4byU66nE0sh3hUMkq52hqA1krE9bYcDJYVc/JRgEOZ7YDVII73IJmVoBlZtCS1D7MNLJCXzXm/nFSz9jKYxOSeIfMA+v6MJ7HqwEe0j/cJYsFeQdxFfXZ0kmtR6wWo3/XXYPyjtSC7SGG9kBhyzvpVdmBAJTr8CWYpVY3ENrST1FoJpdqQzbywg5G/FL3dYF9Qg4bgcA1YdAq05WvMKa5Jz2IkMwKz3WwwnEYsdldKjHoq72teLyUa8PC8HYYlpfErBBQhxQ7EvU3nQA+8lFy6DtgdRDf2MK9x5ah9LkPvOV+k47lA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=dell.com; dmarc=pass action=none header.from=dell.com; dkim=pass header.d=dell.com; arc=none Received: from PH0PR19MB4938.namprd19.prod.outlook.com (2603:10b6:510:94::9) by BY3PR19MB4961.namprd19.prod.outlook.com (2603:10b6:a03:357::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8335.10; Tue, 7 Jan 2025 09:39:12 +0000 Received: from PH0PR19MB4938.namprd19.prod.outlook.com ([fe80::321c:abcd:c59c:d7d]) by PH0PR19MB4938.namprd19.prod.outlook.com ([fe80::321c:abcd:c59c:d7d%4]) with mapi id 15.20.8314.018; Tue, 7 Jan 2025 09:39:12 +0000 From: "Chen, Alvin W" To: freebsd-current Subject: WIFI compiling error: Can anyone fix it on main branch? Thread-Topic: WIFI compiling error: Can anyone fix it on main branch? Thread-Index: Adtg5/TkoksSMFGcSESiaeQDlBxzHw== Date: Tue, 7 Jan 2025 09:39:12 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_ActionId=50cb3f3f-d12c-493f-9383-9119bdb029d5;MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_ContentBits=0;MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_Enabled=true;MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_Method=Standard;MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_Name=No Protection (Label Only) - Internal Use;MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_SetDate=2025-01-07T09:38:27Z;MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_SiteId=945c199a-83a2-4e80-9f8c-5a91be5752dd; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR19MB4938:EE_|BY3PR19MB4961:EE_ x-ms-office365-filtering-correlation-id: b68671e1-ab95-4c33-ae58-08dd2eff24e9 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|366016|376014|8096899003|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?3xpcKlD8shYkc8OhPkcj6K3BeR4FkHjyUIxPGR+VLx/DOIYPllVQMditzidK?= =?us-ascii?Q?CDyrUqAE0PVuFB1w/cnQEU5WTPQLlbr/m3qEubFVF5Eaf78Q/kFNehgpeiP2?= =?us-ascii?Q?XuGiVvHUbrAorjdeQcgekLllZBvyyeqealOLFkhLfeaqRqVu9YsYPe2P9wHO?= =?us-ascii?Q?EgaJ4SB06gsfeuKF788urIBZHjnhCwWFIo9v9tguvzPt1iQZFjQmzQgDo9iA?= =?us-ascii?Q?6fpexAcjh31zCClP6N4goRzitQmsvIi/1hHhwkbEdrtqn+dWjxBi+0FOCMWg?= =?us-ascii?Q?9s8Qh+k3DueApmWJXXF1b5g35sb+jnTOZTfr/dGQwjPcNmM2o3OrXOl6mt5o?= =?us-ascii?Q?CV92HLg3XZRMEwg/kCNhYE1uCcRG+GoN9XU3ek1C1mSVcpRzwXzV+v0HSP5v?= =?us-ascii?Q?eOOugSCu0HAqIlaSX0ejN2yHpSkfv5Evh7NH9ekx4l7EL2BeJE0vIulmzoBJ?= =?us-ascii?Q?eGHACcjXsBmu8/x6E846uHKbjiDX/znNf7anoZzmBiErzY4ppmuaA2Nlr2yN?= =?us-ascii?Q?sI369TehfYzNBx13wZ+gB2sltvHN0n1h88huk4EIi0sPmLD2L3s3FrkkXx/X?= =?us-ascii?Q?sXw9udHHuUiblm37ygw8jH1v+VU3Jj5OdAljahtljYuQf0nSAuuLL5S27Iu2?= =?us-ascii?Q?V+iQsrVTWuI3KyYxEkvn2u0hvZC01qavP3HN90ehn4IdM6cvmXqA64bT3NvJ?= =?us-ascii?Q?iw0E3gtz1GcwLfPuRdXRSe4asKnJetJ9w5e3z41nGmD268gEpogrWf0VivQK?= =?us-ascii?Q?FvFLxzT1MowMVYQ0mCGEAjSTBalIh9g8XPGJzDcnhf74XK3ShSkPxAjssONC?= =?us-ascii?Q?rnvzUfkAAoZu4hWRunPDyBoAaqdLHggx33l7UoYDDItLYOaxfoPr/Iyjoy6E?= =?us-ascii?Q?UHj/WuKeOVHK7qVmsa6y7LxAwCrNOCdn7wj933l2beV4x0j1VfaYPTV1r0Uy?= =?us-ascii?Q?Sbc9YV2XO8J65glNEpYyIZUDeMJWENYChzMNR49UhVK8LSK65wXBSeIjmV/c?= =?us-ascii?Q?uniO93qa+LdkiG0FnavzkEbigN1s1naaXG1ar41ML1Ry3VN9lAE5b84qhxsA?= =?us-ascii?Q?qUgzmimnFvshWPS9Yo64qkYzw2yEk58FlNEMpkJ3XnlHWC+RtKv/fqnPnzq8?= =?us-ascii?Q?cX1HaI0J1shzXZcOxsX8XuhOaFN2twIPPKOedSrZyu80sLsTvRPsfRk=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR19MB4938.namprd19.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(8096899003)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?JPlReFGbIeBvk5VLA0d5JepeQ46/mbAN0GaPVZdn/eFRAZE6wXbIIhGl3GhO?= =?us-ascii?Q?zhTj+7RG4d6L6RAV1CyVne/Lm65OEJ+w43k9rA9k0JQc1VNFUETqxsK3FsGJ?= =?us-ascii?Q?EnzfDRALnVbMLMLaLrESnHcNQqYrOuX9ZEGKEEf0RkxUpEj55WQy/OcL2u/J?= =?us-ascii?Q?nai4Ic7Ucmh6hR+wjVecGXzYLa6JXdw2HICG5h1vYQLKaOyiQSxJ+5aGwyY8?= =?us-ascii?Q?UYiYMruIqSWKqjJpmFKzf/H+uKmsl4g8kMQDppCy61bBSrFmjTVRL5IYbnS8?= =?us-ascii?Q?LXAyZl111JknSG8jJijaWpwaWTHbsFF0LRIKYfhpe8G/bw2oc5z0VLt0dYhg?= =?us-ascii?Q?WL/quC5chVNYK+9xSaiB0w8jvx4WTcj/6YXmrgOusYfz+HQ+kDCBrVUbj8R8?= =?us-ascii?Q?knifRUM/xr99RBFPN/BUatggUs+iMWVhVaACdBhlEZDrYif4X7h7/lqlOwHf?= =?us-ascii?Q?MZMUIiGQFmXOUSLGRlTIE902m4hNFamozCfCqEnZBf5Cx7gUVY3KT9QVZWBx?= =?us-ascii?Q?L4f3vnOSLCeYS9W4f1vhm1xNePUqxLZJEMiS+vPgNuoDm/RywjJfCpIyAUsO?= =?us-ascii?Q?RKZXWVYYNgkcKibId4Q12GgPF+biV2XD/l4CD8QOHeyZo5lAqVeOkFWMXo8D?= =?us-ascii?Q?8rNmxy/eCCL2+qRVoWRw/vWpWgpjiYxghfH9/qn9xlErQCFTBVCLyx3IHPQN?= =?us-ascii?Q?Wi48z9/X0RkKR3k5wp+n0nwcUYk1zk26Id6dh6XloXc8cKIUVCSex96clv2m?= =?us-ascii?Q?em//+wPmyi3731xA6Ghh1VDjwtTFjS/cCmQNZEic4AVjVWRg7LrJQRD6Ixqz?= =?us-ascii?Q?+1yDx6aTgTLbwkO/JoUGJOYdLTG0HBecZzk1gqnIhZXgtROLQpfy3g54MHkN?= =?us-ascii?Q?MVUZBe1FkURCqhUn5Pdj8ZAohLEsi6IrDnz03uaLzRbHoQZRWPlgQCgNRmfR?= =?us-ascii?Q?WnpeupODx5p9W5xMVp6FhrylFs4fZimbDeT9Ciu1Q79d++uK89hwhHyvUyK+?= =?us-ascii?Q?9oN9Ivn03aiEMYRnFst/ZExWx7RWwqW6GIu2wyTwUNyBQFZC9VcN8+pC91/P?= =?us-ascii?Q?YbeOvyYHPEAuhpHaR4ZTgkcm7WJ11O049Yqfscy0Xb4Xvtk3lJWzVq6C59Nv?= =?us-ascii?Q?BXP4nWfbdV2VKfpx/RjwWl8QDQSZIaI/c/9LkBJzCD25E9yJaPF73xSdjTXZ?= =?us-ascii?Q?diu9VScrzvdsL0w0phNrMPIMODrwUhXTbbwRC675h9YQF16KtJFMbFWx3Ryo?= =?us-ascii?Q?UyrLzahUy6i+HNldgDoqqPhN9RMYMHriGz2aHKulKvcc6kc3wLU2S0n4qMrQ?= =?us-ascii?Q?ShI7zSJr7PXU28sPDbpqvGmoD7aMNFWMcl4F6N1jovyid3rqisSBSdvCFqW6?= =?us-ascii?Q?eqKMfVuiDgxMPZLx//qXRlQn9G5wW//Pmrs/WvUVkHzNEchWuJppsBDSoe92?= =?us-ascii?Q?sTGjGwCgq+j4GfdIFu89w5WBscfAAjAv2q9qgv1g3tANlZ9pnLL1riWbTLTM?= =?us-ascii?Q?sglrEYGDMwvJs1UIRK4qWn5mnAJYaH/gODCuaKF/AVEtoN2tEpdjTbQW0nRS?= =?us-ascii?Q?S2tRHJkVQxXYHMI8YjVnRfgZQdIPkAtNBFgInBtX?= Content-Type: multipart/alternative; boundary="_000_PH0PR19MB493854DABCECDC36AC2014E19E112PH0PR19MB4938namp_" List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 X-OriginatorOrg: Dell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR19MB4938.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b68671e1-ab95-4c33-ae58-08dd2eff24e9 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2025 09:39:12.6887 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 945c199a-83a2-4e80-9f8c-5a91be5752dd X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wIYaULgSBad0OyE9ecAb7HY8qoV1TGYr0P00fDBHjbr1I98Chm3KQGkqVgURqrmAlTALyStswNvWa/FS5Qoh6g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR19MB4961 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-27_02,2024-09-26_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 priorityscore=1501 spamscore=0 adultscore=0 suspectscore=0 impostorscore=0 phishscore=0 clxscore=1011 bulkscore=0 malwarescore=0 mlxlogscore=602 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501070079 X-Proofpoint-GUID: 8gUhw_nRMjG5FJXot8H5xQ7FHFXDuAE5 X-Proofpoint-ORIG-GUID: 8gUhw_nRMjG5FJXot8H5xQ7FHFXDuAE5 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 spamscore=0 impostorscore=0 adultscore=0 suspectscore=0 malwarescore=0 bulkscore=0 mlxlogscore=560 phishscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501070079 X-Rspamd-Queue-Id: 4YS5bp32Yjz50jK X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.90 / 15.00]; WHITELIST_SPF_DKIM(-3.00)[dell.com:d:+,dell.com:s:+]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; DWL_DNSWL_LOW(-1.00)[dell.com:dkim]; ARC_REJECT(1.00)[signature check failed: fail, {[1] = sig:microsoft.com:reject}]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[dell.com,reject]; FORGED_SENDER(0.30)[Weike.Chen@Dell.com,prvs=1102f389dc=weike_chen@dell.com]; R_DKIM_ALLOW(-0.20)[dell.com:s=smtpout1]; RCVD_IN_DNSWL_LOW(-0.20)[67.231.157.37:received,148.163.137.20:from]; R_SPF_ALLOW(-0.20)[+ip4:148.163.137.20]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[Weike.Chen@Dell.com,prvs=1102f389dc=weike_chen@dell.com]; DKIM_TRACE(0.00)[dell.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[148.163.137.20:from]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:22843, ipnet:148.163.137.0/24, country:US]; RCVD_IN_DNSWL_NONE(0.00)[104.47.55.44:received] --_000_PH0PR19MB493854DABCECDC36AC2014E19E112PH0PR19MB4938namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks! Internal Use - Confidential --_000_PH0PR19MB493854DABCECDC36AC2014E19E112PH0PR19MB4938namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Thanks!<= /span>


Internal Use - Confidential

--_000_PH0PR19MB493854DABCECDC36AC2014E19E112PH0PR19MB4938namp_-- From nobody Tue Jan 7 12:16:19 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YS95P5TGzz5kT9h for ; Tue, 07 Jan 2025 12:16:41 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from fhigh-b1-smtp.messagingengine.com (fhigh-b1-smtp.messagingengine.com [202.12.124.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YS95P3ZXDz43RJ for ; Tue, 7 Jan 2025 12:16:41 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; none Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id E35C125400F2; Tue, 7 Jan 2025 07:16:39 -0500 (EST) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-02.internal (MEProxy); Tue, 07 Jan 2025 07:16:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1736252199; x=1736338599; bh=Nbc7QGtPYeOWeO+EiKLpCEo3RDUNxEM/ VwCvxGvZs9E=; b=nuZmnROGWv0U04axibCShXnx0YwnxzTWRuKq7vpBs6q0HNze b3HNTyGe5DB8rXHgbwLNkCHxxNVJ0J8Zv2Yk+EsJ30+iXFLhmyQz357OgekNY5UW LUdhbMK040r/EkbQU93qtf3Mcvs/3FffziII8QoD4gOb42853ZPc5QUCtc5g7xNy dFdroWFBrWxwT4FPc6qCDckPHC9AlAGwblFAHko3JGpw/wqCzF9O5AdkRu95tuRh iP2lmARl6sMZolJMFwoJSPEpKaTwsgFLXv2Q0SmYmM1cbnhoEfbTdveOgmL7Mdq4 VdwIH5i7gNl7st68EjpVDYcq+14Ml526IIubDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1736252199; x= 1736338599; bh=Nbc7QGtPYeOWeO+EiKLpCEo3RDUNxEM/VwCvxGvZs9E=; b=w JiWsXh7jWS2n+KidhUpR7SdZEZ6pqgDfXl2dICPZLZOmAwBRO00/36HLO4M9hjuL 3EEG+5pAK4R76oFclXuSOTWgXOapZp5u1tSIF56e1DAteQttWpsY4BNOT5LPmtxb aTjB8k+xmkOEUyp2A8Y9qP4KdmdU5IRVImC5bzBio2+ysPaMv0hwq5YfU/uuCUvF uT16bNbU7yOdn7bEiYJ/ct+QNbL6cl8JEUrkWqjvH529nUawVZu5r+K8jfOyg0rq 5TxdcsVISVRA3S4wVmd489/MErDLD5xjRFGhvt0ILSat0vvmVBTpu1aBrgXwNmgd ZQC2A0c7HM08MNS2C4vGA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudegvddgfeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefoggffhf fvvefkjghfufgtgfesthejredtredttdenucfhrhhomhepfdffrghvvgcuvehothhtlhgv hhhusggvrhdfuceouggthhesshhkuhhnkhifvghrkhhsrdgrtheqnecuggftrfgrthhtvg hrnhephfevvddujeetkeevfefhgfethfeiffefheejtdektdeuleehvdejueethefffffg necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggthh esshhkuhhnkhifvghrkhhsrdgrthdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhht phhouhhtpdhrtghpthhtohepfigvihhkvgdrtghhvghnseguvghllhdrtghomhdprhgtph htthhopehfrhgvvggsshguqdgtuhhrrhgvnhhtsehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 7B5C9B0006B; Tue, 7 Jan 2025 07:16:39 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Date: Tue, 07 Jan 2025 12:16:19 +0000 From: "Dave Cottlehuber" To: "Chen, Alvin W" Cc: freebsd-current Message-Id: <617a15f6-c3cc-4d56-902f-03ae084c5cd5@app.fastmail.com> In-Reply-To: References: Subject: Re: WIFI compiling error: Can anyone fix it on main branch? Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4YS95P3ZXDz43RJ X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] On Tue, 7 Jan 2025, at 09:39, Chen, Alvin W wrote: > Thanks! > > Internal Use - Confidential Hi Alvin, Can you share your HEAD commit, & an error message? 749b3b2c0629 works fine on my machine, its current as of 2 hours ago. A+ Dave From nobody Wed Jan 8 09:45:14 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YSjhF75Pqz5k50C for ; Wed, 08 Jan 2025 09:45:17 +0000 (UTC) (envelope-from help@mokka.ru) Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSjhD5vCtz4J5n for ; Wed, 8 Jan 2025 09:45:16 +0000 (UTC) (envelope-from help@mokka.ru) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mokka-ru.20230601.gappssmtp.com header.s=20230601 header.b=ny4Spw+S; spf=neutral (mx1.freebsd.org: 2607:f8b0:4864:20::235 is neither permitted nor denied by domain of help@mokka.ru) smtp.mailfrom=help@mokka.ru; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=mokka.ru (policy=quarantine) Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-3eb7e725aa0so6143550b6e.0 for ; Wed, 08 Jan 2025 01:45:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mokka-ru.20230601.gappssmtp.com; s=20230601; t=1736329515; x=1736934315; darn=freebsd.org; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=1LC23qjbeeCdGtJnkcnt/cSRwZI5AVngxJ53cExPcak=; b=ny4Spw+SigHFSztihYvSjARdR4Z5eSNyMIx/kTAZwImZUHbzPBjZTLF3SWkLTnU1wH m4gVFqA8YHigzJnkEhlcSDz1iW5rQQ9kFXlPwt4RzLB08uTiQMvZeOPvAFnRL96JkFhE us15bg2DO1c90e788MU8UDJTZPoa4quKEZyfEnxtRO0YBamBFeCbL6hrO/nVKSs0shzJ ZS7HoYfFMj9p1XUTc/30HQ5BUWD9M2EW0fgxXPp3QxaKvsu4L/rgfO3UsJQc4Tgcrc3w j12wwJDBo9BxpkDJws8NkpnUETlqQBwvsVVCP9vlyomsdfuDXQgTDbkPUePOm53lmIdT BD+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736329515; x=1736934315; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1LC23qjbeeCdGtJnkcnt/cSRwZI5AVngxJ53cExPcak=; b=VwvSf4kI2kdFLYOUwMEWU+4p7J7je4EJ1h21ygASRbnqV3XjF1e9AouyluIrnMOQZs 1TNLMu22Jdp+qPagVbzmTb3OKUUHcs9GBawyXGCdF36uN5LibFFSr2+XTLjcasRtGmVV +JOSzqVLacOW7vK1M+EwQw9gloeXJMcs+Nklgz2NU5tkYZ6bSQuUmOU5/F57pcqCI8dM WNL9ehN8RGB0obP9sHFtTDdnI8ktb3z7ji+JD7CfTXFQ3YQSP0+0DQvRyW3N0nIfJiTn ViJ6t0EegGFBcAjwZ5FDmWI9O04RalJjwTuEOFz4/YLJZLE+XuJhDNJZM7y7lpLdQmXQ YbjQ== X-Forwarded-Encrypted: i=1; AJvYcCXt3e6o5+hs6flSb6DBy8vTM/IG4dse5MD21oXYDdIWFGpbydIfuM8/NJQE00iKN8m6Uw7Tz7QWPoImqHucBs8=@freebsd.org X-Gm-Message-State: AOJu0Yzt4xpTn2txaJt4jkhTPIJYbpalCziLFYsIcB5pREwyjnRfZDo4 Tpx9rIr0KaGhmgzBStefxB08+g2iYJ5MxZZsat8CFJnGN137hoUkfNpvWOP8ozqeFKuJoBvz3Gi NISuQRKstVNbWgVt+oRaaSZk3tpQ0pckoZBfywQ== X-Gm-Gg: ASbGncvPMiq41XGyfBwqPl7cVmUD5Vi1kPA5d4Yv9Ntk7qDV6IBbma4T9ExX6PLB+Yu FPi0y6nnBNeqZ3jEI7TxmaQXCcn3dUupeVhz+1Zk= X-Google-Smtp-Source: AGHT+IH/rZ7Ja5iU2XP69cfm1Y9KgZQPoZ5+4ZniBIOdmIEAe6ENGyltex1twqZ6RaHPH0TzRKR3X9A+5Y+bx4jRSV0= X-Received: by 2002:a05:6808:f16:b0:3e6:5f6:c2b5 with SMTP id 5614622812f47-3ef2ed6bc7cmr1263929b6e.26.1736329515337; Wed, 08 Jan 2025 01:45:15 -0800 (PST) Received: from 674862890342 named unknown by gmailapi.google.com with HTTPREST; Wed, 8 Jan 2025 09:45:14 +0000 From: =?UTF-8?B?0J/QvtC00LTQtdGA0LbQutCwINCc0L7QutC60LA=?= In-Reply-To: <617a15f6-c3cc-4d56-902f-03ae084c5cd5@app.fastmail.com> References: <617a15f6-c3cc-4d56-902f-03ae084c5cd5@app.fastmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Date: Wed, 8 Jan 2025 09:45:14 +0000 X-Gm-Features: AbW1kvYt4Q1FuC35dWZ0WHoj5Lk0Rd50ymHTZvMSFGGj2ALPwJmw_sJEQapqVP8 Message-ID: Subject: #263542896 WIFI compiling error: Can anyone fix it on main branch? To: Weike.Chen@dell.com, freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="000000000000f99e7a062b2eb797" X-Rspamd-Queue-Id: 4YSjhD5vCtz4J5n X-Spamd-Bar: / X-Spamd-Result: default: False [-0.69 / 15.00]; DMARC_POLICY_QUARANTINE(1.50)[mokka.ru : No valid SPF, DKIM not aligned (relaxed),quarantine]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; R_DKIM_ALLOW(-0.20)[mokka-ru.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_BASE64_TEXT(0.10)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::235:from]; R_SPF_NEUTRAL(0.00)[?all]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[mokka-ru.20230601.gappssmtp.com:+] --000000000000f99e7a062b2eb797 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 4oCL4oCL4oCL4oCL4oCL4oCL4oCL4oCL4oCL4oCL0JzRiyDRgNCw0LHQvtGC0LDQtdC8INC90LDQ tCDQstCw0YjQuNC8INC30LDQv9GA0L7RgdC+0LwuINCd0LDQvCDQv9C+0L3QsNC00L7QsdC40LvQ vtGB0Ywg0YfRg9GC0Ywg0LHQvtC70YzRiNC1DQrQstGA0LXQvNC10L3QuCwg0YfRgtC+0LHRiyDR gNC10YjQuNGC0Ywg0LLQsNGIINCy0L7Qv9GA0L7RgSAjMjYzNTQyODk2LiDQldGJ0LUgMjQg0YfQ sNGB0LAsINC4INC80Ysg0L/QvtGB0YLQsNGA0LDQtdC80YHRjw0K0Log0LLQsNC8INCy0LXRgNC9 0YPRgtGM0YHRjy4g0J/RgNC40L3QvtGB0LjQvCDQuNC30LLQuNC90LXQvdC40Y8g0LfQsCDQvdC1 0YPQtNC+0LHRgdGC0LLQsC4NCg0K0J/QvtC20LDQu9GD0LnRgdGC0LAsINC90LUg0L7RgtCy0LXR h9Cw0LnRgtC1INC90LAg0Y3RgtC+INC/0LjRgdGM0LzQviwg0YLQsNC6INC60LDQuiDQvtC90L4g 0YHRhNC+0YDQvNC40YDQvtCy0LDQvdC+DQrQsNCy0YLQvtC80LDRgtC40YfQtdGB0LrQuC4NCg0K DQoNCtChINGD0LLQsNC20LXQvdC40LXQvCwg0YHQu9GD0LbQsdCwINC/0L7QtNC00LXRgNC20LrQ uCDQnNC+0LrQutCwDQpbI0lELTI2MzU0Mjg5Nl0NCg0K0LLRgtC+0YDQvdC40LosIDcg0Y/QvdCy 0LDRgNGPIDIwMjUg0LMuIDEyOjE2LCBvd25lci1mcmVlYnNkLWN1cnJlbnRARnJlZUJTRC5vcmc6 DQoNCj4gT24gVHVlLCA3IEphbiAyMDI1LCBhdCAwOTozOSwgQ2hlbiwgQWx2aW4gVyB3cm90ZToN Cj4gPiBUaGFua3MhDQo+ID4NCj4gPiBJbnRlcm5hbCBVc2UgLSBDb25maWRlbnRpYWwNCj4NCj4g SGkgQWx2aW4sDQo+DQo+IENhbiB5b3Ugc2hhcmUgeW91ciBIRUFEIGNvbW1pdCwgJiBhbiBlcnJv ciBtZXNzYWdlPw0KPg0KPiA3NDliM2IyYzA2Mjkgd29ya3MgZmluZSBvbiBteSBtYWNoaW5lLCBp dHMgY3VycmVudCBhcyBvZiAyIGhvdXJzIGFnby4NCj4NCj4gQSsNCj4gRGF2ZQ0KPg0KPg0K --000000000000f99e7a062b2eb797 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+4oCL4oCL4oCL4oCL4oCL4oCL4oCL4oCL4oCL4oCL0JzRiyDRgNCw0LHQ vtGC0LDQtdC8INC90LDQtCDQstCw0YjQuNC8INC30LDQv9GA0L7RgdC+0LwuINCd0LDQvCDQv9C+ 0L3QsNC00L7QsdC40LvQvtGB0Ywg0YfRg9GC0Ywg0LHQvtC70YzRiNC1INCy0YDQtdC80LXQvdC4 LCDRh9GC0L7QsdGLINGA0LXRiNC40YLRjCDQstCw0Ygg0LLQvtC/0YDQvtGBICMyNjM1NDI4OTYu INCV0YnQtSAyNCDRh9Cw0YHQsCwg0Lgg0LzRiyDQv9C+0YHRgtCw0YDQsNC10LzRgdGPINC6INCy 0LDQvCDQstC10YDQvdGD0YLRjNGB0Y8uINCf0YDQuNC90L7RgdC40Lwg0LjQt9Cy0LjQvdC10L3Q uNGPINC30LAg0L3QtdGD0LTQvtCx0YHRgtCy0LAuIDxicj48YnI+0J/QvtC20LDQu9GD0LnRgdGC 0LAsINC90LUg0L7RgtCy0LXRh9Cw0LnRgtC1INC90LAg0Y3RgtC+INC/0LjRgdGM0LzQviwg0YLQ sNC6INC60LDQuiDQvtC90L4g0YHRhNC+0YDQvNC40YDQvtCy0LDQvdC+INCw0LLRgtC+0LzQsNGC 0LjRh9C10YHQutC4Lg0KPGJyPjxicj48YnI+PGJyPtChINGD0LLQsNC20LXQvdC40LXQvCwg0YHQ u9GD0LbQsdCwINC/0L7QtNC00LXRgNC20LrQuCDQnNC+0LrQutCwPGRpdj5bI0lELTI2MzU0Mjg5 Nl08L2Rpdj48L2Rpdj48ZGl2IGNsYXNzPSJnbWFpbF9leHRyYSI+PGJyPjxkaXYgY2xhc3M9Imdt YWlsX3F1b3RlIj7QstGC0L7RgNC90LjQuiwgNyDRj9C90LLQsNGA0Y8gMjAyNSDQsy4gMTI6MTYs IG93bmVyLWZyZWVic2QtY3VycmVudEBGcmVlQlNELm9yZzo8YnI+PGJsb2NrcXVvdGUgY2xhc3M9 ImdtYWlsX3F1b3RlIj48ZGl2Pk9uIFR1ZSwgNyBKYW4gMjAyNSwgYXQgMDk6MzksIENoZW4sIEFs dmluIFcgd3JvdGU6PC9kaXY+PGRpdj4mZ3Q7IFRoYW5rcyE8L2Rpdj48ZGl2PiZndDs8L2Rpdj48 ZGl2PiZndDsgSW50ZXJuYWwgVXNlIC0gQ29uZmlkZW50aWFsPC9kaXY+PGRpdj48YnI+PC9kaXY+ PGRpdj5IaSBBbHZpbiw8L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PkNhbiB5b3Ugc2hhcmUgeW91 ciBIRUFEIGNvbW1pdCwgJmFtcDsgYW4gZXJyb3IgbWVzc2FnZT88L2Rpdj48ZGl2Pjxicj48L2Rp dj48ZGl2Pjc0OWIzYjJjMDYyOSB3b3JrcyBmaW5lIG9uIG15IG1hY2hpbmUsIGl0cyBjdXJyZW50 IGFzIG9mIDIgaG91cnMgYWdvLjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+QSs8L2Rpdj48ZGl2 PkRhdmU8L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2Jsb2NrcXVvdGU+PC9kaXY+PGJyPjwvZGl2Pg0K --000000000000f99e7a062b2eb797-- From nobody Wed Jan 8 10:40:04 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YSkvb367fz5k9dK for ; Wed, 08 Jan 2025 10:40:11 +0000 (UTC) (envelope-from rodrigo@osorio.me) Received: from smtp.osorio.me (mvd.osorio.me [37.187.111.94]) by mx1.freebsd.org (Postfix) with ESMTP id 4YSkvZ40t3z4NYx for ; Wed, 8 Jan 2025 10:40:10 +0000 (UTC) (envelope-from rodrigo@osorio.me) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of rodrigo@osorio.me designates 37.187.111.94 as permitted sender) smtp.mailfrom=rodrigo@osorio.me; dmarc=none Received: from [192.168.1.39] (lfbn-idf1-1-971-net.w86-238.abo.wanadoo.fr [86.238.50.0]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by smtp.osorio.me (Postfix) with ESMTPSA id 5281DC1B0D for ; Wed, 08 Jan 2025 10:40:11 +0000 (UTC) Message-ID: <25a3c7af-93b6-4615-a40f-8932e9e4cc3c@osorio.me> Date: Wed, 8 Jan 2025 11:40:04 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: freebsd-current@freebsd.org From: Rodrigo Osorio Subject: From time to time USB devices stop working with FreeBSD 15.0-CURRENT Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4YSkvZ40t3z4NYx X-Spamd-Bar: - X-Spamd-Result: default: False [-1.57 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_SPAM_SHORT(0.52)[0.520]; R_SPF_ALLOW(-0.20)[+ip4:37.187.111.94]; RCVD_NO_TLS_LAST(0.10)[]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:16276, ipnet:37.187.0.0/16, country:FR]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[rodrigo]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[osorio.me]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_HAS_DN(0.00)[] Hi, I'm currently running FreeBSD 15.0-CURRENT main-n274569-95a7aa800987 GENERIC amd64, and since main-n273400-5e5e4e1cf0c3 update I start experiencing issues with UBS devices. From time to time, it can occurs 3 or 4 times per day, my USB devices stop working, and in verbose mode I have the following message: Jan  8 11:11:52 defiant kernel: witness_lock_list_get: witness exhausted If I unplug USB devices, I see the detach messages Jan  8 11:13:43 defiant kernel: ugen1.3: at usbus1 (disconnected) Jan  8 11:13:43 defiant kernel: uhub2: at uhub1, port 3, addr 2 (disconnected) Jan  8 11:13:43 defiant kernel: ugen1.4: at usbus1 (disconnected) Jan  8 11:13:43 defiant kernel: uhub3: at uhub2, port 1, addr 3 (disconnected) Jan  8 11:13:43 defiant kernel: ugen1.5: at usbus1 (disconnected) Jan  8 11:13:43 defiant kernel: usbhid0: at uhub3, port 2, addr 4 (disconnected) Jan  8 11:13:43 defiant kernel: hkbd0: detached Jan  8 11:13:43 defiant kernel: hidbus0: detached Jan  8 11:13:43 defiant kernel: usbhid0: detached Jan  8 11:13:43 defiant kernel: usbhid1: at uhub3, port 2, addr 4 (disconnected) Jan  8 11:13:43 defiant kernel: hidbus1: detached Jan  8 11:13:43 defiant kernel: usbhid1: detached Jan  8 11:13:43 defiant kernel: usbhid2: at uhub3, port 2, addr 4 (disconnected) Jan  8 11:13:43 defiant kernel: hkbd1: detached Jan  8 11:13:43 defiant kernel: hcons0: detached Jan  8 11:13:44 defiant kernel: hsctrl0: detached Jan  8 11:13:44 defiant kernel: hidbus2: detached Jan  8 11:13:44 defiant kernel: usbhid2: detached Jan  8 11:13:44 defiant kernel: ugen1.6: at usbus1 (disconnected) Jan  8 11:13:44 defiant kernel: uaudio0: at uhub3, port 4, addr 5 (disconnected) Jan  8 11:13:44 defiant kernel: pcm1: detached Jan  8 11:13:44 defiant kernel: uaudio0: detached Jan  8 11:13:44 defiant kernel: uhub3: detached Jan  8 11:13:44 defiant kernel: ugen1.7: at usbus1 (disconnected) Jan  8 11:13:44 defiant kernel: usbhid3: at uhub2, port 3, addr 6 (disconnected) Jan  8 11:13:45 defiant kernel: hkbd2: detached Jan  8 11:13:45 defiant kernel: hidbus3: detached Jan  8 11:13:45 defiant kernel: usbhid3: detached Jan  8 11:13:45 defiant kernel: usbhid4: at uhub2, port 3, addr 6 (disconnected) Jan  8 11:13:45 defiant kernel: hsctrl1: detached Jan  8 11:13:45 defiant kernel: hcons1: detached Jan  8 11:13:45 defiant kernel: hms0: detached Jan  8 11:13:45 defiant kernel: hidbus4: detached Jan  8 11:13:45 defiant kernel: usbhid4: detached Jan  8 11:13:45 defiant kernel: uhub2: detached Jan  8 11:13:45 defiant kernel: ugen1.11: at usbus1 (disconnected) Jan  8 11:13:45 defiant kernel: uhub4: at uhub1, port 13, addr 10 (disconnected) Jan  8 11:13:46 defiant kernel: uhub4: detached But if I try to reconnect any USB device, I got a TIMEOUT, and a reboot is required to recover. Jan  8 11:14:05 defiant kernel: usbd_setup_device_desc: getting device descriptor at addr 11 failed, USB_ERR_TIMEOUT Jan  8 11:14:05 defiant kernel: usbd_req_re_enumerate: addr=11, set address failed! (USB_ERR_IOERROR, ignored) Jan  8 11:14:17 defiant kernel: usbd_setup_device_desc: getting device descriptor at addr 11 failed, USB_ERR_TIMEOUT The issue doesn't seem related to a specific USB device. Let me know if I can give you more context or additional test to help sorting out this issue. All the best -- Rodrigo From nobody Wed Jan 8 17:31:49 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YSw2s1QV2z5kq0D for ; Wed, 08 Jan 2025 17:32:05 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSw2r0mncz42xq for ; Wed, 8 Jan 2025 17:32:04 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.208.46 as permitted sender) smtp.mailfrom=asomers@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none) Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-5d3d2a30afcso31377956a12.3 for ; Wed, 08 Jan 2025 09:32:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736357522; x=1736962322; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xrvFdMgoy8GrD1NYJyjvftX0CX8Sawk6E3m/3bxXBUw=; b=Q9Ncink4sXRlSLKQz75ENKKsNJCMawsSP1A+p6G7/4UmC9xhh6HzAcunQPik58rZyU 7Rk1lE1hbzS8SXBdd+bmcmSFmW4CZFEFRZhWGVHzBVhSq/5jkICEl30+jW8XR/LLz9M/ U/Ry6IdEJ8V/0ggkq4EanCcwIGkkKs6QCnkkngtBdU+S4d6hDO23i0/knyi162kSmQjy 5TzOIk6KJI6NRd2ZBE/bK21EvK9AB6GbnvHEtH5K7jOzHEOrNbO7fxXVIoOj46gj3uEP ExgXoEQYTIs2jMbw7GQUYRfI5Tle7UEig69kBDo9g8m9e2RiYCOKIQ+YyzUrvHYEEpSG 27vg== X-Gm-Message-State: AOJu0YyKPuM9kpe+0Fnn4z78BXXZgjnctpr4P5eifJ2fcdS6H3+m7+48 5agpqdIsmyQ5RaySzAnYNXtbt85K5OcYjbKpT3OnEG7SbCeaKgiGcX4yt2KwXm1Y1B0puMCVIbo 4OnqikKEaDSbZRfkz+Vc4tOj8IhuwuA== X-Gm-Gg: ASbGncthEICbkEbt5v1ou49B7/IDoTJDBUL6F9kSMnFg0VmNGbg8zDa2Wd1AMx0jrga 9Y41ycEpv3ngjuWpNNFbUU2STWQ6Wb7KIqmmx2w== X-Google-Smtp-Source: AGHT+IHDakp+vTjTzOO97dpZvvGB31+Mrqe9WCeUasoo8fERp2JaXJ/zgX52aOKRpboLpAC9+CqDQLzrKkBJh8p4xIs= X-Received: by 2002:a05:6402:3583:b0:5d4:34a5:e317 with SMTP id 4fb4d7f45d1cf-5d972e4dcf9mr3505716a12.22.1736357521566; Wed, 08 Jan 2025 09:32:01 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 From: Alan Somers Date: Wed, 8 Jan 2025 10:31:49 -0700 X-Gm-Features: AbW1kvYOIGDvrLja4VsKF0lbYCTR-R0_13dSHGFNDjt8x2Cw6CoHAJSuqLP44EE Message-ID: Subject: What's the newest C++ standard that we can target? To: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4YSw2r0mncz42xq X-Spamd-Bar: / X-Spamd-Result: default: False [-0.74 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.83)[-0.829]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; NEURAL_HAM_MEDIUM(-0.02)[-0.017]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; FREEFALL_USER(0.00)[asomers]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.46:from]; TO_DOM_EQ_FROM_DOM(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.46:from] What is the newest C++ standard that we can target in src, and be confident that it will compile on all targets? Can we use C++20? From nobody Wed Jan 8 17:44:43 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YSwKV4RNKz5kqnd for ; Wed, 08 Jan 2025 17:44:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSwKV3bJMz45Nv; Wed, 8 Jan 2025 17:44:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736358286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rD9pmcodow1r1+kuZi9XTlTR+L+rkySaM7U8qtuQBLk=; b=W1Gvrh/LP08D9T8vLhemHSGYUD0CGwRYGtgHG4gI7rqdaqq4dHZFhap6IdOjxYu58tCKg1 9uFSJJBs7gKOL3WHggvaS8X1M3ACDYq825Uk+VsQtZpMhGdwGADFe6EJPknlVlfo+Q9Uai yC3X1/s3cbOMqUKvNGeYJaKsPqMcm1c2/GqtLq+KTcrexirUe6Q0kd5ebNtLbXFcfOoXEu Rw8tLy388hnCRRr4h0F8D3IscAIkrT8BvMV+olG5aetIpKNL4iyh69LZC9C/t+SJl64/kC COYaTvcH3xhe4gVJR3F2HkAocyu4nxby3NeZtBt/4PjDmicqHkKVPpV3dj0MrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736358286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rD9pmcodow1r1+kuZi9XTlTR+L+rkySaM7U8qtuQBLk=; b=Uo222+FIq8ZvXzQ1g34BKIh3GdWrlUBxV3wNgatcDsJPRn9S4OWGQoAiZlqw9j0SBtDgGr 0Ukz673ntmUIz5ls8gMs1d/4lHczxnF02KHR3DKyYu5YwBckZiL3yqFz6ez+tadSW9CUrn sTPvauxF28gOBcEUPnFndNw2TtKHS5+oh+xEvrRaeU0iig3fP1pGug8XumrqDj2GnaCVD2 4g1ELr5oyh/Ozgonol8Bg1c7f2kRsjPATJZ+za4/d5KV01DvVUr14eCEbSY2rjX+ljcPnL PAzhwzmWNM7fHmKzBkUDz0/k4GdXuW7c+FVRjNBkBWyL4lCnGXCoy/GcdsfelA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736358286; a=rsa-sha256; cv=none; b=DO31cmt2GPZwQOzzlzHzXl/BRLPphLMlGSl7w3vjd4DTgdGyBAyCid1Z3/O1IRFgWMKtVL 5iJ1x5aiwyMja+YqhFAbI+QUChM/wAyiWU1rwoyw8lBKWHCZrBE3V3g8KzVyQWCdSGB1uG RUb2Z4P0M+0gXUqmf5bYQIFyM0WqfDWB0WGk7/pMmVnh2j5eJ3lyrFQxnhyca4Y3+lyjoK x68/5wcI8KAVG3Va9s7nod8isOk8pwjQ6/0E01AA1eDL24pW3E3uporV/gbBv/Juy/3SDF IwFD5chmi1IzA9ZC2nBdBcCJEt+vz0k+yY0B/2LZhnH1aygcC97IphypYislRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R10" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YSwKV2JffzrJS; Wed, 08 Jan 2025 17:44:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 55EFE65393; Wed, 08 Jan 2025 18:44:44 +0100 (CET) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.9\)) Subject: Re: What's the newest C++ standard that we can target? From: Dimitry Andric In-Reply-To: Date: Wed, 8 Jan 2025 18:44:43 +0100 Cc: FreeBSD CURRENT Content-Transfer-Encoding: 7bit Message-Id: <4F5BB7D7-94F6-46D2-B467-4E51991311BE@FreeBSD.org> References: To: Alan Somers X-Mailer: Apple Mail (2.3731.700.6.1.9) On 8 Jan 2025, at 18:31, Alan Somers wrote: > > What is the newest C++ standard that we can target in src, and be > confident that it will compile on all targets? Can we use C++20? C++17 is probably the safest one, as C++20 support in libc++ 19 is mostly done, but not entirely complete: https://libcxx.llvm.org/Status/Cxx20.html As long as you avoid modules, and the more exotic parts, you should be fine. One glaring remaining issue is that std::jthread support is still gated under -fexperimental-library, at least until libc++ 20 comes out. That said, older existing releases don't have libc++ 19 yet, and they are missing a few headers too. So it depends on whether you want to target -CURRENT only? -Dimitry From nobody Wed Jan 8 17:46:53 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YSwNF2pzJz5kqnt for ; Wed, 08 Jan 2025 17:47:09 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSwND644pz46HJ; Wed, 8 Jan 2025 17:47:08 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-5d3f65844deso28852167a12.0; Wed, 08 Jan 2025 09:47:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736358425; x=1736963225; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8Aif0YZJ2xyamRlToYkdTpXznTbOlJx102WVMwIB4a0=; b=rmpCOdjTFikOQoqrm5On+ILh8F0Hl3b9DbnshpcoCdHDm6Yiqz3hcZyguQdCq/XB05 82N1XhtdQt/MJSXKDCPUI8i+ZwgucCXFzUo8RicKbHwcIsyi8YWpVt0wye1uQs/Fag4s /4dKtnOBqPRxgr2KZK+Ow1WLSTxmSgzkeGosSayK3xTWAnzqL8EEkDLUSlQQ8+Xnxgtd sB4PXyroJT6uftMrYNcrLFDXTTnKaOlSc1ERgJASgyh3DoMZMxkk8OaRW89zC8vS4Sa+ TZruRnFhSLcv4l5WvcpAyp7Kg9lsdP9qlwvg/pfq3xpKFvVtL8TeTRH3L7PsvUJ1XJor RGqQ== X-Gm-Message-State: AOJu0Yz3nqfIbTdQxywEX/NIuvIkM1bDi1zhnyrzJpPwgh6AEJNKZfQD sjlVULnJ5zsSg9ad2BD6/z28WDQj9WUIgyEaaDbph4IPaaIHd4UM2KFa9Iyeh9d6jfgPdigjcy3 QtMm6mpVW//tzd7jAeEPR3nxetMmJQQ== X-Gm-Gg: ASbGncuxiavI4O7Z4oJJZ0s+pFjw+UG2Sf/rIJqrN4ECW6nOh/sBil47+TMF/oCuY9H mTWD+P3BCUczk/KQW1KDxEsRIHnK8vw2Z4iNKAw== X-Google-Smtp-Source: AGHT+IGNAgOE14puOG6XYm/8azFjs1CaxJvL3RGkVYrt9vioi505LYxIpP6BnFDG/BbcUVtVt2wifXo83aNN0TQYyYA= X-Received: by 2002:a05:6402:3217:b0:5cf:bcaf:98ec with SMTP id 4fb4d7f45d1cf-5d972e48686mr3384954a12.26.1736358425310; Wed, 08 Jan 2025 09:47:05 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <4F5BB7D7-94F6-46D2-B467-4E51991311BE@FreeBSD.org> In-Reply-To: <4F5BB7D7-94F6-46D2-B467-4E51991311BE@FreeBSD.org> From: Alan Somers Date: Wed, 8 Jan 2025 10:46:53 -0700 X-Gm-Features: AbW1kvZZyB5-U5HLoQrp0m6TB02PpbARUTXiQ9E76PSUo5hUS6m2dHJHBp-wlnw Message-ID: Subject: Re: What's the newest C++ standard that we can target? To: Dimitry Andric Cc: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4YSwND644pz46HJ X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] On Wed, Jan 8, 2025 at 10:44=E2=80=AFAM Dimitry Andric wr= ote: > > On 8 Jan 2025, at 18:31, Alan Somers wrote: > > > > What is the newest C++ standard that we can target in src, and be > > confident that it will compile on all targets? Can we use C++20? > > C++17 is probably the safest one, as C++20 support in libc++ 19 is > mostly done, but not entirely complete: > > https://libcxx.llvm.org/Status/Cxx20.html > > As long as you avoid modules, and the more exotic parts, you should be > fine. One glaring remaining issue is that std::jthread support is still > gated under -fexperimental-library, at least until libc++ 20 comes out. > > That said, older existing releases don't have libc++ 19 yet, and they > are missing a few headers too. So it depends on whether you want to > target -CURRENT only? > > -Dimitry I guess I should've mentioned that I would like to MFC to stable/14, too. I certainly intend to avoid exotic parts. Is there any better way to ensure that may code will build other than "make universe"? From nobody Wed Jan 8 17:49:06 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YSwQk6dw4z5krQ5 for ; Wed, 08 Jan 2025 17:49:18 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSwQk6DFWz478G; Wed, 8 Jan 2025 17:49:18 +0000 (UTC) (envelope-from theraven@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736358558; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Uf12qHmKYNs7VFbysI2HtKztzW6Xav/z8cXjMADmfHU=; b=JXeMFfbpLkRpgganYr8WgQDFmr23hUDq5r5mg/XZHRygfdSyoTnednRpDLfH9fpKBksqQm zGRS89JneYg0vac2wCUbh1LPawiOrFCer213zpCVN4y2ZlE6XAWtt0/dznQxoZmGwmFXS4 FdKSEWe5fWSy9O6//IIqSAtn0qe+sdFPsN8qmMozAjmlw60Y7RyTbCLIHrv1p3y1Cxrklj puwzt3CipbkWQilhrbAP+jWs7U+Lmf5ejKUU8Sx3pKaHK+Eq/lt6WkPp/+ean1heMdHVX4 5p8RhA6bTrH9ZiA84wU5wrYXXFx5zg4pFbfF+ziXXp4QNNmfQF4Lfz3beHACkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736358558; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Uf12qHmKYNs7VFbysI2HtKztzW6Xav/z8cXjMADmfHU=; b=Cud1aVC1mZY7PT15OKS92HWxkxLHQ2sAGo0CSdf3q8cElDcqAwk97oyPpGJjWIY/PlSGRt 9Wr0WLv24a9M+6yKPklRuP9e/rGE5A6rylzgFoCyW5vmYgAZGRkOdZNzW+/dxK3Du92Paw uV2FORvNxRlGnIgeey5UgQvaMavxVuocAzdZNbrvb1cxH2RAAjg7bG9wKPV425BAYEfdxx FrwwuE3lITxKUSf+9j2kKwwMocAPcyDm6m6zTgeivUPDeXMQAdNiBFjZb0fYrDxn5QwV9G wCCT+VJzFEBOehyvWOeqSxtoHF53dFsE+yNtm4t3TddzP2tcc8+sQUfshwUwGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736358558; a=rsa-sha256; cv=none; b=IqBLTsPt0bzmbuY3WfvOQ3xzKkHSfntB6tx9+myv/ZMelNKhVIUHF/Mu1PcwuSYjcWDDEE /o1MbY+8m9mdtj4geeQgE9EYv8vidCYNwvhY8aKm7TODheAuu2Fx200dNYP6K2HXiaV9PL ipL/KFyYYLZS9gBi3OLmZBgCRy4cePcuwH8tfj2Q7pe/JWaCzTcYGCeyRQ+S3fe+KptKwL 5RzhQlnt0JTBjOsVKXj2vyuPC/JQV44jvKbNOHusHKmQMYzOhkavjHuccnEVdPjRSrgRKI RqRXChmFiy2KBey8hm+g/Fz7zZbhsHymnB5S9Z93THAbUswD0XJnB0Xr7STCJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YSwQk5RZRzrJT; Wed, 08 Jan 2025 17:49:18 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtpclient.apple (host81-141-222-158.range81-141.btcentralplus.com [81.141.222.158]) by smtp.theravensnest.org (Postfix) with ESMTPSA id AA5FAD8C7; Wed, 08 Jan 2025 17:49:17 +0000 (GMT) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: What's the newest C++ standard that we can target? From: David Chisnall In-Reply-To: Date: Wed, 8 Jan 2025 17:49:06 +0000 Cc: FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <5F5098DD-075A-443F-8771-362DD2FF270D@FreeBSD.org> References: To: Alan Somers X-Mailer: Apple Mail (2.3776.700.51.11.1) On 8 Jan 2025, at 17:31, Alan Somers wrote: >=20 > What is the newest C++ standard that we can target in src, and be > confident that it will compile on all targets? Can we use C++20? C++20 is pretty well supported by clang 13 (I=E2=80=99m using C++20 = features on a project that needs to compile with clang 13). I believe = all STABLE branches and releases now include at least 17.x, which has = incomplete (but fairly good) C++23 support. David From nobody Wed Jan 8 18:10:54 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YSwvw61bSz5ktCr for ; Wed, 08 Jan 2025 18:11:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSwvw498fz4Brs for ; Wed, 8 Jan 2025 18:11:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-2ef6c56032eso113489a91.2 for ; Wed, 08 Jan 2025 10:11:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1736359867; x=1736964667; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iUfopAnwkaANNuhx7uYQF1gcrCKBi3QW/42y5VMbBPo=; b=X+mfUteHRnCO1kQydeFADGUNUCP0/ewHt0Dx7AaTAuuQ/8SqmnvnxvHQZoQEG5lbgo j+VkwRCF+Y0/w8CzWGaApPTiiuNUngoovn2DF1SdH+JKPRRIXgoTaknNRfgd6oX7OrKu fp+kRzFlpUEyy86/hbyN7sD4cls0lted1/51+/IxLo0XBlXI1dLwJUf1vhtPFejAak5y eElrwp5nC9M0LUkkFb18Vs6SMPjRbcsWDWoq5NGssQISUwVsM8dzfIzELdVGjziCQQol DAALgEy1kMPjiVbfhMlNK6z+NYfu5j/gXEiw8qtgfEj+c3b7hYARGZ/WH+7hYKRQ7uca VbBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736359867; x=1736964667; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iUfopAnwkaANNuhx7uYQF1gcrCKBi3QW/42y5VMbBPo=; b=ANt2LMI8ua1YOtbxMA85NbbMKf55SPwefgEpzSyOS8QcNrbWLHy8rbsxaM3tqy1JlU Z+35eIZ6kLmjJ+JbjDQBenNMMhZkql/rP6qecY1mdK0QntuL3vWERWsHK2D7gXTVLrXb yz6H6hMTw3EdhKRr3PIPEHBkLbbXsHl37SWUY4MV4LXmGzJ8dMXgPS0GG0E8s2rfe2JO vuiFG/6e5DngAHShM1SGGTlmqw7GNjGrtwJTMdhKiEdG8R6LN4G1/WogRqFV0rMp0slw vg73rmTie5zdvEJZOG3ULWWOUKdBVIXDZugs2OS0pQD9Gg5pbhDOmVWmKFiHaraa2uiv COTA== X-Forwarded-Encrypted: i=1; AJvYcCWzvhL0HkiZR/HUvtRnBdmIHto+THzVTiptindU0vRDFnyvNCjk3AL3tIdgRbdNCePdjMbmiCZR7JA1gqv6eAE=@freebsd.org X-Gm-Message-State: AOJu0YxJkXa1UQ32UcovDkoDpKuxuO5MrVj0UxXnaWmtTiUVCx+zm+yu i/FJaBFJO1BX8sF6o2ac9lZUPpyoGiO4tprCCOo27bpGghBHGL9Xaejfr8T/sfRSyUOs2YlxGjk Lmx7Adutpj6MnzS02B6Be+0P/8Junf7fTP7d/uApbVARSfffDoss= X-Gm-Gg: ASbGncvrO3P9DMZM0bu9MyooYkOPVIrrTLlKnxS+t+OuLr8m7XgP5MlGLuHxK2JkK/9 8HJJZ0mJaLzfZSv5tKkx86qfgtUQu+beYSU2IrYyAGEGNSGaBrejxPu8at8ExIvG8qc4/ X-Google-Smtp-Source: AGHT+IF7ZTHLS5ScZgQG+30/BqVB2zDH8ibIf/He/cVk0KD3oToLVlUD/y9HYBremGuc1YH4sABpMjAHRttqRiHs/Fk= X-Received: by 2002:a17:90b:538e:b0:2ee:3cc1:793a with SMTP id 98e67ed59e1d1-2f548f580femr5668442a91.29.1736359866551; Wed, 08 Jan 2025 10:11:06 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <4F5BB7D7-94F6-46D2-B467-4E51991311BE@FreeBSD.org> In-Reply-To: From: Warner Losh Date: Wed, 8 Jan 2025 11:10:54 -0700 X-Gm-Features: AbW1kva9xv2-WbM9wWmdMBaFp_AQWsB-j4O7D5-o8RnQdY7sjpDY3gcltH_1IJg Message-ID: Subject: Re: What's the newest C++ standard that we can target? To: Alan Somers Cc: Dimitry Andric , FreeBSD CURRENT Content-Type: multipart/alternative; boundary="0000000000000c6995062b35c94a" X-Rspamd-Queue-Id: 4YSwvw498fz4Brs X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --0000000000000c6995062b35c94a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 8, 2025, 10:47=E2=80=AFAM Alan Somers wro= te: > On Wed, Jan 8, 2025 at 10:44=E2=80=AFAM Dimitry Andric = wrote: > > > > On 8 Jan 2025, at 18:31, Alan Somers wrote: > > > > > > What is the newest C++ standard that we can target in src, and be > > > confident that it will compile on all targets? Can we use C++20? > > > > C++17 is probably the safest one, as C++20 support in libc++ 19 is > > mostly done, but not entirely complete: > > > > https://libcxx.llvm.org/Status/Cxx20.html > > > > As long as you avoid modules, and the more exotic parts, you should be > > fine. One glaring remaining issue is that std::jthread support is still > > gated under -fexperimental-library, at least until libc++ 20 comes out. > > > > That said, older existing releases don't have libc++ 19 yet, and they > > are missing a few headers too. So it depends on whether you want to > > target -CURRENT only? > > > > -Dimitry > > I guess I should've mentioned that I would like to MFC to stable/14, > too. I certainly intend to avoid exotic parts. Is there any better > way to ensure that may code will build other than "make universe"? > No. But I keep a stable/13 and stable/14 trees around that I build on amd64 and armv7 for all changes unless I'm worried. It's faster. Another way is to have jails for these environments for incremental development or quick experiments. Poudriere is a good way to build those jails quickly. Warner --0000000000000c6995062b35c94a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed, Jan 8, 2025, 10:47=E2=80=AFAM Alan Somers <= asomers@freebsd.org> wrote:
On Wed, Jan 8, 2025 at 10:44=E2=80=AFAM Dimitry Andric <dim@fre= ebsd.org> wrote:
>
> On 8 Jan 2025, at 18:31, Alan Somers <asomers@freebsd.o= rg> wrote:
> >
> > What is the newest C++ standard that we can target in src, and be=
> > confident that it will compile on all targets?=C2=A0 Can we use C= ++20?
>
> C++17 is probably the safest one, as C++20 support in libc++ 19 is
> mostly done, but not entirely complete:
>
> https://libcxx.llvm.org/Status/C= xx20.html
>
> As long as you avoid modules, and the more exotic parts, you should be=
> fine. One glaring remaining issue is that std::jthread support is stil= l
> gated under -fexperimental-library, at least until libc++ 20 comes out= .
>
> That said, older existing releases don't have libc++ 19 yet, and t= hey
> are missing a few headers too. So it depends on whether you want to > target -CURRENT only?
>
> -Dimitry

I guess I should've mentioned that I would like to MFC to stable/14, too.=C2=A0 I certainly intend to avoid exotic parts.=C2=A0 Is there any bet= ter
way to ensure that may code will build other than "make universe"= ?

No.

But I keep a stable= /13 and stable/14 trees around that I build on amd64 and armv7 for all chan= ges unless I'm worried. It's faster. Another way is to have jails f= or these environments for incremental development or quick experiments. Pou= driere is a good way to build those jails quickly.
<= br>
Warner=C2=A0
--0000000000000c6995062b35c94a-- From nobody Wed Jan 8 19:25:49 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YSyZ74Jv1z5jmmB for ; Wed, 08 Jan 2025 19:25:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSyZ73hr9z4LsF; Wed, 8 Jan 2025 19:25:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736364351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rDiCjQhdwsePAXwjGDiwOZ6dS0YGuFOxvny1NQ4h4p4=; b=Ca7/S66PGYZ5sJut7Xcs+kzGO6m+l4fR94KpNHwD3TV52mwxWxLFhxUkXcvsHfIFJvA0/Z U1RurQlxjXy5+6wkOULWnWG6RpnGrHgC/6Ru0xy0KQfbv8YhC6fZbeIwVjEWsu7J4kjZJ1 0MzHEMOzNWa8c1sIhvgydtG08ArBpvK0lau7BgFa5gNyvTsU2Pe5dFUSISjBEMg1ahOIUq T/WL1Zv8SpJkOg2iW9ofDVqMt3WDeJcFjTMvnxo+3NLEUTa7hRNZJS+xuWie9TSVPyO3+u b2PYrNQ/JmobnMmvxygIAmJnAXdfvvrMHQmM0tY4BckcdkuYG/vhRK+cN9DxhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736364351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rDiCjQhdwsePAXwjGDiwOZ6dS0YGuFOxvny1NQ4h4p4=; b=Qve4SgyrTF4IpJ4yom5jtqcfBdJspMcoOwmYWhV9tXJnlQrQw6dfQrvVl6tjtXzPHll3Zi WdYHJmhqt2mBi+DRXpQbm+V6AvoFk1txuOv1AV8Du03z4QRlF3MLiUU/hJtiNT/ShI6Y8k uNS5Y8zKQB0ee6AyVa83Y7H8G61dJivgIgO+rVEpEseYeaqa48nOX0Qv4/7tYYUBLV2iZ6 i0nxTHEskDFyhxWWskH041I+NkII9jh582Z3dpC2X4m4e2qlMNAMR4bLVhNikhR48mA+Cp j2Oo/105SyRUzFMMz171xijg0ploSwmCJbI28mGCd/14WnJmLsvBPqHGzip+ng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736364351; a=rsa-sha256; cv=none; b=FmCOUymVDZRAhg3xo8FKObMDZdFfDXG/reHnUYwDdIayf1rVqvcGeqroIxM/nRI0qK2kKQ Z3Blq4W8AAd77dWpRpTROexkqFRwIYbCIJ2NfQxrR3MGYRwsg654zaNvVTKy9b1Sg9kMr9 lzasR5COrI5Ow70QwjtJOC8ye8pWtcg+LSVIv9PhVcDnJm0x1oXA34yFQA+oStdMsfBae8 BZ1p+fq5J3zjnifS0oju+5V0lGs1VQZMxH8UumknZfP1MeQKzV9sFXbcDnAme7eWLIQqc1 8k9yTeBwpCc7l2yTZnP3yj68pSk2ENr9qrUyovu8VLjLBTg5e8alUd9jPTScaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R10" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YSyZ72MxzztBF; Wed, 08 Jan 2025 19:25:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 00F70652F2; Wed, 08 Jan 2025 20:25:49 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.9\)) Subject: Re: What's the newest C++ standard that we can target? From: Dimitry Andric In-Reply-To: Date: Wed, 8 Jan 2025 20:25:49 +0100 Cc: FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <3D83CD42-6FA5-4A43-B057-B293FB0B3D1C@FreeBSD.org> References: <4F5BB7D7-94F6-46D2-B467-4E51991311BE@FreeBSD.org> To: Alan Somers X-Mailer: Apple Mail (2.3731.700.6.1.9) On 8 Jan 2025, at 18:46, Alan Somers wrote: >=20 > On Wed, Jan 8, 2025 at 10:44=E2=80=AFAM Dimitry Andric = wrote: >>=20 >> On 8 Jan 2025, at 18:31, Alan Somers wrote: >>>=20 >>> What is the newest C++ standard that we can target in src, and be >>> confident that it will compile on all targets? Can we use C++20? >>=20 >> C++17 is probably the safest one, as C++20 support in libc++ 19 is >> mostly done, but not entirely complete: >>=20 >> https://libcxx.llvm.org/Status/Cxx20.html >>=20 >> As long as you avoid modules, and the more exotic parts, you should = be >> fine. One glaring remaining issue is that std::jthread support is = still >> gated under -fexperimental-library, at least until libc++ 20 comes = out. >>=20 >> That said, older existing releases don't have libc++ 19 yet, and they >> are missing a few headers too. So it depends on whether you want to >> target -CURRENT only? >>=20 >> -Dimitry >=20 > I guess I should've mentioned that I would like to MFC to stable/14, > too. llvm-19 was already merged to stable/14 and stable/13, so that should be no problem. > I certainly intend to avoid exotic parts. Is there any better > way to ensure that may code will build other than "make universe"? If you are on a recent -CURRENT system, you should be able to build the program standalone. If you add it to the base system, you should only have to do special handling if you want to make it part of the bootstrap tools or cross-tools phase. -Dimitry From nobody Fri Jan 10 04:11:04 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTp9n43mkz5kgdQ; Fri, 10 Jan 2025 04:11:09 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTp9m5WVsz4WW6; Fri, 10 Jan 2025 04:11:08 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=cUJOQ3qG; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::429 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-38632b8ae71so1116434f8f.0; Thu, 09 Jan 2025 20:11:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736482266; x=1737087066; darn=freebsd.org; h=content-transfer-encoding:autocrypt:subject:content-language:from :to:user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=JqUWWscY0F8uW1N+XK0gLka9KmzzHgrtIlOaGpFR23U=; b=cUJOQ3qGb6muRCvUbDUsEdA7a83qN5lJQRMC/Y4/4DVsmgFoe6AWpXU1/9RsnsjNpX ESHt4mYMrZLVpLkFUz44z9Fbrz6pnf9Q4bVvmOkI8JxgCxMU2jXQmKl7pWXM7cXeyl/K aX/p4yFnZy90ecNMtnDd0+v5cpLRMEt0SvsXhbChAsQGFCIO2rJNLWPkTn9FNqofgTqy DmfAk6a7vJFX6yx4cRvd1TiYSX3OKP9eA/KPQEEuNvA1VriCICW6BKa84oXjVrxF3h+Z TUHTk94sb2Bb9Ed0O2Jag/3lWbKJ/hkzoQdtHQ7rqTsQTAmVYsMeC2SL9xIUMffwYWyI OTMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736482266; x=1737087066; h=content-transfer-encoding:autocrypt:subject:content-language:from :to:user-agent:mime-version:date:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=JqUWWscY0F8uW1N+XK0gLka9KmzzHgrtIlOaGpFR23U=; b=ljRg61VASUW89sq8mDQGs7gTHiac9QHjZw41DmTutKj3pN1uxycQ1b/gVkoLs4RB9u LqemvQJxVebCHciALA2noiPVZVAJ6yGuMDOZjIAGknteZRG4/5PwttJVS92qaJAGKe5q GMBtg1P/278i3ZdTMJM/NSrVoaLCncGOGM7rI8gsEN/5t4EwJi3MoNqZ+UWGrKCvSt8e V+B99QRTQxtYJP9x9bJHd4LqtvYeWEJBDpAaxDQOpuwiRDC9QisRHjG1YAS4wNDpPual W1OosuWoMHCA1ZXSyVicRT2/z/PcDF38OcZKzNggsqRmFIubLsfl1PnW6Ll9e3vHDr8C tiUA== X-Forwarded-Encrypted: i=1; AJvYcCVnzBPkN/YTueXcMark2rFh6JtchROaNm1eeT2nQ+shLeBvdKoP0irjCFy4U9IeSEUH/0Dz9pIkYfqAbcWkmyT4@freebsd.org X-Gm-Message-State: AOJu0Yy79g8U//iXL+qo7bp3mqsJzScD04I1lDcIOyoEh4JYf9iQBZ+C MF2SVn+x0aKAYiai7LRYQsyLSPqgp9GrgsVOGNODmLN9+Y0wYdteQb1MAw== X-Gm-Gg: ASbGncsXkxJeJnA4KBmSBenWbZGLLy/kdJW+i7oWHTLmBfk68BX4AnQdWlfAxjVTX8i Ylm2DvIFd9LEf9r3wejHV5tOrh4e4/LtNIRGQ28aosGuJ+HAiBMrIejER85IOzPQS/MfNQ930Ai UfPnxF995/idkG07Hq4nMXnHcZP4aKHeXbA6hSBf43XYfU8GzDSRngxPxeZb/C3axwLhjjmwHbJ heroREnbCDR+TxLJcce1zdZDNC2qEz1OS4wwhCf3hq11Qwq/4F1eGZK+Q6GY750VL2K5LaN3FCZ 5YeZeoC8eUHiHQ== X-Google-Smtp-Source: AGHT+IEhEvWcijwkvDRlHB5rI88lYYvcPB6rCDwVvd9rc5GcP9BWmeiPgB47R+1l7b4h8WfBil47nw== X-Received: by 2002:a5d:5f82:0:b0:385:e9ba:acda with SMTP id ffacd0b85a97d-38a872fc177mr8146518f8f.2.1736482265449; Thu, 09 Jan 2025 20:11:05 -0800 (PST) Received: from [192.168.1.10] (host-83-67-217-90.as13285.net. [83.67.217.90]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a8e3838a3sm3397376f8f.33.2025.01.09.20.11.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jan 2025 20:11:05 -0800 (PST) Message-ID: <90ae2db2-9022-4ef7-8fe7-1b743b18aa22@gmail.com> Date: Fri, 10 Jan 2025 04:11:04 +0000 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: FreeBSD-CURRENT , FreeBSD wireless From: Graham Perrin Content-Language: en-GB Subject: iwm(4) occasionally troublesome since main-n274579-50c1e179b584 (2025-01-05) Autocrypt: addr=grahamperrin@gmail.com; keydata= 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 Cyw= Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4YTp9m5WVsz4WW6 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,freebsd-wireless@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::429:from] With main-n274636-2bb0efbb7b64, for example: root@mowa219-gjp4-zbook-freebsd:~ # cat /var/log/console.log … Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Mounting ZFS filesystems: (113/113) Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Loading kernel modules: fusefs filemon nvidia-modeset Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Autoloading module: ichsmb Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Autoloading module: if_iwm Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Autoloading module: rtsx Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Updating CPU Microcode... Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Done. Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Setting up harvesting: PURE_RDRAND,[CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Feeding entropy: . Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Created wlan(4) interfaces: wlan0. Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Created clone interfaces: gif0. Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Starting wpa_supplicant. Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Starting webcamd. Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Autoloading module: snd_uaudio Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Autoloading module: uhid Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Autoloading module: ums Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Autoloading module: usbhid Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Configuring vt: keymap. Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Autoloading module: usbhid Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Autoloading module: wmt Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Autoloading module: ng_ubt Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPREQUEST on em0 to 255.255.255.255 port 67 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPNAK from ⋯.⋯.204.1 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on em0 to 255.255.255.255 port 67 interval 7 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPOFFER from ⋯.⋯.204.1 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPREQUEST on em0 to 255.255.255.255 port 67 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPACK from ⋯.⋯.204.1 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: bound to ⋯.⋯.204.62 -- renewal in 1800 seconds. Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: wlan0: no link ......... Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel:  got link Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd syslogd: last message repeated 1 times Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: wlan0 link state up -> down Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd syslogd: last message repeated 1 times Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: wlan0 link state down -> up Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: wlan0 link state up -> down Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: wlan0 link state down -> up Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: wlan0 link state up -> down Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: No DHCPOFFERS received. Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Trying recorded lease 192.168.1.7 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Trying recorded lease 192.168.1.84 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: No working leases in persistent database - sleeping. Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: Autoloading module: usbhid Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: route: message indicates error: File exists Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: add host 127.0.0.1: gateway lo0 fib 0: route already in table Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: route: message indicates error: File exists Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: add host ::1: gateway lo0 fib 0: route already in table Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: add net fe80::: gateway ::1 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: add net ff02::: gateway ::1 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: add net ::ffff:0.0.0.0: gateway ::1 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: add net ::0.0.0.0: gateway ::1 Jan  9 09:35:35 mowa219-gjp4-zbook-freebsd kernel: add net default: gateway ⋯:⋯:⋯:a0::1 Jan  9 09:35:36 mowa219-gjp4-zbook-freebsd kernel: snowflake-broker: unknown service jail option: -broker_svcj_options Jan  9 09:35:36 mowa219-gjp4-zbook-freebsd kernel: export: -broker_env: bad variable name Jan  9 09:35:36 mowa219-gjp4-zbook-freebsd kernel: Mounting late filesystems:. Jan  9 09:35:37 mowa219-gjp4-zbook-freebsd kernel: Starting tuptime. Jan  9 09:35:39 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:35:39 mowa219-gjp4-zbook-freebsd xrdp[4247]: [CORE ] You are running xrdp as root. This is not safe. Jan  9 09:35:41 mowa219-gjp4-zbook-freebsd kernel: Configuring vt: keymap allscreens. Jan  9 09:35:41 mowa219-gjp4-zbook-freebsd kernel: Performing sanity check on sshd configuration. Jan  9 09:35:42 mowa219-gjp4-zbook-freebsd kernel: Starting sddm. Jan  9 09:35:42 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:35:42 mowa219-gjp4-zbook-freebsd kernel: Thu Jan  9 09:35:42 GMT 2025 Jan  9 09:35:44 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:35:44 mowa219-gjp4-zbook-freebsd dhclient[2243]: send_packet: No buffer space available Jan  9 09:35:47 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:35:47 mowa219-gjp4-zbook-freebsd dhclient[2243]: send_packet: Network is down Jan  9 09:36:20 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:36:20 mowa219-gjp4-zbook-freebsd syslogd: last message repeated 4 times Jan  9 09:37:57 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:36:50 mowa219-gjp4-zbook-freebsd syslogd: last message repeated 2 times Jan  9 09:37:57 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:37:57 mowa219-gjp4-zbook-freebsd dhclient[2243]: send_packet: No buffer space available Jan  9 09:38:00 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:38:00 mowa219-gjp4-zbook-freebsd dhclient[2243]: send_packet: Network is down Jan  9 09:38:32 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:38:32 mowa219-gjp4-zbook-freebsd syslogd: last message repeated 4 times Jan  9 09:40:35 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:38:57 mowa219-gjp4-zbook-freebsd syslogd: last message repeated 2 times Jan  9 09:40:46 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:40:46 mowa219-gjp4-zbook-freebsd dhclient[2243]: send_packet: No buffer space available Jan  9 09:40:49 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:40:49 mowa219-gjp4-zbook-freebsd dhclient[2243]: send_packet: Network is down Jan  9 09:41:20 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:41:20 mowa219-gjp4-zbook-freebsd syslogd: last message repeated 4 times Jan  9 09:43:35 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:41:50 mowa219-gjp4-zbook-freebsd syslogd: last message repeated 2 times Jan  9 09:44:35 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:44:35 mowa219-gjp4-zbook-freebsd dhclient[2243]: send_packet: No buffer space available Jan  9 09:44:41 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:44:41 mowa219-gjp4-zbook-freebsd dhclient[2243]: send_packet: Network is down Jan  9 09:45:14 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:45:09 mowa219-gjp4-zbook-freebsd syslogd: last message repeated 3 times Jan  9 09:45:14 mowa219-gjp4-zbook-freebsd kernel: Jan  9 09:45:14 mowa219-gjp4-zbook-freebsd su[7183]: grahamperrin to root on /dev/pts/6 root@mowa219-gjp4-zbook-freebsd:~ # sysrc wlans_iwm0 wlans_iwm0: wlan0 root@mowa219-gjp4-zbook-freebsd:~ # bectl list -c creation | tail -n 6 1500030-004-base-ports  -      -          791M  2025-01-05 12:43 1500030-005-base        -      -          786M  2025-01-06 14:59 1500030-006-base        -      -          968M  2025-01-07 04:10 1500030-007-base        -      -          878M  2025-01-07 14:14 1500030-008-base        -      -          787M  2025-01-08 02:58 1500030-009-base-ports  NR     /          281G  2025-01-09 02:08 root@mowa219-gjp4-zbook-freebsd:~ # tail -n 6 /home/grahamperrin/Documents/boot\ environments.txt 1500030-004-base-ports          2025-01-05 12:43 main-n274569-95a7aa800987 GENERIC-NODEBUG 7f4481d391a36553905218e58bd529dbe573cc14 1500030-005-base                2025-01-06 14:59 main-n274579-50c1e179b584 GENERIC-NODEBUG 7b37a9bdcd2d467d68a7d1038ac7e46ce99cd12b 1500030-006-base                2025-01-07 04:10 main-n274598-5bf3ac7ae219 GENERIC-NODEBUG 964d22989bfb524f6db88bca7bc84936a60f2956 1500030-007-base                2025-01-07 14:14 main-n274611-749b3b2c0629 GENERIC-NODEBUG ced7b7468746ca3e4904ef17b423fecabd46411e 1500030-008-base                2025-01-08 02:58 main-n274632-fd27f86dd71b GENERIC-NODEBUG 7e6464231cb9612a577b8a99288a0aa4f544dd9d 1500030-009-base-ports          2025-01-09 02:08 main-n274636-2bb0efbb7b64 GENERIC-NODEBUG 4497903f17e70faaefb0f3e17ec3b3a2ee44d366 root@mowa219-gjp4-zbook-freebsd:~ # ---- grahamperrin:~ % pciconf -lv | grep -B 2 -A 1 Wireless\ 7260 iwm0@pci0:61:0:0:       class=0x028000 rev=0x6b hdr=0x00 vendor=0x8086 device=0x08b1 subvendor=0x8086 subdevice=0xc060     vendor     = 'Intel Corporation'     device     = 'Wireless 7260'     class      = network grahamperrin:~ % ---- From my record of the upgrade: root@mowa219-gjp4-zbook-freebsd:~ # grep 11703 /var/log/messages Jan  6 15:06:59 mowa219-gjp4-zbook-freebsd pkg[11703]: FreeBSD-kernel-minimal-dbg upgraded: 15.snap20250104202457 -> 15.snap20250105183527 Jan  6 15:07:26 mowa219-gjp4-zbook-freebsd pkg[11703]: FreeBSD-kernel-generic-dbg upgraded: 15.snap20250104202457 -> 15.snap20250105183527 Jan  6 15:07:44 mowa219-gjp4-zbook-freebsd pkg[11703]: FreeBSD-kernel-minimal upgraded: 15.snap20250104202457 -> 15.snap20250105183527 Jan  6 15:08:01 mowa219-gjp4-zbook-freebsd pkg[11703]: FreeBSD-runtime upgraded: 15.snap20250102183950 -> 15.snap20250105202200 Jan  6 15:08:13 mowa219-gjp4-zbook-freebsd pkg[11703]: FreeBSD-kernel-generic upgraded: 15.snap20250104202457 -> 15.snap20250105183527 Jan  6 15:08:40 mowa219-gjp4-zbook-freebsd pkg[11703]: FreeBSD-kernel-generic-nodebug-dbg upgraded: 15.snap20250104202457 -> 15.snap20250105183527 Jan  6 15:08:46 mowa219-gjp4-zbook-freebsd pkg[11703]: FreeBSD-bootloader upgraded: 15.snap20250102183950 -> 15.snap20250106073659 Jan  6 15:08:53 mowa219-gjp4-zbook-freebsd pkg[11703]: FreeBSD-kernel-generic-nodebug upgraded: 15.snap20250104202457 -> 15.snap20250105183527 root@mowa219-gjp4-zbook-freebsd:~ # From nobody Fri Jan 10 04:19:54 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTpN94m7rz5kgyq; Fri, 10 Jan 2025 04:20:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTpN92NjCz4YxK; Fri, 10 Jan 2025 04:20:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-53e389d8dc7so1649315e87.0; Thu, 09 Jan 2025 20:20:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736482807; x=1737087607; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=keayW9Zdil5vgHoByAxv9fhrFFEKL3nMg7cEp3U8THY=; b=hE4UWzHbyXMYtJzK+QhLDQ3xvpLnfv63cf4jmd2MblNVhN377SzKtdbpzJz7MKsxWi 38NHLJZ9s8k8a9wWbcBxO76K6ZukRDUhoq0lRzu8lgtWf3EslMN40wyVyqoI3TRDhSFE Rg0P8uJo/pIA5b/w7fHl6VIAKE8K6UwbtHdH06pzO68Wggx/qqxhS2kmmvBU3a8DA+Ne rwoilE3lF7UshFAAMQkbmWAG+t9JERF3C2VkqyoXYhbgPnG2Z97jCNpP4OqjGCJNFOmy E0CxwhXVr9NliNynUARcyQWS5Dm/Ao6V/zOC2mLFRBu4xAbomtOiDoYts6/XEl1MnbTU 4b1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736482807; x=1737087607; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=keayW9Zdil5vgHoByAxv9fhrFFEKL3nMg7cEp3U8THY=; b=SafJMaxPAtJ70Ce/UFPi85ux8Il8H0xFJ3K76xbA9XY0WFbHGxSum48buKrJWglErY w2Wz52WGndVCrYUj19HoBpkDJ9cyAWy0aIgq4ezXtjfxrH/yODq7lEorDW69ugGOYnwz cfTJhlGFVj4naPwumrLKFs3ebLrpSqnYFbhkBWlZHf7qFk6P0N03e8vKe1Dr8ylSJyHc 1GnMiebWr13CAEqVmz0WI7FxDncBsiFhke0MnobpE0iCcaHaDaToEuAzkmTdVt47gTiG /OgRdI+s8gzZueuuPkAGVAZH8FR9XoQdyL/mDVPwkECo4Zzydimgn8cG1HgIztwE80Nv J2Aw== X-Forwarded-Encrypted: i=1; AJvYcCVCHPQTTOZBgerVDF5ZP4Ks2IDbyQg5MTyd/27SzVPK/DoiGw3uF5x2Of4xNgL36FhxNS3Z7TOug4Vh27TAcJ6/@freebsd.org X-Gm-Message-State: AOJu0YwUPHWbvS/+ot3Fi4NyGJKPEAa3vw3Z3tpyDEs4AzTsDzKbgaFi uldI6SGdOvHvIX3ISqZqkAiMZks0mkYkTOUmgMV1W79XB46GFgYR5bwLcSaHuy9+X7NGjeEBBtJ 76fWQajwSGyxsKmQzujRsl7RmyoDlOg== X-Gm-Gg: ASbGnctdtjlyLo0RUO1DpP2Jg+K8dpUJ6BhociuT8bwIBFeuhwqqFMFkfLawzxl/uSk 1V4fpZRvVWoHtZ02giMiu/cXnUH1Rqoqr0MVWgL0= X-Google-Smtp-Source: AGHT+IGfGJHHV01vUrlgqN3zn5ByvgVfL0WT67ZBA1pXkaK0AEh21V7ywnH0aP4oBMcwQuFPVqEDUm63+/r9jb+6mxg= X-Received: by 2002:a05:6512:ba8:b0:540:2ef4:9cd3 with SMTP id 2adb3069b0e04-542845c01f1mr3126534e87.20.1736482807036; Thu, 09 Jan 2025 20:20:07 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <90ae2db2-9022-4ef7-8fe7-1b743b18aa22@gmail.com> In-Reply-To: <90ae2db2-9022-4ef7-8fe7-1b743b18aa22@gmail.com> From: Adrian Chadd Date: Thu, 9 Jan 2025 20:19:54 -0800 X-Gm-Features: AbW1kvYIx_p4b4SMRB_MwVHp0uDJhuW_YGZCXTizXg9ogLTayHdJ3UF4Yf_vGGc Message-ID: Subject: Re: iwm(4) occasionally troublesome since main-n274579-50c1e179b584 (2025-01-05) To: Graham Perrin Cc: FreeBSD-CURRENT , FreeBSD wireless Content-Type: multipart/alternative; boundary="000000000000df415a062b5268ac" X-Rspamd-Queue-Id: 4YTpN92NjCz4YxK X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --000000000000df415a062b5268ac Content-Type: text/plain; charset="UTF-8" Hi! There's a lot here. And there's been a bunch of change in 802.11 bits over the last few weeks. Can you provide a "this is good" and "this is broken" pair of commit hashes from all of your build environments? Thanks! -adrian --000000000000df415a062b5268ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi!

There'= ;s a lot here. And there's been a bunch of change in 802.11 bits over t= he last few weeks.

Can you provide a "this is= good" and "this is broken" pair of commit hashes from all o= f your build environments?

Thanks!

<= /div>

-adrian

--000000000000df415a062b5268ac-- From nobody Fri Jan 10 05:14:38 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTqb64hKkz5klxv; Fri, 10 Jan 2025 05:14:42 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTqb56pxbz4fW5; Fri, 10 Jan 2025 05:14:41 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=WI6vkSk7; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::333 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4361b6f9faeso10485005e9.1; Thu, 09 Jan 2025 21:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736486080; x=1737090880; darn=freebsd.org; h=cc:autocrypt:subject:content-language:from:to:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=e6mrDCQDvmi88a4k/uHjCQvzfpyZBxVg8mI+1EhOyJA=; b=WI6vkSk7PEcxBSuZOtl4yjtBlURRksNZACSJV/pvRMtVbkIO2Se/NNhxubIWyyGv19 c8RQYuwe1M9oam2I7uNxH07eWEeQ2dV9Fv7RCGjFr5W0IH9hTQGD76wcAX+ruAPB75pR ep+BU24JN4viRt6/O6SfpnQHymoHLADyxRUx0v/i/RQmlPjEpUGqN6/LP2GK3yAB7vHO MBGH/P07cROi5tdicH+1T9uEA8nEV3L0sHhIjD01NOmQDEGsPxBLmKw0A/RSDphquQFP 9IqPSkd7T1xsyB6SIxdMSOE6clERrzPMIHuxGqGu1My4dS0TFFnbuUmkWCg4uIUZir/H dsmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736486080; x=1737090880; h=cc:autocrypt:subject:content-language:from:to:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=e6mrDCQDvmi88a4k/uHjCQvzfpyZBxVg8mI+1EhOyJA=; b=MOMmANUftPN+kOzYVO4hhObrTmajsokjdkPuUVxVTSlq0mI8H4ac8DqT7Cy/PE8YB+ JALtlaGJbsa/rFDHkH9iLWPJKZ94tM7mOn4pULKGruoEjTErT9la2rMiIqROILThYlwL pFG/nm/Ij/NROWxgyaI8NhK2nCKigWu0ae+JgNGl59GC+Hky+HHeSfN84gfCcEy7bHYy y+e/OPPVSJUENRq5LlsW5UQoCaUgXCUlyv62pzCsfryIzv0t/sf0VTRKVg37aTDIlEzy wQpjILm+s9Yw9RXUP2sPnirv3HCO8aoDF2LR6SVDFqImxikbwlufrUSpD6/ETMC8T15b Qi/Q== X-Gm-Message-State: AOJu0Ywis3iXJ5Mr8u6Tjzm0YbK1SKYaDTkoarXn+OGNeqMmIq0jX9pB 2f+/P2K7xhASbMt8tlyJ4sZ3pNIkejHJ3lFifiwKlomDym5WqTc54IjTYQ== X-Gm-Gg: ASbGncuoAHNvf3yBDOSzAio7t+krp0kVZY+GOCinUVjsyGkErIjWRPzDG66GHtAn6Ef uCetF6PLLmMqjJVRFnKoyodbRu/+LN3FZwRdVYX5s2rm8DI7xFoiyzNx1sEi6Jj7IV5ApFnpL8O jb1GbfNGbt8JInLyfCEIsbKqIlGbemZufV9emgZKve7DsUU0ASRTZeTZP7H7uVNRpaowiIHyOMj b/enbbk6LYDUTcuqnW56gOUTR2CAStJrjGD9PoKpOeslbIuHyfhfXVO9bgFarkvESOe4ulHztll EF2rfAtOWduf/w== X-Google-Smtp-Source: AGHT+IGCico4bbLfXb8uW+u0PooC1ZcmwL6c8lZjAc9reZKWNYy7lb/8FEe2u0+KiGegpSIvAknvLw== X-Received: by 2002:a05:600c:1c9b:b0:434:ffb2:f9cf with SMTP id 5b1f17b1804b1-436e9d80fc4mr41313145e9.14.1736486079358; Thu, 09 Jan 2025 21:14:39 -0800 (PST) Received: from [192.168.1.10] (host-83-67-217-90.as13285.net. [83.67.217.90]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e9dd1de9sm40508135e9.15.2025.01.09.21.14.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jan 2025 21:14:38 -0800 (PST) Content-Type: multipart/alternative; boundary="------------5ftMzaOHfQsGZG9yQ30f3iY5" Message-ID: Date: Fri, 10 Jan 2025 05:14:38 +0000 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: FreeBSD-CURRENT From: Graham Perrin Content-Language: en-GB Subject: OS resume occasionally troublesome, again, since main-n274579-50c1e179b584 (2025-01-05) Autocrypt: addr=grahamperrin@gmail.com; keydata= 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 Cyw= Cc: FreeBSD wireless X-Rspamd-Queue-Id: 4YTqb56pxbz4fW5 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,freebsd-wireless@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::333:from] This is a multi-part message in MIME format. --------------5ftMzaOHfQsGZG9yQ30f3iY5 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit FreeBSD 15.0-CURRENT using pkgbase, not built from source. Beginning around the end of July 2024: wake from sleep was troublesome, for around three months. Then good, close to 99% reliable, for around two months. (At the end of October: someone helped me to correct a script that was intended to take offline, before sleep, ZFS L2ARC devices (USB memory sticks). I assumed that the previously poor script, which I had used since long before troubles began in July/August, was an aggravating factor.) ---- I suspect that troubles began again around 5th January 2025. A handful of failures. With debug.acpi.resume_beep=1: - when wake fails, there's darkness and an endless beep, so   I press and hold the power button to force off the computer. From recent archives of /var/log/messages: … Jan  6 20:28:52 mowa219-gjp4-zbook-freebsd acpi[55201]: suspend at 20250106 20:28:52 … Jan  7 03:56:10 mowa219-gjp4-zbook-freebsd kernel: ---<>--- … – with no reboot between the suspend and the BOOT. That was probably the first of the recent handful of failures. nvidia-driver-470, if that's relevant. HP ZBook 17 G2, nearly always docked with one or two displays on DisplayPort. The script that (a) takes three L2ARC devices offline, and (b) exports a pool 'Transcend' that's on a mobile hard disk drive: grahamperrin:~ % head -n 1 /usr/local/sbin/suspend.sh ; grep -v \# /usr/local/sbin/suspend.sh | uniq #!/bin/sh zpool offline -t august gpt/cache1-august & zpool offline -t august gpt/cache2-august & zpool offline -t august gpt/cache3-august & while mount | grep -q Transcend ; do    zpool export Transcend    sleep 5 done grahamperrin:~ % /etc/rc.suspend includes this line: /usr/local/sbin/suspend.sh See also: today's , > iwm(4) occasionally troublesome since main-n274579-50c1e179b584 > (2025-01-05) --------------5ftMzaOHfQsGZG9yQ30f3iY5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

FreeBSD 15.0-CURRENT using pkgbase, not built from source.

Beginning around the end of July 2024: wake from sleep was troublesome, for around three months. 

Then good, close to 99% reliable, for around two months. (At the end of October: someone helped me to correct a script that was intended to take offline, before sleep, ZFS L2ARC devices (USB memory sticks). I assumed that the previously poor script, which I had used since long before troubles began in July/August, was an aggravating factor.)

----

I suspect that troubles began again around 5th January 2025. A handful of failures.

With debug.acpi.resume_beep=1: 

- when wake fails, there's darkness and an endless beep, so
  I press and hold the power button to force off the computer.

From recent archives of /var/log/messages: 


Jan  6 20:28:52 mowa219-gjp4-zbook-freebsd acpi[55201]: suspend at 20250106 20:28:52

Jan  7 03:56:10 mowa219-gjp4-zbook-freebsd kernel: ---<<BOOT>>---

– with no reboot between the suspend and the BOOT. That was probably the first of the recent handful of failures.

nvidia-driver-470, if that's relevant. HP ZBook 17 G2, nearly always docked with one or two displays on DisplayPort.


The script that (a) takes three L2ARC devices offline, and (b) exports a pool 'Transcend' that's on a mobile hard disk drive:

grahamperrin:~ % head -n 1 /usr/local/sbin/suspend.sh ; grep -v \# /usr/local/sbin/suspend.sh | uniq
#!/bin/sh

zpool offline -t august gpt/cache1-august &
zpool offline -t august gpt/cache2-august &
zpool offline -t august gpt/cache3-august &

while mount | grep -q Transcend ; do
   zpool export Transcend
   sleep 5
done

grahamperrin:~ %


/etc/rc.suspend includes this line:

/usr/local/sbin/suspend.sh


See also: today's <https://lists.freebsd.org/archives/freebsd-wireless/2025-January/002709.html>,

iwm(4) occasionally troublesome since main-n274579-50c1e179b584 (2025-01-05)

--------------5ftMzaOHfQsGZG9yQ30f3iY5-- From nobody Fri Jan 10 05:19:12 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTqhZ5dWpz5kmYy; Fri, 10 Jan 2025 05:19:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTqhZ3vtFz4gTP; Fri, 10 Jan 2025 05:19:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-54252789365so2022143e87.0; Thu, 09 Jan 2025 21:19:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736486365; x=1737091165; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MIwfdUwGkxk8CJ+hFBLwW91W+u3xdUdWRIUqGWIz+Z8=; b=YtSPYXMMnTkmCKa3qH8WqPWfmhil4wvtUwdha+HWv1NlgJH6n/loCTQxtb7aph1SAx PSXx0o0IfQjdxnq0F6NvMzqxAx9D/8ivgH4Of0EBVKB/Eoj/1Qv9/yah3Pk6P1022T8h Fs11/9pYMZtSAgv3Us+kSRkSE1JiixZgA4HsofZinPFeQH7+JSwBBCeP4/8o6aPiUDaH LbVM9o+2WoXz/Fzr6BjFQMWqfhJu6129obNxKzv6XFfUSi6WpNLPvvSqT5Cdl2TuyQGo SGIz3+2KjO4nBELMU4B+8fRRWnIn+h7bBxdtjpaYiclKzyewkW13zfCkX1/pf+ytuTi6 FgmQ== X-Forwarded-Encrypted: i=1; AJvYcCWzeaMvdJoZRtlvoPbWwNpR8z6cAVV8LBdDD4ZbNJdMisoGrSRMpD8aq0VeiDY2yDG1gL1Rpg44lL8z2gUIBnlS@freebsd.org X-Gm-Message-State: AOJu0Yzx+NMqysxrCzB6SgfDeWaASrRh/d+Zv92lwugT1kNOCDUjhQ+b 8jpU3YVaJtWn4qlhbbhFuciC3NIBcFvhJ4jWKUiLDnMggPBHHC29DGbLYY4PNcoIkewosjBH5b8 dwUo3h8a8osEhIgIk3WcMEbSE03BDwA== X-Gm-Gg: ASbGncu2aOHr8RnQTukprOrVfHN9yC0HcYiTi6gmAmb6fPhp5G3uL71qF+/q30GOhO/ T6xD8OggRBzBzTYlJCYbKEtJlhQ2Jhfw+X+2gs88= X-Google-Smtp-Source: AGHT+IEnHwHtRF2UXUAJiFiamFNXjcG8IyID+l735xAHRlI196NRqkex4YKNviQtaFyJqWz6A9aCo3H1FR69FKg27pI= X-Received: by 2002:a05:6512:3ba1:b0:540:5b5b:4289 with SMTP id 2adb3069b0e04-5428482013fmr3184228e87.47.1736486364393; Thu, 09 Jan 2025 21:19:24 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Adrian Chadd Date: Thu, 9 Jan 2025 21:19:12 -0800 X-Gm-Features: AbW1kvZDMOjTchkHlU8SPkDQ97HrgGbx0-tqI5RXegmZBux41zYjOkQQMDS7leg Message-ID: Subject: Re: OS resume occasionally troublesome, again, since main-n274579-50c1e179b584 (2025-01-05) To: Graham Perrin Cc: FreeBSD-CURRENT , FreeBSD wireless Content-Type: multipart/alternative; boundary="000000000000e83925062b533ce6" X-Rspamd-Queue-Id: 4YTqhZ3vtFz4gTP X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] --000000000000e83925062b533ce6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable it /looks/ like there was an ACPICA import about 6 days ago? If you're having suspend/resume issues then it could be that? Maybe look at the changelog and try building / booting / testing a kernel from before the import. -adrian On Thu, 9 Jan 2025 at 21:14, Graham Perrin wrote: > FreeBSD 15.0-CURRENT using pkgbase, not built from source. > > Beginning around the end of July 2024: wake from sleep was troublesome, > for around three months. > > Then good, close to 99% reliable, for around two months. (At the end of > October: someone helped me to correct a script that was intended to take > offline, before sleep, ZFS L2ARC devices (USB memory sticks). I assumed > that the previously poor script, which I had used since long before > troubles began in July/August, was an aggravating factor.) > > ---- > > I suspect that troubles began again around 5th January 2025. A handful of > failures. > > With debug.acpi.resume_beep=3D1: > > - when wake fails, there's darkness and an endless beep, so > I press and hold the power button to force off the computer. > > From recent archives of /var/log/messages: > > =E2=80=A6 > Jan 6 20:28:52 mowa219-gjp4-zbook-freebsd acpi[55201]: suspend at > 20250106 20:28:52 > =E2=80=A6 > Jan 7 03:56:10 mowa219-gjp4-zbook-freebsd kernel: ---<>--- > =E2=80=A6 > > =E2=80=93 with no reboot between the suspend and the BOOT. That was proba= bly the > first of the recent handful of failures. > > nvidia-driver-470, if that's relevant. HP ZBook 17 G2, nearly always > docked with one or two displays on DisplayPort. > > > The script that (a) takes three L2ARC devices offline, and (b) exports a > pool 'Transcend' that's on a mobile hard disk drive: > > grahamperrin:~ % head -n 1 /usr/local/sbin/suspend.sh ; grep -v \# > /usr/local/sbin/suspend.sh | uniq > #!/bin/sh > > zpool offline -t august gpt/cache1-august & > zpool offline -t august gpt/cache2-august & > zpool offline -t august gpt/cache3-august & > > while mount | grep -q Transcend ; do > zpool export Transcend > sleep 5 > done > > grahamperrin:~ % > > > /etc/rc.suspend includes this line: > > /usr/local/sbin/suspend.sh > > > See also: today's > > , > > > iwm(4) occasionally troublesome since main-n274579-50c1e179b584 > (2025-01-05) > > > --000000000000e83925062b533ce6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
it /looks/ like there was an ACPICA import about 6 days ag= o? If you're having suspend/resume issues then it could be that?
Maybe look at the changelog and try building / booting / testi= ng a kernel from before the import.


-adrian


On Thu, 9 Jan 2025 at 21= :14, Graham Perrin <grahamperr= in@gmail.com> wrote:
=20 =20 =20

FreeBSD 15.0-CURRENT using pkgbase, not built from source.

Beginning around the end of July 2024: wake from sleep was troublesome, for around three months.=C2=A0

Then good, close to 99% reliable, for around two months. (At the end of October: someone helped me to correct a script that was intended to take offline, before sleep, ZFS L2ARC devices (USB memory sticks). I assumed that the previously poor script, which I had used since long before troubles began in July/August, was an aggravating factor.)

----

I suspect that troubles began again around 5th January 2025. A handful of failures.

With debug.acpi.resume_beep=3D1:=C2=A0

- when wake fails, there's darkness and= an endless beep, so
=C2=A0 I press and hold the power button to force off the computer.=

From recent archives of /var/log/messages:=C2=A0

=E2=80=A6
Jan=C2=A0 6 20:28:52 mowa219-gjp4-zbook-freebsd acpi[55201]: suspen= d at 20250106 20:28:52
=E2=80=A6
Jan=C2=A0 7 03:56:10 mowa219-gjp4-zbook-free= bsd kernel: ---<<BOOT>>---
=E2=80=A6

=E2=80=93 with no reboot between the suspen= d and the BOOT. That was probably the first of the recent handful of failures.

nvidia-driver-470, if that's relevant. = HP ZBook 17 G2, nearly always docked with o= ne or two displays on DisplayPort.


The script that (a) takes three L2ARC devices offline, and (b) exports a pool 'Transcend' that= 9;s on a mobile hard disk drive:

grahamperrin:~ % head -n 1 /usr/local/sbin/suspend.sh ; grep -v \# /usr/local/sbin/suspend.sh | uniq
#!/bin/sh

zpool offline -t august gpt/cache1-august &
zpool offline -t august gpt/cache2-august &
zpool offline -t august gpt/cache3-august &

while mount | grep -q Transcend ; do
=C2=A0=C2=A0 zpool export Transcend
=C2=A0=C2=A0 sleep 5
done

grahamperrin:~ %


/etc/rc.suspend includes this line:

/usr/local/sbin/suspend.sh


See also: today's <https://lists.freebsd.org/archives/free= bsd-wireless/2025-January/002709.html>,

iwm(4) occasionally troublesome since main-n274579-50c1e179b584 (2025-01-05)

--000000000000e83925062b533ce6-- From nobody Fri Jan 10 05:25:35 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTqql00hMz5kmlB; Fri, 10 Jan 2025 05:25:39 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTqqj2XNwz4j5s; Fri, 10 Jan 2025 05:25:37 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Owe6eWQb; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::32e as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4362f61757fso16571615e9.2; Thu, 09 Jan 2025 21:25:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736486736; x=1737091536; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=xgny0Jq6B4HD81lt9EzNsgqGizEIf+zAxSIyfcOXnEc=; b=Owe6eWQbhRRdyzNAeGQvnyfBVL1Q/onH/HOXfYG5Tjgf5LQXx/PEK0vigsRWj8D67g JUqq6XR2H+ggTZ0bGlmxE2xxmXLmGf0YE4sLcJD5Dpcpl4YtEo6mXKRUWqUHAPZLGFVv LbQCXdNlNKsFr6zvTIQHad3dzhKE0JTIDnMo5Caf1S9eU03nvjXbVP3I4CPDjfsCM2vG 5IGqF1werbBiaqm585KrYvVU7o9Azvb5iQD/HWmLWN0pQ+L0jL/JrrJEd5E/jswwo3Tn xwWS+lRW/rWwyeni46fp8SM5fjbzwRVImOx1KMyu5KgPndEVF+wqZF5512EtA/uofJ13 v3zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736486736; x=1737091536; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xgny0Jq6B4HD81lt9EzNsgqGizEIf+zAxSIyfcOXnEc=; b=VDBD4d8n21ULn7rO93FdaeOAXHKu8kUGKG59glBSabxUXjMGguGtI5GeflUxMhjXxU nAVERU7iAY7Sgmg1N7jO8L8Or856cVLJApJ/z44ANF9zQr3z2h049/yHwkJFIFCpF7VH /aN3sg1HwOylWikm1FcZODH16eUsoSUGn7AQo29yM9JaVtteMqIHuc8oset3WXaauWPu rSuRnb2XPXf9RgwyPVSiEPMjpYUJEIgDs7seueVWqb6CJillIrvLCZX8a3DnxoHSjoQ5 s+6uKizZX7l6nYEJNCsGsmYAdutQk37Z55mn9KGTmcHO3HcuflE2YFb+dP+qVhBHz7yT uegw== X-Forwarded-Encrypted: i=1; AJvYcCXAynYeehpiY1+MTzxUav9J0gPzFnDAaPpS/N5eaCOKJ3kJQu+kTH1enx+TtC/ufZPCVCTBzCjakLc8SdX2yJ4d@freebsd.org X-Gm-Message-State: AOJu0YySzC3DXobce/4mWOseWpQSC83+0U/mh2K/suOfv3qTkc2t8YyY 9I6Nvx49uP4Cy0WQDGNAYUmPO8duZjBOfzTKXMsI97MqvGKDYUMuLoQIbQ== X-Gm-Gg: ASbGncuPDLScDnvV3aJikoKIRJevprylPN94HeB9lSBdC5qV/twAe1bCdmgPKcenHij TsWxzJzGSnMa9+n+GkeVj1vGVnGPJt3FQ3YCFkUVspXl06UwBe3T4xrLDV2k9LAxth7HthV1zQy q7MdoIBKEPAYgQ7U3QybVPhhhhRoU6zOdjHnzmqRhC5Mw/BjAIVyqVG5gYX6WxWKhAC803Anghq jAtw4eGWiMHQ8wclckerFJifFBGeiwb6SQcb/dfrfR9VagpiHR7EZqYRS/0HyyYiaNiJVIvq+AQ MH/3T7rztEs4iw== X-Google-Smtp-Source: AGHT+IFFgGF8Ukq6w6GzptTIGOCfgER1vh1BYnozRTXKGOLlqJMub//RUgUKYUOOjwWQdJPTVy0jmw== X-Received: by 2002:a05:600c:3103:b0:434:a746:9c82 with SMTP id 5b1f17b1804b1-436e26ae9b1mr86914925e9.5.1736486735915; Thu, 09 Jan 2025 21:25:35 -0800 (PST) Received: from [192.168.1.10] (host-83-67-217-90.as13285.net. [83.67.217.90]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e2ddcb5bsm76439795e9.23.2025.01.09.21.25.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jan 2025 21:25:35 -0800 (PST) Message-ID: <6d002ca3-3a17-456d-b9ec-413b4958fd4e@gmail.com> Date: Fri, 10 Jan 2025 05:25:35 +0000 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: iwm(4) occasionally troublesome since main-n274579-50c1e179b584 (2025-01-05) To: Adrian Chadd Cc: FreeBSD-CURRENT , FreeBSD wireless References: <90ae2db2-9022-4ef7-8fe7-1b743b18aa22@gmail.com> From: Graham Perrin Content-Language: en-GB Autocrypt: addr=grahamperrin@gmail.com; keydata= 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 Cyw= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4YTqqj2XNwz4j5s X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32e:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,freebsd-wireless@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TAGGED_RCPT(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] On 10/01/2025 04:19, Adrian Chadd wrote: > … > > Can you provide a "this is good" and "this is broken" pair of commit > hashes from all of your build environments? > > … No recent build environment, I use pkgbase. So, realistically, the closest that I can get is this pair of lines from my previous email (the `boot environments.txt` file is where I keep a summary of environments): 1500030-004-base-ports          2025-01-05 12:43 main-n274569-95a7aa800987 GENERIC-NODEBUG 7f4481d391a36553905218e58bd529dbe573cc14 1500030-005-base                2025-01-06 14:59 main-n274579-50c1e179b584 GENERIC-NODEBUG 7b37a9bdcd2d467d68a7d1038ac7e46ce99cd12b Taking the hashes from those two lines: HTH From nobody Fri Jan 10 05:51:17 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTrPd0WTfz5kpfr; Fri, 10 Jan 2025 05:51:33 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTrPc2Qrgz4lcN; Fri, 10 Jan 2025 05:51:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-540254357c8so1562160e87.1; Thu, 09 Jan 2025 21:51:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736488290; x=1737093090; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Rjm9ckMmaZPAittxDN8xhX4J6irbUSN9YIubMrke8Rk=; b=DxLkf7gjCaKq0NdDhqlsIHr5qD8+NXqki91JlK2dgB5fRxyU7scIWjaMAsEf8iGZ86 Evh+vBPN66onhgPINDtzUgJ0c6y7scUz28CU9JIDyP7uUow1Du52DY0jUsv2DteLpNVE M63i6a6kEiBRPcds0F8miG9JbkyGT3pM7emTjJ7FmAc2+3ogOyVCj+If9RlJB0QzzWGU PmFwNW/jNPMseUcYUU4fCm9alFhIj8JVXEHBAsAFpoXGLdp/NdMDDjRftDjJxcbOTWru 01uUMeAWyePfszOf5h5QOeAqL/zK8oDnnvm/V3Mua7TKsXjTwJDRutl3qT19tZLL5NOG rRLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736488290; x=1737093090; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Rjm9ckMmaZPAittxDN8xhX4J6irbUSN9YIubMrke8Rk=; b=lLDJwEtAPsXj2lFa/Ovykr+by4FjUTJ8SsNEK3b+ExN7qr0rWwCaxLZSs8FiyVvjb1 VbtYejvC5iPltYrFP6Zr+IYKj/B1D+GswIbDqKTz7YldcIAyhD5HHN1URn180Noyvi2S AsjknhWRN01ngmCEytTwdd2z41XtjxSwN7rt0QLShBSeLEuTmDiAXOY0C6fImscxnqJP m2TqoB7yTvLOCI2i/llSA8aT2JJMyoCPk54BvTpWgeNrI9jTyJy7tu53h3pbjLJ6M5Ha oqs2YAtkSUF/TJkeb0FgZHLd+Xwpu8WU+VlCUDWu8+R3AGgqSaNI53sB9St8hsmrhwVI +nCA== X-Forwarded-Encrypted: i=1; AJvYcCXuCVE1NzTW4jwfTVqPjDIKev317ux2s1HW+kWFXUyBa6L/IRwtGkxcZvVM02zLztOHdpzxArvvIKsfJyJb8v2U@freebsd.org X-Gm-Message-State: AOJu0Yxfg3OADqRnTwakas2MVNjaEyKjV4iGqI4O8+/xgIY4UHbLzyBy HmBm30xHl5Mn/ao+tL6V9GZl2Deo66qKseO3v2FUaLzx7lwMzOfqeQWERRGFcHIpx+5AlVhVWz1 RCPLBYa38E/sujJO3eTHow/jwAQo= X-Gm-Gg: ASbGnct3QtzxvE6qfhSZW3BtlSrnVLOKWJts0igJ7a8ot4sGPxQEJ/n5sC1XDGKtkFK aPk2UIbB796LSwNH7WE1PrZ57ajrjFeXYfyEKhFI= X-Google-Smtp-Source: AGHT+IGXd/epV3YQ3D60fmOSfRiPzTPA2R2I2+F1jRHM2SMaSO3fKKPXgNmhELx+EFslbZ/qYlxCPFgP3H+ERNVm3rE= X-Received: by 2002:ac2:4e07:0:b0:53e:12dc:e805 with SMTP id 2adb3069b0e04-542845b9723mr2881937e87.45.1736488290030; Thu, 09 Jan 2025 21:51:30 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <90ae2db2-9022-4ef7-8fe7-1b743b18aa22@gmail.com> <6d002ca3-3a17-456d-b9ec-413b4958fd4e@gmail.com> In-Reply-To: <6d002ca3-3a17-456d-b9ec-413b4958fd4e@gmail.com> From: Adrian Chadd Date: Thu, 9 Jan 2025 21:51:17 -0800 X-Gm-Features: AbW1kvbIcflSqhY8jzmZIi0cTuUQEz4rKk9im3Zo7IV08Ay8euGIQ2Pr3H0t39k Message-ID: Subject: Re: iwm(4) occasionally troublesome since main-n274579-50c1e179b584 (2025-01-05) To: Graham Perrin Cc: FreeBSD-CURRENT , FreeBSD wireless Content-Type: multipart/alternative; boundary="000000000000af1b6f062b53afdd" X-Rspamd-Queue-Id: 4YTrPc2Qrgz4lcN X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --000000000000af1b6f062b53afdd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 9 Jan 2025 at 21:25, Graham Perrin wrote: > On 10/01/2025 04:19, Adrian Chadd wrote: > > > =E2=80=A6 > > > > Can you provide a "this is good" and "this is broken" pair of commit > > hashes from all of your build environments? > > > > =E2=80=A6 > > > No recent build environment, I use pkgbase. > > So, realistically, the closest that I can get is this pair of lines from > my previous email (the `boot environments.txt` file is where I keep a > summary of environments): > > 1500030-004-base-ports 2025-01-05 12:43 > main-n274569-95a7aa800987 GENERIC-NODEBUG > 7f4481d391a36553905218e58bd529dbe573cc14 > 1500030-005-base 2025-01-06 14:59 > main-n274579-50c1e179b584 GENERIC-NODEBUG > 7b37a9bdcd2d467d68a7d1038ac7e46ce99cd12b > > Taking the hashes from those two lines: > > > > there's an rtwn change, but that won't affect iwm. Hm! -a > HTH > > --000000000000af1b6f062b53afdd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, 9 Jan 2= 025 at 21:25, Graham Perrin <g= rahamperrin@gmail.com> wrote:
On 10/01/2025 04:19, Adrian Chadd wrote:

> =E2=80=A6
>
> Can you provide a "this is good" and "this is broken&qu= ot; pair of commit
> hashes from all of your build environments?
>
> =E2=80=A6


No recent build environment, I use pkgbase.

So, realistically, the closest that I can get is this pair of lines from my previous email (the `boot environments.txt` file is where I keep a
summary of environments):

1500030-004-base-ports=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 2025-01-05 12:43
main-n274569-95a7aa800987 GENERIC-NODEBUG
7f4481d391a36553905218e58bd529dbe573cc14
1500030-005-base=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 2025-01-06 14:59
main-n274579-50c1e179b584 GENERIC-NODEBUG
7b37a9bdcd2d467d68a7d1038ac7e46ce99cd12b

Taking the hashes from those two lines:

<https://cgit.free= bsd.org/src/log/?qt=3Drange&q=3D95a7aa800987..50c1e179b584>


there's an rtwn change, but that w= on't affect iwm. Hm!



=
-a

=C2=A0
HTH

--000000000000af1b6f062b53afdd-- From nobody Fri Jan 10 08:33:21 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTw0b0wbQz5jrGN for ; Fri, 10 Jan 2025 08:33:35 +0000 (UTC) (envelope-from maurizio1018@gmail.com) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTw0Z2tgmz41h4 for ; Fri, 10 Jan 2025 08:33:34 +0000 (UTC) (envelope-from maurizio1018@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=C+0u9QwA; spf=pass (mx1.freebsd.org: domain of maurizio1018@gmail.com designates 2607:f8b0:4864:20::1031 as permitted sender) smtp.mailfrom=maurizio1018@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-2ef89dbd8eeso2366250a91.0 for ; Fri, 10 Jan 2025 00:33:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736498013; x=1737102813; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=fBg+rp0YKX/1yW6GbSQRnszHuKWMKsdsOYstJsd255Y=; b=C+0u9QwALjD+E0+7N8MJjRT4a0ZatZcUo+j4MIfuAMOXq+LDWZVTJLsGr06lVdJJv5 GKJvJe3Z3fvNQPfFs4qZ+w4beaAoKeAQP3oXad5dDXObIggpZAHPDeIjZecVEIhdI+8Q 5Cz4VzQapWw+fFeyYrgicSkzVVLIFkhj82oa7ULjtIr+CB39bX9OTnmyXSMGdnjlrE2/ bvPFwyIdcRkeF8gW2+RFg2jcJyuRRs4c/gMw7IrOfmExmVHm0PWk3YyrW6pCACOW0VNk jlcUUqeM/EXl2Z3uL0lGhPbx5u5WRuVt5b9Q2DV0X/PZVtB06YixmWqT5gHTvXgEmx0/ WEUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736498013; x=1737102813; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fBg+rp0YKX/1yW6GbSQRnszHuKWMKsdsOYstJsd255Y=; b=q9oHZ8qTQIGgUx6SUwATAFnAZwfTVffI3ekky1E1nxtSTRhE3SmdIDrXm7e4/iyqUB edTeFkDzuQA5qER5S0vmAoPgo+bjyypSVGoRRN3uHVxaxsH80mxhBArmySu2e8SSwAga I/VpUPWo+9GueNVBmJAxEWRw/d9O6UORJHdMqQLI93WD8f193/HouQyUnMRah8moo7Kn frLaAb/pcqv/+2HGGkz/edIO2+IXaWHyj2vs+m5G9C3fyPvGpIaoGj1JGIN7Jjujv82D FyF9OaJtAh+e3ipDZSLKamv3fQ0j8Q5ID1yWZ6Jdv8T59f8FuPa4cBMjbN7a9bq+BKFx we4Q== X-Gm-Message-State: AOJu0Ywx9gEGOB1JoUeG1z1AJIq2hSZ28KcPPLC2PVdgz4EX1aESN7sk CyWo7GMQPHU8diXK0tH2D4EsSEJbjvIFJ4j4oAWJuURN7iRGUAmegvD3TsmMwLXsZ0A7WC0gUwV DO+3xe6HRfzFu0RIIRl4jWkTKk4Ob2io3 X-Gm-Gg: ASbGnctUrPWFCKC+d+v4VMOK3F5Ue/dpfVokoLxzI3uesOjhvdwnkUPwa3PB2zNhxIu zQ7/BAAxBYonri4hRqBCluZSm4hj6b7OX+Upb X-Google-Smtp-Source: AGHT+IEYdFy6wf5v2vBEX6kcskuoRG27yBIwnViMSQOigOwPLV03SgtvHsjMoVK3WVZfFlcdISKiYWjsuMRixBp4ML8= X-Received: by 2002:a17:90b:37ce:b0:2ef:114d:7bf8 with SMTP id 98e67ed59e1d1-2f548ea6314mr13475625a91.6.1736498012773; Fri, 10 Jan 2025 00:33:32 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 From: Maurizio Vairani Date: Fri, 10 Jan 2025 09:33:21 +0100 X-Gm-Features: AbW1kvYJ6CsxCNKvuuYtltObGlbbqSeUlDFo3B4e7Q2l0EZt6ZLxbr6ZjNVhZYA Message-ID: Subject: Panic testing ZFS raidz expansion feature. To: freebsd-current Content-Type: multipart/alternative; boundary="000000000000346905062b55f36f" X-Rspamd-Queue-Id: 4YTw0Z2tgmz41h4 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.56 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.56)[-0.561]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1031:from] --000000000000346905062b55f36f Content-Type: text/plain; charset="UTF-8" I'm using vm-bhyve-1.5.0_1. The vm-byve package is configured correctly. # vm iso https://download.freebsd.org/snapshots/amd64/amd64/ISO-IMAGES/15.0/FreeBSD-15.0-CURRENT-amd64-20250109-4c89d59e0cda-274641-bootonly.iso # vm create fbsd15-13 # cd /mnt/pool2tb/vm/fbsd15-13 In fbsd15-13.conf: memory=2G # vm install fbsd15-13 FreeBSD-15.0-CURRENT-amd64-20250109-4c89d59e0cda-274641-bootonly.iso # vm console fbsd15-13 Install the OS and switch off the VM. # truncate -s 10G disk1.img # truncate -s 10G disk2.img # truncate -s 10G disk3.img # truncate -s 10G disk4.img lines added in fbsd15-13.conf: disk1_type="virtio-blk" disk1_name="disk1.img" disk2_type="virtio-blk" disk2_name="disk2.img" disk3_type="virtio-blk" disk3_name="disk3.img" disk4_type="virtio-blk" disk4_name="disk4.img" # vm start fbsd15-13 # vm console fbsd15-13 In the VM: # zpool create tank raidz1 vtbd1 vtbd2 vtbd3 # zpool attach tank raidz1-0 vtbd4 panic: VERIFY(vd == vd->vdev_top) failed cpuid = 0 time = 1736497428 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe005469f820 vpanic() at vpanic+0x136/frame 0xfffffe005469f950 spl_panic() at spl_panic+0x3a/frame 0xfffffe005469f9b0 zio_vdev_io_start() at zio_vdev_io_start+0x63a/frame 0xfffffe005469fa00 zio_nowait() at zio_nowait+0x10c/frame 0xfffffe005469fa40 vdev_check_boot_reserve() at vdev_check_boot_reserve+0x7a/frame 0xfffffe005469fa70 spa_vdev_attach() at spa_vdev_attach+0x712/frame 0xfffffe005469faf0 zfs_ioc_vdev_attach() at zfs_ioc_vdev_attach+0x75/frame 0xfffffe005469fb30 zfsdev_ioctl_common() at zfsdev_ioctl_common+0x49a/frame 0xfffffe005469fbd0 zfsdev_ioctl() at zfsdev_ioctl+0xfb/frame 0xfffffe005469fc00 devfs_ioctl() at devfs_ioctl+0xd1/frame 0xfffffe005469fc50 vn_ioctl() at vn_ioctl+0xb6/frame 0xfffffe005469fcc0 devfs_ioctl_f() at devfs_ioctl_f+0x1e/frame 0xfffffe005469fce0 kern_ioctl() at kern_ioctl+0x286/frame 0xfffffe005469fd40 sys_ioctl() at sys_ioctl+0x12f/frame 0xfffffe005469fe00 amd64_syscall() at amd64_syscall+0x158/frame 0xfffffe005469ff30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe005469ff30 --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x2f2054f58cca, rsp = 0x2f2048e41cf8, rbp = 0x2f2048e41d60 --- KDB: enter: panic [ thread pid 999 tid 100184 ] Stopped at kdb_enter+0x33: movq $0,0x10538d2(%rip) db> -- Regards, Maurizio --000000000000346905062b55f36f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm using vm-bhyve-1.5.0_1. The vm-byve package is con= figured correctly.

# vm iso https://download.freebsd.org/snapshots/amd= 64/amd64/ISO-IMAGES/15.0/FreeBSD-15.0-CURRENT-amd64-20250109-4c89d59e0cda-2= 74641-bootonly.iso
# vm create fbsd15-13
# cd /mnt/pool2tb/vm/fbs= d15-13
In fbsd15-13.conf:
memory=3D2G
# vm install fbsd15-13 FreeB= SD-15.0-CURRENT-amd64-20250109-4c89d59e0cda-274641-bootonly.iso
# vm con= sole fbsd15-13
Install the OS and switch off the VM.
# truncate -s 10= G disk1.img
# truncate -s 10G disk2.img
# truncate -s 10G disk3.img# truncate -s 10G disk4.img
lines added in fbsd15-13.conf:
disk1_ty= pe=3D"virtio-blk"
disk1_name=3D"disk1.img"
disk2_= type=3D"virtio-blk"
disk2_name=3D"disk2.img"
disk= 3_type=3D"virtio-blk"
disk3_name=3D"disk3.img"
di= sk4_type=3D"virtio-blk"
disk4_name=3D"disk4.img"
= # vm start fbsd15-13
# vm console fbsd15-13
In the VM:
# zpool cre= ate tank raidz1 vtbd1 vtbd2 vtbd3
# zpool attach tank raidz1-0 vtbd4
= panic: VERIFY(vd =3D=3D vd->vdev_top) failed

cpuid =3D 0
time = =3D 1736497428
KDB: stack backtrace:
db_trace_self_wrapper() at db_tr= ace_self_wrapper+0x2b/frame 0xfffffe005469f820
vpanic() at vpanic+0x136/= frame 0xfffffe005469f950
spl_panic() at spl_panic+0x3a/frame 0xfffffe005= 469f9b0
zio_vdev_io_start() at zio_vdev_io_start+0x63a/frame 0xfffffe005= 469fa00
zio_nowait() at zio_nowait+0x10c/frame 0xfffffe005469fa40
vdev_check_boot_reserve() at vdev_check_boot_reserve+0x7a/frame 0xfffffe0= 05469fa70
spa_vdev_attach() at spa_vdev_attach+0x712/frame 0xffff= fe005469faf0
zfs_ioc_vdev_attach() at zfs_ioc_vdev_attach+0x75/frame 0xf= ffffe005469fb30
zfsdev_ioctl_common() at zfsdev_ioctl_common+0x49a/frame= 0xfffffe005469fbd0
zfsdev_ioctl() at zfsdev_ioctl+0xfb/frame 0xfffffe00= 5469fc00
devfs_ioctl() at devfs_ioctl+0xd1/frame 0xfffffe005469fc50
v= n_ioctl() at vn_ioctl+0xb6/frame 0xfffffe005469fcc0
devfs_ioctl_f() at d= evfs_ioctl_f+0x1e/frame 0xfffffe005469fce0
kern_ioctl() at kern_ioctl+0x= 286/frame 0xfffffe005469fd40
sys_ioctl() at sys_ioctl+0x12f/frame 0xffff= fe005469fe00
amd64_syscall() at amd64_syscall+0x158/frame 0xfffffe005469= ff30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe005= 469ff30
--- syscall (54, FreeBSD ELF64, ioctl), rip =3D 0x2f2054f58cca, = rsp =3D 0x2f2048e41cf8, rbp =3D 0x2f2048e41d60 ---
KDB: enter: panic
= [ thread pid 999 tid 100184 ]
Stopped at =C2=A0 =C2=A0 =C2=A0kdb_enter+0= x33: movq =C2=A0 =C2=A0$0,0x10538d2(%rip)
db>
--
= Regards,
Maurizio
--000000000000346905062b55f36f-- From nobody Fri Jan 10 09:22:31 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTx5F35LQz5jw67 for ; Fri, 10 Jan 2025 09:22:41 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from mail.bsd4all.org (mail.bsd4all.org [88.99.169.216]) by mx1.freebsd.org (Postfix) with ESMTP id 4YTx5C70vfz47G8; Fri, 10 Jan 2025 09:22:39 +0000 (UTC) (envelope-from pblok@bsd4all.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of pblok@bsd4all.org designates 88.99.169.216 as permitted sender) smtp.mailfrom=pblok@bsd4all.org; dmarc=none Received: from mail.bsd4all.org (localhost [127.0.0.1]) by mail.bsd4all.org (Postfix) with ESMTP id 71830B774; Fri, 10 Jan 2025 10:22:34 +0100 (CET) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from mail.bsd4all.org ([127.0.0.1]) by mail.bsd4all.org (mail.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wpx492sFkKs2; Fri, 10 Jan 2025 10:22:33 +0100 (CET) Received: from smtpclient.apple (geer_ip [81.172.230.56]) by mail.bsd4all.org (Postfix) with ESMTPSA id C689FB803; Fri, 10 Jan 2025 10:22:33 +0100 (CET) From: Peter Blok Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: libxkbcommon version-script detection Message-Id: <518E81E7-F1F0-422C-88A0-718088E4FDB6@bsd4all.org> Date: Fri, 10 Jan 2025 10:22:31 +0100 To: FreeBSD CURRENT , dim@freebsd.org X-Mailer: Apple Mail (2.3696.120.41.1.10) X-Rspamd-Queue-Id: 4YTx5C70vfz47G8 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.60 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.902]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[bsd4all.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_HAS_DN(0.00)[] Hi, I have recompiled x11/libxkbcommon and it fails to detect if the = compiler/linker supports versioned symbols. As a result other code = expecting the versioned symbol to exist, fail to link. C compiler for the host machine: cc (clang 19.1.5 "FreeBSD clang version = 19.1.5 (https://github.com/llvm/llvm-project.git = llvmorg-19.1.5-0-gab4b5a2db582)") C linker for the host machine: cc ld.lld 19.1.5 Below the meson.build check. If I force have_version_script to true, the = versioned symbols are created and other code links fine. # Supports -Wl,--version-script? have_version_script =3D cc.links( 'int main(){}', args: '-Wl,--undefined-version,--version-script=3D' + = meson.current_source_dir()/'xkbcommon.map', name: '-Wl,--version-script', ) Below the output for the test. Checking if "-Wl,--version-script" : links: NO If I create test.c with content "int main(){}=E2=80=9D and compile it = manually with the same flags AFAIK, it compiles ok. No errors. However when I capture "make configure" with ktrace, it fails with the = error below. ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is = referenced by DSO '/lib/libc.so.7' ld: error: non-exported symbol '__progname' in '/usr/lib/crt1.o' = is referenced by DSO '/lib/libc.so.7' cc: error: linker command failed with exit code 1 (use -v to see = invocation) What flags need to be added in meson.build to allow it to work? BTW This is on recent stable, but I suspect it fails the same way on = current which I do not run at the moment. Peter From nobody Fri Jan 10 10:19:45 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTyM76XVDz5k2Sr for ; Fri, 10 Jan 2025 10:19:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTyM763PHz4GV7; Fri, 10 Jan 2025 10:19:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736504387; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qDIpvqENEbXRSmvroBPmQWVMKauzJtyoeHYxUvaOXOk=; b=FfCc/KPduOf9ffclzXyFru1li7s4ZRl9Ip7VNHe4p88B4eH5+lqkXyo03nigOK21iY8EMW 262/gvjLpHJsZxDamWsl6QtAvaxFArGEXIXJ8WGGLMnvaGepUpA85JY7FssJpmAxPDrSyF tQ+cS5+6BOKAradqruJjfYcnYBIXyBZCjnGNHwR0wRyf3Uk+YBrlhUjq9IhIqq99R84TY4 vJhgYKEfvNeXASzlXYk6wNMOWlcnrXqmDsCZAwEHTavb5umo1VGAApTrFmStCQl4mwcP94 WSIveIj0gh0eLN7/AIj14D5HhtZNo/vTKX5nENTSyKnCTvsKEf8GI0wtt9p65g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736504387; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qDIpvqENEbXRSmvroBPmQWVMKauzJtyoeHYxUvaOXOk=; b=HYNvpk3NVcUuedzPyGw5VHQ8g7XFny4ge96RJRSlfSmVLo74cfrLwFdKJLmIpl8Wr8cEe5 7EkAPEjj/hud+4k+gflRBBPvQvj884rST1EY0yYYL4iobgF3y1RSXjMzZMXxJTYjrJx4Hi AY2zg0L0XVlaIAJRXmzuXs1C1JAQ8H5HP+QWuuuwjR8obMfKlFgqm9sbi+69Bn7irsNBIN y3kGbeps6Jh4Jd7G6MFNjoy4cK/m4E1IqtS+l01+XP/RqInAYaHhX7i/w9iwGQjxUBUUqy ySKp+uDaeMZh8D1psghgfc4FuUnsTBHye8ps8ltpoajUOPPPlHMPaufMO5ZOTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736504387; a=rsa-sha256; cv=none; b=En83o+X8RLk+DYZoStK318X4v2l6902Z0ByDuOcCdZPTHaZWQuqpzx9LPsODGT+gCW0Goa hsA+rs3iUlWZvG6YgT3SYNqNKTcVQP/ulTtOHTRIPn/7d8j1OgZj6JbVqyhGZw01GLobFz vQesIkCuLo9HXjQ77uYg9zbz/C1cG0RHG7yEKoxFwgIT+V4Z9/Fu5gm0I5vLfL9v2L9XsK JFjBZIx+K1gHH2HiF4ZEUthLV5mlqoI6KUeQB8Sl8h1MT+kaqAdzEH7gUJGy7C6Dy4OF/w rpS4uZrm1JH7s7yCjCvbHsC1waVeepPCQtt+X0CTsV9UtlfNvRCKwnCKRYoNxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R10" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YTyM74V22zm1D; Fri, 10 Jan 2025 10:19:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id DC4A0673EE; Fri, 10 Jan 2025 11:19:45 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.9\)) Subject: Re: libxkbcommon version-script detection From: Dimitry Andric In-Reply-To: <518E81E7-F1F0-422C-88A0-718088E4FDB6@bsd4all.org> Date: Fri, 10 Jan 2025 11:19:45 +0100 Cc: FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <1DCB46A8-04C7-4F1A-ADEE-A5402E4B5617@FreeBSD.org> References: <518E81E7-F1F0-422C-88A0-718088E4FDB6@bsd4all.org> To: Peter Blok X-Mailer: Apple Mail (2.3731.700.6.1.9) On 10 Jan 2025, at 10:22, Peter Blok wrote: >=20 > I have recompiled x11/libxkbcommon and it fails to detect if the = compiler/linker supports versioned symbols. As a result other code = expecting the versioned symbol to exist, fail to link. >=20 > C compiler for the host machine: cc (clang 19.1.5 "FreeBSD clang = version 19.1.5 (https://github.com/llvm/llvm-project.git = llvmorg-19.1.5-0-gab4b5a2db582)") > C linker for the host machine: cc ld.lld 19.1.5 >=20 > Below the meson.build check. If I force have_version_script to true, = the versioned symbols are created and other code links fine. >=20 > # Supports -Wl,--version-script? > have_version_script =3D cc.links( > 'int main(){}', > args: '-Wl,--undefined-version,--version-script=3D' + = meson.current_source_dir()/'xkbcommon.map', > name: '-Wl,--version-script', > ) >=20 > Below the output for the test. >=20 > Checking if "-Wl,--version-script" : links: NO >=20 > If I create test.c with content "int main(){}=E2=80=9D and compile it = manually with the same flags AFAIK, it compiles ok. No errors. >=20 > However when I capture "make configure" with ktrace, it fails with the = error below. >=20 > ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is = referenced by DSO '/lib/libc.so.7' > ld: error: non-exported symbol '__progname' in = '/usr/lib/crt1.o' is referenced by DSO '/lib/libc.so.7' > cc: error: linker command failed with exit code 1 (use -v to = see invocation) >=20 > What flags need to be added in meson.build to allow it to work? >=20 > BTW This is on recent stable, but I suspect it fails the same way on = current which I do not run at the moment. It works just fine on -CURRENT: ... Checking if "-Wl,--version-script" : links: YES Not sure what is going wrong in your environment. Is this stable/14? -Dimitry From nobody Fri Jan 10 11:10:08 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTzTH1W7gz5k6kc for ; Fri, 10 Jan 2025 11:10:11 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from mail.bsd4all.org (mail.bsd4all.org [88.99.169.216]) by mx1.freebsd.org (Postfix) with ESMTP id 4YTzTG5dBkz4Nhw; Fri, 10 Jan 2025 11:10:10 +0000 (UTC) (envelope-from pblok@bsd4all.org) Authentication-Results: mx1.freebsd.org; none Received: from mail.bsd4all.org (localhost [127.0.0.1]) by mail.bsd4all.org (Postfix) with ESMTP id 06561B89A; Fri, 10 Jan 2025 12:10:11 +0100 (CET) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from mail.bsd4all.org ([127.0.0.1]) by mail.bsd4all.org (mail.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gOCBH_9fBXCD; Fri, 10 Jan 2025 12:10:10 +0100 (CET) Received: from smtpclient.apple (geer_ip [81.172.230.56]) by mail.bsd4all.org (Postfix) with ESMTPSA id 5720CB899; Fri, 10 Jan 2025 12:10:10 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: libxkbcommon version-script detection From: Peter Blok In-Reply-To: <1DCB46A8-04C7-4F1A-ADEE-A5402E4B5617@FreeBSD.org> Date: Fri, 10 Jan 2025 12:10:08 +0100 Cc: FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <2C91EB52-9E56-40D7-8FA0-0265EBB704E7@bsd4all.org> References: <518E81E7-F1F0-422C-88A0-718088E4FDB6@bsd4all.org> <1DCB46A8-04C7-4F1A-ADEE-A5402E4B5617@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3696.120.41.1.10) X-Rspamd-Queue-Id: 4YTzTG5dBkz4Nhw X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE] Hi Dimitry, Yes it is stable/14 from a week ago. It is from within a jail, but I = just tested it outside the jail and it fails as well. The jail environment has been freshly rebuild on Januari 8. All = executables and binaries are completely recompiled. Same problem on another older stable/14 system. Peter > On 10 Jan 2025, at 11:19, Dimitry Andric wrote: >=20 > On 10 Jan 2025, at 10:22, Peter Blok wrote: >>=20 >> I have recompiled x11/libxkbcommon and it fails to detect if the = compiler/linker supports versioned symbols. As a result other code = expecting the versioned symbol to exist, fail to link. >>=20 >> C compiler for the host machine: cc (clang 19.1.5 "FreeBSD clang = version 19.1.5 (https://github.com/llvm/llvm-project.git = llvmorg-19.1.5-0-gab4b5a2db582)") >> C linker for the host machine: cc ld.lld 19.1.5 >>=20 >> Below the meson.build check. If I force have_version_script to true, = the versioned symbols are created and other code links fine. >>=20 >> # Supports -Wl,--version-script? >> have_version_script =3D cc.links( >> 'int main(){}', >> args: '-Wl,--undefined-version,--version-script=3D' + = meson.current_source_dir()/'xkbcommon.map', >> name: '-Wl,--version-script', >> ) >>=20 >> Below the output for the test. >>=20 >> Checking if "-Wl,--version-script" : links: NO >>=20 >> If I create test.c with content "int main(){}=E2=80=9D and compile it = manually with the same flags AFAIK, it compiles ok. No errors. >>=20 >> However when I capture "make configure" with ktrace, it fails with = the error below. >>=20 >> ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is = referenced by DSO '/lib/libc.so.7' >> ld: error: non-exported symbol '__progname' in = '/usr/lib/crt1.o' is referenced by DSO '/lib/libc.so.7' >> cc: error: linker command failed with exit code 1 (use -v to = see invocation) >>=20 >> What flags need to be added in meson.build to allow it to work? >>=20 >> BTW This is on recent stable, but I suspect it fails the same way on = current which I do not run at the moment. >=20 > It works just fine on -CURRENT: >=20 > ... > Checking if "-Wl,--version-script" : links: YES >=20 > Not sure what is going wrong in your environment. Is this stable/14? >=20 > -Dimitry >=20 From nobody Fri Jan 10 11:20:01 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTzhh0Y9Sz5k7Nd for ; Fri, 10 Jan 2025 11:20:04 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from mail.bsd4all.org (mail.bsd4all.org [88.99.169.216]) by mx1.freebsd.org (Postfix) with ESMTP id 4YTzhg695vz4QYr; Fri, 10 Jan 2025 11:20:03 +0000 (UTC) (envelope-from pblok@bsd4all.org) Authentication-Results: mx1.freebsd.org; none Received: from mail.bsd4all.org (localhost [127.0.0.1]) by mail.bsd4all.org (Postfix) with ESMTP id F403EB89E; Fri, 10 Jan 2025 12:20:03 +0100 (CET) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from mail.bsd4all.org ([127.0.0.1]) by mail.bsd4all.org (mail.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id loewGZHNwvOm; Fri, 10 Jan 2025 12:20:03 +0100 (CET) Received: from smtpclient.apple (geer_ip [81.172.230.56]) by mail.bsd4all.org (Postfix) with ESMTPSA id 15C84B89C; Fri, 10 Jan 2025 12:20:02 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: libxkbcommon version-script detection From: Peter Blok In-Reply-To: <1DCB46A8-04C7-4F1A-ADEE-A5402E4B5617@FreeBSD.org> Date: Fri, 10 Jan 2025 12:20:01 +0100 Cc: FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <2EFAFFD8-E1E1-42D0-B41D-217E97C27F2E@bsd4all.org> References: <518E81E7-F1F0-422C-88A0-718088E4FDB6@bsd4all.org> <1DCB46A8-04C7-4F1A-ADEE-A5402E4B5617@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3696.120.41.1.10) X-Rspamd-Queue-Id: 4YTzhg695vz4QYr X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE] Test works ok when using clang18 from ports > On 10 Jan 2025, at 11:19, Dimitry Andric wrote: >=20 > On 10 Jan 2025, at 10:22, Peter Blok wrote: >>=20 >> I have recompiled x11/libxkbcommon and it fails to detect if the = compiler/linker supports versioned symbols. As a result other code = expecting the versioned symbol to exist, fail to link. >>=20 >> C compiler for the host machine: cc (clang 19.1.5 "FreeBSD clang = version 19.1.5 (https://github.com/llvm/llvm-project.git = llvmorg-19.1.5-0-gab4b5a2db582)") >> C linker for the host machine: cc ld.lld 19.1.5 >>=20 >> Below the meson.build check. If I force have_version_script to true, = the versioned symbols are created and other code links fine. >>=20 >> # Supports -Wl,--version-script? >> have_version_script =3D cc.links( >> 'int main(){}', >> args: '-Wl,--undefined-version,--version-script=3D' + = meson.current_source_dir()/'xkbcommon.map', >> name: '-Wl,--version-script', >> ) >>=20 >> Below the output for the test. >>=20 >> Checking if "-Wl,--version-script" : links: NO >>=20 >> If I create test.c with content "int main(){}=E2=80=9D and compile it = manually with the same flags AFAIK, it compiles ok. No errors. >>=20 >> However when I capture "make configure" with ktrace, it fails with = the error below. >>=20 >> ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is = referenced by DSO '/lib/libc.so.7' >> ld: error: non-exported symbol '__progname' in = '/usr/lib/crt1.o' is referenced by DSO '/lib/libc.so.7' >> cc: error: linker command failed with exit code 1 (use -v to = see invocation) >>=20 >> What flags need to be added in meson.build to allow it to work? >>=20 >> BTW This is on recent stable, but I suspect it fails the same way on = current which I do not run at the moment. >=20 > It works just fine on -CURRENT: >=20 > ... > Checking if "-Wl,--version-script" : links: YES >=20 > Not sure what is going wrong in your environment. Is this stable/14? >=20 > -Dimitry >=20 From nobody Fri Jan 10 11:56:01 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YV0VB3g3Qz5kBF9 for ; Fri, 10 Jan 2025 11:56:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YV0VB36hXz4T3N; Fri, 10 Jan 2025 11:56:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736510162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=S/jdoVrksf3T1slPKCLjM9WH8LNCuJ0Xcbllr8rM2JI=; b=FvENIxP1ZYzyvO/xFyI9pGDAvEIfuUOMlwLlRSiZLhI4cM+niSXnNiRW3WRNfdT6Ke7t9P vJEoOAWaXAeWznSiE5DC4Iy732ePtspzIKMRqRul4ekMXCl7bTZ2hq1O7BeZsUjrWfP1ci ijdQScH5rn1pRrznUsHUfgfGNB64KWoenwF6Vp7iyD+QifbQSOB/Nslf7GR3WQr5IX1yxo eyCwJLkZRsqiKqCtIP9MDDt7fWYzwlyOlwjH74ouBhW5lIP9FSgNeyp2Hv0p0tUG91/Qhw h6PdxnaGI+2dBPxlbcRWeZPzZj81/d9KW9M4fSmD8Uw45jagyEkirxW/IWOXMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736510162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=S/jdoVrksf3T1slPKCLjM9WH8LNCuJ0Xcbllr8rM2JI=; b=xLwnYcilRFVKppcb0bDg7lNFSGjQlS25BVhKp9c2my/CFPCd7FFtyiiM5s8tNvaGre0eJl J23NVcaeLeC/le5uIpDc4AROe0Wc3xBId99C+wvOBwUPaKAlbl9m7NOtI8VwkInLZpIHY/ o+SZQnH4L7SlpMJttzzOQIkiFuwrnB85pV3FQT2upbgetkXNl2sTUoUTMp3PvnSSNeJIyQ MCVpKt8iRsa4X34OvEiR9w1q1uvwyUqI4ElbJ1oK8cR6v2KxcL0G5MME1w6nLD0XR4sedK tyxuhU2DQGuO9bLuF/vdKqDHpmC9FCqYz3YXSqUYgl4SCUtowlPME9AgXWIruw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736510162; a=rsa-sha256; cv=none; b=eXebI42oe2d8b4Th58bt8RsBpEebmjebwt5qCdOgvlxFFEvoV8I3g8WFZWSlaOB50jxaMR EAPDcD2K/vC0t6Ot4LtONeH/DnDtja+Mx28TfmsRvyaAZ8dn8o4W1hq7JlF2WjvlYP/ahZ xgsg6i0N0klchZN7jFwaQoJRDi/U8lFaCaPHZCSOZ9MJwsKsLJziUl+80juDxywfNUvuDZ toVkwypkrZEMNRfhFNAZIntyYZeGtgDgvTt/YdbckKcnrLTqZEuE1vwzCGhVHBAV5ofXZ8 CiL30WzWpZN+2toqs3caQoG7I4/cv06sNky8FLv8xuFH+UDvjalFNVS84kxkKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R10" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YV0VB1k6Fzn5S; Fri, 10 Jan 2025 11:56:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 35B7B67791; Fri, 10 Jan 2025 12:56:01 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.9\)) Subject: Re: libxkbcommon version-script detection From: Dimitry Andric In-Reply-To: <2EFAFFD8-E1E1-42D0-B41D-217E97C27F2E@bsd4all.org> Date: Fri, 10 Jan 2025 12:56:01 +0100 Cc: FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: References: <518E81E7-F1F0-422C-88A0-718088E4FDB6@bsd4all.org> <1DCB46A8-04C7-4F1A-ADEE-A5402E4B5617@FreeBSD.org> <2EFAFFD8-E1E1-42D0-B41D-217E97C27F2E@bsd4all.org> To: Peter Blok X-Mailer: Apple Mail (2.3731.700.6.1.9) On 10 Jan 2025, at 12:20, Peter Blok wrote: >=20 > Test works ok when using clang18 from ports >=20 >> On 10 Jan 2025, at 11:19, Dimitry Andric wrote: >>=20 >> On 10 Jan 2025, at 10:22, Peter Blok wrote: >>>=20 >>> I have recompiled x11/libxkbcommon and it fails to detect if the = compiler/linker supports versioned symbols. As a result other code = expecting the versioned symbol to exist, fail to link. >>>=20 >>> C compiler for the host machine: cc (clang 19.1.5 "FreeBSD clang = version 19.1.5 (https://github.com/llvm/llvm-project.git = llvmorg-19.1.5-0-gab4b5a2db582)") >>> C linker for the host machine: cc ld.lld 19.1.5 >>>=20 >>> Below the meson.build check. If I force have_version_script to true, = the versioned symbols are created and other code links fine. >>>=20 >>> # Supports -Wl,--version-script? >>> have_version_script =3D cc.links( >>> 'int main(){}', >>> args: '-Wl,--undefined-version,--version-script=3D' + = meson.current_source_dir()/'xkbcommon.map', >>> name: '-Wl,--version-script', >>> ) >>>=20 >>> Below the output for the test. >>>=20 >>> Checking if "-Wl,--version-script" : links: NO >>>=20 >>> If I create test.c with content "int main(){}=E2=80=9D and compile = it manually with the same flags AFAIK, it compiles ok. No errors. >>>=20 >>> However when I capture "make configure" with ktrace, it fails with = the error below. >>>=20 >>> ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is = referenced by DSO '/lib/libc.so.7' >>> ld: error: non-exported symbol '__progname' in = '/usr/lib/crt1.o' is referenced by DSO '/lib/libc.so.7' >>> cc: error: linker command failed with exit code 1 (use -v to = see invocation) >>>=20 >>> What flags need to be added in meson.build to allow it to work? >>>=20 >>> BTW This is on recent stable, but I suspect it fails the same way on = current which I do not run at the moment. >>=20 >> It works just fine on -CURRENT: >>=20 >> ... >> Checking if "-Wl,--version-script" : links: YES >>=20 >> Not sure what is going wrong in your environment. Is this stable/14? It appears to help when the lines: local: *; are removed from = /wrkdirs/usr/ports/x11/libxkbcommon/work/libxkbcommon-1.7.0/xkbcommon.map.= Apparently on main, environ and __progname are slightly different. In any case, the "local: *;" thing has caused problems before, so maybe = it's better to get rid of it. -Dimitry From nobody Fri Jan 10 12:28:49 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YV1D25NzDz5kDqv for ; Fri, 10 Jan 2025 12:28:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YV1D24ccCz4XGx; Fri, 10 Jan 2025 12:28:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736512130; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cbnj8HFmVVrLeaurOcl2Pw4s+cAf1nqtslk94DEmtTc=; b=dpKPFZXOuKwQOacjbTE3qvSocroV5uyIOSuEFH29P8Cs10eDPUWloaYtD49Hj61nUXm8kJ qJzkz6/AVidlbrDn0Spvmsm6FKDP69JgJ8FIHY2fGfRpcqKCrB5NCrtVzM1GgNa3noyAJh jThGGDJyt5arvl7+gAltjscTgueH0khiJEXHb/srHnJGlbR+1x/1f96mE3ISd6gLSyYSUr S2W6wTb8v7MqnSKoMskLDY0YrGZgN3nOE7DKDEQmyre2/OFSelxLH/Rcy/VS/AT+fucwID KgEKOQ4XfAGghbJfGHzIz04LOXXlUQggfBEK2D/D7zuj17xsRiYsim8E8fw0wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736512130; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cbnj8HFmVVrLeaurOcl2Pw4s+cAf1nqtslk94DEmtTc=; b=vKaaeIhM3ixJDhc71tdYKkBFco7K4feuaGeFzXYMgK542YbmI1HKVvxuMg4RefpoC4yKKJ og/7lO8LPSsUZdUZiTx8mfQfeQKsPX6eknv0vtrSTsF92mKWTWEc+tk4WLtF559Wo6sT8S AC4UkczuNcaR8wO1xSlVbKbx26B8GhwDWHKkcG2eJ9z4nIC1p2YBp7/BQXg5N/ROat+T1J 9VBZXxzvGTDS645HXl3aPgrn9j9TySdC9ccUtp2EVHicszIjZPxurxnlvb9qSJnJEwySb0 7Chm29sp5kcBWqNiIvb2ZqpGfqMw6AVxA1zWQU90We7RQpG5rM0QPV8x3KoNzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736512130; a=rsa-sha256; cv=none; b=Y/mxNNej4ZrLS6GN49cU/AiGdR5kXLMmZQVu6A/UwIIYwF27ZEzu0tr+h6A6moBqpD/Z6c 3HvZdWXjUnzxHDD1cnvdy3zUGcD22ERSdf8t5+6IIVcAlYUEy7uTMZCHC/FWRqSTe6t8O9 mugpFh/C94/b69y4MRTHU9s7XK7oGVXauy0UcnZJjCW2HyASLyZZ1DeZg+FDwS1DQoND/d a9dHbpKjUjebIYKQ4/ARZTQ3MKIr3LnUyoSC1u/1VwxOXTu/dw4ucoDVuaNnqKWaQQaZyC CJMMBqiMU6wpbdCYIrKtlMGC2PFrEHPBFG19DuTAzOBljTrkrjoF7mlmTofaig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R10" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YV1D22z07zn5t; Fri, 10 Jan 2025 12:28:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 6874E67653; Fri, 10 Jan 2025 13:28:49 +0100 (CET) From: Dimitry Andric Message-Id: Content-Type: multipart/mixed; boundary="Apple-Mail=_63BA83E1-1412-418C-AAF8-083C4CFA12DE" List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.9\)) Subject: Re: libxkbcommon version-script detection Date: Fri, 10 Jan 2025 13:28:49 +0100 In-Reply-To: Cc: FreeBSD CURRENT To: Peter Blok References: <518E81E7-F1F0-422C-88A0-718088E4FDB6@bsd4all.org> <1DCB46A8-04C7-4F1A-ADEE-A5402E4B5617@FreeBSD.org> <2EFAFFD8-E1E1-42D0-B41D-217E97C27F2E@bsd4all.org> X-Mailer: Apple Mail (2.3731.700.6.1.9) --Apple-Mail=_63BA83E1-1412-418C-AAF8-083C4CFA12DE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 10 Jan 2025, at 12:56, Dimitry Andric wrote: >=20 > On 10 Jan 2025, at 12:20, Peter Blok wrote: >>=20 >> Test works ok when using clang18 from ports >>=20 >>> On 10 Jan 2025, at 11:19, Dimitry Andric wrote: >>>=20 >>> On 10 Jan 2025, at 10:22, Peter Blok wrote: >>>>=20 >>>> I have recompiled x11/libxkbcommon and it fails to detect if the = compiler/linker supports versioned symbols. As a result other code = expecting the versioned symbol to exist, fail to link. >>>>=20 >>>> C compiler for the host machine: cc (clang 19.1.5 "FreeBSD clang = version 19.1.5 (https://github.com/llvm/llvm-project.git = llvmorg-19.1.5-0-gab4b5a2db582)") >>>> C linker for the host machine: cc ld.lld 19.1.5 >>>>=20 >>>> Below the meson.build check. If I force have_version_script to = true, the versioned symbols are created and other code links fine. >>>>=20 >>>> # Supports -Wl,--version-script? >>>> have_version_script =3D cc.links( >>>> 'int main(){}', >>>> args: '-Wl,--undefined-version,--version-script=3D' + = meson.current_source_dir()/'xkbcommon.map', >>>> name: '-Wl,--version-script', >>>> ) >>>>=20 >>>> Below the output for the test. >>>>=20 >>>> Checking if "-Wl,--version-script" : links: NO >>>>=20 >>>> If I create test.c with content "int main(){}=E2=80=9D and compile = it manually with the same flags AFAIK, it compiles ok. No errors. >>>>=20 >>>> However when I capture "make configure" with ktrace, it fails with = the error below. >>>>=20 >>>> ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is = referenced by DSO '/lib/libc.so.7' >>>> ld: error: non-exported symbol '__progname' in = '/usr/lib/crt1.o' is referenced by DSO '/lib/libc.so.7' >>>> cc: error: linker command failed with exit code 1 (use -v to = see invocation) >>>>=20 >>>> What flags need to be added in meson.build to allow it to work? >>>>=20 >>>> BTW This is on recent stable, but I suspect it fails the same way = on current which I do not run at the moment. >>>=20 >>> It works just fine on -CURRENT: >>>=20 >>> ... >>> Checking if "-Wl,--version-script" : links: YES >>>=20 >>> Not sure what is going wrong in your environment. Is this stable/14? >=20 > It appears to help when the lines: >=20 > local: > *; >=20 > are removed from = /wrkdirs/usr/ports/x11/libxkbcommon/work/libxkbcommon-1.7.0/xkbcommon.map.= Apparently on main, environ and __progname are slightly different. >=20 > In any case, the "local: *;" thing has caused problems before, so = maybe it's better to get rid of it. Here's a better patch, that can also be upstreamed. It avoids the whole = problem of trying to use the "full" xkbcommon.map during meson tests. -Dimitry --Apple-Mail=_63BA83E1-1412-418C-AAF8-083C4CFA12DE Content-Disposition: attachment; filename=x11__libxkbcommon-fix-version-script-check-1.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="x11__libxkbcommon-fix-version-script-check-1.diff" Content-Transfer-Encoding: 7bit commit 51f362f344d06786f686a108ee3b68187a8ed03c Author: Dimitry Andric Date: 2025-01-10T13:26:38+01:00 x11/libxkbcommon: fix --version-script check in meson.build for good diff --git a/x11/libxkbcommon/files/patch-meson.build b/x11/libxkbcommon/files/patch-meson.build new file mode 100644 index 000000000000..adb5872f2a23 --- /dev/null +++ b/x11/libxkbcommon/files/patch-meson.build @@ -0,0 +1,11 @@ +--- meson.build.orig 2024-03-23 21:23:43 UTC ++++ meson.build +@@ -145,7 +145,7 @@ have_version_script = cc.links( + # Supports -Wl,--version-script? + have_version_script = cc.links( + 'int main(){}', +- args: '-Wl,--undefined-version,--version-script=' + meson.current_source_dir()/'xkbcommon.map', ++ args: '-Wl,--version-script=' + meson.current_source_dir()/'meson_test.map', + name: '-Wl,--version-script', + ) + diff --git a/x11/libxkbcommon/files/patch-meson__test.map b/x11/libxkbcommon/files/patch-meson__test.map new file mode 100644 index 000000000000..102e02a3534a --- /dev/null +++ b/x11/libxkbcommon/files/patch-meson__test.map @@ -0,0 +1,4 @@ +--- meson_test.map.orig 2025-01-10 12:22:45 UTC ++++ meson_test.map +@@ -0,0 +1 @@ ++TEST {}; --Apple-Mail=_63BA83E1-1412-418C-AAF8-083C4CFA12DE-- From nobody Fri Jan 10 12:42:07 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YV1WQ4xKMz5kG3c for ; Fri, 10 Jan 2025 12:42:10 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from mail.bsd4all.org (mail.bsd4all.org [88.99.169.216]) by mx1.freebsd.org (Postfix) with ESMTP id 4YV1WQ2tJxz4Zcl; Fri, 10 Jan 2025 12:42:10 +0000 (UTC) (envelope-from pblok@bsd4all.org) Authentication-Results: mx1.freebsd.org; none Received: from mail.bsd4all.org (localhost [127.0.0.1]) by mail.bsd4all.org (Postfix) with ESMTP id 9226CB8B7; Fri, 10 Jan 2025 13:42:10 +0100 (CET) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from mail.bsd4all.org ([127.0.0.1]) by mail.bsd4all.org (mail.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ed_d42TdmY9u; Fri, 10 Jan 2025 13:42:09 +0100 (CET) Received: from smtpclient.apple (geer_ip [81.172.230.56]) by mail.bsd4all.org (Postfix) with ESMTPSA id 70644B87F; Fri, 10 Jan 2025 13:42:09 +0100 (CET) From: Peter Blok Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_E1A5FB37-CA04-4212-941E-2D961C2655CD" List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: libxkbcommon version-script detection Date: Fri, 10 Jan 2025 13:42:07 +0100 In-Reply-To: Cc: FreeBSD CURRENT To: Dimitry Andric References: <518E81E7-F1F0-422C-88A0-718088E4FDB6@bsd4all.org> <1DCB46A8-04C7-4F1A-ADEE-A5402E4B5617@FreeBSD.org> <2EFAFFD8-E1E1-42D0-B41D-217E97C27F2E@bsd4all.org> X-Mailer: Apple Mail (2.3696.120.41.1.10) X-Rspamd-Queue-Id: 4YV1WQ2tJxz4Zcl X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE] --Apple-Mail=_E1A5FB37-CA04-4212-941E-2D961C2655CD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Patch works fine! Thanks. Do I need to open up a bug to get this pushed upstream? Peter > On 10 Jan 2025, at 13:28, Dimitry Andric wrote: >=20 > On 10 Jan 2025, at 12:56, Dimitry Andric > wrote: >>=20 >> On 10 Jan 2025, at 12:20, Peter Blok wrote: >>>=20 >>> Test works ok when using clang18 from ports >>>=20 >>>> On 10 Jan 2025, at 11:19, Dimitry Andric wrote: >>>>=20 >>>> On 10 Jan 2025, at 10:22, Peter Blok wrote: >>>>>=20 >>>>> I have recompiled x11/libxkbcommon and it fails to detect if the = compiler/linker supports versioned symbols. As a result other code = expecting the versioned symbol to exist, fail to link. >>>>>=20 >>>>> C compiler for the host machine: cc (clang 19.1.5 "FreeBSD clang = version 19.1.5 (https://github.com/llvm/llvm-project.git = llvmorg-19.1.5-0-gab4b5a2db582)") >>>>> C linker for the host machine: cc ld.lld 19.1.5 >>>>>=20 >>>>> Below the meson.build check. If I force have_version_script to = true, the versioned symbols are created and other code links fine. >>>>>=20 >>>>> # Supports -Wl,--version-script? >>>>> have_version_script =3D cc.links( >>>>> 'int main(){}', >>>>> args: '-Wl,--undefined-version,--version-script=3D' + = meson.current_source_dir()/'xkbcommon.map', >>>>> name: '-Wl,--version-script', >>>>> ) >>>>>=20 >>>>> Below the output for the test. >>>>>=20 >>>>> Checking if "-Wl,--version-script" : links: NO >>>>>=20 >>>>> If I create test.c with content "int main(){}=E2=80=9D and compile = it manually with the same flags AFAIK, it compiles ok. No errors. >>>>>=20 >>>>> However when I capture "make configure" with ktrace, it fails with = the error below. >>>>>=20 >>>>> ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is = referenced by DSO '/lib/libc.so.7' >>>>> ld: error: non-exported symbol '__progname' in = '/usr/lib/crt1.o' is referenced by DSO '/lib/libc.so.7' >>>>> cc: error: linker command failed with exit code 1 (use -v to = see invocation) >>>>>=20 >>>>> What flags need to be added in meson.build to allow it to work? >>>>>=20 >>>>> BTW This is on recent stable, but I suspect it fails the same way = on current which I do not run at the moment. >>>>=20 >>>> It works just fine on -CURRENT: >>>>=20 >>>> ... >>>> Checking if "-Wl,--version-script" : links: YES >>>>=20 >>>> Not sure what is going wrong in your environment. Is this = stable/14? >>=20 >> It appears to help when the lines: >>=20 >> local: >> *; >>=20 >> are removed from = /wrkdirs/usr/ports/x11/libxkbcommon/work/libxkbcommon-1.7.0/xkbcommon.map.= Apparently on main, environ and __progname are slightly different. >>=20 >> In any case, the "local: *;" thing has caused problems before, so = maybe it's better to get rid of it. >=20 > Here's a better patch, that can also be upstreamed. It avoids the = whole problem of trying to use the "full" xkbcommon.map during meson = tests. >=20 > -Dimitry >=20 > --Apple-Mail=_E1A5FB37-CA04-4212-941E-2D961C2655CD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Patch= works fine! Thanks.

Do I need to open up a bug to get this pushed = upstream?

Peter


On 10 = Jan 2025, at 13:28, Dimitry Andric <dim@FreeBSD.org> wrote:

On 10 Jan 2025, at 12:56, Dimitry Andric <dim@FreeBSD.org> wrote:

On 10 Jan 2025, at 12:20, Peter Blok <pblok@bsd4all.org> = wrote:

Test works ok when using clang18 from ports

On 10 Jan 2025, at = 11:19, Dimitry Andric <dim@FreeBSD.org> wrote:

On = 10 Jan 2025, at 10:22, Peter Blok <pblok@bsd4all.org> wrote:

I have recompiled = x11/libxkbcommon and it fails to detect if the compiler/linker supports = versioned symbols. As a result other code expecting the versioned symbol = to exist, fail to link.

C compiler for the = host machine: cc (clang 19.1.5 "FreeBSD clang version 19.1.5 (https://github.com/llvm/llvm-project.git = llvmorg-19.1.5-0-gab4b5a2db582)")
C linker for the host = machine: cc ld.lld 19.1.5

Below the = meson.build check. If I force have_version_script to true, the versioned = symbols are created and other code links fine.

# Supports -Wl,--version-script?
have_version_script =3D cc.links(
'int = main(){}',
args: = '-Wl,--undefined-version,--version-script=3D' + = meson.current_source_dir()/'xkbcommon.map',
name: = '-Wl,--version-script',
)

Below= the output for the test.

Checking if = "-Wl,--version-script" : links: NO

If I = create test.c with content "int main(){}=E2=80=9D and compile it = manually with the same flags AFAIK, it compiles ok. No errors.

However when I capture "make configure" with = ktrace, it fails with the error below.

ld: = error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is referenced = by DSO '/lib/libc.so.7'
   ld: error: = non-exported symbol '__progname' in '/usr/lib/crt1.o' is referenced by = DSO '/lib/libc.so.7'
   cc: error: linker = command failed with exit code 1 (use -v to see invocation)

What flags need to be added in meson.build to = allow it to work?

BTW This is on recent = stable, but I suspect it fails the same way on current which I do not = run at the moment.

It works = just fine on -CURRENT:

...
Checking if "-Wl,--version-script" : links: YES

Not sure what is going wrong in your = environment. Is this stable/14?

It appears to help = when the lines:

local:
  *;

are removed from = /wrkdirs/usr/ports/x11/libxkbcommon/work/libxkbcommon-1.7.0/xkbcommon.map.= Apparently on main, environ and __progname are slightly different.

In any case, the "local: *;" thing has caused = problems before, so maybe it's better to get rid of it.

Here's a better patch, that can also be upstreamed. It avoids = the whole problem of trying to use the "full" xkbcommon.map during meson = tests.

-Dimitry

<x11__libxkbcommon-fix-= version-script-check-1.diff>

= --Apple-Mail=_E1A5FB37-CA04-4212-941E-2D961C2655CD-- From nobody Fri Jan 10 12:51:07 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YV1jq0Hwjz5kGnc for ; Fri, 10 Jan 2025 12:51:11 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YV1jp3FCYz4bwR; Fri, 10 Jan 2025 12:51:10 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736513470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dtfB7cZ300BTdoFAGwVg4gumn0F6KEii8ROGY/PZfkk=; b=wu1t8XCEt4VfiWZVI2mywHD4B0OqP2zmx6lg9RsYpGtOVeTVdxi8j0Np00JAuAEOiaRmpM xHDG+vkg/NjuZ7x5z6fZETqEJBlpr/4+/DQwD3OuuyzvcDxjw+RttZAAv7wJGA1PrbpUHU vjodCjTibDe2SbaaxIZAMs2fF4+dV8SMn/+tV4fr8nyimIZxyU/V+v2lkPRkIufymCOW1C gseIfhP4MdA4eZWANTKLd/x/Q6KBFCdEyn6TFgqNCBDf6D0gwDwbMpsLqVAhN8FjbRqo0R QnCdinGz4DSdJ/vb6wq7zHSzLjU42yGuR4toZknppOd1te8Ja6QrqWE60W2fCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736513470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dtfB7cZ300BTdoFAGwVg4gumn0F6KEii8ROGY/PZfkk=; b=TleEj74I7TYx0wsPGE3NNy+ezYuCx7j8ikcsOmTcBQlyFQ0Fz3C9c2cM8c8GVVTPQg+GAy 52yzC2+PX6UxZDAZFYaYn4b26XwozVNMFn725JB/LMarHR4qs6syDo4IuDcre01l0XKhKw edfH57GMWbEP/gJpxk8JcVjn+ZEO3AxIgwbagixh+8pNXwkdhKwN3nEztfyuGl9wN7Ee4s XJ1iEFQZiwiubzho77CDD6RF2XP0Uw96T+qogla958b2Vt8EU17zhyqOJOXl2swBUM416s Y+HEaIb0AJiklTau6aY6xLpKyaiWp74/5nKJI04vinTaSM66ozSL9B/tkfWcTA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736513470; a=rsa-sha256; cv=none; b=KNx4fI0azSGnW0Ja0AuKcvVzUF4KoweuC4iyTYSolqwLJTcQ+81O1zIGvfZEs+c4Mrl8mD xNpHngh+kWNT5awYLCBMxs4BlkX/3BbwS82NSfXkLRaAuBGnR+Q2sOehspOhfRixhKZHxd C8DtRoYIih2QfzAUWPnEHsawfd9A7NDq5l/R3yNTCbqHP6sp6/5gA2z0WbThNsUaYHYwTI vYmlmQqKGT9ACw45VT4ddO4I/AadgukBe5cMW6tS6VnjjNBvlGEOhWzxdPnLotM8XzmWOE 0bjXYeqKZ0kDVkUAj24hid16g81ECl0QVU4Kxz3GJPjaSCRx1YROW2GUUBpuKw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R10" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YV1jn5VDSzmZ7; Fri, 10 Jan 2025 12:51:09 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C1FD46772F; Fri, 10 Jan 2025 13:51:07 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.9\)) Subject: Re: libxkbcommon version-script detection From: Dimitry Andric In-Reply-To: Date: Fri, 10 Jan 2025 13:51:07 +0100 Cc: FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <221ED4CB-CC81-40F1-91A9-9DD8BE7298A7@FreeBSD.org> References: <518E81E7-F1F0-422C-88A0-718088E4FDB6@bsd4all.org> <1DCB46A8-04C7-4F1A-ADEE-A5402E4B5617@FreeBSD.org> <2EFAFFD8-E1E1-42D0-B41D-217E97C27F2E@bsd4all.org> To: Peter Blok X-Mailer: Apple Mail (2.3731.700.6.1.9) Upstream solved this slightly differently, and it's become a bit messy: https://github.com/xkbcommon/libxkbcommon/commit/ebe4157d by bapt added = the --undefined-version option https://github.com/xkbcommon/libxkbcommon/commit/1d8a25d6 added yet = another check, some old ld versions don't support --undefined-version This could all go, if they used test version script, instead of the full = script. I'll see about putting in a pull request. -Dimitry > On 10 Jan 2025, at 13:42, Peter Blok wrote: >=20 > Patch works fine! Thanks. >=20 > Do I need to open up a bug to get this pushed upstream? >=20 > Peter >=20 >=20 >> On 10 Jan 2025, at 13:28, Dimitry Andric wrote: >>=20 >> On 10 Jan 2025, at 12:56, Dimitry Andric wrote: >>>=20 >>> On 10 Jan 2025, at 12:20, Peter Blok wrote: >>>>=20 >>>> Test works ok when using clang18 from ports >>>>=20 >>>>> On 10 Jan 2025, at 11:19, Dimitry Andric wrote: >>>>>=20 >>>>> On 10 Jan 2025, at 10:22, Peter Blok wrote: >>>>>>=20 >>>>>> I have recompiled x11/libxkbcommon and it fails to detect if the = compiler/linker supports versioned symbols. As a result other code = expecting the versioned symbol to exist, fail to link. >>>>>>=20 >>>>>> C compiler for the host machine: cc (clang 19.1.5 "FreeBSD clang = version 19.1.5 (https://github.com/llvm/llvm-project.git = llvmorg-19.1.5-0-gab4b5a2db582)") >>>>>> C linker for the host machine: cc ld.lld 19.1.5 >>>>>>=20 >>>>>> Below the meson.build check. If I force have_version_script to = true, the versioned symbols are created and other code links fine. >>>>>>=20 >>>>>> # Supports -Wl,--version-script? >>>>>> have_version_script =3D cc.links( >>>>>> 'int main(){}', >>>>>> args: '-Wl,--undefined-version,--version-script=3D' + = meson.current_source_dir()/'xkbcommon.map', >>>>>> name: '-Wl,--version-script', >>>>>> ) >>>>>>=20 >>>>>> Below the output for the test. >>>>>>=20 >>>>>> Checking if "-Wl,--version-script" : links: NO >>>>>>=20 >>>>>> If I create test.c with content "int main(){}=E2=80=9D and = compile it manually with the same flags AFAIK, it compiles ok. No = errors. >>>>>>=20 >>>>>> However when I capture "make configure" with ktrace, it fails = with the error below. >>>>>>=20 >>>>>> ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is = referenced by DSO '/lib/libc.so.7' >>>>>> ld: error: non-exported symbol '__progname' in = '/usr/lib/crt1.o' is referenced by DSO '/lib/libc.so.7' >>>>>> cc: error: linker command failed with exit code 1 (use -v to = see invocation) >>>>>>=20 >>>>>> What flags need to be added in meson.build to allow it to work? >>>>>>=20 >>>>>> BTW This is on recent stable, but I suspect it fails the same way = on current which I do not run at the moment. >>>>>=20 >>>>> It works just fine on -CURRENT: >>>>>=20 >>>>> ... >>>>> Checking if "-Wl,--version-script" : links: YES >>>>>=20 >>>>> Not sure what is going wrong in your environment. Is this = stable/14? >>>=20 >>> It appears to help when the lines: >>>=20 >>> local: >>> *; >>>=20 >>> are removed from = /wrkdirs/usr/ports/x11/libxkbcommon/work/libxkbcommon-1.7.0/xkbcommon.map.= Apparently on main, environ and __progname are slightly different. >>>=20 >>> In any case, the "local: *;" thing has caused problems before, so = maybe it's better to get rid of it. >>=20 >> Here's a better patch, that can also be upstreamed. It avoids the = whole problem of trying to use the "full" xkbcommon.map during meson = tests. >>=20 >> -Dimitry >>=20 >> >=20 >=20 From nobody Fri Jan 10 13:01:49 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YV1y64xjJz5kHgg for ; Fri, 10 Jan 2025 13:01:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YV1y62x1Qz4f71; Fri, 10 Jan 2025 13:01:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736514110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nkwz/rcr0gW9VcKgIsSkGOdGeUsAssnA2AK8WsK94gQ=; b=QaRjeeG/Xg2gicvWt5OQyM5vVJY6CN6ywywkNsdZubKq/VvFZDsmOgsN01lpaeLfBezaqT E06/aVSCuMDjz7K9ztD/QzYdoEKHmrYqVkKZVRmkBdz/Mjx4jh41M/gA3PduN01TwXp15t WD9+5K58I6XdLRNxxYB4DMh7OJC3yvvG3zYVCi7vNu2U0idIv5ZERZXeg/UXDOleDfc7z0 UefE/7xxs3AVa0eJOloMSeou2KIpYz5G5+mSweOkB0Z4/85PBYKGu/cgIxYcmG5ELOGIa6 mjLNNUuE6SsgZQ0IpeZyI8ev23aEpQe+nHARv1n78gjwW0sWkHeE66jWVssAMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736514110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nkwz/rcr0gW9VcKgIsSkGOdGeUsAssnA2AK8WsK94gQ=; b=lr9gfisD0dzTQS8BHCXLhp3wOl+Kx+HjEBlMOLlkuSZCeG+IflV5JWvj7TYr7LJKB/+kHe 0rqgFF0z58SQTvOFpyCxo9kWXCKKY1OPbjY+VPlBPSbcX/4ozFTGFHpETPwS7OlbtEc+8k CINsw7X00zvJy6PpwnjYbYN+986KEnX3bhGSuP9yZeyPEWAjCPcCkhs+t4UQYSIx9p5E03 Hx3ocCKIL5R7zItHbxLFD0biY6Edwe2L1+gio7Xm5lL9X6jpdBJYs5aGYXHZfL5cDp9Slf lPIb/VcE3yC8n0hjgmyQ4dvQz8uJWIotne6oq1xPmfSdxQDIeRCsJEbeiN1WCA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736514110; a=rsa-sha256; cv=none; b=aQEg0vTjUVEngDNBsukJBq4PRQC5RBkxdQK2WYC7kWNvgMsTX0JPBJZt4o8Q6ZB+0AbBvs jdTl4SBZGGx11a+b97mW22wm0MznblcqFPYQhYaNehFkS+HVpQGgPn02fJQe1i3OzzVXp+ KdjA1RzmwRtdx0mMkWQXw6uJ7UfVftkmqhadA0FP863pocyYrXcdbXw581eFQAP+BQDSmr yRMIcSXjKDBARD3V03HBmpqhlmQTK5WA0TLF6RnPs5CIDrWpU7Qb/71N4UC5TTjr68BVhO mPy/cuHTiysb+xuc4T53qD+jg3pdfpN9x0sOBoDZDWGuqQOF/HKlkOAu9k3X5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R10" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YV1y61yKDznpJ; Fri, 10 Jan 2025 13:01:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 2CE286766D; Fri, 10 Jan 2025 14:01:49 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.9\)) Subject: Re: libxkbcommon version-script detection From: Dimitry Andric In-Reply-To: <221ED4CB-CC81-40F1-91A9-9DD8BE7298A7@FreeBSD.org> Date: Fri, 10 Jan 2025 14:01:49 +0100 Cc: FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: References: <518E81E7-F1F0-422C-88A0-718088E4FDB6@bsd4all.org> <1DCB46A8-04C7-4F1A-ADEE-A5402E4B5617@FreeBSD.org> <2EFAFFD8-E1E1-42D0-B41D-217E97C27F2E@bsd4all.org> <221ED4CB-CC81-40F1-91A9-9DD8BE7298A7@FreeBSD.org> To: Peter Blok X-Mailer: Apple Mail (2.3731.700.6.1.9) https://github.com/xkbcommon/libxkbcommon/pull/585 -Dimitry > On 10 Jan 2025, at 13:51, Dimitry Andric wrote: >=20 > Upstream solved this slightly differently, and it's become a bit = messy: >=20 > https://github.com/xkbcommon/libxkbcommon/commit/ebe4157d by bapt = added the --undefined-version option > https://github.com/xkbcommon/libxkbcommon/commit/1d8a25d6 added yet = another check, some old ld versions don't support --undefined-version >=20 > This could all go, if they used test version script, instead of the = full script. >=20 > I'll see about putting in a pull request. >=20 > -Dimitry >=20 >> On 10 Jan 2025, at 13:42, Peter Blok wrote: >>=20 >> Patch works fine! Thanks. >>=20 >> Do I need to open up a bug to get this pushed upstream? >>=20 >> Peter >>=20 >>=20 >>> On 10 Jan 2025, at 13:28, Dimitry Andric wrote: >>>=20 >>> On 10 Jan 2025, at 12:56, Dimitry Andric wrote: >>>>=20 >>>> On 10 Jan 2025, at 12:20, Peter Blok wrote: >>>>>=20 >>>>> Test works ok when using clang18 from ports >>>>>=20 >>>>>> On 10 Jan 2025, at 11:19, Dimitry Andric wrote: >>>>>>=20 >>>>>> On 10 Jan 2025, at 10:22, Peter Blok wrote: >>>>>>>=20 >>>>>>> I have recompiled x11/libxkbcommon and it fails to detect if the = compiler/linker supports versioned symbols. As a result other code = expecting the versioned symbol to exist, fail to link. >>>>>>>=20 >>>>>>> C compiler for the host machine: cc (clang 19.1.5 "FreeBSD clang = version 19.1.5 (https://github.com/llvm/llvm-project.git = llvmorg-19.1.5-0-gab4b5a2db582)") >>>>>>> C linker for the host machine: cc ld.lld 19.1.5 >>>>>>>=20 >>>>>>> Below the meson.build check. If I force have_version_script to = true, the versioned symbols are created and other code links fine. >>>>>>>=20 >>>>>>> # Supports -Wl,--version-script? >>>>>>> have_version_script =3D cc.links( >>>>>>> 'int main(){}', >>>>>>> args: '-Wl,--undefined-version,--version-script=3D' + = meson.current_source_dir()/'xkbcommon.map', >>>>>>> name: '-Wl,--version-script', >>>>>>> ) >>>>>>>=20 >>>>>>> Below the output for the test. >>>>>>>=20 >>>>>>> Checking if "-Wl,--version-script" : links: NO >>>>>>>=20 >>>>>>> If I create test.c with content "int main(){}=E2=80=9D and = compile it manually with the same flags AFAIK, it compiles ok. No = errors. >>>>>>>=20 >>>>>>> However when I capture "make configure" with ktrace, it fails = with the error below. >>>>>>>=20 >>>>>>> ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is = referenced by DSO '/lib/libc.so.7' >>>>>>> ld: error: non-exported symbol '__progname' in = '/usr/lib/crt1.o' is referenced by DSO '/lib/libc.so.7' >>>>>>> cc: error: linker command failed with exit code 1 (use -v to = see invocation) >>>>>>>=20 >>>>>>> What flags need to be added in meson.build to allow it to work? >>>>>>>=20 >>>>>>> BTW This is on recent stable, but I suspect it fails the same = way on current which I do not run at the moment. >>>>>>=20 >>>>>> It works just fine on -CURRENT: >>>>>>=20 >>>>>> ... >>>>>> Checking if "-Wl,--version-script" : links: YES >>>>>>=20 >>>>>> Not sure what is going wrong in your environment. Is this = stable/14? >>>>=20 >>>> It appears to help when the lines: >>>>=20 >>>> local: >>>> *; >>>>=20 >>>> are removed from = /wrkdirs/usr/ports/x11/libxkbcommon/work/libxkbcommon-1.7.0/xkbcommon.map.= Apparently on main, environ and __progname are slightly different. >>>>=20 >>>> In any case, the "local: *;" thing has caused problems before, so = maybe it's better to get rid of it. >>>=20 >>> Here's a better patch, that can also be upstreamed. It avoids the = whole problem of trying to use the "full" xkbcommon.map during meson = tests. >>>=20 >>> -Dimitry >>>=20 >>> >>=20 >>=20 >=20 >=20 From nobody Fri Jan 10 13:09:12 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YV26l0Hs9z5kJH8; Fri, 10 Jan 2025 13:09:19 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YV26j2sNZz4gW1; Fri, 10 Jan 2025 13:09:17 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=hJ3jB9cs; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::32d as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-436326dcb1cso15069265e9.0; Fri, 10 Jan 2025 05:09:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736514553; x=1737119353; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:cc:autocrypt:content-language :references:to:from:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=m9I25BUWaBHQkqNBds2nigVBym7JzzXNNamNwNX0KOI=; b=hJ3jB9cswXCEJsBcq8KMVIxPXu6OqnYXo/d2rg2ddZECnajGG5GuBhTZ++u2YVuOLw 4kMdzZBlRwaJpmtqPze3upvwDfTpmaJs6o/uJrLOjjePyJ8gfiQvCIQmZuEMyqwToZHf fDvny9QLC/M8cVULsEqZszde1fsON8eEqTc5sv4+E6iICEAb4dNkvL/5dNKveHEHdNSm V+hW3GmByHVBdjVB/TxjTKKZR3Ej9QvhsirjgMs5a7qgy2pFTneJ/wrTkvrzztaV/YyI cywiY3KqFvkc3nmm+gGMaoRtWZAYvExUlX00ZeOMzy7rH61pqZsw/Kk3O/gtCT3UQWkY pEUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736514553; x=1737119353; h=content-transfer-encoding:in-reply-to:cc:autocrypt:content-language :references:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=m9I25BUWaBHQkqNBds2nigVBym7JzzXNNamNwNX0KOI=; b=EHrtEFs50Me5ZhYGrUgDP2ocqi9r3ZIjD9CUdEp5rypYCfkQGCD7AdD29ChTzooo8S 5vHZG0tn0ZZLtew6WVq+Yhr5OEi588fxhwZSyiXKnjAhXsTu55Z4O9a19TeAIxlfaTeT 3QzKfEn9RHkNXPJE40uwwOYYR/Y0WFAu1r4UlB4o53ljnKH+v2B7UBDBatpQV8BGqTfF EnTb4+78W0z//V+73GQ4DYoD9hfXWMFgif3NWxQHNAi8o6N5nD9XsMNj7Gbfv64dV0Wo 18/70VGQ3MnG2ud6FtxyjQ1sdHC1lsrKA5BNC8ATWsk48jHtQE6vTU+E3mVrWi1TjB4F fYzQ== X-Gm-Message-State: AOJu0YzxSMUkkPk6vga+s/2BBCSzDHa+jw81ZRjGFsIi5zPAXEcdDSTv XpLFZ4PtPL2Kh9v8/LoqNhzJ6e1RNEORQ94VYkh4cvJqCQZoQLSKAqPIbQ== X-Gm-Gg: ASbGncuhNiRK4c8PUl+xCNLJ9TqzNdJFhp1Xjy7apcd9lknGvY9R3AHKYpRvGAJTqWe fyH5NDTnpSn00fsxPLTCTuUReP/tDl9UCOqDlQzpI54h7UimPpEofQlNz53VxGNr7D1mgjpMwID UVLIO2DGQXemvSXJY9o61Vw8BiQADApJHdSEvucNb3V00MoKiExZhXqEIPiiYq6xJV+sAQ5ZLSf ext7j6LGdc9L7jDORrZvmNYQ7lqScvmDaeX77oXRPw4wmg3Ofi/RZu3axBRdEM8XxecVVHVBG5k lHIHUjVOAFA/hj8LXYXObE0TlouR4w== X-Google-Smtp-Source: AGHT+IHPtRY3sEoKhZAUhSuDzNDvhuqhmD9JwLjfXIRHzwt0H2FrQyOcRIeFwN/n2cJHX4E6mZ692A== X-Received: by 2002:a05:600c:314b:b0:434:f270:a513 with SMTP id 5b1f17b1804b1-436e26ff288mr25440355e9.29.1736514553166; Fri, 10 Jan 2025 05:09:13 -0800 (PST) Received: from [194.81.204.62] (oa-mowa-01-194.81.204.62.brighton.ac.uk. [194.81.204.62]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e9e6263fsm53379205e9.39.2025.01.10.05.09.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jan 2025 05:09:12 -0800 (PST) Message-ID: <2fa55ace-b093-4d89-9d73-fece5d8040ee@gmail.com> Date: Fri, 10 Jan 2025 13:09:12 +0000 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: iwm(4) occasionally troublesome since before main-n274579-50c1e179b584 From: Graham Perrin To: FreeBSD wireless References: <90ae2db2-9022-4ef7-8fe7-1b743b18aa22@gmail.com> Content-Language: en-GB Autocrypt: addr=grahamperrin@gmail.com; keydata= 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 Cyw= Cc: FreeBSD-CURRENT In-Reply-To: <90ae2db2-9022-4ef7-8fe7-1b743b18aa22@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4YV26j2sNZz4gW1 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.89 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.896]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-wireless@freebsd.org,freebsd-current@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32d:from] Subject line changed; _before_ main-n274579-50c1e179b584. I first encountered trouble with 50c1e179b584 (<50c1e179b584f43ba82e9afc91b25ec4831b58ef>, 2025-01-05) with eduroam, on my first day back at work after the Christmas break. Boot environment named 1500030-005-base. Today, with a clone of the previous boot environment – 1500030-004-a- base-ports (95a7aa800987 , 2025-01-04): - wlan0 was OK at home, then not OK at work. Details pasted to . Side note: the boot at work (09:38) followed another failure to wake from sleep, … Jan 10 08:02:35 mowa219-gjp4-zbook-freebsd acpi[6541]: suspend at 20250110 08:02:35 Jan 10 09:38:46 mowa219-gjp4-zbook-freebsd syslogd: kernel boot file is /boot/kernel.GENERIC-NODEBUG/kernel Jan 10 09:38:46 mowa219-gjp4-zbook-freebsd kernel: ---<>--- … From nobody Fri Jan 10 15:07:32 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YV4m238t3z5kTmg for ; Fri, 10 Jan 2025 15:08:18 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YV4m14Zhtz531s for ; Fri, 10 Jan 2025 15:08:17 +0000 (UTC) (envelope-from mavbsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-e549dd7201cso3787599276.0 for ; Fri, 10 Jan 2025 07:08:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736521697; x=1737126497; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=E/bhul6vPBckm6WVbw7ytK4Nsy47gyOr7QJ5awoQmv8=; b=njlzF72zMC2ly4XTguhgXPm0h0wvIrBrVTAcm1ra+fHQWg3nkmLeDMWV/uUdp7sSjH zZstdUrG+s3PUdmIKOky4iVbkGReSV9Abbsvg7nD5FyAjsmkaeeA7WizJWsNlb1qEmjP MKcZQFzUq+rvMWfvl5HB/rJhq0F485sV9pjYT0JyIOmdrE83HUSkKjZy1jYHnkQpleqI KlDaW0oFrkF8s6W61ZFahVIGHPm7BlNeWAR4uO1hj/Ksksflq4RyZSBQdDYeOQhIj0rr y64/PBbJlIQDkyNlvZ/0eenmoBFvG3uuauyMzx8Cm86fHGqSmWGxyrvMxIGnO7unyHt0 20PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736521697; x=1737126497; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=E/bhul6vPBckm6WVbw7ytK4Nsy47gyOr7QJ5awoQmv8=; b=TGrDPJYvwKii57OlBI31O9ALOySo0S4tDAOoeHCD5HiACwV5tcDWIuFDMEOQoOqYIA EQRUE+qk5+QcaY6kpilcThMredGd92lev0MuNv5lRiv/K0xVoTTbbhJ8tTMl92Vp1Dvm HQyRMXB9gpAoLsXzwEm8DHIvrp6c/27qpQ5HaS7hqN7TMfkk2oXVkAgP5hAxq/+mdmPp euRkkdCgltQLg0rILUYyrI07C59dTQclPLVJK+dktxj7xZmW8zH5O4VWi0BSDnHEJVq8 R0dR8nSkPwYDByMJ4/8M706pMXofkViZmzdD/W0RkOojRMy2k8dQtWzkma9oBzEB6ylA aX1w== X-Forwarded-Encrypted: i=1; AJvYcCW0lYjK30JqdTYsBxR/o8tofwHUEenZBVtWql0xYzozlO+/7Dzy5qMa/QKA1KBTr7aZqpFg5Y6aEH+1/h7gU1w=@freebsd.org X-Gm-Message-State: AOJu0YwaCEdXMxCZhLuqAK2K+G8CuHHpnGFjn6p864y8Ri+1GQoWAQyU 1Z/ITa2q0wIjLkUmONijr3FFjPWEJ+J114idvPFyDDjzgrSO3nxFDcYWsw== X-Gm-Gg: ASbGncsUwEVfFa08GjzdEAwo5kZgSdepFxqFWR/3rj+mei6QCj8TR0w/SBQkC/vUEy1 tymu3coMc1kwuA0b11xxw4wMuLjmcacL04ST6ZgMH+ZvjP2x+0wJv01c0WMYKZoObUNCJXDC/ey mK9MORUNAQvjM2K7HqH5WaL6xvotlNvojZMhYOnU2Q0GvMJiyfNjM/PrtibFUPnKh0mGZe1SUox a7tk2dc3IzZ1163jjDWJvwQdl0SMDxz5NFvNM7PN6vkfq8Kc4YO1+lCm8S5c9gwEhgekLfFCXit wAumAsbf18C3P7XvakZWKZrV X-Google-Smtp-Source: AGHT+IGizuEnEo3cTxySWUfC/REvkJktv1YwAU/utvSI5HmWGulcj/4iTrJsoLsOw1fDdKrPqpQJ3w== X-Received: by 2002:a05:690c:7009:b0:6ee:ad00:f157 with SMTP id 00721157ae682-6f5312d3c04mr93100247b3.32.1736521696614; Fri, 10 Jan 2025 07:08:16 -0800 (PST) Received: from ?IPV6:2600:1700:3580:3560:a236:9fff:fe4f:c69a? ([2600:1700:3580:3560:a236:9fff:fe4f:c69a]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6f546e31db1sm6562127b3.105.2025.01.10.07.08.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jan 2025 07:08:16 -0800 (PST) Message-ID: <79d3921a-a8cf-4daf-936e-6fc6f9634118@FreeBSD.org> Date: Fri, 10 Jan 2025 10:07:32 -0500 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Panic testing ZFS raidz expansion feature. To: Maurizio Vairani , freebsd-current References: Content-Language: en-US From: Alexander Motin Autocrypt: addr=mav@FreeBSD.org; keydata= xsBNBFOzxAwBCADkPrax0pI2W/ig0CK9nRJJwsHitAGEZ2HZiFEuti+6/4UVxj81yr4ak/4g 9bKUyC7rMEAp/ZHNhd+MFCPAAcHPvtovnfykqE/vuosCS3wlSLloix2iKVLks0CwbLHGAyne 46lTQW74Xl/33c3W1Z6d8jD9gVFT/xaVzZ0U9xdzOmsYAZaAj4ki0tuxO9F7L+ct9grRe7iP g8t9hai7BL4ee3VRwk2JXnKb7UvBiVITKYWKz1jRvZIrjPokgEcCLOSlv7x/1kjuFnj3xWZU 7HSFFT8J93epBbrSSCsYsppIk2fZH41kaaFXsMQfTPH8wkeM6qwrvOh4HiQM08R+9tThABEB AAHNIUFsZXhhbmRlciBNb3RpbiA8bWF2QEZyZWVCU0Qub3JnPsLAlwQTAQoAQQIbAwULCQgH AwUVCgkICwUWAwIBAAIeAQIXgAIZARYhBOmM88TmnMPNDledVYMYw5VbqyJ/BQJiOjayBQkU Kg0mAAoJEIMYw5VbqyJ/wxUIANAqbfF6tgjgdWk4c8yE0HNG+ptVOZp/wszRZ8olC0rgfK4S sND2Y+bP1fvkG1a+U1JRZzYt1s2IyIoIX6gkriUnX7VVOjcqyZ2QjKxxgACmDGoYC3c/ZvfF ysrqZ/eB0U6yp1AHQ7MCwmDNFHQbh7JhQ/pnG1NYpw/8splYfwYKhbDNyzCqOvk7WAyOJV7v TbTCF40jLzCUpyjOJj8HkdbGZsBACr7KF7kfVVq3tVLXY+NfzVKQoAs+LwfDqe8m0nnCBqU8 nNZ76normAp2z2cclAt2UCaMXnUwOLf0dj4daDG41vb+4jXTxm8Fksfj1NflVjgFcpd4FC4a Q8hd89fOwE0EU7PEDAEIAOZgWf2cJIu+58IzP2dkXE/urj3tr4OqrB/yHGWUf71Lz6D0Fi6Z AXgDtmcFLGPfMyWuLAvSM+xmoguk7zC4hRBYvQycmIhuqBq1jO1Wp/Z+lpoPM/1cDYLn8Flv mI/c40MhUZh345DA4jYWWaZNjQHUWVQ1fPf595vdVVMPT/abE8E5DaF6fSkRmqFTmfYRkfbt 3ytU8NdUapDcJVY7cEP2nJBVNZPnOIObR/ZIgSxjjrG5o34yXoqeup8JvwEv+/NylzzuyXEZ R1EdEIzQ/a1nh/0j4NXtzZEqKW4aTWlmSqb6wN8jh1OSOOqkYsfnE3nfxcZbxi4IRoNQYlm5 9R8AEQEAAcLAfAQYAQoAJgIbDBYhBOmM88TmnMPNDledVYMYw5VbqyJ/BQJiOjbIBQkUKg08 AAoJEIMYw5VbqyJ/rXwH/2UaH7Z7893+uEPo20gJkw94xDw5Fji9M8pLNpfiF7dKXfJMUe2T 0J3rHZaMlShy6ImDc/Iketxq+KvBWa4mWajEZcxFrevhuQe2ALO+GabvT2p0++L4QgE+WXs3 lwask4wrc4f/aRBHKWWgXWeVwc3OuTchq4O5AYxzgjyEmwZshrdN5szpzNg6+vFO4NWiMhlv eDULjtXEqXJJc2weIW0RpUIfCp7YLVC+Ff1j6+7DfeiM9WqWXPHzmKatwWwlk8rvDMMZ3gSy wXL32LpWKU76bIWxB6w1uykDk643swZTG0XyoOZgYH6a8931y06Jng50XARXIYm8+LgfpTMW pNk= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4YV4m14Zhtz531s X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Hi Maurizio, I was able to reproduce it on a real hardware. The critical points are that vdev should have ashift > 9 and it should be a debug build. This patch fixes it for me: https://github.com/openzfs/zfs/pull/16942 . On 10.01.2025 03:33, Maurizio Vairani wrote: > I'm using vm-bhyve-1.5.0_1. The vm-byve package is configured correctly. > > # vm iso > https://download.freebsd.org/snapshots/amd64/amd64/ISO-IMAGES/15.0/FreeBSD-15.0-CURRENT-amd64-20250109-4c89d59e0cda-274641-bootonly.iso > # vm create fbsd15-13 > # cd /mnt/pool2tb/vm/fbsd15-13 > In fbsd15-13.conf: > memory=2G > # vm install fbsd15-13 > FreeBSD-15.0-CURRENT-amd64-20250109-4c89d59e0cda-274641-bootonly.iso > # vm console fbsd15-13 > Install the OS and switch off the VM. > # truncate -s 10G disk1.img > # truncate -s 10G disk2.img > # truncate -s 10G disk3.img > # truncate -s 10G disk4.img > lines added in fbsd15-13.conf: > disk1_type="virtio-blk" > disk1_name="disk1.img" > disk2_type="virtio-blk" > disk2_name="disk2.img" > disk3_type="virtio-blk" > disk3_name="disk3.img" > disk4_type="virtio-blk" > disk4_name="disk4.img" > # vm start fbsd15-13 > # vm console fbsd15-13 > In the VM: > # zpool create tank raidz1 vtbd1 vtbd2 vtbd3 > # zpool attach tank raidz1-0 vtbd4 > panic: VERIFY(vd == vd->vdev_top) failed > > cpuid = 0 > time = 1736497428 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe005469f820 > vpanic() at vpanic+0x136/frame 0xfffffe005469f950 > spl_panic() at spl_panic+0x3a/frame 0xfffffe005469f9b0 > zio_vdev_io_start() at zio_vdev_io_start+0x63a/frame 0xfffffe005469fa00 > zio_nowait() at zio_nowait+0x10c/frame 0xfffffe005469fa40 > vdev_check_boot_reserve() at vdev_check_boot_reserve+0x7a/frame > 0xfffffe005469fa70 > spa_vdev_attach() at spa_vdev_attach+0x712/frame 0xfffffe005469faf0 > zfs_ioc_vdev_attach() at zfs_ioc_vdev_attach+0x75/frame 0xfffffe005469fb30 > zfsdev_ioctl_common() at zfsdev_ioctl_common+0x49a/frame 0xfffffe005469fbd0 > zfsdev_ioctl() at zfsdev_ioctl+0xfb/frame 0xfffffe005469fc00 > devfs_ioctl() at devfs_ioctl+0xd1/frame 0xfffffe005469fc50 > vn_ioctl() at vn_ioctl+0xb6/frame 0xfffffe005469fcc0 > devfs_ioctl_f() at devfs_ioctl_f+0x1e/frame 0xfffffe005469fce0 > kern_ioctl() at kern_ioctl+0x286/frame 0xfffffe005469fd40 > sys_ioctl() at sys_ioctl+0x12f/frame 0xfffffe005469fe00 > amd64_syscall() at amd64_syscall+0x158/frame 0xfffffe005469ff30 > fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe005469ff30 > --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x2f2054f58cca, rsp = > 0x2f2048e41cf8, rbp = 0x2f2048e41d60 --- > KDB: enter: panic > [ thread pid 999 tid 100184 ] > Stopped at      kdb_enter+0x33: movq    $0,0x10538d2(%rip) > db> -- Alexander Motin From nobody Sun Jan 12 17:25:57 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YWMjm1s7xz5l0fC for ; Sun, 12 Jan 2025 17:25:48 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "pelorus.zefox.org", Issuer "pelorus.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YWMjl1RYYz44n8 for ; Sun, 12 Jan 2025 17:25:47 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net; dmarc=none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.18.1/8.18.1) with ESMTPS id 50CHPvqT065151 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 12 Jan 2025 09:25:57 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.18.1/8.18.1/Submit) id 50CHPvqS065150; Sun, 12 Jan 2025 09:25:57 -0800 (PST) (envelope-from fbsd) Date: Sun, 12 Jan 2025 09:25:57 -0800 From: bob prohaska To: freebsd-current@freebsd.org Cc: bob prohaska Subject: Re: [Bug 273566] stray characters contaminate serial console Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4YWMjl1RYYz44n8 X-Spamd-Bar: / X-Spamd-Result: default: False [0.04 / 15.00]; AUTH_NA(1.00)[]; FAKE_REPLY(1.00)[]; NEURAL_HAM_LONG(-0.99)[-0.987]; NEURAL_HAM_SHORT(-0.98)[-0.978]; NEURAL_HAM_MEDIUM(-0.89)[-0.893]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[zefox.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; R_SPF_NA(0.00)[no SPF record] From: bob prohaska To: freebsd-kernel@freebsd.org Subject: Re: [Bug 273566] stray characters contaminate serial console On Sun, Jan 12, 2025 at 05:02:15AM +0000, bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273566 > > --- Comment #15 from Sulev-Madis Silber --- > you currently have more hw than i do, it's all connected up too. can you test > it out more maybe? debugging kernels, etc. i should have multi arch usb/serial > switched remote lab on my own but i don't somehow eh, despite using fbsd since Just for fun I installed a GENERIC-KASAN kernel on a Pi4 running -current, but far as I can tell the problem doesn't exist on aarch64 or I don't know how to see it. The Pi4 is providing terminal service to a Pi2 running armv7, which since the KASAN kernel went on the Pi4 hasn't suffered a boot stoppage. Neither have I seen any console messages on the Pi4 suggesting something amiss. I'm guessing kasan simply generates warnings, but if so I've not recognized any. I'll keep watching, it would really help to know what sort of behavior I'm looking for. I tried to build a kasan kernel on a pi2 running armv7 but buildworld stopped with an unrecognized symbol. It's now building world/kernel with GENERIC as a sanity check, but the kasan man page suggests armv7 is unsupported. If in fact armv7 does support kasan then I'll keep trying. Unfortunately I have only one kasan-supporting host presently but have couple spare Pi2 v1.1 boxes that can run armv7 if it's relevant. Thanks for writing, bob prohaska ps, I was mistaken, there seems to be no freebsd-kernel mailing list 8-( From nobody Sun Jan 12 20:04:24 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YWRDp4Ldcz5jjql for ; Sun, 12 Jan 2025 20:04:26 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YWRDp2l0xz4Rll for ; Sun, 12 Jan 2025 20:04:26 +0000 (UTC) (envelope-from kevans@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736712266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lmPRCPLKurm77rTpKC1k+LdL3fc5iRx8fWngN2OEoAE=; b=ywJnfuYr72hAKz8jj0szzgQhbFTec55PwX/Tx3+qBadhdTpn3Vi12JULzO7qTKNNjNjBFY Lb/83u9pDZctvGwQzg6rd1kRZZ7TmMYxxw2HeIOkWIUBIVMpd/vwv10MJ8OYFCWeGzU5QR A3f6D/Yuc+6fSvXOzkZ9o8/Pbxy1va5Lu5RqmikcV9tvkbZU9Iepg8Ox40Wr9ZAXQ/DMDe RsgiTkZRD7NWMU6+Ae5+Ad/GfukEvVeOc+Vla+tE1RhMqlNem8SHsxpTj9zWJxZMvoWbdM EmoHyfSf1VKVTAV0r92q8QEzaINl3hSWD8jgoJjSJOfEQYPBrhr16dPpQU0shA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736712266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lmPRCPLKurm77rTpKC1k+LdL3fc5iRx8fWngN2OEoAE=; b=D3L8auL+u9r+dovHM6Y2b2NtuB7M/Gz33m39ytKhwGSGBy8PCxQYwiaS2yhN9UC3aVsRaJ 7VepTXE+dqZ0TB/rbPwJhzcYZ5sCal+C6TOOoMGM9gOVw/htru+S1QB4eVY+f6M3f/AWYB V+dS9mCscYj33EvQmWXMuLrJbVmu9924B8vO1xUxCx4DeDpGpqnBMoK8OOQ40rGFQTrokJ RREHWNsdh+V1lAsgxHoSNDGI1nI/QPGKL2BxggpEjmi+a4dv0HxCoNHiR59m9Sd1XLl4Wv V+MU728Fn+P5AgSWyzndWVM7DGShQtEvX+xMhYwPg6ps0m0j81iOPUOcWyYdxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736712266; a=rsa-sha256; cv=none; b=AYwNFXoIYkv7FyxQa0o0Zb5/t2GxKj0Ci2Fq7nrkmSjA5v1k4ImGnt1hH/rn6tUtm31G5W 7Of09Mq1p383zkKCRwhubLpRt1OSj9ABiKaCD53ZNzLY7o8/A5yj8+dXUxf6HOX+9NLzDp QoJ/uGN4Ds3aQSBMGTqiMpwzhuMjnV3by6rKjDi5bgpPKNkFqx3E6ePng0AmmhDeCRvyrx ag9/sgZf7obZMu+WH4g2I19lC+HbiIFGlk5f/ootvD5qzS/03Xlzmtp99MfnsMfqzPvwtP q/9FCAjFMEndXTsVfpmLhhbG7lzvZBun32IZljBpdiEm8HUQ1Fze3vqnO6u+iQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from [10.9.4.95] (unknown [209.182.120.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: kevans/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YWRDp0sKGz136B for ; Sun, 12 Jan 2025 20:04:26 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Message-ID: <5e6620f9-ac6c-4a2d-8b9e-2cc1cafc17a4@FreeBSD.org> Date: Sun, 12 Jan 2025 14:04:24 -0600 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Bug 273566] stray characters contaminate serial console To: freebsd-current@freebsd.org References: Content-Language: en-US From: Kyle Evans In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/12/25 11:25, bob prohaska wrote: > From: bob prohaska > To: freebsd-kernel@freebsd.org > Subject: Re: [Bug 273566] stray characters contaminate serial console > > On Sun, Jan 12, 2025 at 05:02:15AM +0000, bugzilla-noreply@freebsd.org wrote: >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273566 >> >> --- Comment #15 from Sulev-Madis Silber --- >> you currently have more hw than i do, it's all connected up too. can you test >> it out more maybe? debugging kernels, etc. i should have multi arch usb/serial >> switched remote lab on my own but i don't somehow eh, despite using fbsd since > > Just for fun I installed a GENERIC-KASAN kernel on a Pi4 running -current, > but far as I can tell the problem doesn't exist on aarch64 or I don't know > how to see it. The Pi4 is providing terminal service to a Pi2 running armv7, > which since the KASAN kernel went on the Pi4 hasn't suffered a boot > stoppage. Neither have I seen any console messages on the Pi4 suggesting > something amiss. I'm guessing kasan simply generates warnings, but if so > I've not recognized any. I'll keep watching, it would really help to know > what sort of behavior I'm looking for. > > I tried to build a kasan kernel on a pi2 running armv7 but buildworld > stopped with an unrecognized symbol. It's now building world/kernel with > GENERIC as a sanity check, but the kasan man page suggests armv7 is > unsupported. > > If in fact armv7 does support kasan then I'll keep trying. Unfortunately > I have only one kasan-supporting host presently but have couple spare > Pi2 v1.1 boxes that can run armv7 if it's relevant. > arm64 and amd64 only today