linux-mips
[Top] [All Lists]

Re: [PATCH] Kbuild: append missing-syscalls to the default target list

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] Kbuild: append missing-syscalls to the default target list
From: Michal Marek <mmarek@suse.cz>
Date: Mon, 7 Nov 2011 22:19:00 +0100
Cc: Arnaud Lacombe <lacombar@gmail.com>, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, David Daney <ddaney@caviumnetworks.com>
In-reply-to: <20111107204448.GA9949@linux-mips.org>
References: <1314234210-11090-1-git-send-email-lacombar@gmail.com> <4E69FEC9.2080204@suse.cz> <CACqU3MUFyn_jh2pN4GLENqcGVUzAwcMJUR_WLY2EtqOhMheceQ@mail.gmail.com> <20111101232233.GA32441@sepie.suse.cz> <20111107204448.GA9949@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Nov 07, 2011 at 08:44:49PM +0000, Ralf Baechle wrote:
> 5f7efb4c6da9f90cb306923ced2a6494d065a595 breaks 64-bit MIPS builds that
> have 32-bit binary compatibility enabled, for example ip27_defconfig
> or cavium-octeon_defconfig:
> 
>   CC      arch/mips/kernel/asm-offsets.s
> In file included from include/linux/bitops.h:22:0,
>                  from include/linux/kernel.h:17,
>                  from include/linux/cache.h:4,
>                  from include/linux/time.h:7,
>                  from include/linux/stat.h:60,
>                  from include/linux/compat.h:10,
>                  from arch/mips/kernel/asm-offsets.c:11:

Wild guess - does this patch help?


diff --git a/Kbuild b/Kbuild
index 4caab4f..77c191a 100644
--- a/Kbuild
+++ b/Kbuild
@@ -94,7 +94,7 @@ targets += missing-syscalls
 quiet_cmd_syscalls = CALL    $<
       cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
 
-missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
+missing-syscalls: scripts/checksyscalls.sh $(offsets-file) $(bounds-file) FORCE
        $(call cmd,syscalls)
 
 # Keep these two files during make clean


If not, please attach logs of make V=1 with clean Linus' tree and with
5f7efb4c6da9f90cb306923ced2a6494d065a595 reverted.

Michal

<Prev in Thread] Current Thread [Next in Thread>