From patchwork Wed Dec 4 15:54:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 13893989 X-Patchwork-Delegate: bpf@iogearbox.net Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 946954A28 for ; Wed, 4 Dec 2024 15:54:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733327684; cv=fail; b=XKinlblXDfCM5tg/mJHIzK2AEKgCNQ//lQhP3azEKgeVAfvhuI0IsbVkhfWEvnVo7MW4dc4ysjw6Y76Ybn2eKERDlerjhr2gn/AvI3bCn6ZUfAOQtLDHj+KTX2sa37Y2P+A9Y+qLTGFg+t41DoEL6UoWX97d0xtAZBTn9xjIgb8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733327684; c=relaxed/simple; bh=M/9BNNIUXd+JNxiHOVPVH0w/IgXVwk0+UxwFhYted/M=; h=Message-ID:Date:To:From:Subject:Content-Type:MIME-Version; b=H7n5JzDJr0uJCD9ydtiBZLwxiv2ktIUvpXgPYYU0Yf6FITcpo47aL4Sgu12EWlqRGUuMrwb/H3zI1PtBdr76/mFhQ7ebhoADROE8CCFG9Dw2Hil8/SxXx38ncYj+Q/gNskfi0a3S8ToUW9lWFFE18td0aoPRPZE7FmaYUykDSMU= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=HordFJEt; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=TXYUbeiy; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="HordFJEt"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="TXYUbeiy" Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4B4D0hwW026930; Wed, 4 Dec 2024 15:54:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=corp-2023-11-20; bh=4NgBUD1Jkt893Etw YHgSwHuh7SgQo5VKA/y7j4UKnTs=; b=HordFJEtazGlRmJCwNAU7DM27MGXcBLz 1Nu+JO4p3mbpJH1eFoxbq1vypsmEABd/kR+JY5V6J0k+wHhQ3OKFTHq1bqIWdheo nB3YbwobH1yrnSRXKypa1tm2KA+QbE5ClN7l8GUfNQ2gP696xI20wKHj++04SBgj mEuvYbAVMwy17loQ3lKU/Xc6cgXY0LAJQWRjzG5QAy+U+Q30DzdmUkBzXFElzbjN MKIZSEuXGW33j6g5zGbYcgbp0pU062s/tC2BChGwYPlnHgeIEjMqlJVTbt0fIg4e Pc5rLT4TGFHyxnlccRBG3iCVx73na3GM6TJ3b/WGyrNDEq4LhX6myA== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 437sg28td1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Dec 2024 15:54:37 +0000 (GMT) Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 4B4Egaje020401; Wed, 4 Dec 2024 15:54:36 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2041.outbound.protection.outlook.com [104.47.74.41]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 437s59nmua-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Dec 2024 15:54:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=zF9d02RPXGdNy8+Hk48LsUXFKPS9LunxJNW1q+JNSI6SmgxmgK8Mv2vvdQDzmBxPAUKXh6NNxD/GsKk44o4NJV3d76FdUHI0p9ZK6FBacgapNJt9YpzRwyu093mKE9IHkIzmd/dKrjkG6smATjI50iNcWrY3MJObzILtXxPlqDxH7bQF6nmOAVjZ91W/sg+/PYSTB5sXu6+WFuher/lIbmIrkfI0Kf80qVXBUrRbzYYo9i4eUoAQWCX4e7agpcUHP6Iz6kl764upNocJ84d2RrYj74gjX+cH0DYtAskixUecOt+B9OEMSFsI8DXgBQSH8mJpHZGjtGwsqYkzvNd7Qw== 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=4NgBUD1Jkt893EtwYHgSwHuh7SgQo5VKA/y7j4UKnTs=; b=oYnu4mVhSYi7cXs2yO3lgcAhzEOLZcMJb6V8ZGX7X+Dxi2qlMfBQNRFdRwu5A4YYtvX4NtbPEnkO5jPL9OY9dXz+AEVf6QIRu1Lgv9CkgqA2m9Yb2Dd/ZrE/2Yd/cxn1kZ6lkh7NmQnIcaeEoCyGhneqSgREGLLW9556ImbkTTejOWxB/6jLFIfGY0ote92BbW7g7D/Uej1V9xutWs+nuMlFZYK2HR7nop7FLKpsilzechkszD25fV/cK3ajqHB7pTxT/GIxxmRs5ANRuW1AmTEob8uhjz5TtJ0og0XC86Eo0sRxpwO+n4fpvae9yCx/pqLp5RijHuuIWJe4cd92vw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4NgBUD1Jkt893EtwYHgSwHuh7SgQo5VKA/y7j4UKnTs=; b=TXYUbeiy7/VZJGqtNJR+69zrRm+PPzcok1zAb0p4AQ6/goaoWTyrJgqgQHOO5Nn9ME+g3RzFLiNh6HCmDno9c/wP3+AvE8m4iyNsuIX/6oM4Y7uj/asrp3xAdIRdhTR2c1QWh3NI3UUllFCtqyCkvGOxG0HRRcI+Msk9FNwusvE= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by MN6PR10MB8048.namprd10.prod.outlook.com (2603:10b6:208:4f4::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.19; Wed, 4 Dec 2024 15:54:34 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::4f45:f4ab:121:e088]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::4f45:f4ab:121:e088%4]) with mapi id 15.20.8207.017; Wed, 4 Dec 2024 15:54:34 +0000 Message-ID: <9950a25d-1a79-42c9-ade7-dc51ef569ad2@oracle.com> Date: Wed, 4 Dec 2024 15:54:30 +0000 User-Agent: Mozilla Thunderbird Content-Language: en-US To: bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org From: John Garry Subject: arm allmodconfig build issue with bpf Organization: Oracle Corporation X-ClientProxiedBy: LO6P123CA0020.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:313::8) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|MN6PR10MB8048:EE_ X-MS-Office365-Filtering-Correlation-Id: a1447eae-42fc-48d5-2eed-08dd147bf26b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?q?cryipw2HULENJFlkbH4AKGCcFv2S5LZ?= =?utf-8?q?1eBRawxw23pHu3A9XA7yuK+Jx/W3tEiuwdCVrWXQ/VLdtVGTegNWTzZEZaK5WE0yf?= =?utf-8?q?y8Ho3rfQbg7a5KFsCULBYC9OvKrS81WDHrDBD+oIWH5wrqu0OwTXT4LtIXxDClbty?= =?utf-8?q?JjerPe3fKre+wIuvLZEIuhERv8xqd4+LvfykEgXXlxyxl8YDSLKDQGnmAnzOPQULJ?= =?utf-8?q?w61tXCx/dOwutpwUr4JLyL48y92jnCUFHMSBGup7KuW3eX2S+yscXT1mXnR6P3Eis?= =?utf-8?q?HO4eH9hP5djWb+8yMsg1UPryZTqDHyRIiMqm9MJHjLhXuLnIgQtLTjG/TzI/Twk+L?= =?utf-8?q?qbrcuvyvfZ7ZBrUFuX4Ke6+eYtLAbk9KNZq0luHsZja/2mPWpbp2Ei86OoGHnc06/?= =?utf-8?q?emYU/MQr+uYrk4X5mvT4qAmErP0fujlK3gjAGAYkTXKHWDFlC2ElQKYgLI3oxA2PP?= =?utf-8?q?00fggNYRROMnyLTobAnPM39XVklrS+qnZZ7LAooFZNNoGJnnxGU8Avon8xW4LHbV6?= =?utf-8?q?cuxm8g1xXNQmi+vom6YVN/HD7qvkKElANsq6bjUFxY1kXVHv28kcy4BiCQ0JXLj1P?= =?utf-8?q?6p60TD9HDHLzJk7Vbt29AMwwu0y92Zz3+STj+D1blppO50lOspKvDcZRyXnmelpyG?= =?utf-8?q?XW7J40F4ylVlfFkldi6cPx3j31MAIQC8IGOEbtKFcR2Mx50CRqIREaHD1HA5vvDH+?= =?utf-8?q?SR+u+cyk1wT76CM2JzP+FhzIO5Fbk2YE/NI+zb3QLLS69dFA7z1/RCtCKRvR/cjDW?= =?utf-8?q?YJwfGHXfP+mFgzCOYpfIto2bidkjoyIcEm59eyT7Geok6QltZF1s2gY10yXgYylde?= =?utf-8?q?8GBqlcAA5iVjtorctfdnsH+d7ZogntaaBzrCezQu7/4bk5mv59USsQNxCZ9Vnn8af?= =?utf-8?q?rZYq73H669ZLzU/Y+KuM8NBNmZYFxc3R7lReyw7Oy8ElxYfA2ZuNuy9MKNiYSJe7z?= =?utf-8?q?3+uloI7JVHzbXK+eBiMa5C+qR6h0NquC5Wy27t6aE8A5v0YRhcValyLAwEGLaMa4Q?= =?utf-8?q?y6+W6nO6Qq5nTiBIucWv38Ru0g/GZB+eAC4U0WyZO3Bol3fEyjn3+gW7grAoMIIuC?= =?utf-8?q?BD+WjlV/mJ0zppnEG92hwvaV4SK8D7c+O2k311Ot7t8IibZJbb0/4HeHvdWIJ0vhG?= =?utf-8?q?0kdp9N+/jdm0Oz7kWrkZBHPzR2HEUuARMPiM2X3DyWk8l63jQxzWQnhKGvXHbjb7W?= =?utf-8?q?ClkTvFTjbtB+qLC3QUjiz0/TQk2ihva+6x95IU1gW6eOku4DsIBqjgmN5+xnueO3+?= =?utf-8?q?qQYm9Ap9+hXEQA9fk/m955/fonMd3Bp/XUA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR10MB4313.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?miVWO0rdt+nfoLRDy0s2vnL2nrgy?= =?utf-8?q?51Rfglzf/eHwjgyBIocx2aMIfeYehW5VavbyeUZv3HGk7mxZTdX631FX7ZmK2HQb6?= =?utf-8?q?V2uRbWXEoI1pR9lIDnBXyZy/XmzRO76YZDgLZ+j5FA4w8x2reVPAyI04sOWS3Aluc?= =?utf-8?q?53nZj28MzR2C8GOAHpgayyww275Vb9k6HHPMoEMks9HROuWEiCos0NobGFw5V74b+?= =?utf-8?q?eHlQsZ3iKSqEb1dYr5QPjY/d2pSafXD6a06mN/cbK3vhvLDfaR+PApBPkwpMY0LiK?= =?utf-8?q?P6rRWXVUp5fn4z9pnHayT1bkkuAcJftdg4llrMY5/Dkk4zZAIsIR8ALVwqSqMaHCh?= =?utf-8?q?c1g1i3fnLyXsl5nPUfhw4sYC9yykpwoO8sK4pdcvwR0aiQHmFNvPqAGP5LBUlBrxG?= =?utf-8?q?7nqeDFAq2RxWxoedBSxDkwPNNgF+Bgt8wr3niqVflmbyvGIznrj6p6zThtyaLIAoQ?= =?utf-8?q?o1AKDYWFFhciwGPX93bWfSv4NAFQCTjVsG5gG8d0YwbQUmlAVrZW/qD2T/l53XyXd?= =?utf-8?q?+vOc7OYA8N/fvajcpgV0bLJbBNm8eNoOmPLv1++YUNBn+n2H8nhubwMCeUXq95bz5?= =?utf-8?q?mxnlmb8GUfxkshSpXN/DxnaY3DRGk1sNJ2e2xDpdLlcg4Z57H7lOMeo/m12HNT1fF?= =?utf-8?q?rCBWlH4P50vQ4pZVF6pwTrGed76FePtbRdje73Jp7eKkSCgAX7cXuyVIVKnpujnqr?= =?utf-8?q?liQnipXDdnESMIrdMXHjD9fKEegi3XriR4dccPdZifEnyRQPuc8GzOfP9r/qQv0ht?= =?utf-8?q?YYXeGn0uBM5JeQRpeGjRbr6AqEeEz69Ql38SBW1FQQM77tI/XIwtobCzKDpm4x9+W?= =?utf-8?q?ohTdJOkmmejw2KDQ5+dJ66/+k4bCjFnNrQ5cq7Qao5l3ftExuwU6gCWM9UuRCmjeN?= =?utf-8?q?r+V2pd1smruTXaDY2frCFSbUfbn6VuV4JeSaLyvOPlZZrNrXHDCG/zvwABz8A5XgA?= =?utf-8?q?CFcBDSK96TvG2817zXyP8mB4k2M4R+jrTeVxQLJzmuRHw8y+fzp6GEt9GY0Seq/jF?= =?utf-8?q?vkZFMgXTuTndpP//XETFVvGHhDQilOYfAYv83jPgwkqXTkfJY2T7huYh4hjPYEObr?= =?utf-8?q?P9ijZ0shhi3Y6ur9WLO10O2W6r5cRdBKZyPXD10ypZ/xsCP2619oBi+qGrTZ8qjP2?= =?utf-8?q?FPm+kkncNTf/58UpmPNY7CLxTVoUvoQIECCVFvcR7jg6Vx87LIHJkh3fqVUmegAzD?= =?utf-8?q?bPCPHTqraMCs04JsMqEvD0Y33+s8mTRosxHM6s63Q1/VR7PHpelplotp84Xq2PDuT?= =?utf-8?q?wIOrJ3PPLdQYjhBi7wqEM9Ackq59vD08mBadEMmCay0INPiQokrnb2j3Dp2gjS+N0?= =?utf-8?q?BZGcuhwvTPHiSgYr6S4/bb7eCT71770kQamiF+7VrPfy0OYoigjdM7mLip7zee+b7?= =?utf-8?q?x0SF4REnk/bApdkJVc82AuPkiihKCieXj0pWFxToNK264afUacijIV7UGIZCIuY+3?= =?utf-8?q?UyNTQzmjrTe/sqjwlSK1+A+/FnbSiufTVBn9uAJrwaC6zQSXp2vF0B3QwW1Fxq9np?= =?utf-8?q?LF7oHQnIuKO6jgR5R25ufBwACSJMnVBJEQ=3D=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: G5E2h8MnhhZVp7wsSz6pZ4Rc74+t21P/OrqIHmlrqFyDYSuxqXOJpLYyRRcuwjP49U9bfgMGdwECclXi53GbUTgqHYoHDjNXvz7sFvslqZmCPeyuKp9Es0GbX4npfYjW+i4o0a0psu+5/g86fFJK/Tnwz6DGkJe+nkgW2PfaksdMWeN3p/vLicKyEcFLbrtofOyiINQBPxTh8GkTSSAYI5GYyfYoMp9kIEM5DRCD/LBDeUzyLZhD0K81Op75KH3k7JQTMyWnwlNAkhg+mZGiew/mjH7OkKwlTecmtUL1oh7bE6ATfg0Sw1EpzfGH09REMgxFUrP4P4HV9NJ8qznVSnLHXvUA4Hic39mMpclQqo9S5NML5mXYmiaWZIdq+KOJ2WTnJ96gGnQQ0D46Pf7itX1xbFdk56kZZ+BoOrdhYydVHUFjqMIjY/bSjg5PEzrv7E8Sd8PC2U7DrZaSzd2njj1zSXZLL3VB0QwhmGa26XNpgEBgt/8JpZfv06KG+q50u8f1vIlE21M1/WHUwzugsTIrcwLNUvDfa3i7hlBTCm9kUJqJT0lyQFWYNh4Wf4VZcutHM7/w6hXDQOb6rk0n8NuRPIeFlLlmYkHO9tGXWhE= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: a1447eae-42fc-48d5-2eed-08dd147bf26b X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2024 15:54:33.9318 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bX1mADxq6Gn4xbMPl1xzLLkgrH37jNJzUBLzkKS6C4EfooSx/Bl2cDG7pQlz9AnAkO1g2/OIXn+93/MZDZCPJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN6PR10MB8048 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-12-04_12,2024-12-04_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=999 spamscore=0 suspectscore=0 malwarescore=0 mlxscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2411120000 definitions=main-2412040121 X-Proofpoint-ORIG-GUID: gnbB18ZAl0FL66FeuxlEkhYvOEMQervU X-Proofpoint-GUID: gnbB18ZAl0FL66FeuxlEkhYvOEMQervU Hi all, For some time, the arm allmodconfig build has had this following build issue for me: $ make net/bpf/test_run.o CALL scripts/checksyscalls.sh CC net/bpf/test_run.o net/bpf/test_run.c:522:1: error: ‘retain’ attribute ignored [-Werror=attributes] 522 | { | ^ net/bpf/test_run.c:568:1: error: ‘retain’ attribute ignored [-Werror=attributes] 568 | { | ^ net/bpf/test_run.c:577:1: error: ‘retain’ attribute ignored [-Werror=attributes] 577 | { | ^ net/bpf/test_run.c:584:1: error: ‘retain’ attribute ignored [-Werror=attributes] 584 | { | ^ net/bpf/test_run.c:590:1: error: ‘retain’ attribute ignored [-Werror=attributes] 590 | { | ^ net/bpf/test_run.c:619:1: error: ‘retain’ attribute ignored [-Werror=attributes] 619 | { | ^ net/bpf/test_run.c:624:1: error: ‘retain’ attribute ignored [-Werror=attributes] 624 | { | ^ net/bpf/test_run.c:630:1: error: ‘retain’ attribute ignored [-Werror=attributes] 630 | { | ^ net/bpf/test_run.c:634:1: error: ‘retain’ attribute ignored [-Werror=attributes] 634 | { | ^ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:194: net/bpf/test_run.o] Error 1 make[3]: *** [scripts/Makefile.build:440: net/bpf] Error 2 make[2]: *** [scripts/Makefile.build:440: net] Error 2 make[1]: *** [/home/ubuntu/mnt/linux2/Makefile:1989: .] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ubuntu@jgarry-ubuntu-bm5-instance-20230215-1843:~/mnt/linux2$ The issue comes the definition of __bpf_kfunc from include/linux/btf.h Other files which include btf.h, like kernel/cgroup/rstat.c, have this same issue. I am crossing compiling with the following: $ /usr/bin/arm-linux-gnueabihf-gcc --version arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Normally I bodge a fix like: ---->8---- \ __diag_push(); ----8<---- Any proposals to properly fix this? Thanks, John diff --git a/include/linux/btf.h b/include/linux/btf.h index b12c63af9e78..4214e76c9168 100644 --- a/include/linux/btf.h +++ b/include/linux/btf.h @@ -83,7 +83,7 @@ * as to avoid issues such as the compiler inlining or eliding either a static * kfunc, or a global kfunc in an LTO build. */ -#define __bpf_kfunc +#define __bpf_kfunc __used __retain noinline #define __bpf_kfunc_start_defs()