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: <201912191015.qYpme5Eu%lkp@intel.com>
Date:   Thu, 19 Dec 2019 10:26:19 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Alexey Khoroshilov <khoroshilov@...ras.ru>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Paul Burton <paulburton@...nel.org>
Subject: kernel/kcov.c:85:8: error: implicit declaration of function
 'kaslr_offset'; did you mean '__swp_offset'?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   80a0c2e511a97e11d82e0ec11564e2c3fe624b0d
commit: dcf78ee660888d8302a0f0888bf746a164d267fa MIPS: allow building with kcov coverage
date:   5 weeks ago
config: mips-randconfig-a001-20191219 (attached as .config)
compiler: mips-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout dcf78ee660888d8302a0f0888bf746a164d267fa
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=mips 

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

All errors (new ones prefixed by >>):

   kernel/kcov.c: In function 'canonicalize_ip':
>> kernel/kcov.c:85:8: error: implicit declaration of function 'kaslr_offset'; did you mean '__swp_offset'? [-Werror=implicit-function-declaration]
     ip -= kaslr_offset();
           ^~~~~~~~~~~~
           __swp_offset
   cc1: some warnings being treated as errors

vim +85 kernel/kcov.c

ded97d2c2b2c5f Victor Chibotaru 2017-11-17  81  
903e8ff86753e6 Anders Roxell    2018-11-30  82  static notrace unsigned long canonicalize_ip(unsigned long ip)
ded97d2c2b2c5f Victor Chibotaru 2017-11-17  83  {
ded97d2c2b2c5f Victor Chibotaru 2017-11-17  84  #ifdef CONFIG_RANDOMIZE_BASE
ded97d2c2b2c5f Victor Chibotaru 2017-11-17 @85  	ip -= kaslr_offset();
ded97d2c2b2c5f Victor Chibotaru 2017-11-17  86  #endif
ded97d2c2b2c5f Victor Chibotaru 2017-11-17  87  	return ip;
ded97d2c2b2c5f Victor Chibotaru 2017-11-17  88  }
ded97d2c2b2c5f Victor Chibotaru 2017-11-17  89  

:::::: The code at line 85 was first introduced by commit
:::::: ded97d2c2b2c5f1dcced0bc57133f7753b037dfc kcov: support comparison operands collection

:::::: TO: Victor Chibotaru <tchibo@...gle.com>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.org>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ