Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1268638 > unrolled thread

Build failure in -next: Building arc:vdk_hs38_smp_defconfig ... failed

Started byGuenter Roeck <linux@roeck-us.net>
First post2015-11-13 07:10 +0100
Last post2015-11-14 08:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  Build failure in -next: Building arc:vdk_hs38_smp_defconfig ...  failed Guenter Roeck <linux@roeck-us.net> - 2015-11-13 07:10 +0100
    Re: Build failure in -next: Building arc:vdk_hs38_smp_defconfig ...  failed Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2015-11-14 08:30 +0100

#1268638 — Build failure in -next: Building arc:vdk_hs38_smp_defconfig ... failed

FromGuenter Roeck <linux@roeck-us.net>
Date2015-11-13 07:10 +0100
SubjectBuild failure in -next: Building arc:vdk_hs38_smp_defconfig ... failed
Message-ID<qufIC-2HY-3@gated-at.bofh.it>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1269435

FromVineet Gupta <Vineet.Gupta1@synopsys.com>
Date2015-11-14 08:30 +0100
Message-ID<quDrA-12Y-7@gated-at.bofh.it>
In reply to#1268638
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web