lkml.org 
[lkml]   [2016]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Build failures in -next: sys_pkey_mprotect etc. undefined
    From
    Date
    On 09/12/2016 07:59 AM, Arnd Bergmann wrote:
    > On Monday, September 12, 2016 7:55:33 AM CEST Guenter Roeck wrote:
    >> Building h8300:allnoconfig ... failed
    >> Building h8300:h8300h-sim_defconfig ... failed
    >> Building c6x:dsk6455_defconfig ... failed
    >>
    >> [ and more builds for the same architectures ]
    >>
    >> --------------
    >> Error log:
    >> arch/h8300/kernel/built-in.o:(.data+0x480): undefined reference to `sys_pkey_mprotect'
    >> arch/h8300/kernel/built-in.o:(.data+0x484): undefined reference to `sys_pkey_alloc'
    >> arch/h8300/kernel/built-in.o:(.data+0x488): undefined reference to `sys_pkey_free'
    >>
    >> Other architectures (frv, xtensa, score) currently fail to build for other reasons,
    >> so I don't really know if the above are the only ones affected.
    >
    > I think the best solution would be to add them to kernel/sys_ni.c so we can
    > assign syscall numbers for all architectures regardless of whether they use it
    > or not (most of them will never use these AFAICT).

    Urg, sorry about the breakage. I'll see if I can reproduce it and get a
    patch out later today that does this.

    \
     
     \ /
      Last update: 2016-09-17 09:59    [W:4.973 / U:3.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site