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: <202210122123.Cc4FPShJ-lkp@intel.com>
Date:   Wed, 12 Oct 2022 21:18:43 +0800
From:   kernel test robot <lkp@...el.com>
To:     Samuel Holland <samuel@...lland.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, 0day robot <lkp@...el.com>,
        Conor Dooley <conor.dooley@...rochip.com>
Subject: ld.lld: error: section .text file range overlaps with _ftrace_branch

tree:   https://github.com/intel-lab-lkp/linux/commits/Jisheng-Zhang/riscv-jump_label-mark-arguments-as-const-to-satisfy-asm-constraints/20221006-145135
head:   a65d32ad7e3e266a1a7ef65fbcfe1f0a3e1f72f9
commit: f3e37da833f505cebdc8ffd6bfaa8f024c80570a riscv: Fix build with CONFIG_CC_OPTIMIZE_FOR_SIZE=y
date:   6 days ago
config: riscv-randconfig-r032-20221012
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/intel-lab-lkp/linux/commit/f3e37da833f505cebdc8ffd6bfaa8f024c80570a
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Jisheng-Zhang/riscv-jump_label-mark-arguments-as-const-to-satisfy-asm-constraints/20221006-145135
        git checkout f3e37da833f505cebdc8ffd6bfaa8f024c80570a
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv prepare

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

All errors (new ones prefixed by >>):

>> ld.lld: error: section .text file range overlaps with _ftrace_branch
   >>> .text range is [0x800, 0x162B]
   >>> _ftrace_branch range is [0x840, 0x997]
--
>> ld.lld: error: section .text virtual address range overlaps with _ftrace_branch
   >>> .text range is [0x800, 0x162B]
   >>> _ftrace_branch range is [0x840, 0x997]
--
>> ld.lld: error: section .text load address range overlaps with _ftrace_branch
   >>> .text range is [0x800, 0x162B]
   >>> _ftrace_branch range is [0x840, 0x997]
--
>> ld.lld: error: section .text load address range overlaps with _ftrace_branch
   >>> .text range is [0x800, 0x162B]
   >>> _ftrace_branch range is [0x840, 0x997]
   llvm-nm: error: arch/riscv/kernel/vdso/vdso.so.dbg: No such file or directory

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

View attachment "config" of type "text/plain" (158051 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ