lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 31 Mar 2022 15:51:14 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Yury Norov <yury.norov@...il.com>
Cc:     lkp@...ts.01.org, lkp@...el.com,
        LKML <linux-kernel@...r.kernel.org>
Subject: [tools]  206374ed03: perf-sanity-tests.perf.make_fail



Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 206374ed03fc512c6addffe56faaece2428c3831 ("tools: bitmap: sync bitmap_weight")
https://github.com/norov/linux bitmap

in testcase: perf-sanity-tests
version: perf-x86_64-f443e374ae13-1_20220321
with following parameters:

	perf_compiler: gcc
	ucode: 0xec



on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):




If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>


/usr/src/perf_selftests-x86_64-rhel-8.3-func-206374ed03fc512c6addffe56faaece2428c3831/tools/perf/../lib/bitmap.c:21:5: error: conflicting types for ‘__bitmap_weight_c
mp’
 int __bitmap_weight_cmp(const unsigned long *bitmap, unsigned int bits, int num)
     ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/perf_selftests-x86_64-rhel-8.3-func-206374ed03fc512c6addffe56faaece2428c3831/tools/perf/../lib/bitmap.c:6:
/usr/src/perf_selftests-x86_64-rhel-8.3-func-206374ed03fc512c6addffe56faaece2428c3831/tools/include/linux/bitmap.h:15:5: note: previous declaration of ‘__bitmap_weigh
t_cmp’ was here
 int __bitmap_weight_cmp(const unsigned long *bitmap, unsigned int bits,
     ^~~~~~~~~~~~~~~~~~~
/usr/src/perf_selftests-x86_64-rhel-8.3-func-206374ed03fc512c6addffe56faaece2428c3831/tools/perf/../lib/bitmap.c: In function ‘__bitmap_weight_cmp’:
/usr/src/perf_selftests-x86_64-rhel-8.3-func-206374ed03fc512c6addffe56faaece2428c3831/tools/perf/../lib/bitmap.c:26:36: error: comparison of integer expressions of di
fferent signedness: ‘unsigned int’ and ‘int’ [-Werror=sign-compare]
   if (w + bits - k * BITS_PER_LONG < num)
                                    ^
/usr/src/perf_selftests-x86_64-rhel-8.3-func-206374ed03fc512c6addffe56faaece2428c3831/tools/perf/../lib/bitmap.c:31:9: error: comparison of integer expressions of dif
ferent signedness: ‘unsigned int’ and ‘int’ [-Werror=sign-compare]
   if (w > num)
         ^
cc1: all warnings being treated as errors
error: command 'gcc' failed with exit status 1
cp: cannot stat 'python_ext_build/lib/perf*.so': No such file or directory
make[2]: *** [Makefile.perf:639: python/perf.so] Error 1
make[2]: *** Waiting for unfinished jobs....



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        sudo bin/lkp install job.yaml           # job file is attached in this email
        bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
        sudo bin/lkp run generated-yaml-file

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



View attachment "config-5.17.0-11447-g206374ed03fc" of type "text/plain" (46480 bytes)

View attachment "output" of type "text/plain" (22876 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ