/usr/bin/ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions

From: kernel test robot
Date: Thu Jul 24 2025 - 00:48:30 EST


Hi Masahiro,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 25fae0b93d1d7ddb25958bcb90c3c0e5e0e202bd
commit: b1a9a5e04767e2a78783e19c9e55c25812ceccc3 kbuild: merge temporary vmlinux for BTF and kallsyms
date: 1 year ago
config: um-randconfig-2004-20250724 (https://download.01.org/0day-ci/archive/20250724/202507240631.WFG1QqKl-lkp@xxxxxxxxx/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 6193dd55535460c347f8c0b794df7d7d52fa78c9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250724/202507240631.WFG1QqKl-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/202507240631.WFG1QqKl-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> /usr/bin/ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
>> /usr/bin/ld: warning: .tmp_vmlinux2 has a LOAD segment with RWX permissions
/usr/bin/ld: warning: vmlinux has a LOAD segment with RWX permissions

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