Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1471500lqz; Mon, 1 Apr 2024 07:26:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXf08ks8nM894iM7TuTYo/Bo3fXyXZZZrTNhRL7U0c6I3tfYrq4qruhBFIBQNprwLDNk8UyEHutXkOMhpxFbyLB66/kgRvdaBQ3Htm92g== X-Google-Smtp-Source: AGHT+IFSzlNPJ8aotgw8PcsYYWEk3I8KDzpPE9EE3X0ksVOa75G2l799fwSbCw0NeHuZN6CBujx8 X-Received: by 2002:a05:6102:2759:b0:476:e7bb:8783 with SMTP id p25-20020a056102275900b00476e7bb8783mr6964367vsu.25.1711981576466; Mon, 01 Apr 2024 07:26:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711981576; cv=pass; d=google.com; s=arc-20160816; b=bC7zA88Yf6vFBc7D2tYI3h2jkFTVVL/4DKPt14C0t78Jxun5VpzLTTunSQf+5Cyl+s brUt367ZIdmdiwwQSovhCB+9HOnm65vc0IO9f92ofxa3G9H4UgGjh3coTrzND1msAzBt 1tqBXLzzta1Afdgs07kGdB6bO4NN+wAS0huYJviH1JJZnXnruk0MnycCu6wxygbfgIiz 27WYL5qZFx8sQkPdgGlPnPTE782JiTmBjeORls7SRhKs2Zce3NFA09cFMUhA6+Dy7fMI 3m1BxmVy17IcmbejSILTJfI3SQP17yEb7J3aVjlnYFoNDdV041skqs1iC/+yndXJZnzR Nm0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=if+RBx9RSM0fp5JFTblkso8QyP9RHhYZAkVQAm41IHk=; fh=wb+/K0i2VIaFiIsSJgcIB5GJ2jrrSkW7DhHD37KQnm4=; b=x+6JVHh+d9Z99FeT8p74guK8pAAPCfoVmxBoKRtGk1o3f3H5QPad3vexsTfpjm4rT8 1X5qa53yW/ToMfAqeaaKXo7X543dNHSPH6M4EfoM93pwF9Qz7xPq119AB4/uiTWheDET otxiJdgxwZTspbAPxeOuyQlGNamR9HoIw2QToaCEbOxM4Ov72CVbLTbxgHOf9DOD+fnW VTr7UIeFFMkJLP2VDq0OryBMw9tsUPvof2lP5ADR06XD2+goexUQByH1Sq7S5szcqywX HhvHmi0VvXzwNSlUpRp9GvNXXKDhnc702SjodrA/cM7ztGw0T3ZGyhsfKMLZ8D7Xh5gK KI1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="M4b/WyBF"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-126743-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126743-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o19-20020a0ccb13000000b006960f8a6024si9866671qvk.361.2024.04.01.07.26.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 07:26:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126743-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="M4b/WyBF"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-126743-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126743-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 221A21C20EF6 for ; Mon, 1 Apr 2024 14:26:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C5624206B; Mon, 1 Apr 2024 14:26:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M4b/WyBF" Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02B5D3FBBD; Mon, 1 Apr 2024 14:26:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711981568; cv=none; b=CK9ySo4mWrRVhzzHCA7bXfpRtWljJhadqFpPByrFDbN/LpRchTV9E6MzzOqmMg4st38Z3ohKlhOIx8IvIZUGnCdFlLmp+oD4kH17Kin7/6M2d1m3bL7EQppHb01Y/TYDoOg7xdnQkkypQjc7B/08byWd4COQghPhlkjAEzhgtf8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711981568; c=relaxed/simple; bh=Mk3SOZpDwkKkQnFFlNMhgyAUVwIyREkwUBMH8bRLayU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ak1hl5RN507FX6cuOQ+3RsQXY7k8laNMOUuW+q6COqTDIKeL3kTuqpKmof6jyN5Lfi4dg0YZj91vjUpUu6WE0FplMRxtJPcjL8SlsK9bws3nVek7j3fObWBhLOR+r8PyFhiylVvluXUQL6XxDaiQSBwDkUfuBlUFDfLp0jWOtRs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=M4b/WyBF; arc=none smtp.client-ip=209.85.214.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1e0ae065d24so33509165ad.1; Mon, 01 Apr 2024 07:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711981566; x=1712586366; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=if+RBx9RSM0fp5JFTblkso8QyP9RHhYZAkVQAm41IHk=; b=M4b/WyBF2WbeDApBREve0RMvSPnPLK86zZ6AdAA7xWGzhU5zKWx232EhC+YS9gCVuo vC2jTlQuDtow0SNTHQ0YwQQFz+aQUtwwHxc82fCLQlmF++NgBbuhqCiP8WASKXLB/4+M rJ3Op0WZye8V4kImdfdZ4tHEX7eS5g1IQyixF5lUqsn8tNEpBrAFxJxkNutSfmdhOloI BtqQs9DjArr+oI8nmuqho+b74kotXwqbohlcg4xv8lIUS/eMyRREhW0deq+nCcC8erVH 4IO/EVqZaz+Ad9U26SbnN4gCSfsmyKzropTbV0EuA/bhaAfcIVixLcpeOBVvHbmyYVUy +4Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711981566; x=1712586366; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=if+RBx9RSM0fp5JFTblkso8QyP9RHhYZAkVQAm41IHk=; b=I75PxKx/z/u8vyLxtY5gZIvRR0R+qp7Mw73herKja+3IAZLgbcacCKNZzwCq86cG5i dyl8N15Cgf2YsFcPz75jHM/5z69rbpKwFvTPOYYO6FjE6ZKm67zP1jZ1ZkVDWD4loAEe keEEvV/CwNa4jE/V811ooBZB4CzxWjqPWTNLhrfNEuC+3zVFauuQRFnMF5yiDhEaxNGr +ujt3t8uTijAQUMoFwP3IGTk94gnygwfj9PsT+pgmYIvHR0TDrqpsrXgSsF2AED4wfCR bOsW1DjPnXZjnUpPjhNcLUnz28s4DgcmNViPYvO7QVjefUEXhnCQVu25arQlXgn5wKqz TuDQ== X-Forwarded-Encrypted: i=1; AJvYcCXejbtEBjOFiT2iC9ZczIeyKWAvM7GVrAv4UGJs2TmBMIfZ7MSWgl3WQpeOmHkBSidzewm8Zm9W33T8On3vgwHX8gf2oJvRsvvVICBcmNAWDyDB9K5wxZ4PbFr+6YwHTKFjhL76 X-Gm-Message-State: AOJu0YyrwooSAK162Lpo08vPOnBugL9BvjJVTHJxQ0cnAxfbk/ycHBYX Wz0muwKx8Z+/wLZ+TeoXb4P4yOUMs0qVdlCBVcbMxpuiHBvNxRSn X-Received: by 2002:a17:902:cec3:b0:1e0:b6bb:d864 with SMTP id d3-20020a170902cec300b001e0b6bbd864mr9751126plg.18.1711981566328; Mon, 01 Apr 2024 07:26:06 -0700 (PDT) Received: from archie.me ([103.124.138.155]) by smtp.gmail.com with ESMTPSA id w15-20020a170902e88f00b001e0f366139esm8958530plg.119.2024.04.01.07.26.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 07:26:05 -0700 (PDT) Received: by archie.me (Postfix, from userid 1000) id 320AF184EC504; Mon, 1 Apr 2024 21:26:02 +0700 (WIB) Date: Mon, 1 Apr 2024 21:26:01 +0700 From: Bagas Sanjaya To: Greg KH Cc: Viktor Malik , Andrii Nakryiko , Daniel Xu , Alexei Starovoitov , Nick Desaulniers , ncopa@alpinelinux.org, Linux Kernel Mailing List , Linux Regressions , Linux Stable Subject: Re: Fwd: stable kernels 6.6.23 and 6.1.83 fails to build: error: unknown type name 'u32' Message-ID: References: <2024040143-shrimp-congress-8263@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uz1AUiBCYiQEH0dj" Content-Disposition: inline In-Reply-To: <2024040143-shrimp-congress-8263@gregkh> --uz1AUiBCYiQEH0dj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 01, 2024 at 04:15:25PM +0200, Greg KH wrote: > On Mon, Apr 01, 2024 at 09:09:55PM +0700, Bagas Sanjaya wrote: > > Hi, > >=20 > > On Bugzilla, ncopa@alpinelinux.org reported resolve_btfids FTBFS regres= sion > > on musl system [1]: > >=20 > > > The latest releases fails to build with musl libc (Alpine Linux edge = and v3.19): > > >=20 > > > ``` > > > rm -f -f /home/ncopa/aports/main/linux-lts/src/build-lts.x86_64/tools= /bpf/resolve_btfids/libbpf/libbpf.a; ar rcs /home/ncopa/aports/main/linux-l= ts/src/build-lts.x86_64/tool > > > s/bpf/resolve_btfids/libbpf/libbpf.a /home/ncopa/aports/main/linux-lt= s/src/build-lts.x86_64/tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf-in= =2Eo > > > In file included from main.c:73: > > > /home/ncopa/aports/main/linux-lts/src/linux-6.6/tools/include/linux/b= tf_ids.h:7:9: error: unknown type name 'u32' > > > 7 | u32 cnt; = =20 > > > | ^~~ =20 > > > /home/ncopa/aports/main/linux-lts/src/linux-6.6/tools/include/linux/b= tf_ids.h:8:9: error: unknown type name 'u32' > > > 8 | u32 ids[]; =20 > > > | ^~~ =20 > > > /home/ncopa/aports/main/linux-lts/src/linux-6.6/tools/include/linux/b= tf_ids.h:12:9: error: unknown type name 'u32' > > > 12 | u32 cnt; =20 > > > | ^~~ =20 > > > /home/ncopa/aports/main/linux-lts/src/linux-6.6/tools/include/linux/b= tf_ids.h:13:9: error: unknown type name 'u32' > > > 13 | u32 flags; > > > | ^~~ > > > /home/ncopa/aports/main/linux-lts/src/linux-6.6/tools/include/linux/b= tf_ids.h:15:17: error: unknown type name 'u32' > > > 15 | u32 id; > > > | ^~~ > > > /home/ncopa/aports/main/linux-lts/src/linux-6.6/tools/include/linux/b= tf_ids.h:16:17: error: unknown type name 'u32' > > > 16 | u32 flags; > > > | ^~~ > > > /home/ncopa/aports/main/linux-lts/src/linux-6.6/tools/include/linux/b= tf_ids.h:215:8: error: unknown type name 'u32' > > > 215 | extern u32 btf_tracing_ids[]; > > > | ^~~ > > > make[4]: *** [/home/ncopa/aports/main/linux-lts/src/linux-6.6/tools/b= uild/Makefile.build:98: /home/ncopa/aports/main/linux-lts/src/build-lts.x86= _64/tools/bpf/resolve_btfids > > > /main.o] Error 1 > > > make[4]: *** Waiting for unfinished jobs.... > > > make[3]: *** [Makefile:83: /home/ncopa/aports/main/linux-lts/src/buil= d-lts.x86_64/tools/bpf/resolve_btfids//resolve_btfids-in.o] Error 2 > > > make[2]: *** [Makefile:76: bpf/resolve_btfids] Error 2 > > > make[1]: *** [/home/ncopa/aports/main/linux-lts/src/linux-6.6/Makefil= e:1354: tools/bpf/resolve_btfids] Error 2 > > > make: *** [/home/ncopa/aports/main/linux-lts/src/linux-6.6/Makefile:2= 34: __sub-make] Error 2 > > > ``` > >=20 > > Bisection led to upstream commit 9707ac4fe2f5ba ("tools/resolve_btfids: > > Refactor set sorting with types from btf_ids.h") as the culprit. > >=20 > > See the report on Bugzilla for the full thread and proposed fix. >=20 > Is the proposed fix a commit to backport? Nope (see below). >=20 > Digging through entries is not the easiest way to get things resolved... >=20 The reporter posted the fix as bug comment [1] instead (hint: include linux/types.h) but not submitted it to mailing lists first. Thanks. [1]: https://bugzilla.kernel.org/show_bug.cgi?id=3D218647#c2 --=20 An old man doll... just what I always wanted! - Clara --uz1AUiBCYiQEH0dj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZgrD+QAKCRD2uYlJVVFO ozxLAP0VxjEVStkHg3M7E7HtD9w4YRf2K1YDmKWyjjs/uEBh6AD+MPN53TOCO1t5 ZMU0+P9son9t6/+DTT8G0qQpSOndHgM= =CUHw -----END PGP SIGNATURE----- --uz1AUiBCYiQEH0dj--