[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202412111714.9jJxt9x6-lkp@intel.com>
Date: Wed, 11 Dec 2024 17:48:41 +0800
From: kernel test robot <lkp@...el.com>
To: Rong Tao <rtoax@...mail.com>, andrii.nakryiko@...il.com, qmo@...nel.org,
ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
rongtao@...tc.cn
Cc: oe-kbuild-all@...ts.linux.dev, Martin KaFai Lau <martin.lau@...ux.dev>,
Eduard Zingerman <eddyz87@...il.com>, Song Liu <song@...nel.org>,
Yonghong Song <yonghong.song@...ux.dev>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>, Stanislav Fomichev <sdf@...ichev.me>,
Hao Luo <haoluo@...gle.com>, Jiri Olsa <jolsa@...nel.org>,
"(open list:BPF (bpftool))" <bpf@...r.kernel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf-next v4 1/2] bpftool: Fix gen object segfault
Hi Rong,
kernel test robot noticed the following build warnings:
[auto build test WARNING on bpf-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/Rong-Tao/libbpf-linker-Avoid-using-object-file-as-both-input-and-output/20241206-100435
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link: https://lore.kernel.org/r/tencent_B497E42A7CAF94A35B88EB060E42A2593408%40qq.com
patch subject: [PATCH bpf-next v4 1/2] bpftool: Fix gen object segfault
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241211/202412111714.9jJxt9x6-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412111714.9jJxt9x6-lkp@intel.com/
Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings
All warnings (new ones prefixed by >>):
PERF_VERSION = 6.13.rc1.g228582f448e8
gen.c: In function 'do_object':
>> gen.c:1927:9: warning: 'linker' may be used uninitialized [-Wmaybe-uninitialized]
1927 | bpf_linker__free(linker);
| ^~~~~~~~~~~~~~~~~~~~~~~~
gen.c:1879:28: note: 'linker' was declared here
1879 | struct bpf_linker *linker;
| ^~~~~~
--
gen.c: In function 'do_object':
>> gen.c:1927:9: warning: 'linker' may be used uninitialized [-Wmaybe-uninitialized]
1927 | bpf_linker__free(linker);
| ^~~~~~~~~~~~~~~~~~~~~~~~
gen.c:1879:28: note: 'linker' was declared here
1879 | struct bpf_linker *linker;
| ^~~~~~
gen.c: In function 'do_object':
>> gen.c:1927:9: warning: 'linker' may be used uninitialized [-Wmaybe-uninitialized]
1927 | bpf_linker__free(linker);
| ^~~~~~~~~~~~~~~~~~~~~~~~
gen.c:1879:28: note: 'linker' was declared here
1879 | struct bpf_linker *linker;
| ^~~~~~
gen.c: In function 'do_object':
>> gen.c:1927:9: warning: 'linker' may be used uninitialized [-Wmaybe-uninitialized]
1927 | bpf_linker__free(linker);
| ^~~~~~~~~~~~~~~~~~~~~~~~
gen.c:1879:28: note: 'linker' was declared here
1879 | struct bpf_linker *linker;
| ^~~~~~
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists