/usr/bin/ld: init/main.o: warning: relocation in read-only section `.init.text'

From: kernel test robot
Date: Tue Aug 22 2023 - 17:12:11 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f7757129e3dea336c407551c98f50057c22bb266
commit: 8c6174503c7b7134c22072b45f92724c8a959f06 um: hostfs: define our own API boundary
date: 4 months ago
config: um-randconfig-r036-20230822 (https://download.01.org/0day-ci/archive/20230823/202308230538.sIoFzSnM-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: (https://download.01.org/0day-ci/archive/20230823/202308230538.sIoFzSnM-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308230538.sIoFzSnM-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> /usr/bin/ld: init/main.o: warning: relocation in read-only section `.init.text'
/usr/bin/ld: warning: .tmp_vmlinux.kallsyms1 has a LOAD segment with RWX permissions
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
>> /usr/bin/ld: init/main.o: warning: relocation in read-only section `.init.text'
/usr/bin/ld: warning: .tmp_vmlinux.kallsyms2 has a LOAD segment with RWX permissions
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
>> /usr/bin/ld: init/main.o: warning: relocation in read-only section `.init.text'
/usr/bin/ld: warning: vmlinux has a LOAD segment with RWX permissions
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki