From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1291245806067880445==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: collect2: error: ld returned 1 exit status Date: Sun, 30 Jan 2022 05:57:12 +0800 Message-ID: <202201300518.Q1ZGEJYY-lkp@intel.com> List-Id: --===============1291245806067880445== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Alexei, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = master head: cb323ee75d24e7acc2f188d123ba6df46159cf09 commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module wit= h user mode driver that populates bpffs. date: 1 year, 5 months ago config: i386-randconfig-m021 (https://download.01.org/0day-ci/archive/20220= 130/202201300518.Q1ZGEJYY-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t/commit/?id=3Dd71fa5c9763c24dd997a2fa4feb7a13a95bab42c git remote add linus https://git.kernel.org/pub/scm/linux/kernel/gi= t/torvalds/linux.git git fetch --no-tags linus master git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so w= hen searching for -lelf /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.a wh= en searching for -lelf /usr/bin/ld: cannot find -lelf /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so w= hen searching for -lelf /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so whe= n searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.a when= searching for -lz /usr/bin/ld: cannot find -lz /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so whe= n searching for -lz >> collect2: error: ld returned 1 exit status --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============1291245806067880445==--