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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202107202023.oUmg8jnx-lkp@intel.com>
Date:   Tue, 20 Jul 2021 20:07:29 +0800
From:   kernel test robot <lkp@...el.com>
To:     Fenghua Yu <fenghua.yu@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Shuah Khan <skhan@...uxfoundation.org>,
        Sasha Levin <sashal@...nel.org>
Subject: [linux-stable-rc:linux-5.12.y 232/1084] resctrlfs.c:641:28: error:
 'CMT_STR' undeclared; did you mean 'CAT_STR'?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.12.y
head:   6c1612b7930018e618fc920494f1982130d24d5b
commit: 477c43592fb66d01619c73df004b64b95bf7f52d [232/1084] selftests/resctrl: Use resctrl/info for feature detection
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=477c43592fb66d01619c73df004b64b95bf7f52d
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.12.y
        git checkout 477c43592fb66d01619c73df004b64b95bf7f52d
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash -C tools/testing/selftests/resctrl install

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

All errors (new ones prefixed by >>):

   resctrlfs.c: In function 'validate_resctrl_feature_request':
>> resctrlfs.c:641:28: error: 'CMT_STR' undeclared (first use in this function); did you mean 'CAT_STR'?
     641 |      !strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR))) {
         |                            ^~~~~~~
         |                            CAT_STR
   resctrlfs.c:641:28: note: each undeclared identifier is reported only once for each function it appears in
--
   /usr/bin/ld: /tmp/ccCN2nw1.o: warning: relocation against `tests_run' in read-only section `.text.startup'
   /usr/bin/ld: /tmp/ccCN2nw1.o: in function `detect_amd':
>> tools/testing/selftests/resctrl/resctrl_tests.c:26: undefined reference to `fgrep'
   /usr/bin/ld: /tmp/ccCN2nw1.o: in function `tests_cleanup':
>> tools/testing/selftests/resctrl/resctrl_tests.c:51: undefined reference to `mbm_test_cleanup'
>> /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:52: undefined reference to `mba_test_cleanup'
>> /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:53: undefined reference to `cqm_test_cleanup'
>> /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:54: undefined reference to `cat_test_cleanup'
   /usr/bin/ld: /tmp/ccCN2nw1.o: in function `main':
>> tools/testing/selftests/resctrl/resctrl_tests.c:158: undefined reference to `check_resctrlfs_support'
>> /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:159: undefined reference to `filter_dmesg'
   /usr/bin/ld: /tmp/ccCN2nw1.o: in function `printf':
>> /usr/include/x86_64-linux-gnu/bits/stdio2.h:107: undefined reference to `tests_run'
   /usr/bin/ld: /tmp/ccCN2nw1.o: in function `main':
>> tools/testing/selftests/resctrl/resctrl_tests.c:158: undefined reference to `check_resctrlfs_support'
>> /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:159: undefined reference to `filter_dmesg'
>> /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:165: undefined reference to `mbm_bw_change'
>> /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:167: undefined reference to `mbm_test_cleanup'
>> /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:168: undefined reference to `tests_run'
>> /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:193: undefined reference to `cat_perf_miss_val'
   /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:195: undefined reference to `tests_run'
   /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:196: undefined reference to `cat_test_cleanup'
>> /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:185: undefined reference to `cqm_resctrl_val'
   /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:187: undefined reference to `cqm_test_cleanup'
   /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:188: undefined reference to `tests_run'
>> /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:175: undefined reference to `mba_schemata_change'
   /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:177: undefined reference to `mba_test_cleanup'
   /usr/bin/ld: tools/testing/selftests/resctrl/resctrl_tests.c:178: undefined reference to `tests_run'
   /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
   collect2: error: ld returned 1 exit status

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (41610 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ