All of lore.kernel.org
 help / color / mirror / Atom feed
* shx3_defconfig Fails
@ 2014-07-08  3:04 Nick Krause
  2014-07-08  3:32 ` Greg KH
  0 siblings, 1 reply; 10+ messages in thread
From: Nick Krause @ 2014-07-08  3:04 UTC (permalink / raw)
  To: Greg KH; +Cc: jslaby, linux-kernel

Hey Greg and others,
The build, shx3_defconfig seems to be failing. Below this message are the logs.
Please note they are pretty long as the errors were not in the same subsystems
from what I get from reading the trace.
Cheers Nick
net/ipv4/ping.c: In function ‘ping_err’:
net/ipv4/ping.c:547:37: warning: ‘code’ may be used uninitialized in
this function [-Wmaybe-uninitialized]
     harderr = icmp_err_convert[code].fatal;
                                     ^
net/ipv4/ping.c:559:11: warning: ‘type’ may be used uninitialized in
this function [-Wmaybe-uninitialized]
   harderr = pingv6_ops.icmpv6_err_convert(type, code, &err);
           ^
net/ipv4/ping.c:501:48: warning: ‘icmph’ may be used uninitialized in
this function [-Wmaybe-uninitialized]
  if (!ping_supported(family, icmph->type, icmph->code))
                                                ^
  CC      drivers/scsi/scsi_trace.o
  CC      net/ipv4/gre_offload.o
net/ipv4/ping.c: In function ‘ping_common_sendmsg’:
net/ipv4/ping.c:464:63: warning: ‘code’ may be used uninitialized in
this function [-Wmaybe-uninitialized]
  return (family == AF_INET && type == ICMP_ECHO && code == 0) ||
                                                               ^
net/ipv4/ping.c:646:11: note: ‘code’ was declared here
  u8 type, code;
           ^
net/ipv4/ping.c:678:21: warning: ‘type’ may be used uninitialized in
this function [-Wmaybe-uninitialized]
  if (!ping_supported(family, type, code))
                     ^
  CC      net/ipv4/sysctl_net_ipv4.o
  CC      drivers/scsi/sd.o
  CC      net/ipv4/proc.o
  CC      net/ipv4/xfrm4_mode_beet.o
  CC      net/ipv4/xfrm4_mode_transport.o
  CC      net/ipv4/xfrm4_mode_tunnel.o
  CC      net/ipv4/ipconfig.o
  CC      net/ipv4/inet_diag.o
  CC      net/ipv4/tcp_diag.o
  CC      net/ipv4/tcp_cubic.o
  CC      net/ipv4/xfrm4_policy.o
  CC      net/ipv4/xfrm4_state.o
  LD      drivers/scsi/scsi_mod.o
  LD      drivers/scsi/sd_mod.o
  LD      drivers/scsi/built-in.o
  CC      drivers/sh/clk/core.o
  CC      net/ipv4/xfrm4_input.o
  CC      net/ipv4/xfrm4_output.o
  CC      net/ipv4/xfrm4_protocol.o
  CC      drivers/sh/clk/cpg.o
drivers/sh/clk/cpg.c: In function ‘r8’:
drivers/sh/clk/cpg.c:41:2: warning: passing argument 1 of ‘ioread8’
discards ‘const’ qualifier from pointer target type [enabled by
default]
  return ioread8(addr);
  ^
In file included from ./arch/sh/include/asm/io.h:20:0,
                 from include/linux/io.h:22,
                 from drivers/sh/clk/cpg.c:14:
include/asm-generic/iomap.h:28:21: note: expected ‘void *’ but
argument is of type ‘const void *’
 extern unsigned int ioread8(void __iomem *);
                     ^
drivers/sh/clk/cpg.c: In function ‘r16’:
drivers/sh/clk/cpg.c:46:2: warning: passing argument 1 of ‘ioread16’
discards ‘const’ qualifier from pointer target type [enabled by
default]
  return ioread16(addr);
  ^
In file included from ./arch/sh/include/asm/io.h:20:0,
                 from include/linux/io.h:22,
                 from drivers/sh/clk/cpg.c:14:
include/asm-generic/iomap.h:29:21: note: expected ‘void *’ but
argument is of type ‘const void *’
 extern unsigned int ioread16(void __iomem *);
                     ^
drivers/sh/clk/cpg.c: In function ‘r32’:
drivers/sh/clk/cpg.c:51:2: warning: passing argument 1 of ‘ioread32’
discards ‘const’ qualifier from pointer target type [enabled by
default]
  return ioread32(addr);
  ^
In file included from ./arch/sh/include/asm/io.h:20:0,
                 from include/linux/io.h:22,
                 from drivers/sh/clk/cpg.c:14:
include/asm-generic/iomap.h:31:21: note: expected ‘void *’ but
argument is of type ‘const void *’
 extern unsigned int ioread32(void __iomem *);
                     ^
  CC      drivers/sh/intc/access.o
  LD      drivers/soc/built-in.o
  CC      drivers/sh/intc/chip.o
  LD      drivers/sh/clk/built-in.o
  CC      drivers/sh/intc/core.o
  CC [M]  net/ipv4/ip_tunnel.o
  CC      drivers/spi/spi.o
  CC      drivers/sh/intc/handle.o
  CC      drivers/sh/intc/irqdomain.o
  CC      drivers/sh/intc/virq.o
  CC [M]  net/ipv4/tunnel4.o
  LD      drivers/sh/intc/built-in.o
  CC      drivers/sh/pm_runtime.o
  LD      drivers/sh/built-in.o
  CC      drivers/tty/tty_io.o
  LD      net/ipv4/built-in.o
  CC      drivers/tty/n_tty.o
make: *** [net] Error 2
make: *** Waiting for unfinished jobs....

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

* Re: shx3_defconfig Fails
  2014-07-08  3:04 shx3_defconfig Fails Nick Krause
@ 2014-07-08  3:32 ` Greg KH
  2014-07-08  4:00   ` Guenter Roeck
  0 siblings, 1 reply; 10+ messages in thread
From: Greg KH @ 2014-07-08  3:32 UTC (permalink / raw)
  To: Nick Krause; +Cc: jslaby, linux-kernel

On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote:
> Hey Greg and others,
> The build, shx3_defconfig seems to be failing.

In what kernel version?

Has it ever worked?

Why not ask the maintainer of that arch about it?  I doubt many people
ever use defconfig files anymore...

thanks,

greg k-h

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

* Re: shx3_defconfig Fails
  2014-07-08  3:32 ` Greg KH
@ 2014-07-08  4:00   ` Guenter Roeck
  2014-07-08  4:29     ` Fwd: " Nick Krause
  0 siblings, 1 reply; 10+ messages in thread
From: Guenter Roeck @ 2014-07-08  4:00 UTC (permalink / raw)
  To: Greg KH, Nick Krause; +Cc: jslaby, linux-kernel

On 07/07/2014 08:32 PM, Greg KH wrote:
> On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote:
>> Hey Greg and others,
>> The build, shx3_defconfig seems to be failing.
>
> In what kernel version?
>
> Has it ever worked?
>
> Why not ask the maintainer of that arch about it?  I doubt many people
> ever use defconfig files anymore...
>

Works in mainline for me. And, for the record, I use lots of defconfig files
(144 or so of them) for my build tests, so there is at least one user :-)

Cheers,
Guenter



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

* Fwd: shx3_defconfig Fails
  2014-07-08  4:00   ` Guenter Roeck
@ 2014-07-08  4:29     ` Nick Krause
  2014-07-08  4:46       ` Guenter Roeck
  2014-07-08  4:50       ` Guenter Roeck
  0 siblings, 2 replies; 10+ messages in thread
From: Nick Krause @ 2014-07-08  4:29 UTC (permalink / raw)
  To: linux, Greg KH; +Cc: jslaby, linux-kernel

Guenter Roeck  work on Tue, Jul 8, 2014 at 12:00 AM
Subject: Re: shx3_defconfig Fails

On 07/07/2014 08:32 PM, Greg KH wrote:
>
> On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote:
>>
>> Hey Greg and others,
>> The build, shx3_defconfig seems to be failing.
>
>
> In what kernel version?
>
> Has it ever worked?
>
> Why not ask the maintainer of that arch about it?  I doubt many people
> ever use defconfig files anymore...
>

Works in mainline for me. And, for the record, I use lots of defconfig files
(144 or so of them) for my build tests, so there is at least one user :-)

Cheers,
Guenter

Still fails in the the same way. I am using the latest git tree.
Cheers Nick

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

* Re: Fwd: shx3_defconfig Fails
  2014-07-08  4:29     ` Fwd: " Nick Krause
@ 2014-07-08  4:46       ` Guenter Roeck
  2014-07-08  4:50       ` Guenter Roeck
  1 sibling, 0 replies; 10+ messages in thread
From: Guenter Roeck @ 2014-07-08  4:46 UTC (permalink / raw)
  To: Nick Krause, Greg KH; +Cc: jslaby, linux-kernel

On 07/07/2014 09:29 PM, Nick Krause wrote:
> Guenter Roeck  work on Tue, Jul 8, 2014 at 12:00 AM
> Subject: Re: shx3_defconfig Fails
>
> On 07/07/2014 08:32 PM, Greg KH wrote:
>>
>> On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote:
>>>
>>> Hey Greg and others,
>>> The build, shx3_defconfig seems to be failing.
>>
>>
>> In what kernel version?
>>
>> Has it ever worked?
>>
>> Why not ask the maintainer of that arch about it?  I doubt many people
>> ever use defconfig files anymore...
>>
>
> Works in mainline for me. And, for the record, I use lots of defconfig files
> (144 or so of them) for my build tests, so there is at least one user :-)
>
> Cheers,
> Guenter
>
> Still fails in the the same way. I am using the latest git tree.

What exactly is failing for you ? The log you provided shows a bunch of
warnings and a final error, but I don't see the actual error in the log.

Guenter


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

* Re: Fwd: shx3_defconfig Fails
  2014-07-08  4:29     ` Fwd: " Nick Krause
  2014-07-08  4:46       ` Guenter Roeck
@ 2014-07-08  4:50       ` Guenter Roeck
  2014-07-08  5:07         ` Fwd: " Nick Krause
  1 sibling, 1 reply; 10+ messages in thread
From: Guenter Roeck @ 2014-07-08  4:50 UTC (permalink / raw)
  To: Nick Krause, Greg KH; +Cc: jslaby, linux-kernel

On 07/07/2014 09:29 PM, Nick Krause wrote:
> Guenter Roeck  work on Tue, Jul 8, 2014 at 12:00 AM
> Subject: Re: shx3_defconfig Fails
>
> On 07/07/2014 08:32 PM, Greg KH wrote:
>>
>> On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote:
>>>
>>> Hey Greg and others,
>>> The build, shx3_defconfig seems to be failing.
>>
>>
>> In what kernel version?
>>
>> Has it ever worked?
>>
>> Why not ask the maintainer of that arch about it?  I doubt many people
>> ever use defconfig files anymore...
>>
>
> Works in mainline for me. And, for the record, I use lots of defconfig files
> (144 or so of them) for my build tests, so there is at least one user :-)
>
> Cheers,
> Guenter
>
> Still fails in the the same way. I am using the latest git tree.
> Cheers Nick
>

 From your other errors I start wondering if you use dash or some other non-bash
shell and some dash-incompatibility creeped into the kernel build (again).

Guenter


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

* Fwd: Fwd: shx3_defconfig Fails
  2014-07-08  4:50       ` Guenter Roeck
@ 2014-07-08  5:07         ` Nick Krause
       [not found]           ` <CAPDOMVjfuDmdkASHTdO9CdzZbHHoRi9ZY2VXLeb3=aPywhsfWw@mail.gmail.com>
  0 siblings, 1 reply; 10+ messages in thread
From: Nick Krause @ 2014-07-08  5:07 UTC (permalink / raw)
  To: linux, Greg KH; +Cc: slaby, linux-kernel

From: Guenter Roeck  work Tue, Jul 8, 2014 at 12:50 AM
Subject: Re: Fwd: shx3_defconfig Fails
To: Nick Krause <xerofoify@gmail.com>, Greg KH <gregkh@linuxfoundation.org>
Cc: jslaby@suse.cz, "linux-kernel@vger.kernel.org"
<linux-kernel@vger.kernel.org>


On 07/07/2014 09:29 PM, Nick Krause wrote:
>
> Guenter Roeck  work on Tue, Jul 8, 2014 at 12:00 AM
> Subject: Re: shx3_defconfig Fails
>
> On 07/07/2014 08:32 PM, Greg KH wrote:
>>
>>
>> On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote:
>>>
>>>
>>> Hey Greg and others,
>>> The build, shx3_defconfig seems to be failing.
>>
>>
>>
>> In what kernel version?
>>
>> Has it ever worked?
>>
>> Why not ask the maintainer of that arch about it?  I doubt many people
>> ever use defconfig files anymore...
>>
>
> Works in mainline for me. And, for the record, I use lots of defconfig files
> (144 or so of them) for my build tests, so there is at least one user :-)
>
> Cheers,
> Guenter
>
> Still fails in the the same way. I am using the latest git tree.
> Cheers Nick
>

>From your other errors I start wondering if you use dash or some other non-bash
shell and some dash-incompatibility creeped into the kernel build (again).

Guenter

Hey Guenter,
I seem to be using bash. Weird , maybe this is just my machine ,perhaps.
Cheers Nick

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

* Fwd: Fwd: shx3_defconfig Fails
       [not found]           ` <CAPDOMVjfuDmdkASHTdO9CdzZbHHoRi9ZY2VXLeb3=aPywhsfWw@mail.gmail.com>
@ 2014-07-08  5:13             ` Nick Krause
  2014-07-08  5:18               ` Guenter Roeck
  0 siblings, 1 reply; 10+ messages in thread
From: Nick Krause @ 2014-07-08  5:13 UTC (permalink / raw)
  To: Greg KH, Guenter Roeck; +Cc: jslaby, linux-kernel

---------- Forwarded message ----------
From: Nick Krause <xerofoify@gmail.com>
Date: Tue, Jul 8, 2014 at 1:11 AM
Subject: Fwd: Fwd: shx3_defconfig Fails
To: linux@roeck-us.net, gregkh@linuxfoundation.org
Cc: slaby@suse.cz


---------- Forwarded message ----------
From: Nick Krause <xerofoify@gmail.com>
Date: Tue, Jul 8, 2014 at 1:07 AM
Subject: Fwd: Fwd: shx3_defconfig Fails
To: linux@roeck-us.ne, Greg KH <gregkh@linuxfoundation.org>
Cc: slaby@suse.cz, "slaby@suse.cz" <linux-kernel@vger.kernel.org>


From: Guenter Roeck  work Tue, Jul 8, 2014 at 12:50 AM
Subject: Re: Fwd: shx3_defconfig Fails
To: Nick Krause <xerofoify@gmail.com>, Greg KH <gregkh@linuxfoundation.org>
Cc: jslaby@suse.cz, "linux-kernel@vger.kernel.org"
<linux-kernel@vger.kernel.org>


On 07/07/2014 09:29 PM, Nick Krause wrote:
>
> Guenter Roeck  work on Tue, Jul 8, 2014 at 12:00 AM
> Subject: Re: shx3_defconfig Fails
>
> On 07/07/2014 08:32 PM, Greg KH wrote:
>>
>>
>> On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote:
>>>
>>>
>>> Hey Greg and others,
>>> The build, shx3_defconfig seems to be failing.
>>
>>
>>
>> In what kernel version?
>>
>> Has it ever worked?
>>
>> Why not ask the maintainer of that arch about it?  I doubt many people
>> ever use defconfig files anymore...
>>
>
> Works in mainline for me. And, for the record, I use lots of defconfig files
> (144 or so of them) for my build tests, so there is at least one user :-)
>
> Cheers,
> Guenter
>
> Still fails in the the same way. I am using the latest git tree.
> Cheers Nick
>

>From your other errors I start wondering if you use dash or some other non-bash
shell and some dash-incompatibility creeped into the kernel build (again).

Guenter

Hey Guenter,
I seem to be using bash. Weird , maybe this is just my machine ,perhaps.
Cheers Nick

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

* Re: Fwd: Fwd: shx3_defconfig Fails
  2014-07-08  5:13             ` Nick Krause
@ 2014-07-08  5:18               ` Guenter Roeck
  2014-07-08  5:39                 ` Fwd: " Nick Krause
  0 siblings, 1 reply; 10+ messages in thread
From: Guenter Roeck @ 2014-07-08  5:18 UTC (permalink / raw)
  To: Nick Krause, Greg KH; +Cc: jslaby, linux-kernel

On 07/07/2014 10:13 PM, Nick Krause wrote:
> ---------- Forwarded message ----------
> From: Nick Krause <xerofoify@gmail.com>
> Date: Tue, Jul 8, 2014 at 1:11 AM
> Subject: Fwd: Fwd: shx3_defconfig Fails
> To: linux@roeck-us.net, gregkh@linuxfoundation.org
> Cc: slaby@suse.cz
>
>
> ---------- Forwarded message ----------
> From: Nick Krause <xerofoify@gmail.com>
> Date: Tue, Jul 8, 2014 at 1:07 AM
> Subject: Fwd: Fwd: shx3_defconfig Fails
> To: linux@roeck-us.ne, Greg KH <gregkh@linuxfoundation.org>
> Cc: slaby@suse.cz, "slaby@suse.cz" <linux-kernel@vger.kernel.org>
>
>
> From: Guenter Roeck  work Tue, Jul 8, 2014 at 12:50 AM
> Subject: Re: Fwd: shx3_defconfig Fails
> To: Nick Krause <xerofoify@gmail.com>, Greg KH <gregkh@linuxfoundation.org>
> Cc: jslaby@suse.cz, "linux-kernel@vger.kernel.org"
> <linux-kernel@vger.kernel.org>
>
>
> On 07/07/2014 09:29 PM, Nick Krause wrote:
>>
>> Guenter Roeck  work on Tue, Jul 8, 2014 at 12:00 AM
>> Subject: Re: shx3_defconfig Fails
>>
>> On 07/07/2014 08:32 PM, Greg KH wrote:
>>>
>>>
>>> On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote:
>>>>
>>>>
>>>> Hey Greg and others,
>>>> The build, shx3_defconfig seems to be failing.
>>>
>>>
>>>
>>> In what kernel version?
>>>
>>> Has it ever worked?
>>>
>>> Why not ask the maintainer of that arch about it?  I doubt many people
>>> ever use defconfig files anymore...
>>>
>>
>> Works in mainline for me. And, for the record, I use lots of defconfig files
>> (144 or so of them) for my build tests, so there is at least one user :-)
>>
>> Cheers,
>> Guenter
>>
>> Still fails in the the same way. I am using the latest git tree.
>> Cheers Nick
>>
>
>>From your other errors I start wondering if you use dash or some other non-bash
> shell and some dash-incompatibility creeped into the kernel build (again).
>
> Guenter
>
> Hey Guenter,
> I seem to be using bash. Weird , maybe this is just my machine ,perhaps.

Sure, but what does /bin/sh point to ? Default on Ubuntu would be dash.

Guenter


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

* Fwd: Fwd: Fwd: shx3_defconfig Fails
  2014-07-08  5:18               ` Guenter Roeck
@ 2014-07-08  5:39                 ` Nick Krause
  0 siblings, 0 replies; 10+ messages in thread
From: Nick Krause @ 2014-07-08  5:39 UTC (permalink / raw)
  To: Greg KH, Guenter Roeck; +Cc: jslaby, linux-kernel

From: Guenter Roeck wrote on Tue, Jul 8, 2014 at 1:18 AM
Subject: Re: Fwd: Fwd: shx3_defconfig Fails
To: Nick Krause <xerofoify@gmail.com>, Greg KH <gregkh@linuxfoundation.org>
Cc: jslaby@suse.cz, "linux-kernel@vger.kernel.org"
<linux-kernel@vger.kernel.org>


On 07/07/2014 10:13 PM, Nick Krause wrote:
>
> ---------- Forwarded message ----------
> From: Nick Krause <xerofoify@gmail.com>
> Date: Tue, Jul 8, 2014 at 1:11 AM
> Subject: Fwd: Fwd: shx3_defconfig Fails
> To: linux@roeck-us.net, gregkh@linuxfoundation.org
> Cc: slaby@suse.cz
>
>
> ---------- Forwarded message ----------
> From: Nick Krause <xerofoify@gmail.com>
> Date: Tue, Jul 8, 2014 at 1:07 AM
> Subject: Fwd: Fwd: shx3_defconfig Fails
> To: linux@roeck-us.ne, Greg KH <gregkh@linuxfoundation.org>
> Cc: slaby@suse.cz, "slaby@suse.cz" <linux-kernel@vger.kernel.org>
>
>
> From: Guenter Roeck  work Tue, Jul 8, 2014 at 12:50 AM
> Subject: Re: Fwd: shx3_defconfig Fails
> To: Nick Krause <xerofoify@gmail.com>, Greg KH <gregkh@linuxfoundation.org>
> Cc: jslaby@suse.cz, "linux-kernel@vger.kernel.org"
> <linux-kernel@vger.kernel.org>
>
>
> On 07/07/2014 09:29 PM, Nick Krause wrote:
>>
>>
>> Guenter Roeck  work on Tue, Jul 8, 2014 at 12:00 AM
>> Subject: Re: shx3_defconfig Fails
>>
>> On 07/07/2014 08:32 PM, Greg KH wrote:
>>>
>>>
>>>
>>> On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote:
>>>>
>>>>
>>>>
>>>> Hey Greg and others,
>>>> The build, shx3_defconfig seems to be failing.
>>>
>>>
>>>
>>>
>>> In what kernel version?
>>>
>>> Has it ever worked?
>>>
>>> Why not ask the maintainer of that arch about it?  I doubt many people
>>> ever use defconfig files anymore...
>>>
>>
>> Works in mainline for me. And, for the record, I use lots of defconfig files
>> (144 or so of them) for my build tests, so there is at least one user :-)
>>
>> Cheers,
>> Guenter
>>
>> Still fails in the the same way. I am using the latest git tree.
>> Cheers Nick
>>
>
>> From your other errors I start wondering if you use dash or some other non-bash
>
> shell and some dash-incompatibility creeped into the kernel build (again).
>
> Guenter
>
> Hey Guenter,
> I seem to be using bash. Weird , maybe this is just my machine ,perhaps.


Sure, but what does /bin/sh point to ? Default on Ubuntu would be dash.

Guenter

It does point to dash , therefore I should load bash on opening a shell ,
I guess. This is probably my issue.

Thanks  Nick

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

end of thread, other threads:[~2014-07-08  5:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-08  3:04 shx3_defconfig Fails Nick Krause
2014-07-08  3:32 ` Greg KH
2014-07-08  4:00   ` Guenter Roeck
2014-07-08  4:29     ` Fwd: " Nick Krause
2014-07-08  4:46       ` Guenter Roeck
2014-07-08  4:50       ` Guenter Roeck
2014-07-08  5:07         ` Fwd: " Nick Krause
     [not found]           ` <CAPDOMVjfuDmdkASHTdO9CdzZbHHoRi9ZY2VXLeb3=aPywhsfWw@mail.gmail.com>
2014-07-08  5:13             ` Nick Krause
2014-07-08  5:18               ` Guenter Roeck
2014-07-08  5:39                 ` Fwd: " Nick Krause

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.