Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2743138pxf; Sun, 28 Mar 2021 00:30:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlXcOFtWpbe2znufox0+X/Rm/mT2CT7nIu7tR1l1/GGlyaz7LsH86u7pvHxPYlmPiJVkJ7 X-Received: by 2002:a17:906:4d90:: with SMTP id s16mr10158150eju.377.1616916624690; Sun, 28 Mar 2021 00:30:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616916624; cv=none; d=google.com; s=arc-20160816; b=Wy1MiiZ4YMMtXrfGnNKimuG981EmceGuWSunHHhvkugEuk5lEgbuw6V0mV2577GaZG EAHoJ4xs3rGfgffNjR8wRoKOotO3erjhVDr8TZA2avxzFAmgMWpSzPln8aUzLZ6Jns0d 5hdnPkW45t5e4r9QXw22viV1Mq6zyiNUC/6U57a7njJZ3MLC49gG/URktlnl1zbzDSBX kJv6V2VTFATympHbMu6eWHUf+RqTDC/RuZKkv5OvSMr31kyWAjP+/Qsb8au+XKrvUhL9 8KcV1p8hmh5TrucoXHlgplknyrueMvOz5mpDnGAFPlfYBaBPe7nO7r0mVCUyugJT5xEU IHVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject; bh=u6shP3wThxwGm2IZWY+DIXiLcMe00lpKT5fnComq03E=; b=SnNf6r/tghqtm4KhW9sN7iCcxNSCrCxdqFBVmeby+9n4t1IcY2ED2S4ecnXKGh/WDS yu8T8yZYYyq8PuM5ReG210cY5rrpo5wj3iabqXBvvyUJ4fFgIThJHZfbejX6GrZTAo3C IKm9RQhI94/kNYE3YuNSMBvG4jOQHzg6b7Jv1maaWAgCJLO+7BwTMIkfbcBsmIT139OG 0WAjc4qg9XlO3btasohIWskE3nxdSnexmuFACOT5GQLKl2+QqCnAMfcArWxcazTiseZU nnDJX1nNj+yUGk0d0DPELFWM1DY8zylZm9SrvtLwDvW1b6fcP99856ZtG2G28wByllA4 /8bQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb27si10534544ejc.448.2021.03.28.00.30.02; Sun, 28 Mar 2021 00:30:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230180AbhC1HYF (ORCPT + 99 others); Sun, 28 Mar 2021 03:24:05 -0400 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:37779 "EHLO outpost1.zedat.fu-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230184AbhC1HXw (ORCPT ); Sun, 28 Mar 2021 03:23:52 -0400 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.94) with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1lQPlz-001GNn-2X; Sun, 28 Mar 2021 09:23:47 +0200 Received: from dynamic-078-054-150-182.78.54.pool.telefonica.de ([78.54.150.182] helo=[192.168.1.10]) by inpost2.zedat.fu-berlin.de (Exim 4.94) with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (envelope-from ) id 1lQPly-00416X-RZ; Sun, 28 Mar 2021 09:23:47 +0200 Subject: Re: [PATCH, v2] tools: Remove inclusion of ia64-specific version of errno.h header To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Masahiro Yamada , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org References: <20210323180428.855488-1-glaubitz@physik.fu-berlin.de> From: John Paul Adrian Glaubitz Message-ID: <23d37c94-b1ab-803e-a397-b62e846e03cd@physik.fu-berlin.de> Date: Sun, 28 Mar 2021 09:23:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210323180428.855488-1-glaubitz@physik.fu-berlin.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 78.54.150.182 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On 3/23/21 7:04 PM, John Paul Adrian Glaubitz wrote: > There is no longer an ia64-specific version of the errno.h header > below arch/ia64/include/uapi/asm/, so trying to build tools/bpf > fails with: > > CC /usr/src/linux/tools/bpf/bpftool/btf_dumper.o > In file included from /usr/src/linux/tools/include/linux/err.h:8, > from btf_dumper.c:11: > /usr/src/linux/tools/include/uapi/asm/errno.h:13:10: fatal error: ../../../arch/ia64/include/uapi/asm/errno.h: No such file or directory > 13 | #include "../../../arch/ia64/include/uapi/asm/errno.h" > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > > Thus, just remove the inclusion of the ia64-specific errno.h so that > the build will use the generic errno.h header on this target which was > used there anyway as the ia64-specific errno.h was just a wrapper for > the generic header. > > Fixes: c25f867ddd00 ("ia64: remove unneeded uapi asm-generic wrappers") > Signed-off-by: John Paul Adrian Glaubitz > --- > tools/include/uapi/asm/errno.h | 2 -- > 1 file changed, 2 deletions(-) > > v2: > - Rephrase summary > > diff --git a/tools/include/uapi/asm/errno.h b/tools/include/uapi/asm/errno.h > index 637189ec1ab9..d30439b4b8ab 100644 > --- a/tools/include/uapi/asm/errno.h > +++ b/tools/include/uapi/asm/errno.h > @@ -9,8 +9,6 @@ > #include "../../../arch/alpha/include/uapi/asm/errno.h" > #elif defined(__mips__) > #include "../../../arch/mips/include/uapi/asm/errno.h" > -#elif defined(__ia64__) > -#include "../../../arch/ia64/include/uapi/asm/errno.h" > #elif defined(__xtensa__) > #include "../../../arch/xtensa/include/uapi/asm/errno.h" > #else > Shall I ask Andrew Morton to pick up this patch? It's needed to fix the Debian kernel build on ia64 and it would be great if it could be included for 5.12. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913