Re: [PATCH] printk: Create pr_<level> functions

From: kbuild test robot
Date: Thu Jun 23 2016 - 16:11:34 EST


Hi,

[auto build test ERROR on v4.7-rc4]
[also build test ERROR on next-20160623]
[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/Joe-Perches/printk-Create-pr_-level-functions/20160624-031211
config: sparc64-allnoconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64

All errors (new ones prefixed by >>):

init/built-in.o: In function `try_to_run_init_process':
main.c:(.text+0x70): undefined reference to `__pr_err'
init/built-in.o: In function `calibrate_delay':
(.text+0x408): undefined reference to `__pr_info'
init/built-in.o: In function `calibrate_delay':
(.text+0x67c): undefined reference to `__pr_info'
init/built-in.o: In function `calibrate_delay':
(.text+0x7fc): undefined reference to `__pr_info'
init/built-in.o: In function `calibrate_delay':
(.text+0x80c): undefined reference to `__pr_info'
init/built-in.o: In function `calibrate_delay':
(.text+0x81c): undefined reference to `__pr_info'
init/built-in.o: In function `do_early_param':
main.c:(.init.text+0x134): undefined reference to `__pr_warn'
init/built-in.o: In function `initcall_blacklist':
main.c:(.init.text+0x174): undefined reference to `__pr_warn'
init/built-in.o: In function `unknown_bootoption':
main.c:(.init.text+0x358): undefined reference to `__pr_warn'
init/built-in.o: In function `start_kernel':
(.init.text+0x5ac): undefined reference to `__pr_notice'
init/built-in.o: In function `start_kernel':
(.init.text+0x680): undefined reference to `__pr_notice'
init/built-in.o: In function `kernel_init_freeable':
main.c:(.init.text+0xab0): undefined reference to `__pr_err'
init/built-in.o: In function `kernel_init':
>> main.c:(.ref.text+0xa0): undefined reference to `__pr_warn'
main.c:(.ref.text+0xe8): undefined reference to `__pr_err'
arch/sparc/built-in.o: In function `sun4v_resum_error':
(.text+0x10e0): undefined reference to `__pr_info'
arch/sparc/built-in.o: In function `sun4v_build_common':
>> irq_64.c:(.text+0x2948): undefined reference to `__pr_err'
arch/sparc/built-in.o: In function `cookie_build_irq.constprop.3':
irq_64.c:(.text+0x29f8): undefined reference to `__pr_err'
arch/sparc/built-in.o: In function `ack_bad_irq':
>> (.text+0x2a70): undefined reference to `__pr_crit'
arch/sparc/built-in.o: In function `irq_install_pre_handler':
(.text+0x2a8c): undefined reference to `__pr_warn'
arch/sparc/built-in.o: In function `sun4v_build_irq':
(.text+0x2d80): undefined reference to `__pr_err'
arch/sparc/built-in.o: In function `arch_find_n_match_cpu_physical_id':
(.text+0xb03c): undefined reference to `__pr_warn'
arch/sparc/built-in.o: In function `arch_find_n_match_cpu_physical_id':
(.text+0xb054): undefined reference to `__pr_warn'
arch/sparc/built-in.o: In function `fill_in_one_cpu':
>> mdesc.c:(.text+0x10648): undefined reference to `__pr_info'
arch/sparc/built-in.o: In function `init_IRQ':
(.init.text+0x484): undefined reference to `__pr_info'
arch/sparc/built-in.o: In function `prom_build_devicetree':
(.init.text+0x150c): undefined reference to `__pr_info'
arch/sparc/built-in.o: In function `pcr_arch_init':
(.init.text+0x3270): undefined reference to `__pr_err'
arch/sparc/built-in.o: In function `report_memory':
>> init_64.c:(.init.text+0x3848): undefined reference to `__pr_warn'
init_64.c:(.init.text+0x3890): undefined reference to `__pr_warn'
arch/sparc/built-in.o: In function `paging_init':
(.init.text+0x3b3c): undefined reference to `__pr_info'
arch/sparc/built-in.o: In function `paging_init':
(.init.text+0x3b5c): undefined reference to `__pr_info'
arch/sparc/built-in.o: In function `paging_init':
(.init.text+0x3b7c): undefined reference to `__pr_info'
kernel/built-in.o: In function `__mmdrop':
(.text+0x5d4): undefined reference to `__pr_alert'
kernel/built-in.o: In function `__mmdrop':
(.text+0x5f0): undefined reference to `__pr_alert'
kernel/built-in.o: In function `add_taint':
(.text+0x22ac): undefined reference to `__pr_warn'
kernel/built-in.o: In function `print_oops_end_marker':
(.text+0x2340): undefined reference to `__pr_warn'
kernel/built-in.o: In function `print_oops_end_marker':
(.text+0x2358): undefined reference to `__pr_warn'
kernel/built-in.o: In function `__warn':
(.text+0x23a8): undefined reference to `__pr_warn'
kernel/built-in.o: In function `__warn':
(.text+0x23cc): undefined reference to `__pr_warn'
kernel/built-in.o:(.text+0x2418): more undefined references to `__pr_warn' follow
kernel/built-in.o: In function `do_exit':
(.text+0x4004): undefined reference to `__pr_info'
kernel/built-in.o: In function `do_exit':
(.text+0x4018): undefined reference to `__pr_alert'
kernel/built-in.o: In function `__do_softirq':
(.text+0x4a68): undefined reference to `__pr_err'
kernel/built-in.o: In function `tasklet_kill':
(.text+0x4f6c): undefined reference to `__pr_notice'
kernel/built-in.o: In function `__sigqueue_alloc':
signal.c:(.text+0x8834): undefined reference to `__pr_info'
kernel/built-in.o: In function `get_signal':
(.text+0xaef4): undefined reference to `__pr_info'
kernel/built-in.o: In function `wq_clamp_max_active.isra.10':
workqueue.c:(.text+0xff60): undefined reference to `__pr_warn'
kernel/built-in.o: In function `__queue_work':
workqueue.c:(.text+0x10304): undefined reference to `__pr_warn'
kernel/built-in.o: In function `process_one_work':
workqueue.c:(.text+0x10a10): undefined reference to `__pr_err'
kernel/built-in.o: In function `drain_workqueue':
(.text+0x11788): undefined reference to `__pr_warn'
kernel/built-in.o: In function `show_workqueue_state':
(.text+0x12bac): undefined reference to `__pr_info'
kernel/built-in.o: In function `show_workqueue_state':
(.text+0x12cdc): undefined reference to `__pr_info'
kernel/built-in.o: In function `show_workqueue_state':
(.text+0x12d34): undefined reference to `__pr_info'
kernel/built-in.o: In function `show_workqueue_state':
(.text+0x12dc4): undefined reference to `__pr_info'
kernel/built-in.o: In function `show_workqueue_state':
(.text+0x12e00): undefined reference to `__pr_info'
kernel/built-in.o:(.text+0x12e44): more undefined references to `__pr_info' follow
kernel/built-in.o: In function `param_set_copystring':
(.text+0x145cc): undefined reference to `__pr_err'
kernel/built-in.o: In function `param_set_charp':
(.text+0x14980): undefined reference to `__pr_err'
kernel/built-in.o: In function `param_array_set':
params.c:(.text+0x14a80): undefined reference to `__pr_err'
params.c:(.text+0x14a9c): undefined reference to `__pr_err'
kernel/built-in.o: In function `parse_args':
(.text+0x14e74): undefined reference to `__pr_err'
kernel/built-in.o:(.text+0x14f5c): more undefined references to `__pr_err' follow
kernel/built-in.o: In function `parse_args':
(.text+0x15008): undefined reference to `__pr_warn'
kernel/built-in.o: In function `parse_args':
(.text+0x15030): undefined reference to `__pr_warn'
kernel/built-in.o: In function `kernel_restart':
(.text+0x16e54): undefined reference to `__pr_emerg'
kernel/built-in.o: In function `kernel_restart':
(.text+0x16e68): undefined reference to `__pr_emerg'
kernel/built-in.o: In function `reboot_work_func':
reboot.c:(.text+0x16ec8): undefined reference to `__pr_warn'
kernel/built-in.o: In function `kernel_halt':
(.text+0x16f34): undefined reference to `__pr_emerg'
kernel/built-in.o: In function `kernel_power_off':
(.text+0x16fcc): undefined reference to `__pr_emerg'
kernel/built-in.o: In function `poweroff_work_func':
reboot.c:(.text+0x17014): undefined reference to `__pr_warn'
kernel/built-in.o: In function `subtract_range':
(.text+0x17a80): undefined reference to `__pr_err'
kernel/built-in.o: In function `dump_cpu_task':
(.text+0x1aa4c): undefined reference to `__pr_info'
kernel/built-in.o: In function `unregister_console':
(.text+0x2054c): undefined reference to `__pr_info'
kernel/built-in.o: In function `register_console':
(.text+0x208b0): undefined reference to `__pr_info'
kernel/built-in.o: In function `register_console':
(.text+0x20958): undefined reference to `__pr_info'
kernel/built-in.o: In function `register_console':
(.text+0x209c0): undefined reference to `__pr_info'
kernel/built-in.o: In function `irq_thread_dtor':
manage.c:(.text+0x21570): undefined reference to `__pr_err'
kernel/built-in.o: In function `__irq_set_trigger':
(.text+0x21de8): undefined reference to `__pr_err'
kernel/built-in.o: In function `__setup_irq':
manage.c:(.text+0x22318): undefined reference to `__pr_err'
manage.c:(.text+0x22364): undefined reference to `__pr_err'
manage.c:(.text+0x22404): undefined reference to `__pr_err'
manage.c:(.text+0x22424): undefined reference to `__pr_warn'
kernel/built-in.o: In function `__clocksource_select':
clocksource.c:(.text+0x2e494): undefined reference to `__pr_info'
kernel/built-in.o: In function `__clocksource_update_freq_scale':
(.text+0x2e7dc): undefined reference to `__pr_info'
kernel/built-in.o: In function `__clocksource_update_freq_scale':
(.text+0x2e828): undefined reference to `__pr_info'
kernel/built-in.o: In function `reserve_region_with_split':
(.init.text+0x430): undefined reference to `__pr_err'
kernel/built-in.o: In function `reserve_region_with_split':
(.init.text+0x474): undefined reference to `__pr_err'
kernel/built-in.o: In function `pidmap_init':
(.init.text+0xa38): undefined reference to `__pr_info'
kernel/built-in.o: In function `sort_main_extable':
(.init.text+0xad8): undefined reference to `__pr_notice'
kernel/built-in.o: In function `keep_bootcon_setup':
printk.c:(.init.text+0xfa4): undefined reference to `__pr_info'
kernel/built-in.o: In function `timekeeping_init':
(.init.text+0x1620): undefined reference to `__pr_warn'
kernel/built-in.o: In function `timekeeping_init':
(.init.text+0x1684): undefined reference to `__pr_warn'
kernel/built-in.o: In function `boot_override_clock':
clocksource.c:(.init.text+0x184c): undefined reference to `__pr_warn'
clocksource.c:(.init.text+0x185c): undefined reference to `__pr_warn'
kernel/built-in.o: In function `panic':
(.text.unlikely+0x98): undefined reference to `__pr_emerg'
kernel/built-in.o: In function `panic':
(.text.unlikely+0x108): undefined reference to `__pr_emerg'
kernel/built-in.o: In function `panic':
(.text.unlikely+0x1a4): undefined reference to `__pr_emerg'
kernel/built-in.o: In function `panic':
(.text.unlikely+0x1b4): undefined reference to `__pr_emerg'
mm/built-in.o: In function `__delete_from_page_cache':
(.text+0x498): undefined reference to `__pr_alert'
mm/built-in.o: In function `__oom_reap_task':
oom_kill.c:(.text+0x46cc): undefined reference to `__pr_info'
mm/built-in.o: In function `oom_reaper':
oom_kill.c:(.text+0x4ba0): undefined reference to `__pr_info'
mm/built-in.o: In function `oom_kill_process':
(.text+0x4d88): undefined reference to `__pr_err'
mm/built-in.o: In function `oom_kill_process':
(.text+0x5008): undefined reference to `__pr_err'
mm/built-in.o: In function `bad_page':
page_alloc.c:(.text+0x5b4c): undefined reference to `__pr_alert'
page_alloc.c:(.text+0x5bb4): undefined reference to `__pr_alert'
page_alloc.c:(.text+0x5bcc): undefined reference to `__pr_alert'
mm/built-in.o: In function `warn_alloc_failed':
(.text+0x85b0): undefined reference to `__pr_warn'
mm/built-in.o: In function `warn_alloc_failed':
(.text+0x85e8): undefined reference to `__pr_warn'
mm/built-in.o: In function `free_reserved_area':
(.text+0x9c04): undefined reference to `__pr_info'
mm/built-in.o: In function `shrink_slab.part.7.constprop.20':
vmscan.c:(.text+0x10948): undefined reference to `__pr_err'
mm/built-in.o: In function `kswapd_run':
(.text+0x110c0): undefined reference to `__pr_err'
mm/built-in.o: In function `shrink_page_list':
vmscan.c:(.text+0x11d24): undefined reference to `__pr_info'
mm/built-in.o: In function `pcpu_alloc':
percpu.c:(.text+0x15e38): undefined reference to `__pr_warn'
percpu.c:(.text+0x15e60): undefined reference to `__pr_info'
mm/built-in.o: In function `kmem_cache_create':
(.text+0x16e94): undefined reference to `__pr_warn'
mm/built-in.o: In function `kmem_cache_destroy':
(.text+0x1707c): undefined reference to `__pr_err'
mm/built-in.o: In function `__dump_page':
(.text+0x189cc): undefined reference to `__pr_emerg'
mm/built-in.o: In function `__dump_page':
(.text+0x18a04): undefined reference to `__pr_emerg'
mm/built-in.o: In function `__dump_page':
(.text+0x18a50): undefined reference to `__pr_alert'
mm/built-in.o: In function `print_bad_pte':
memory.c:(.text+0x19ba8): undefined reference to `__pr_alert'
memory.c:(.text+0x19bdc): undefined reference to `__pr_alert'
memory.c:(.text+0x19c24): undefined reference to `__pr_alert'
memory.c:(.text+0x19c6c): undefined reference to `__pr_alert'
mm/built-in.o: In function `pgd_clear_bad':
(.text+0x28ee0): undefined reference to `__pr_err'
mm/built-in.o: In function `pud_clear_bad':
(.text+0x28f20): undefined reference to `__pr_err'
mm/built-in.o: In function `pmd_clear_bad':
(.text+0x28f60): undefined reference to `__pr_err'
mm/built-in.o: In function `memblock_dump.isra.3':
>> memblock.c:(.text+0x292f0): undefined reference to `__pr_info'
memblock.c:(.text+0x2938c): undefined reference to `__pr_info'
mm/built-in.o: In function `memblock_find_in_range':
(.text+0x29a5c): undefined reference to `__pr_warn'
mm/built-in.o: In function `memblock_double_array':
>> memblock.c:(.text+0x29c78): undefined reference to `__pr_err'
mm/built-in.o: In function `__memblock_dump_all':
(.text+0x2a950): undefined reference to `__pr_info'
mm/built-in.o: In function `__memblock_dump_all':
(.text+0x2a974): undefined reference to `__pr_info'
mm/built-in.o: In function `dma_pool_destroy':
(.text+0x2ae18): undefined reference to `__pr_err'
mm/built-in.o: In function `dma_pool_free':
(.text+0x2b110): undefined reference to `__pr_err'
mm/built-in.o: In function `___slab_alloc.isra.11.constprop.15':
>> slub.c:(.text+0x2bddc): undefined reference to `__pr_emerg'
mm/built-in.o: In function `oom_init':
>> oom_kill.c:(.init.text+0x4c): undefined reference to `__pr_err'
mm/built-in.o: In function `find_min_pfn_for_node':
page_alloc.c:(.init.text+0xd0): undefined reference to `__pr_warn'
mm/built-in.o: In function `free_area_init_nodes':
(.init.text+0x6e0): undefined reference to `__pr_warn'
mm/built-in.o: In function `free_area_init_nodes':
(.init.text+0x8c0): undefined reference to `__pr_info'
mm/built-in.o: In function `free_area_init_nodes':
(.init.text+0x8f8): undefined reference to `__pr_info'
mm/built-in.o: In function `free_area_init_nodes':
(.init.text+0x918): undefined reference to `__pr_info'
mm/built-in.o: In function `free_area_init_nodes':
(.init.text+0x94c): undefined reference to `__pr_info'
mm/built-in.o: In function `free_area_init_nodes':
(.init.text+0x970): undefined reference to `__pr_info'
mm/built-in.o:(.init.text+0x9c0): more undefined references to `__pr_info' follow
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x133c): undefined reference to `__pr_emerg'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x1354): undefined reference to `__pr_emerg'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x13e8): undefined reference to `__pr_emerg'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x1400): undefined reference to `__pr_emerg'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x149c): undefined reference to `__pr_emerg'
mm/built-in.o:(.init.text+0x14b4): more undefined references to `__pr_emerg' follow
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x1814): undefined reference to `__pr_crit'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x1828): undefined reference to `__pr_emerg'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x1840): undefined reference to `__pr_emerg'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x1918): undefined reference to `__pr_warn'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x1ad0): undefined reference to `__pr_emerg'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x1ae8): undefined reference to `__pr_emerg'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x1b98): undefined reference to `__pr_emerg'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x1bb0): undefined reference to `__pr_emerg'
mm/built-in.o: In function `pcpu_setup_first_chunk':
(.init.text+0x1cb0): undefined reference to `__pr_emerg'
mm/built-in.o:(.init.text+0x1cc8): more undefined references to `__pr_emerg' follow
mm/built-in.o: In function `__alloc_memory_core_early':
nobootmem.c:(.init.text+0x2790): undefined reference to `__pr_warn'
mm/built-in.o: In function `___alloc_bootmem_node.part.3':
nobootmem.c:(.init.text+0x2844): undefined reference to `__pr_alert'
mm/built-in.o: In function `memblock_virt_alloc_internal':
memblock.c:(.init.text+0x2ea0): undefined reference to `__pr_warn'
mm/built-in.o: In function `sparse_early_usemaps_alloc_node':
>> sparse.c:(.init.text+0x3278): undefined reference to `__pr_warn'
mm/built-in.o: In function `sparse_mem_maps_populate_node':
(.init.text+0x3560): undefined reference to `__pr_err'
mm/built-in.o: In function `sparse_init':
(.init.text+0x3720): undefined reference to `__pr_err'
mm/built-in.o: In function `kmem_cache_init':
(.init.text+0x3994): undefined reference to `__pr_info'
mm/built-in.o: In function `dump_header.isra.5':
oom_kill.c:(.text.unlikely+0x20): undefined reference to `__pr_warn'
oom_kill.c:(.text.unlikely+0x58): undefined reference to `__pr_info'
oom_kill.c:(.text.unlikely+0x140): undefined reference to `__pr_info'
mm/built-in.o: In function `build_all_zonelists':
(.ref.text+0x164): undefined reference to `__pr_info'
mm/built-in.o: In function `build_all_zonelists':
(.ref.text+0x194): undefined reference to `__pr_info'
mm/built-in.o: In function `free_area_init_node':
(.meminit.text+0x770): undefined reference to `__pr_info'
mm/built-in.o: In function `free_area_init_node':
(.meminit.text+0x944): undefined reference to `__pr_warn'
mm/built-in.o: In function `init_per_zone_wmark_min':
(.meminit.text+0xc20): undefined reference to `__pr_warn'
fs/built-in.o: In function `__register_chrdev_region':
char_dev.c:(.text+0x63c0): undefined reference to `__pr_warn'
char_dev.c:(.text+0x63d8): undefined reference to `__pr_warn'
lib/built-in.o: In function `__percpu_ida_init':
(.text+0x942c): undefined reference to `__pr_err'
drivers/built-in.o: In function `credit_entropy_bits':
random.c:(.text+0x630): undefined reference to `__pr_warn'
random.c:(.text+0x854): undefined reference to `__pr_notice'
drivers/built-in.o: In function `syscore_shutdown':
(.text+0x67e8): undefined reference to `__pr_info'
drivers/built-in.o: In function `__platform_register_drivers':
(.text+0x8064): undefined reference to `__pr_err'
drivers/built-in.o: In function `sun4v_set_time':
>> rtc-sun4v.c:(.text+0xfe20): undefined reference to `__pr_warn'
rtc-sun4v.c:(.text+0xfe38): undefined reference to `__pr_warn'
drivers/built-in.o: In function `sun4v_read_time':
rtc-sun4v.c:(.text+0xfec0): undefined reference to `__pr_warn'
rtc-sun4v.c:(.text+0xfedc): undefined reference to `__pr_warn'
drivers/built-in.o: In function `of_property_count_elems_of_size':
(.text+0x10cf4): undefined reference to `__pr_err'
drivers/built-in.o: In function `of_phandle_iterator_next':
(.text+0x112bc): undefined reference to `__pr_err'
drivers/built-in.o: In function `of_phandle_iterator_next':
(.text+0x112f0): undefined reference to `__pr_err'
drivers/built-in.o: In function `of_phandle_iterator_next':
(.text+0x11318): undefined reference to `__pr_err'
drivers/built-in.o: In function `of_graph_get_next_endpoint':
(.text+0x124fc): undefined reference to `__pr_err'
drivers/built-in.o:(.init.text+0x28c): more undefined references to `__pr_err' follow
drivers/built-in.o: In function `early_platform_driver_probe':
(.init.text+0x718): undefined reference to `__pr_warn'
drivers/built-in.o: In function `early_platform_driver_probe':
(.init.text+0x7b0): undefined reference to `__pr_warn'
drivers/built-in.o: In function `container_dev_init':
(.init.text+0x9e0): undefined reference to `__pr_err'
drivers/built-in.o: In function `cacheinfo_sysfs_init':
cacheinfo.c:(.init.text+0xa84): undefined reference to `__pr_err'
cacheinfo.c:(.init.text+0xaa8): undefined reference to `__pr_err'
>> cacheinfo.c:(.init.text+0xb2c): undefined reference to `__pr_warn'
cacheinfo.c:(.init.text+0xd04): undefined reference to `__pr_err'
drivers/built-in.o: In function `rtc_init':
>> class.c:(.init.text+0xd44): undefined reference to `__pr_err'
drivers/built-in.o: In function `of_core_init':
(.init.text+0x1480): undefined reference to `__pr_err'
drivers/built-in.o: In function `account.part.1':
>> random.c:(.text.unlikely+0x68): undefined reference to `__pr_warn'

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data