public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Build failure in -next: Building arc:vdk_hs38_smp_defconfig ... failed
@ 2015-11-13  6:01 Guenter Roeck
  2015-11-14  7:21 ` Vineet Gupta
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2015-11-13  6:01 UTC (permalink / raw)
  To: Vineet Gupta, Alexey Brodkin; +Cc: linux-snps-arc, linux-kernel@vger.kernel.org

Seen since next-20151105.

Building arc:vdk_hs38_smp_defconfig ... failed
--------------
Error log:
In file included from ./arch/arc/include/asm/irqflags-arcv2.h:12:0,
                  from ./arch/arc/include/asm/irqflags.h:16,
                  from include/linux/irqflags.h:15,
                  from include/linux/spinlock.h:53,
                  from include/linux/rcupdate.h:38,
                  from include/linux/idr.h:18,
                  from include/linux/kernfs.h:14,
                  from include/linux/sysfs.h:15,
                  from include/linux/kobject.h:21,
                  from include/linux/device.h:17,
                  from include/linux/of_platform.h:14,
                  from arch/arc/plat-axs10x/axs10x.c:17:
arch/arc/plat-axs10x/axs10x.c: In function ‘axs103_early_init’:
arch/arc/plat-axs10x/axs10x.c:401:41: error: ‘ARC_REG_MCIP_BCR’ undeclared (first use in this function)
   unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F;
                                          ^
./arch/arc/include/asm/arcregs.h:119:44: note: in definition of macro ‘read_aux_reg’
  #define read_aux_reg(reg) __builtin_arc_lr(reg)
                                             ^
arch/arc/plat-axs10x/axs10x.c:401:41: note: each undeclared identifier is reported only once for each function it appears in
   unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F;
                                          ^
./arch/arc/include/asm/arcregs.h:119:44: note: in definition of macro ‘read_aux_reg’
  #define read_aux_reg(reg) __builtin_arc_lr(reg)

Seems to be caused by commit f78442cc68a1 ("ARC: remove extraneous header include")
which afaics removes the include file providing the missing define.

Guenter

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

* Re: Build failure in -next: Building arc:vdk_hs38_smp_defconfig ... failed
  2015-11-13  6:01 Build failure in -next: Building arc:vdk_hs38_smp_defconfig ... failed Guenter Roeck
@ 2015-11-14  7:21 ` Vineet Gupta
  0 siblings, 0 replies; 2+ messages in thread
From: Vineet Gupta @ 2015-11-14  7:21 UTC (permalink / raw)
  To: Guenter Roeck, Alexey Brodkin
  Cc: linux-snps-arc@lists.infraded.org, linux-kernel@vger.kernel.org

On Friday 13 November 2015 11:31 AM, Guenter Roeck wrote:
> Seen since next-20151105.
>
> Building arc:vdk_hs38_smp_defconfig ... failed
> --------------
> Error log:
> In file included from ./arch/arc/include/asm/irqflags-arcv2.h:12:0,
>                   from ./arch/arc/include/asm/irqflags.h:16,
>                   from include/linux/irqflags.h:15,
>                   from include/linux/spinlock.h:53,
>                   from include/linux/rcupdate.h:38,
>                   from include/linux/idr.h:18,
>                   from include/linux/kernfs.h:14,
>                   from include/linux/sysfs.h:15,
>                   from include/linux/kobject.h:21,
>                   from include/linux/device.h:17,
>                   from include/linux/of_platform.h:14,
>                   from arch/arc/plat-axs10x/axs10x.c:17:
> arch/arc/plat-axs10x/axs10x.c: In function ‘axs103_early_init’:
> arch/arc/plat-axs10x/axs10x.c:401:41: error: ‘ARC_REG_MCIP_BCR’ undeclared (first use in this function)
>    unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F;
>                                           ^
> ./arch/arc/include/asm/arcregs.h:119:44: note: in definition of macro ‘read_aux_reg’
>   #define read_aux_reg(reg) __builtin_arc_lr(reg)
>                                              ^
> arch/arc/plat-axs10x/axs10x.c:401:41: note: each undeclared identifier is reported only once for each function it appears in
>    unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F;
>                                           ^
> ./arch/arc/include/asm/arcregs.h:119:44: note: in definition of macro ‘read_aux_reg’
>   #define read_aux_reg(reg) __builtin_arc_lr(reg)
>
> Seems to be caused by commit f78442cc68a1 ("ARC: remove extraneous header include")
> which afaics removes the include file providing the missing define.
>
> Guenter

Hi Guenter,

Thx for the report. Indeed that was the bugger.
Fix pushed to for-next - will be Linus' way soon !

-Vineet

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

end of thread, other threads:[~2015-11-14  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-13  6:01 Build failure in -next: Building arc:vdk_hs38_smp_defconfig ... failed Guenter Roeck
2015-11-14  7:21 ` Vineet Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox