Received: by 2002:a05:6512:2355:0:0:0:0 with SMTP id p21csp595469lfu; Thu, 7 Apr 2022 11:29:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyapJg+KYzZ2v9iXDK9EM7X04VydFN3gXi3ZUHvlCQG97ATwx1DGNHkaQEYrvBAF58YkW9J X-Received: by 2002:a17:902:f68e:b0:154:6518:69ba with SMTP id l14-20020a170902f68e00b00154651869bamr15470734plg.60.1649356171224; Thu, 07 Apr 2022 11:29:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649356171; cv=none; d=google.com; s=arc-20160816; b=p3Qn0I4uI/7wQ5hGx9N322eHDqx1dWSBSqSY0aOtD9XDNYCbDzYT39h0TMQ3c4r8QC VdvM+GEcvraEH5HdHfjPI/4AJSn6wWE3tIIa8rKOpVaA3DWurnQdzHGMkc9Ni3ih7HyV oWKkF7xostrvh+5ZurEMJZGg8fRR8WTGOv9x56TIPVymF0NJCKh5GFhI/58HuRqXl8cA 3AxAOuplBkYT4l+VZOZgnArd+AK+49LAYBe+xqbo8k2IOa78qaKZbAjf/TWGpo1t4hDY 5zwJp7uN7Pyg+JEE9URGRLbn4rI5shSCQKQYmYQ6pglwWtSlKdMNfAWHPGKlvCat0JK9 2Hlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=QasKlTaVbpI730es6A/xIsqvcHBYKj5COcg2FGq6uhg=; b=WMdKjnYRoPmcYgwEabqAFG3QRwIUrJfwt1NEz1Gl4flZjb8EMiMCRmEFqg7ij9YDkH inkRQiLhFZSxWyOQ7a4YgJTBs5z6FUm5bUt5bYMayb1FbQ0K/KXw4HYes/DNP124bIih H0lwTV7dgIADMVqujJjMHc+PYbo1XlAzdtcqbNP3iJiz2s9mRZtDgeUcLFuzw2T/dpj3 GnKKQ0lKDSq8aBXZqDnQtIrxHTPlBwlzg7c9l7lcbQSkgiW4bYY6ZtBmMWQBXOAVbQN+ XoMyo/PTEeLVPJz6FK0zZnRij2ZWjriK+od6+e3K7GRYWPGPTo8XjetfE6YeacJ7w2qo 7Xog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=UQZLg4gF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x3-20020a170902ec8300b00153b2d16659si340152plg.609.2022.04.07.11.28.48; Thu, 07 Apr 2022 11:29:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=UQZLg4gF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237653AbiDGMZs (ORCPT + 99 others); Thu, 7 Apr 2022 08:25:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231985AbiDGMZq (ORCPT ); Thu, 7 Apr 2022 08:25:46 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 526375419A; Thu, 7 Apr 2022 05:23:45 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4KZ0sp4k4bz4xcZ; Thu, 7 Apr 2022 22:23:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1649334223; bh=QasKlTaVbpI730es6A/xIsqvcHBYKj5COcg2FGq6uhg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UQZLg4gFIizoJUaJ+VjCvw5x1VFXohXYnjTONxp3NRn8FaVUkt8EuMiYxD6wm4xlM kr00iC8d+QZemjEMI3gXspZZ0uClT5Y1aC6guaYc4N5yXsO0r/1UvK4mUqdWFRT5Qj PvSpoX/XpIrldXG7XRsd4TbwPQPGJDTmnloNwJWGFRDvnnDuqTJRblCWgKm9JHWiGH rSaEPJP9aKl6vImRW+SskAXtXEDOkgGFPzfsauPh1S/rneME5j1LzEQXI/+LD6luzR wFyLffKLbSagb7ZGUxcO6Vv8R+Nv+vu1ectwVn2Y6Ui/yggyxZ6yoNaZlPHXyW7juJ 98QPFQEGa+5Sg== Date: Thu, 7 Apr 2022 22:23:41 +1000 From: Stephen Rothwell To: Naresh Kamboju Cc: Linux-Next Mailing List , open list , perf-users , lkft-triage@lists.linaro.org, Arnaldo Carvalho de Melo , NeilBrown , tanu235m@gmail.com, Matthew Wilcox , Thierry Reding , mgorman@techsingularity.net, Andrew Morton , Andrii Nakryiko , Alexei Starovoitov , Alan Maguire , Dave Marchevsky Subject: Re: [next] perf build failures: libbpf.c:10946:50: error: format '%li' expects argument of type 'long int *', but argument 4 has type 'size_t *' {aka 'unsigned int *'} [-Werror=format=] Message-ID: <20220407222341.626d8377@canb.auug.org.au> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/rw3NTfOGqReGPhMMpOdJFXU"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/rw3NTfOGqReGPhMMpOdJFXU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Naresh, On Thu, 7 Apr 2022 15:46:53 +0530 Naresh Kamboju wrote: > > perf build errors on i386 [1] on Linux next-20220407 [2] >=20 > usdt.c:1181:5: error: "__x86_64__" is not defined, evaluates to 0 > [-Werror=3Dundef] > 1181 | #if __x86_64__ > | ^~~~~~~~~~ > usdt.c:1196:5: error: "__x86_64__" is not defined, evaluates to 0 > [-Werror=3Dundef] > 1196 | #if __x86_64__ > | ^~~~~~~~~~ > cc1: all warnings being treated as errors Caused by commit 4c59e584d158 ("libbpf: Add x86-specific USDT arg spec parsing logic") > CC /home/tuxbuild/.cache/tuxmake/builds/1/build/util/values.o > CC /home/tuxbuild/.cache/tuxmake/builds/1/build/tests/backward-rin= g-buffer.o > CC /home/tuxbuild/.cache/tuxmake/builds/1/build/tests/sdt.o > CC /home/tuxbuild/.cache/tuxmake/builds/1/build/tests/is_printable= _array.o > CC /home/tuxbuild/.cache/tuxmake/builds/1/build/util/debug.o > CC /home/tuxbuild/.cache/tuxmake/builds/1/build/util/fncache.o > CC /home/tuxbuild/.cache/tuxmake/builds/1/build/tests/bitmap.o > CC /home/tuxbuild/.cache/tuxmake/builds/1/build/util/machine.o > libbpf.c: In function 'attach_uprobe': > libbpf.c:10946:50: error: format '%li' expects argument of type 'long > int *', but argument 4 has type 'size_t *' {aka 'unsigned int *'} > [-Werror=3Dformat=3D] > 10946 | n =3D sscanf(func_name, "%m[a-zA-Z0-9_.]+%li", &func, &of= fset); > | ~~^ ~~~~~= ~~ > | | | > | long int * > size_t * {aka unsigned int *} > | %i > cc1: all warnings being treated as errors Caused by commit 39f8dc43b7a0 ("libbpf: Add auto-attach for uprobes based on section name") > metadata: > git_ref: master > git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next > git_sha: 2e9a9857569ec27e64d2ddd01294bbe3c736acb1 > git_describe: next-20220407 > kernel-config: https://builds.tuxbuild.com/27SL0lCnWoPP04Jn8zKQ5nEEX7i/= config > target_arch: i386 >=20 > Reported-by: Linux Kernel Functional Testing >=20 > -- > Linaro LKFT > https://lkft.linaro.org >=20 >=20 > [1] https://builds.tuxbuild.com/27SL0lCnWoPP04Jn8zKQ5nEEX7i/ > [2] https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/2302706= 510 --=20 Cheers, Stephen Rothwell --Sig_/rw3NTfOGqReGPhMMpOdJFXU Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmJO180ACgkQAVBC80lX 0Gwg0QgAlO/RQPm5kj5MwdctsdoMWBee9belDyZWV4sZvoToMlncDeyGATTg0XEa zB75m9NUEjgOLooNvLNWVC8HaXiODJTIh9rQfxAbMenQGnLQGK8lH37C6pZ4K0Ri brAyt5MdXr1N2PmHCzH9ULjX5lXMhIy/BETu29PMsqlhuzBdgLhJjuO/eV8ewLJH Siz0fTcQtjCK8uHH0wu5XYTGHm/ovTmDc4b/O8T9ToZWI/QQSF77bnBzxnI9DBI6 4HIrlzwYHLolKqMP8RxePGMg4DiAxwC70wKGvJSNmG9aoEl2zd5fzMCVU3KjyRjf Ga+uU3PCwpSPryo8qn2DfJ6EB2Xrrg== =JNGK -----END PGP SIGNATURE----- --Sig_/rw3NTfOGqReGPhMMpOdJFXU--