lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202101181809.4sIwmgSH-lkp@intel.com>
Date:   Mon, 18 Jan 2021 18:42:14 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kees Cook <keescook@...omium.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...nel.org>,
        Nick Desaulniers <ndesaulniers@...gle.com>
Subject: aarch64-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@...el.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

Download attachment ".config.gz" of type "application/gzip" (35557 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ