2014-07-28 16:17:08

by Nicholas Krause

[permalink] [raw]
Subject: Build failures on Linus's tree for cris

Hey Mikael and others ,
According to the tests , Stephen Rothwell is running for build failures there
seems to be two build failures for cris. I will attach the logs of the failing
builds from his website as I don't have a cris compiler on this machine.
Regards Nick
http://kisskb.ellerman.id.au/kisskb/buildresult/11567432/
http://kisskb.ellerman.id.au/kisskb/buildresult/11567431/


2014-07-28 17:39:33

by Sam Ravnborg

[permalink] [raw]
Subject: [PATCH 1/8] cris: fix headers_install

>From 87a249d1f35f82e11ffc7c78f0d9ef2399a2ec82 Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <[email protected]>
Date: Sun, 13 Jul 2014 23:40:44 +0200
Subject: [PATCH 1/8] cris: fix headers_install

Fix headers_install by adjusting the path to arch files.
And delete unused Kbuild file.
Drop special handling of cris in the headers.sh script as a nice side-effect.

Signed-off-by: Sam Ravnborg <[email protected]>
Cc: Mikael Starvik <[email protected]>
Cc: Jesper Nilsson <[email protected]>
---

I had already cooked this patch up as part of another serie.
Jesper - can you take care this hits mainline this week?

Sam

arch/cris/include/asm/Kbuild | 5 -----
arch/cris/include/uapi/asm/Kbuild | 4 ++--
scripts/headers.sh | 2 --
3 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/arch/cris/include/asm/Kbuild b/arch/cris/include/asm/Kbuild
index afff510..35574f5 100644
--- a/arch/cris/include/asm/Kbuild
+++ b/arch/cris/include/asm/Kbuild
@@ -1,8 +1,3 @@
-
-header-y += arch-v10/
-header-y += arch-v32/
-
-
generic-y += barrier.h
generic-y += clkdev.h
generic-y += cputime.h
diff --git a/arch/cris/include/uapi/asm/Kbuild b/arch/cris/include/uapi/asm/Kbuild
index 7d47b36..01f66b8 100644
--- a/arch/cris/include/uapi/asm/Kbuild
+++ b/arch/cris/include/uapi/asm/Kbuild
@@ -1,8 +1,8 @@
# UAPI Header export list
include include/uapi/asm-generic/Kbuild.asm

-header-y += arch-v10/
-header-y += arch-v32/
+header-y += ../arch-v10/arch/
+header-y += ../arch-v32/arch/
header-y += auxvec.h
header-y += bitsperlong.h
header-y += byteorder.h
diff --git a/scripts/headers.sh b/scripts/headers.sh
index 95ece06..d4dc4de 100755
--- a/scripts/headers.sh
+++ b/scripts/headers.sh
@@ -19,8 +19,6 @@ for arch in ${archs}; do
case ${arch} in
um) # no userspace export
;;
- cris) # headers export are known broken
- ;;
*)
if [ -d ${srctree}/arch/${arch} ]; then
do_command $1 ${arch}
--
1.9.3

2014-07-28 18:17:07

by Mikael Starvik

[permalink] [raw]
Subject: Re: [PATCH 1/8] cris: fix headers_install

Jesper is on a rather long vacation/parental leave. I'll try to make something of it before Jesper returns.

/Mikael
> 28 jul 2014 kl. 19:56 skrev "Sam Ravnborg" <[email protected]>:
>
> From 87a249d1f35f82e11ffc7c78f0d9ef2399a2ec82 Mon Sep 17 00:00:00 2001
> From: Sam Ravnborg <[email protected]>
> Date: Sun, 13 Jul 2014 23:40:44 +0200
> Subject: [PATCH 1/8] cris: fix headers_install
>
> Fix headers_install by adjusting the path to arch files.
> And delete unused Kbuild file.
> Drop special handling of cris in the headers.sh script as a nice side-effect.
>
> Signed-off-by: Sam Ravnborg <[email protected]>
> Cc: Mikael Starvik <[email protected]>
> Cc: Jesper Nilsson <[email protected]>
> ---
>
> I had already cooked this patch up as part of another serie.
> Jesper - can you take care this hits mainline this week?
>
> Sam
>
> arch/cris/include/asm/Kbuild | 5 -----
> arch/cris/include/uapi/asm/Kbuild | 4 ++--
> scripts/headers.sh | 2 --
> 3 files changed, 2 insertions(+), 9 deletions(-)
>
> diff --git a/arch/cris/include/asm/Kbuild b/arch/cris/include/asm/Kbuild
> index afff510..35574f5 100644
> --- a/arch/cris/include/asm/Kbuild
> +++ b/arch/cris/include/asm/Kbuild
> @@ -1,8 +1,3 @@
> -
> -header-y += arch-v10/
> -header-y += arch-v32/
> -
> -
> generic-y += barrier.h
> generic-y += clkdev.h
> generic-y += cputime.h
> diff --git a/arch/cris/include/uapi/asm/Kbuild b/arch/cris/include/uapi/asm/Kbuild
> index 7d47b36..01f66b8 100644
> --- a/arch/cris/include/uapi/asm/Kbuild
> +++ b/arch/cris/include/uapi/asm/Kbuild
> @@ -1,8 +1,8 @@
> # UAPI Header export list
> include include/uapi/asm-generic/Kbuild.asm
>
> -header-y += arch-v10/
> -header-y += arch-v32/
> +header-y += ../arch-v10/arch/
> +header-y += ../arch-v32/arch/
> header-y += auxvec.h
> header-y += bitsperlong.h
> header-y += byteorder.h
> diff --git a/scripts/headers.sh b/scripts/headers.sh
> index 95ece06..d4dc4de 100755
> --- a/scripts/headers.sh
> +++ b/scripts/headers.sh
> @@ -19,8 +19,6 @@ for arch in ${archs}; do
> case ${arch} in
> um) # no userspace export
> ;;
> - cris) # headers export are known broken
> - ;;
> *)
> if [ -d ${srctree}/arch/${arch} ]; then
> do_command $1 ${arch}
> --
> 1.9.3
>

2014-07-31 11:31:19

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [PATCH 1/8] cris: fix headers_install

Hi Mikael.
On Mon, Jul 28, 2014 at 08:16:56PM +0200, Mikael Starvik wrote:
> Jesper is on a rather long vacation/parental leave. I'll try to make something of it before Jesper returns.
Congratulate him from me!

> I'll try to make something of it before Jesper returns.
You could try to send the patch to Linus direct, or I could do so.
I need your ack/rewiewed-by if I shall send it.
This is a bug-fix so OK also in this late -rc time.

Sam