[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux: current sid SVN (3.16.2-4) FTBFS on armhf



On Tue, 2014-09-16 at 21:02 +0200, Karsten Merker wrote:
> Hello Ben,
> 
> the current linux kernel package SVN head FTBFS on armhf with
> 
>   entry-common.S:105: Error: __NR_syscalls is not equal to the
>                       size of the syscall table
> 
> This might be related to the recently introduced patches implementing
> additional syscalls:
> 
> - shm: add memfd_create() syscall
> - mm: Add memfd_create() system call
> 
> Attached is the full build log.

Thanks for testing.  I've added this hunk to the ARM patch for
memfd_create, which I think will fix it.  It was part of a separate
commit upstream because __NR_syscalls apparently has to be incremented
by 4 at a time.

Ben.

--- a/arch/arm/include/asm/unistd.h
+++ b/arch/arm/include/asm/unistd.h
@@ -19,7 +19,7 @@
  * This may need to be greater than __NR_last_syscall+1 in order to
  * account for the padding in the syscall table
  */
-#define __NR_syscalls  (384)
+#define __NR_syscalls  (388)
 
 /*
  * *NOTE*: This is a ghost syscall private to the kernel.  Only the
--- END ---

-- 
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: