Re: New build failures in v3.13-rc1

2013-12-30 Thread Geert Uytterhoeven
CC davem, sparclinux

On Sun, Nov 24, 2013 at 12:54 AM, Kirill Tkhai  wrote:
> 23.11.2013, 22:40, "Guenter Roeck" :
>> ===
>> 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 
> ---
>  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 
>  #include 
>  #include 
> +#include 
>
>  #include 
>  #include 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majord...@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 -- ge...@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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: New build failures in v3.13-rc1

2013-12-30 Thread Geert Uytterhoeven
CC davem, sparclinux

On Sun, Nov 24, 2013 at 12:54 AM, Kirill Tkhai tk...@yandex.ru wrote:
 23.11.2013, 22:40, Guenter Roeck li...@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 tk...@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 majord...@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 -- ge...@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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: New build failures in v3.13-rc1

2013-11-23 Thread Kirill Tkhai
23.11.2013, 22:40, "Guenter Roeck" :
> ===
> 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 
---
 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 
 #include 
 #include 
+#include 
 
 #include 
 #include 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: New build failures in v3.13-rc1

2013-11-23 Thread Benjamin Herrenschmidt
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.


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


Re: New build failures in v3.13-rc1

2013-11-23 Thread Guenter Roeck

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=138515869216723=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

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


Re: New build failures in v3.13-rc1

2013-11-23 Thread Guenter Roeck

On 11/23/2013 10:51 AM, Geert Uytterhoeven wrote:

On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck  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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: New build failures in v3.13-rc1

2013-11-23 Thread Ard Biesheuvel
This is a known issue that will hopefully be sorted shortly:

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

-- 
Ard.


On 23 November 2013 20:13, Guenter Roeck  wrote:
> On 11/23/2013 10:51 AM, Geert Uytterhoeven wrote:
>>
>> On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck  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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: New build failures in v3.13-rc1

2013-11-23 Thread Guenter Roeck

On 11/23/2013 10:51 AM, Geert Uytterhoeven wrote:

On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck  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

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


Re: New build failures in v3.13-rc1

2013-11-23 Thread Geert Uytterhoeven
On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck  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 -- ge...@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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: New build failures in v3.13-rc1

2013-11-23 Thread Geert Uytterhoeven
On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck li...@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 -- ge...@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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: New build failures in v3.13-rc1

2013-11-23 Thread Guenter Roeck

On 11/23/2013 10:51 AM, Geert Uytterhoeven wrote:

On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck li...@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

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


Re: New build failures in v3.13-rc1

2013-11-23 Thread Ard Biesheuvel
This is a known issue that will hopefully be sorted shortly:

http://marc.info/?l=linux-arm-kernelm=138515869216723w=2

-- 
Ard.


On 23 November 2013 20:13, Guenter Roeck li...@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 li...@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

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


Re: New build failures in v3.13-rc1

2013-11-23 Thread Guenter Roeck

On 11/23/2013 10:51 AM, Geert Uytterhoeven wrote:

On Sat, Nov 23, 2013 at 7:40 PM, Guenter Roeck li...@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

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


Re: New build failures in v3.13-rc1

2013-11-23 Thread Guenter Roeck

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-kernelm=138515869216723w=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

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


Re: New build failures in v3.13-rc1

2013-11-23 Thread Benjamin Herrenschmidt
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.


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


Re: New build failures in v3.13-rc1

2013-11-23 Thread Kirill Tkhai
23.11.2013, 22:40, Guenter Roeck li...@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 tk...@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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/