Re: New build failures in v3.13-rc1

From: Guenter Roeck
Date: Sat Nov 23 2013 - 15:12:48 EST


On 11/23/2013 10:51 AM, Geert Uytterhoeven wrote:
On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck <linux@xxxxxxxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/