Hi Kees,
I love your patch! Perhaps something to improve:
[auto build test WARNING on tip/auto-latest]
[also build test WARNING on next-20200902]
[cannot apply to arm/for-next tip/x86/core v5.9-rc3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Kees-Cook/Warn-on-orphan-section...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
d444af79439c392efe256742fb801a14f0793a71
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
ld: warning: orphan section `.gnu.version_d' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.gnu.version_d'
ld: warning: orphan section `.gnu.version' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.gnu.version'
ld: warning: orphan section `.gnu.version_r' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.gnu.version_r'
ld: warning: orphan section `.dynsym' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.dynsym'
ld: warning: orphan section `.dynstr' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.dynstr'
ld: warning: orphan section `.dynamic' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.dynamic'
ld: warning: orphan section `.hash' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.hash'
ld: warning: orphan section `.gnu.hash' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.gnu.hash'
ld: warning: orphan section `.plt' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.plt'
ld: warning: orphan section `.dynbss' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.dynbss'
ld: warning: orphan section `.plt.got' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.plt.got'
ld: warning: orphan section `.eh_frame' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.eh_frame'
ld: warning: orphan section `.eh_frame' from
`arch/x86/boot/compressed/kernel_info.o' being placed in section `.eh_frame'
ld: warning: orphan section `.comment' from `arch/x86/boot/compressed/misc.o'
being placed in section `.comment'
ld: warning: orphan section `.note.GNU-stack' from
`arch/x86/boot/compressed/misc.o' being placed in section `.note.GNU-stack'
ld: warning: orphan section `.comment' from `arch/x86/boot/compressed/string.o'
being placed in section `.comment'
ld: warning: orphan section `.note.GNU-stack' from
`arch/x86/boot/compressed/string.o' being placed in section `.note.GNU-stack'
ld: warning: orphan section `.comment' from
`arch/x86/boot/compressed/cmdline.o' being placed in section `.comment'
ld: warning: orphan section `.note.GNU-stack' from
`arch/x86/boot/compressed/cmdline.o' being placed in section `.note.GNU-stack'
ld: warning: orphan section `.comment' from `arch/x86/boot/compressed/error.o'
being placed in section `.comment'
ld: warning: orphan section `.note.GNU-stack' from
`arch/x86/boot/compressed/error.o' being placed in section `.note.GNU-stack'
ld: warning: orphan section `.comment' from
`arch/x86/boot/compressed/cpuflags.o' being placed in section `.comment'
ld: warning: orphan section `.note.GNU-stack' from
`arch/x86/boot/compressed/cpuflags.o' being placed in section `.note.GNU-stack'
ld: warning: orphan section `.comment' from
`arch/x86/boot/compressed/early_serial_console.o' being placed in section
`.comment'
ld: warning: orphan section `.note.GNU-stack' from
`arch/x86/boot/compressed/early_serial_console.o' being placed in section
`.note.GNU-stack'
ld: warning: orphan section `.comment' from
`arch/x86/boot/compressed/pgtable_64.o' being placed in section `.comment'
ld: warning: orphan section `.note.GNU-stack' from
`arch/x86/boot/compressed/pgtable_64.o' being placed in section `.note.GNU-stack'
ld: warning: orphan section `.comment' from `arch/x86/boot/compressed/acpi.o'
being placed in section `.comment'
ld: warning: orphan section `.note.GNU-stack' from
`arch/x86/boot/compressed/acpi.o' being placed in section `.note.GNU-stack'
> ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/x86-stub.stub.o' being placed in section `.comment'
> ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/x86-stub.stub.o' being placed in section
`.note.GNU-stack'
> ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/efi-stub-helper.stub.o' being placed in section
`.comment'
> ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/efi-stub-helper.stub.o' being placed in section
`.note.GNU-stack'
> ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/file.stub.o' being placed in section `.comment'
> ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/file.stub.o' being placed in section
`.note.GNU-stack'
> ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/gop.stub.o' being placed in section `.comment'
> ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/gop.stub.o' being placed in section
`.note.GNU-stack'
> ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/lib-cmdline.stub.o' being placed in section
`.comment'
> ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/lib-cmdline.stub.o' being placed in section
`.note.GNU-stack'
> ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/lib-ctype.stub.o' being placed in section
`.comment'
> ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/lib-ctype.stub.o' being placed in section
`.note.GNU-stack'
> ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/mem.stub.o' being placed in section `.comment'
> ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/mem.stub.o' being placed in section
`.note.GNU-stack'
> ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/pci.stub.o' being placed in section `.comment'
> ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/pci.stub.o' being placed in section
`.note.GNU-stack'
> ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/random.stub.o' being placed in section `.comment'
> ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/random.stub.o' being placed in section
`.note.GNU-stack'
> ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/relocate.stub.o' being placed in section `.comment'
> ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/relocate.stub.o' being placed in section
`.note.GNU-stack'
ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/secureboot.stub.o' being placed in section
`.comment'
ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/secureboot.stub.o' being placed in section
`.note.GNU-stack'
ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/skip_spaces.stub.o' being placed in section
`.comment'
ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/skip_spaces.stub.o' being placed in section
`.note.GNU-stack'
ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/tpm.stub.o' being placed in section `.comment'
ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/tpm.stub.o' being placed in section
`.note.GNU-stack'
ld: warning: orphan section `.comment' from
`drivers/firmware/efi/libstub/vsprintf.stub.o' being placed in section `.comment'
ld: warning: orphan section `.note.GNU-stack' from
`drivers/firmware/efi/libstub/vsprintf.stub.o' being placed in section
`.note.GNU-stack'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org