From: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev
Subject: ld.lld: error: section .dynamic file range overlaps with .text
Date: Tue, 28 Dec 2021 21:08:11 +0800 [thread overview]
Message-ID: <202112282014.LvW1YqPi-lkp@intel.com> (raw)
CC: linux-kernel@vger.kernel.org
TO: Tong Tiangen <tongtiangen@huawei.com>
CC: Palmer Dabbelt <palmerdabbelt@google.com>
Hi Tong,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a8ad9a2434dc7967ab285437f443cae633b6fc1c
commit: dffe11e280a42c2501e5b0cdebd85a77f539bb05 riscv/vdso: Add support for time namespaces
date: 3 months ago
config: riscv-buildonly-randconfig-r005-20211228 (https://download.01.org/0day-ci/archive/20211228/202112282014.LvW1YqPi-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7171af744543433ac75b232eb7dfdaef7efd4d7a)
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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dffe11e280a42c2501e5b0cdebd85a77f539bb05
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout dffe11e280a42c2501e5b0cdebd85a77f539bb05
# save the config file to linux build tree
mkdir build_dir
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 as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: section .dynamic file range overlaps with .text
>>> .dynamic range is [0x7D0, 0x8FF]
>>> .text range is [0x800, 0x1C57]
--
>> ld.lld: error: section .text file range overlaps with _ftrace_annotated_branch
>>> .text range is [0x800, 0x1C57]
>>> _ftrace_annotated_branch range is [0x900, 0xC5F]
--
>> ld.lld: error: section .dynamic virtual address range overlaps with .text
>>> .dynamic range is [0x7D0, 0x8FF]
>>> .text range is [0x800, 0x1C57]
--
>> ld.lld: error: section .text virtual address range overlaps with _ftrace_annotated_branch
>>> .text range is [0x800, 0x1C57]
>>> _ftrace_annotated_branch range is [0x900, 0xC5F]
--
>> ld.lld: error: section .dynamic load address range overlaps with .text
>>> .dynamic range is [0x7D0, 0x8FF]
>>> .text range is [0x800, 0x1C57]
--
>> ld.lld: error: section .text load address range overlaps with _ftrace_annotated_branch
>>> .text range is [0x800, 0x1C57]
>>> _ftrace_annotated_branch range is [0x900, 0xC5F]
--
>> ld.lld: error: section .text load address range overlaps with _ftrace_annotated_branch
>>> .text range is [0x800, 0x1C57]
>>> _ftrace_annotated_branch range is [0x900, 0xC5F]
llvm-nm: error: arch/riscv/kernel/vdso/vdso.so.dbg: No such file or directory
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: ld.lld: error: section .dynamic file range overlaps with .text
Date: Tue, 28 Dec 2021 21:08:11 +0800 [thread overview]
Message-ID: <202112282014.LvW1YqPi-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3075 bytes --]
CC: linux-kernel(a)vger.kernel.org
TO: Tong Tiangen <tongtiangen@huawei.com>
CC: Palmer Dabbelt <palmerdabbelt@google.com>
Hi Tong,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a8ad9a2434dc7967ab285437f443cae633b6fc1c
commit: dffe11e280a42c2501e5b0cdebd85a77f539bb05 riscv/vdso: Add support for time namespaces
date: 3 months ago
config: riscv-buildonly-randconfig-r005-20211228 (https://download.01.org/0day-ci/archive/20211228/202112282014.LvW1YqPi-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7171af744543433ac75b232eb7dfdaef7efd4d7a)
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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dffe11e280a42c2501e5b0cdebd85a77f539bb05
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout dffe11e280a42c2501e5b0cdebd85a77f539bb05
# save the config file to linux build tree
mkdir build_dir
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 as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: section .dynamic file range overlaps with .text
>>> .dynamic range is [0x7D0, 0x8FF]
>>> .text range is [0x800, 0x1C57]
--
>> ld.lld: error: section .text file range overlaps with _ftrace_annotated_branch
>>> .text range is [0x800, 0x1C57]
>>> _ftrace_annotated_branch range is [0x900, 0xC5F]
--
>> ld.lld: error: section .dynamic virtual address range overlaps with .text
>>> .dynamic range is [0x7D0, 0x8FF]
>>> .text range is [0x800, 0x1C57]
--
>> ld.lld: error: section .text virtual address range overlaps with _ftrace_annotated_branch
>>> .text range is [0x800, 0x1C57]
>>> _ftrace_annotated_branch range is [0x900, 0xC5F]
--
>> ld.lld: error: section .dynamic load address range overlaps with .text
>>> .dynamic range is [0x7D0, 0x8FF]
>>> .text range is [0x800, 0x1C57]
--
>> ld.lld: error: section .text load address range overlaps with _ftrace_annotated_branch
>>> .text range is [0x800, 0x1C57]
>>> _ftrace_annotated_branch range is [0x900, 0xC5F]
--
>> ld.lld: error: section .text load address range overlaps with _ftrace_annotated_branch
>>> .text range is [0x800, 0x1C57]
>>> _ftrace_annotated_branch range is [0x900, 0xC5F]
llvm-nm: error: arch/riscv/kernel/vdso/vdso.so.dbg: No such file or directory
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next reply other threads:[~2021-12-28 13:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-28 13:08 kernel test robot [this message]
2021-12-28 13:08 ` ld.lld: error: section .dynamic file range overlaps with .text kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2022-07-06 20:54 kernel test robot
2022-05-12 17:32 kernel test robot
2022-01-07 12:23 kernel test robot
2022-01-07 12:23 ` kernel test robot
2021-12-05 1:02 kernel test robot
2021-12-05 1:02 ` kernel test robot
2021-11-26 8:21 kernel test robot
2021-11-26 8:21 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202112282014.LvW1YqPi-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.