aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/ftrace.o' being placed in section `.eh_frame'
_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/cpufeature.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/alternative.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/cacheinfo.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/smp.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/smp_spin_table.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/topology.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/syscall.o' being placed in section `.eh_frame' >> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from >> `arch/arm64/kernel/ftrace.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/perf_regs.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/perf_callchain.o' being placed in section `.eh_frame' >> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from >> `arch/arm64/kernel/perf_event.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/hw_breakpoint.o' being placed in section `.eh_frame' >> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from >> `arch/arm64/kernel/jump_label.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/kgdb.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/paravirt.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/sdei.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/ssbd.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/pointer_auth.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/scs.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/dma-mapping.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/extable.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/fault.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/init.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/copypage.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/flush.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/ioremap.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/mmap.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/pgd.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/mmu.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/context.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/pageattr.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/dump.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/mm/numa.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/fork.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/exec_domain.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/panic.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/cpu.o' being placed in section `.eh_frame' aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/exit.o' being placed in section `.eh_frame' aar
Re: aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/ftrace.o' being placed in section `.eh_frame'
On Sat, Jan 30, 2021 at 09:21:49AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: bec4c2968fce2f44ce62d05288a633cd99a722eb > commit: b3e5d80d0c48c0cc7bce56473672f4e6e1210910 arm64/build: Warn on orphan > section placement > date: 5 months ago > config: arm64-randconfig-r013-20210130 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project > 275c6af7d7f1ed63a03d05b4484413e447133269) > 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 arm64 cross compiling tool for clang build > # apt-get install binutils-aarch64-linux-gnu > # > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b3e5d80d0c48c0cc7bce56473672f4e6e1210910 > git remote add linus > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout b3e5d80d0c48c0cc7bce56473672f4e6e1210910 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > >aarch64-linux-gnu-ld: warning: -z norelro ignored >aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from > `init/main.o' being placed in section `.eh_frame' >aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from > `init/version.o' being placed in section `.eh_frame' >aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from > `init/do_mounts.o' being placed in section `.eh_frame' >aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from > `init/do_mounts_rd.o' being placed in section `.eh_frame' >aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from > `init/do_mounts_initrd.o' being placed in section `.eh_frame' >aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from > `init/initramfs.o' being placed in section `.eh_frame' >aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from > `init/calibrate.o' being placed in section `.eh_frame' >aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from > `init/init_task.o' being placed in section `.eh_frame' https://lore.kernel.org/lkml/20210130004650.2682422-1-nat...@kernel.org/ Cheers, Nathan