New build failures in v3.13-rc1
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
Quoted 5 lines · Guenter Roeck
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 -- [email protected]
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
Quoted 9 lines · Geert Uytterhoeven
Quoted 5 lines · Guenter Roeck
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
This is a known issue that will hopefully be sorted shortly:
http://marc.info/?l=linux-arm-kernel&m=138515869216723&w=2
Signature · 1 line
Ard.
Quoted 20 lines · Guenter Roeck
Quoted 12 lines · Geert Uytterhoeven
Quoted 6 lines · Guenter Roeck
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
Quoted 9 lines · Geert Uytterhoeven
Quoted 5 lines · Guenter Roeck
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
Quoted 4 lines · Ard Biesheuvel
This is a known issue that will hopefully be sorted shortly:
I assume you are referring to the arm:allmodconfig build failure. Yes, I suspected that Herbert's pull request might fix that.
Thanks,
Guenter
Quoted 3 lines · Guenter Roeck
According to Stephen introduced by commit
7c105b63b(powerpc: AddCONFIG_CPU_LITTLE_ENDIANkernel config option).
We have a fix for that, I'll send it to Linus next week.
Cheers,
Ben.
23.11.2013, 22:40, "Guenter Roeck" <[email protected]>:
Quoted 10 lines
=======================
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
Quoted 4 lines
Introduced by commit
812cb83a5(sparc64: ImplementHAVE_CONTEXT_TRACKING).Reverting that commit fixes the problem.
The patch below fixes the problem:
--- arch/sparc/kernel/kgdb_64.c | 1 + 1 file changed, 1 insertion(+)
arch/sparc/kernel/kgdb_64.c +1 -0
@@ -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>
CC davem, sparclinux
Quoted 34 lines · Kirill Tkhai
23.11.2013, 22:40, "Guenter Roeck" <[email protected]>:
Quoted 9 lines
===========>> 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 1Quoted 4 lines
Introduced by commit
812cb83a5(sparc64: ImplementHAVE_CONTEXT_TRACKING).Reverting that commit fixes the problem.
The patch below fixes the problem:
Signed-off-by Kirill Tkhai <[email protected]>--- arch/sparc/kernel/kgdb_64.c | 1 + 1 file changed, 1 insertion(+)arch/sparc/kernel/kgdb_64.c +1
-1@@ -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> --
Quoted 4 lines
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
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 -- [email protected]
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