From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 314FFC433EF for ; Wed, 6 Oct 2021 21:48:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0EFA461056 for ; Wed, 6 Oct 2021 21:48:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239722AbhJFVuP (ORCPT ); Wed, 6 Oct 2021 17:50:15 -0400 Received: from vmicros1.altlinux.org ([194.107.17.57]:59326 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbhJFVuM (ORCPT ); Wed, 6 Oct 2021 17:50:12 -0400 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id E0CE272C8C6; Thu, 7 Oct 2021 00:48:16 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id D76857CF7F2; Thu, 7 Oct 2021 00:48:16 +0300 (MSK) Date: Thu, 7 Oct 2021 00:48:16 +0300 From: "Dmitry V. Levin" To: Chris Packham Cc: Eugene Syromyatnikov , Steffen Klassert , Herbert Xu , "David S. Miller" , netdev , "linux-kernel@vger.kernel.org" Subject: Re: strace build error static assertion failed: "XFRM_MSG_MAPPING != 0x26" Message-ID: <20211006214816.GA11000@altlinux.org> References: <1eb25b8f-09c0-8f5e-3227-f0f318785995@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1eb25b8f-09c0-8f5e-3227-f0f318785995@alliedtelesis.co.nz> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, Oct 06, 2021 at 09:43:11PM +0000, Chris Packham wrote: > Hi, > > When compiling strace-5.14 (although it looks like the same problem > would exist with bleeding edge strace) with headers from the tip of > Linus's tree (5.15.0-rc4) I get the following error > > strace: In file included from static_assert.h:11, > strace:ššššššššššššššššš from print_fields.h:12, > strace:ššššššššššššššššš from defs.h:1901, > strace:ššššššššššššššššš from netlink.c:10: > strace: xlat/nl_xfrm_types.h:162:1: error: static assertion failed: > "XFRM_MSG_MAPPING != 0x26" > strace:š static_assert((XFRM_MSG_MAPPING) == (0x26), "XFRM_MSG_MAPPING > != 0x26"); > strace:š ^~~~~~~~~~~~~ > > It looks like commit 2d151d39073a ("xfrm: Add possibility to set the > default to block if we have no policy") added some XFRM messages and the > numbers shifted. Is this considered an ABI breakage? > > I'm not sure if this is a strace problem or a linux problem so I'm > reporting it in both places. Yes, this is already covered by https://lore.kernel.org/lkml/20210912122234.GA22469@asgard.redhat.com/T/#u Thanks, -- ldv