public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* New build failures in v3.13-rc1
@ 2013-11-23 18:40 Guenter Roeck
  2013-11-23 18:51 ` Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Guenter Roeck @ 2013-11-23 18:40 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org, Thomas Gleixner, Ard Biesheuvel,
	Anton Blanchard, Benjamin Herrenschmidt, Linus Torvalds,
	Kirill Tkhai

Building arm:allmodconfig ... failed
--------------
Error log:
arch/arm/crypto/aesbs-glue.c:13:32: fatal error: crypto/ablk_helper.h: No such file or directory
compilation terminated.
make[1]: *** [arch/arm/crypto/aesbs-glue.o] Error 1

ablk_helper.h only exists in arch/x86/include/asm/crypto/ablk_helper.h,
so I am not entirely sure how this is supposed to work for arm.

Introduced by commit e4e7f10bfc (ARM: add support for bit sliced AES using NEON instructions).
Possibly resolved with the pending crypto update from Herbert Xu.

======================

Building ia64:defconfig ... failed
--------------
Error log:
arch/ia64/kernel/built-in.o: In function `skip_rbs_switch':
(.text+0xef2): undefined reference to `preempt_schedule_irq'

Caused by commit aa0d5326 (ia64: Use preempt_schedule_irq).

Reverting that commit fixes the problem.
Problem is known (https://lkml.org/lkml/2013/11/20/444) and being addressed.

======================

Building powerpc:allmodconfig ... failed
--------------
Error log:
<stdin>:1:0: error: -mcall-aixdesc must be big endian (several)
scripts/gcc-version.sh: line 31: printf: #: invalid number (several)
scripts/mod/empty.c:1:0: error: -mcall-aixdesc must be big endian

make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2

According to Stephen introduced by commit 7c105b63b (powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option).

Reverting that commit fixes this problem, but unveils another.

drivers/tty/ehv_bytechan.c:363:1: error: type defaults to 'int' in declaration of 'console_initcall' [-Werror=implicit-int]

Not really surprising as console_initcall() is not defined for modules.
I am a bit at loss why this is only seen now, though.

=======================

Building sparc64:allmodconfig ... failed
--------------
Error log:
arch/sparc/kernel/kgdb_64.c: In function 'kgdb_trap':
arch/sparc/kernel/kgdb_64.c:162:7: error: implicit declaration of function 'exception_enter' [-Werror=implicit-function-declaration]
arch/sparc/kernel/kgdb_64.c:176:2: error: implicit declaration of function 'exception_exit' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[2]: *** [arch/sparc/kernel/kgdb_64.o] Error 1

Introduced by commit 812cb83a5 (sparc64: Implement HAVE_CONTEXT_TRACKING).

Reverting that commit fixes the problem.

======================

Building xtensa:allmodconfig ... failed
--------------
Error log:
drivers/built-in.o:(.init.literal+0xd88): undefined reference to `i2c_register_driver'
drivers/built-in.o: In function `sram_probe':
sram.c:(.text+0x58f14): undefined reference to `devm_regmap_init_i2c'
drivers/built-in.o: In function `as3722_i2c_probe':
/opt/buildbot/slave/stable-queue-master/build/drivers/mfd/as3722.c:372: undefined reference to `devm_regmap_init_i2c'
drivers/built-in.o: In function `as3722_i2c_driver_init':
/opt/buildbot/slave/stable-queue-master/build/drivers/mfd/as3722.c:444: undefined reference to `i2c_register_driver'
make: *** [vmlinux] Error 1

A patch fixing this problem is pending (http://lkml.indiana.edu/hypermail/linux/kernel/1311.2/00669.html).

---

Guenter

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

* Re: New build failures in v3.13-rc1
  2013-11-23 18:40 New build failures in v3.13-rc1 Guenter Roeck
@ 2013-11-23 18:51 ` Geert Uytterhoeven
  2013-11-23 19:13   ` Guenter Roeck
  2013-11-23 20:12   ` Guenter Roeck
  2013-11-23 21:10 ` Benjamin Herrenschmidt
  2013-11-23 23:54 ` Kirill Tkhai
  2 siblings, 2 replies; 9+ messages in thread
From: Geert Uytterhoeven @ 2013-11-23 18:51 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: linux-kernel@vger.kernel.org, Thomas Gleixner, Ard Biesheuvel,
	Anton Blanchard, Benjamin Herrenschmidt, Linus Torvalds,
	Kirill Tkhai

On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> drivers/tty/ehv_bytechan.c:363:1: error: type defaults to 'int' in
> declaration of 'console_initcall' [-Werror=implicit-int]
>
> Not really surprising as console_initcall() is not defined for modules.
> I am a bit at loss why this is only seen now, though.

On kissb that's been seens since v3.2-rc1.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: New build failures in v3.13-rc1
  2013-11-23 18:51 ` Geert Uytterhoeven
@ 2013-11-23 19:13   ` Guenter Roeck
  2013-11-23 20:08     ` Ard Biesheuvel
  2013-11-23 20:12   ` Guenter Roeck
  1 sibling, 1 reply; 9+ messages in thread
From: Guenter Roeck @ 2013-11-23 19:13 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: linux-kernel@vger.kernel.org, Thomas Gleixner, Ard Biesheuvel,
	Anton Blanchard, Benjamin Herrenschmidt, Linus Torvalds,
	Kirill Tkhai

On 11/23/2013 10:51 AM, Geert Uytterhoeven wrote:
> On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck <linux@roeck-us.net> wrote:
>> drivers/tty/ehv_bytechan.c:363:1: error: type defaults to 'int' in
>> declaration of 'console_initcall' [-Werror=implicit-int]
>>
>> Not really surprising as console_initcall() is not defined for modules.
>> I am a bit at loss why this is only seen now, though.
>
> On kissb that's been seens since v3.2-rc1.
>

Makes it even more surprising that I only see it now, since I did not change anything
in my build scripts. I'll do some digging; maybe I can find out.

Guenter


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

* Re: New build failures in v3.13-rc1
  2013-11-23 19:13   ` Guenter Roeck
@ 2013-11-23 20:08     ` Ard Biesheuvel
  2013-11-23 20:25       ` Guenter Roeck
  0 siblings, 1 reply; 9+ messages in thread
From: Ard Biesheuvel @ 2013-11-23 20:08 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Geert Uytterhoeven, linux-kernel@vger.kernel.org, Thomas Gleixner,
	Anton Blanchard, Benjamin Herrenschmidt, Linus Torvalds,
	Kirill Tkhai

This is a known issue that will hopefully be sorted shortly:

http://marc.info/?l=linux-arm-kernel&m=138515869216723&w=2

-- 
Ard.


On 23 November 2013 20:13, Guenter Roeck <linux@roeck-us.net> wrote:
> On 11/23/2013 10:51 AM, Geert Uytterhoeven wrote:
>>
>> On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck <linux@roeck-us.net> wrote:
>>>
>>> drivers/tty/ehv_bytechan.c:363:1: error: type defaults to 'int' in
>>> declaration of 'console_initcall' [-Werror=implicit-int]
>>>
>>> Not really surprising as console_initcall() is not defined for modules.
>>> I am a bit at loss why this is only seen now, though.
>>
>>
>> On kissb that's been seens since v3.2-rc1.
>>
>
> Makes it even more surprising that I only see it now, since I did not change
> anything
> in my build scripts. I'll do some digging; maybe I can find out.
>
> Guenter
>

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

* Re: New build failures in v3.13-rc1
  2013-11-23 18:51 ` Geert Uytterhoeven
  2013-11-23 19:13   ` Guenter Roeck
@ 2013-11-23 20:12   ` Guenter Roeck
  1 sibling, 0 replies; 9+ messages in thread
From: Guenter Roeck @ 2013-11-23 20:12 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: linux-kernel@vger.kernel.org, Thomas Gleixner, Ard Biesheuvel,
	Anton Blanchard, Benjamin Herrenschmidt, Linus Torvalds,
	Kirill Tkhai, Sergei Trofimovich

On 11/23/2013 10:51 AM, Geert Uytterhoeven wrote:
> On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck <linux@roeck-us.net> wrote:
>> drivers/tty/ehv_bytechan.c:363:1: error: type defaults to 'int' in
>> declaration of 'console_initcall' [-Werror=implicit-int]
>>
>> Not really surprising as console_initcall() is not defined for modules.
>> I am a bit at loss why this is only seen now, though.
>
> On kissb that's been seens since v3.2-rc1.
>

This used to be a warning, now it is an error.

It is a side effect / result of commit 8097047217 (Makefile: enable -Werror=implicit-int
and -Werror=strict-prototypes by default). Reverting that commit fixes
this build problem, only to uncover the problem also seen with xtensa:allmodconfig:

drivers/built-in.o: In function `as3722_i2c_probe':
drivers/mfd/as3722.c:372: undefined reference to `.devm_regmap_init_i2c'
drivers/built-in.o: In function `as3722_i2c_driver_init':
drivers/mfd/as3722.c:444: undefined reference to `.i2c_register_driver'
drivers/built-in.o: In function `as3722_i2c_driver_exit':
drivers/mfd/as3722.c:444: undefined reference to `.i2c_del_driver'

Guenter


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

* Re: New build failures in v3.13-rc1
  2013-11-23 20:08     ` Ard Biesheuvel
@ 2013-11-23 20:25       ` Guenter Roeck
  0 siblings, 0 replies; 9+ messages in thread
From: Guenter Roeck @ 2013-11-23 20:25 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: Geert Uytterhoeven, linux-kernel@vger.kernel.org, Thomas Gleixner,
	Anton Blanchard, Benjamin Herrenschmidt, Linus Torvalds,
	Kirill Tkhai

On 11/23/2013 12:08 PM, Ard Biesheuvel wrote:
> This is a known issue that will hopefully be sorted shortly:
>
> http://marc.info/?l=linux-arm-kernel&m=138515869216723&w=2
>
I assume you are referring to the arm:allmodconfig build failure.
Yes, I suspected that Herbert's pull request might fix that.

Thanks,
Guenter


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

* Re: New build failures in v3.13-rc1
  2013-11-23 18:40 New build failures in v3.13-rc1 Guenter Roeck
  2013-11-23 18:51 ` Geert Uytterhoeven
@ 2013-11-23 21:10 ` Benjamin Herrenschmidt
  2013-11-23 23:54 ` Kirill Tkhai
  2 siblings, 0 replies; 9+ messages in thread
From: Benjamin Herrenschmidt @ 2013-11-23 21:10 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: linux-kernel@vger.kernel.org, Thomas Gleixner, Ard Biesheuvel,
	Anton Blanchard, Linus Torvalds, Kirill Tkhai

On Sat, 2013-11-23 at 10:40 -0800, Guenter Roeck wrote:
> 
> According to Stephen introduced by commit 7c105b63b (powerpc: Add
> CONFIG_CPU_LITTLE_ENDIAN kernel config option).

We have a fix for that, I'll send it to Linus next week.

Cheers,
Ben.



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

* Re: New build failures in v3.13-rc1
  2013-11-23 18:40 New build failures in v3.13-rc1 Guenter Roeck
  2013-11-23 18:51 ` Geert Uytterhoeven
  2013-11-23 21:10 ` Benjamin Herrenschmidt
@ 2013-11-23 23:54 ` Kirill Tkhai
  2013-12-30 21:03   ` Geert Uytterhoeven
  2 siblings, 1 reply; 9+ messages in thread
From: Kirill Tkhai @ 2013-11-23 23:54 UTC (permalink / raw)
  To: Guenter Roeck, linux-kernel@vger.kernel.org, Thomas Gleixner,
	Ard Biesheuvel, Anton Blanchard, Benjamin Herrenschmidt,
	Linus Torvalds

23.11.2013, 22:40, "Guenter Roeck" <linux@roeck-us.net>:
> =======================
> Building sparc64:allmodconfig ... failed
> --------------
> Error log:
> arch/sparc/kernel/kgdb_64.c: In function 'kgdb_trap':
> arch/sparc/kernel/kgdb_64.c:162:7: error: implicit declaration of function 'exception_enter' [-Werror=implicit-function-declaration]
> arch/sparc/kernel/kgdb_64.c:176:2: error: implicit declaration of function 'exception_exit' [-Werror=implicit-function-declaration]
> cc1: all warnings being treated as errors
> make[2]: *** [arch/sparc/kernel/kgdb_64.o] Error 1
>
> Introduced by commit 812cb83a5 (sparc64: Implement HAVE_CONTEXT_TRACKING).
>
> Reverting that commit fixes the problem.
>

The patch below fixes the problem:

Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
---
 arch/sparc/kernel/kgdb_64.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/sparc/kernel/kgdb_64.c b/arch/sparc/kernel/kgdb_64.c
index 60b19f5..b45fe3f 100644
--- a/arch/sparc/kernel/kgdb_64.c
+++ b/arch/sparc/kernel/kgdb_64.c
@@ -6,6 +6,7 @@
 #include <linux/kgdb.h>
 #include <linux/kdebug.h>
 #include <linux/ftrace.h>
+#include <linux/context_tracking.h>
 
 #include <asm/cacheflush.h>
 #include <asm/kdebug.h>

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

* Re: New build failures in v3.13-rc1
  2013-11-23 23:54 ` Kirill Tkhai
@ 2013-12-30 21:03   ` Geert Uytterhoeven
  0 siblings, 0 replies; 9+ messages in thread
From: Geert Uytterhoeven @ 2013-12-30 21:03 UTC (permalink / raw)
  To: Kirill Tkhai, David S. Miller, sparclinux
  Cc: Guenter Roeck, linux-kernel@vger.kernel.org, Thomas Gleixner,
	Ard Biesheuvel, Anton Blanchard, Benjamin Herrenschmidt,
	Linus Torvalds

CC davem, sparclinux

On Sun, Nov 24, 2013 at 12:54 AM, Kirill Tkhai <tkhai@yandex.ru> wrote:
> 23.11.2013, 22:40, "Guenter Roeck" <linux@roeck-us.net>:
>> =======================
>> Building sparc64:allmodconfig ... failed
>> --------------
>> Error log:
>> arch/sparc/kernel/kgdb_64.c: In function 'kgdb_trap':
>> arch/sparc/kernel/kgdb_64.c:162:7: error: implicit declaration of function 'exception_enter' [-Werror=implicit-function-declaration]
>> arch/sparc/kernel/kgdb_64.c:176:2: error: implicit declaration of function 'exception_exit' [-Werror=implicit-function-declaration]
>> cc1: all warnings being treated as errors
>> make[2]: *** [arch/sparc/kernel/kgdb_64.o] Error 1
>>
>> Introduced by commit 812cb83a5 (sparc64: Implement HAVE_CONTEXT_TRACKING).
>>
>> Reverting that commit fixes the problem.
>>
>
> The patch below fixes the problem:
>
> Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
> ---
>  arch/sparc/kernel/kgdb_64.c | 1 +
>  1 file changed, 1 insertion(+)
> diff --git a/arch/sparc/kernel/kgdb_64.c b/arch/sparc/kernel/kgdb_64.c
> index 60b19f5..b45fe3f 100644
> --- a/arch/sparc/kernel/kgdb_64.c
> +++ b/arch/sparc/kernel/kgdb_64.c
> @@ -6,6 +6,7 @@
>  #include <linux/kgdb.h>
>  #include <linux/kdebug.h>
>  #include <linux/ftrace.h>
> +#include <linux/context_tracking.h>
>
>  #include <asm/cacheflush.h>
>  #include <asm/kdebug.h>
> --
> 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/

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

end of thread, other threads:[~2013-12-30 21:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-23 18:40 New build failures in v3.13-rc1 Guenter Roeck
2013-11-23 18:51 ` Geert Uytterhoeven
2013-11-23 19:13   ` Guenter Roeck
2013-11-23 20:08     ` Ard Biesheuvel
2013-11-23 20:25       ` Guenter Roeck
2013-11-23 20:12   ` Guenter Roeck
2013-11-23 21:10 ` Benjamin Herrenschmidt
2013-11-23 23:54 ` Kirill Tkhai
2013-12-30 21:03   ` Geert Uytterhoeven

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