All of lore.kernel.org
 help / color / mirror / Atom feed
* [linuxppc:next-test 3/37] arch/powerpc/kernel/irq.c:116:undefined reference to `irq_proc_emit_counts'
@ 2026-09-29 22:05 kernel test robot
  2026-09-30  6:02 ` Madhavan Srinivasan
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-09-29 22:05 UTC (permalink / raw)
  To: Shrikanth Hegde
  Cc: oe-kbuild-all, Madhavan Srinivasan, Christophe Leroy (CS GROUP)

tree:   https://github.com/linuxppc/linux next-test
head:   0b8b0c17a8998709ecb2852d56442ea981102941
commit: fbb22ceaaf8f9c6786e6ff5da1962fe6ac0fc904 [3/37] powerpc/irq: Make irqstats array based
config: powerpc64-randconfig-r2100-20260929 (https://download.01.org/0day-ci/archive/20260930/202609300040.mopAJGuz-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260930/202609300040.mopAJGuz-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609300040.mopAJGuz-lkp@intel.com/

All errors (new ones prefixed by >>):

   powerpc64-linux-ld: warning: discarding dynamic section .glink
   powerpc64-linux-ld: warning: discarding dynamic section .plt
   powerpc64-linux-ld: linkage table error against `irq_proc_emit_counts'
   powerpc64-linux-ld: stubs don't match calculated size
   powerpc64-linux-ld: can not build stubs: bad value
   powerpc64-linux-ld: arch/powerpc/kernel/irq.o: in function `arch_show_interrupts':
>> arch/powerpc/kernel/irq.c:116:(.text+0x49f8): undefined reference to `irq_proc_emit_counts'


vim +116 arch/powerpc/kernel/irq.c

   109	
   110	int arch_show_interrupts(struct seq_file *p, int prec)
   111	{
   112		const struct irq_stat_info *info = irq_stat_info;
   113	
   114		for (unsigned int i = 0; i < ARRAY_SIZE(irq_stat_info); i++, info++) {
   115			seq_printf(p, "%*s:", prec, info->symbol);
 > 116			irq_proc_emit_counts(p, &irq_stat.counts[i]);
   117			seq_puts(p, info->text);
   118		}
   119	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linuxppc:next-test 3/37] arch/powerpc/kernel/irq.c:116:undefined reference to `irq_proc_emit_counts'
  2026-09-29 22:05 [linuxppc:next-test 3/37] arch/powerpc/kernel/irq.c:116:undefined reference to `irq_proc_emit_counts' kernel test robot
@ 2026-09-30  6:02 ` Madhavan Srinivasan
  2026-09-30  6:12   ` Shrikanth Hegde
  0 siblings, 1 reply; 3+ messages in thread
From: Madhavan Srinivasan @ 2026-09-30  6:02 UTC (permalink / raw)
  To: kernel test robot, Shrikanth Hegde
  Cc: oe-kbuild-all, Christophe Leroy (CS GROUP)


On 9/30/26 3:35 AM, kernel test robot wrote:
> tree:   https://github.com/linuxppc/linux next-test
> head:   0b8b0c17a8998709ecb2852d56442ea981102941
> commit: fbb22ceaaf8f9c6786e6ff5da1962fe6ac0fc904 [3/37] powerpc/irq: Make irqstats array based
> config: powerpc64-randconfig-r2100-20260929 (https://download.01.org/0day-ci/archive/20260930/202609300040.mopAJGuz-lkp@intel.com/config)
> compiler: powerpc64-linux-gcc (GCC) 15.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260930/202609300040.mopAJGuz-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202609300040.mopAJGuz-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
>     powerpc64-linux-ld: warning: discarding dynamic section .glink
>     powerpc64-linux-ld: warning: discarding dynamic section .plt
>     powerpc64-linux-ld: linkage table error against `irq_proc_emit_counts'
>     powerpc64-linux-ld: stubs don't match calculated size
>     powerpc64-linux-ld: can not build stubs: bad value
>     powerpc64-linux-ld: arch/powerpc/kernel/irq.o: in function `arch_show_interrupts':
>>> arch/powerpc/kernel/irq.c:116:(.text+0x49f8): undefined reference to `irq_proc_emit_counts'
CONFIG_PROC_FS is not enabled in the shared config which
is why we are seeing this

Maddy
>
> vim +116 arch/powerpc/kernel/irq.c
>
>     109	
>     110	int arch_show_interrupts(struct seq_file *p, int prec)
>     111	{
>     112		const struct irq_stat_info *info = irq_stat_info;
>     113	
>     114		for (unsigned int i = 0; i < ARRAY_SIZE(irq_stat_info); i++, info++) {
>     115			seq_printf(p, "%*s:", prec, info->symbol);
>   > 116			irq_proc_emit_counts(p, &irq_stat.counts[i]);
>     117			seq_puts(p, info->text);
>     118		}
>     119	
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linuxppc:next-test 3/37] arch/powerpc/kernel/irq.c:116:undefined reference to `irq_proc_emit_counts'
  2026-09-30  6:02 ` Madhavan Srinivasan
@ 2026-09-30  6:12   ` Shrikanth Hegde
  0 siblings, 0 replies; 3+ messages in thread
From: Shrikanth Hegde @ 2026-09-30  6:12 UTC (permalink / raw)
  To: Madhavan Srinivasan, kernel test robot
  Cc: oe-kbuild-all, Christophe Leroy (CS GROUP)



On 9/30/26 11:32 AM, Madhavan Srinivasan wrote:
> 
> On 9/30/26 3:35 AM, kernel test robot wrote:
>> tree:   https://github.com/linuxppc/linux next-test
>> head:   0b8b0c17a8998709ecb2852d56442ea981102941
>> commit: fbb22ceaaf8f9c6786e6ff5da1962fe6ac0fc904 [3/37] powerpc/irq: Make irqstats array based
>> config: powerpc64-randconfig-r2100-20260929 (https://download.01.org/0day-ci/archive/20260930/202609300040.mopAJGuz-lkp@intel.com/config)
>> compiler: powerpc64-linux-gcc (GCC) 15.2.0
>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260930/202609300040.mopAJGuz-lkp@intel.com/reproduce)
>>
>> If you fix the issue in a separate patch/commit (i.e. not just a new version of
>> the same patch/commit), kindly add following tags
>> | Reported-by: kernel test robot <lkp@intel.com>
>> | Closes: https://lore.kernel.org/oe-kbuild-all/202609300040.mopAJGuz-lkp@intel.com/
>>
>> All errors (new ones prefixed by >>):
>>
>>     powerpc64-linux-ld: warning: discarding dynamic section .glink
>>     powerpc64-linux-ld: warning: discarding dynamic section .plt
>>     powerpc64-linux-ld: linkage table error against `irq_proc_emit_counts'
>>     powerpc64-linux-ld: stubs don't match calculated size
>>     powerpc64-linux-ld: can not build stubs: bad value
>>     powerpc64-linux-ld: arch/powerpc/kernel/irq.o: in function `arch_show_interrupts':
>>>> arch/powerpc/kernel/irq.c:116:(.text+0x49f8): undefined reference to `irq_proc_emit_counts'
> CONFIG_PROC_FS is not enabled in the shared config which
> is why we are seeing this
> 
> Maddy
>>

Yes, i have responded already to similar message yesterday :(
https://lore.kernel.org/all/ae3e35d6-8dfb-43fe-aa69-0a60b51b2f9b@linux.ibm.com/

I will send the patch today.

>> vim +116 arch/powerpc/kernel/irq.c
>>
>>     109
>>     110    int arch_show_interrupts(struct seq_file *p, int prec)
>>     111    {
>>     112        const struct irq_stat_info *info = irq_stat_info;
>>     113
>>     114        for (unsigned int i = 0; i < ARRAY_SIZE(irq_stat_info); i++, info++) {
>>     115            seq_printf(p, "%*s:", prec, info->symbol);
>>   > 116            irq_proc_emit_counts(p, &irq_stat.counts[i]);
>>     117            seq_puts(p, info->text);
>>     118        }
>>     119
>>
>> -- 
>> 0-DAY CI Kernel Test Service
>> https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-30  6:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-29 22:05 [linuxppc:next-test 3/37] arch/powerpc/kernel/irq.c:116:undefined reference to `irq_proc_emit_counts' kernel test robot
2026-09-30  6:02 ` Madhavan Srinivasan
2026-09-30  6:12   ` Shrikanth Hegde

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.