[PATCH 1/5] kbuild: allow architectures to use thin archives instead of ld -r
kbuild test robot
lkp at intel.com
Sat Aug 6 13:50:53 AEST 2016
Hi Stephen,
[auto build test ERROR on kbuild/for-next]
[also build test ERROR on v4.7]
[cannot apply to linus/master linux/master next-20160805]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Nicholas-Piggin/kbuild-changes-thin-archives-gc-sections/20160805-202258
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git for-next
config: um-allnoconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=um
All errors (new ones prefixed by >>):
init/built-in.o:(.bss+0x4): multiple definition of `reset_devices'
init/built-in.o:(.bss+0x4): first defined here
init/built-in.o: In function `prepare_namespace':
(.init.text+0x988): multiple definition of `prepare_namespace'
init/built-in.o:(.init.text+0x988): first defined here
init/built-in.o:(.init.data+0x1070): multiple definition of `late_time_init'
init/built-in.o:(.init.data+0x1070): first defined here
init/built-in.o: In function `load_default_modules':
(.init.text+0x2f8): multiple definition of `load_default_modules'
init/built-in.o:(.init.text+0x2f8): first defined here
init/built-in.o:(.bss+0x10): multiple definition of `system_state'
init/built-in.o:(.bss+0x10): first defined here
init/built-in.o: In function `mount_root':
(.init.text+0x987): multiple definition of `mount_root'
init/built-in.o:(.init.text+0x987): first defined here
init/built-in.o: In function `mount_block_root':
(.init.text+0x836): multiple definition of `mount_block_root'
init/built-in.o:(.init.text+0x836): first defined here
init/built-in.o:(.bss+0x14): multiple definition of `early_boot_irqs_disabled'
init/built-in.o:(.bss+0x14): first defined here
init/built-in.o:(.data+0x0): multiple definition of `loops_per_jiffy'
init/built-in.o:(.data+0x0): first defined here
init/built-in.o:(.bss+0xc): multiple definition of `saved_command_line'
init/built-in.o:(.bss+0xc): first defined here
init/built-in.o: In function `calibrate_delay':
(.text+0x2e0): multiple definition of `calibrate_delay'
init/built-in.o:(.text+0x2e0): first defined here
init/built-in.o: In function `do_one_initcall':
(.init.text+0x57a): multiple definition of `do_one_initcall'
init/built-in.o:(.init.text+0x57a): first defined here
init/built-in.o:(.rodata+0x20): multiple definition of `linux_proc_banner'
init/built-in.o:(.rodata+0x20): first defined here
init/built-in.o:(.init.data+0x20e4): multiple definition of `rd_doload'
init/built-in.o:(.init.data+0x20e4): first defined here
init/built-in.o:(.data+0x620): multiple definition of `init_task'
init/built-in.o:(.data+0x620): first defined here
init/built-in.o:(.data+0x460): multiple definition of `init_uts_ns'
init/built-in.o:(.data+0x460): first defined here
init/built-in.o:(.data+0x20): multiple definition of `envp_init'
init/built-in.o:(.data+0x20): first defined here
init/built-in.o: In function `name_to_dev_t':
(.text+0x70): multiple definition of `name_to_dev_t'
init/built-in.o:(.text+0x70): first defined here
init/built-in.o:(.data+0x618): multiple definition of `root_mountflags'
init/built-in.o:(.data+0x618): first defined here
init/built-in.o:(.bss+0x8): multiple definition of `static_key_initialized'
init/built-in.o:(.bss+0x8): first defined here
init/built-in.o: In function `start_kernel':
(.init.text+0x351): multiple definition of `start_kernel'
init/built-in.o:(.init.text+0x351): first defined here
>> init/built-in.o:(.bss+0x30): multiple definition of `Version_263936'
init/built-in.o:(.bss+0x30): first defined here
init/built-in.o: In function `parse_early_options':
(.init.text+0x2f9): multiple definition of `parse_early_options'
init/built-in.o:(.init.text+0x2f9): first defined here
init/built-in.o: In function `parse_early_param':
(.init.text+0x31a): multiple definition of `parse_early_param'
init/built-in.o:(.init.text+0x31a): first defined here
init/built-in.o:(.bss+0x40): multiple definition of `preset_lpj'
init/built-in.o:(.bss+0x40): first defined here
init/built-in.o:(.data..init_task+0x0): multiple definition of `init_thread_union'
init/built-in.o:(.data..init_task+0x0): first defined here
init/built-in.o: In function `init_rootfs':
(.init.text+0x80a): multiple definition of `init_rootfs'
init/built-in.o:(.init.text+0x80a): first defined here
init/built-in.o:(.rodata+0x80): multiple definition of `linux_banner'
init/built-in.o:(.rodata+0x80): first defined here
init/built-in.o:(.bss+0x34): multiple definition of `ROOT_DEV'
init/built-in.o:(.bss+0x34): first defined here
init/built-in.o:(.bss+0x0): multiple definition of `initcall_debug'
init/built-in.o:(.bss+0x0): first defined here
init/built-in.o:(.init.data+0x1080): multiple definition of `boot_command_line'
init/built-in.o:(.init.data+0x1080): first defined here
init/built-in.o:(.bss+0x44): multiple definition of `lpj_fine'
init/built-in.o:(.bss+0x44): first defined here
collect2: error: ld returned 1 exit status
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 3843 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160806/a590b758/attachment.obj>
More information about the Linuxppc-dev
mailing list