lkml.org 
[lkml]   [2021]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectaarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/ring_buffer.o' being placed in section `.eh_frame'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 19c329f6808995b142b3966301f217c831e7cf31
commit: b3e5d80d0c48c0cc7bce56473672f4e6e1210910 arm64/build: Warn on orphan section placement
date: 5 months ago
config: arm64-randconfig-r006-20210118 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 95d146182fdf2315e74943b93fb3bb0cbafc5d89)
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 <lkp@intel.com>

All warnings (new ones prefixed by >>):

aarch64-linux-gnu-ld: warning: orphan section `.igot.plt' from `arch/arm64/kernel/head.o' being placed in section `.igot.plt'
aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_clock.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/ring_buffer.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/ring_buffer_benchmark.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_output.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_seq.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_stat.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_printk.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/tracing_map.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_sched_switch.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_preemptirq.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_irqsoff.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_hwlat.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_nop.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_events.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_export.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_event_perf.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_events_filter.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_events_trigger.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_events_synth.o' being placed in section `.eh_frame'
>> aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_events_hist.o' being placed in section `.eh_frame'
aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/bpf_trace.o' being placed in section `.eh_frame'
aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/power-traces.o' being placed in section `.eh_frame'
aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/rpm-traces.o' being placed in section `.eh_frame'
aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_dynevent.o' being placed in section `.eh_frame'
aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_probe.o' being placed in section `.eh_frame'
aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_uprobe.o' being placed in section `.eh_frame'
aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_boot.o' being placed in section `.eh_frame'
aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `kernel/trace/trace_benchmark.o' being placed in section `.eh_frame'
aarch64-linux-gnu-ld: fs/orangefs/orangefs-debugfs.o: in function `orangefs_debug_read':
orangefs-debugfs.c:(.text+0x13b4): undefined reference to `stpcpy'
orangefs-debugfs.c:(.text+0x13b4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `stpcpy'
aarch64-linux-gnu-ld: drivers/tty/tty_io.o: in function `alloc_tty_struct':
tty_io.c:(.text+0x180c): undefined reference to `stpcpy'
tty_io.c:(.text+0x180c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `stpcpy'
aarch64-linux-gnu-ld: drivers/tty/tty_io.o: in function `tty_register_device_attr':
tty_io.c:(.text+0x3b1c): undefined reference to `stpcpy'
tty_io.c:(.text+0x3b1c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `stpcpy'
aarch64-linux-gnu-ld: drivers/tty/tty_io.o: in function `show_cons_active':
tty_io.c:(.text+0x5304): undefined reference to `stpcpy'
tty_io.c:(.text+0x5304): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `stpcpy'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-01-18 21:12    [W:3.083 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site