Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1481931

Re: Build failures in -next: sys_pkey_mprotect etc. undefined

From Dave Hansen <dave.hansen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: Build failures in -next: sys_pkey_mprotect etc. undefined
Date 2016-09-12 22:10 +0200
Message-ID <sgFId-893-15@gated-at.bofh.it> (permalink)
References <sgASd-4DC-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 09/12/2016 07:55 AM, 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'

So, I've done what Arnd suggested, but I don't have a working
cross-compiler than can do h8300 or c6x.  Could you test the attached
patch and see if it gets things working for you?

Also, do you have a handy place to grab a cross-compiler for h8300
without having to build one?  The kernel.org ones don't seem to work for
h8300.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Build failures in -next: sys_pkey_mprotect etc. undefined Guenter Roeck <linux@roeck-us.net> - 2016-09-12 17:00 +0200
  Re: Build failures in -next: sys_pkey_mprotect etc. undefined Dave Hansen <dave.hansen@linux.intel.com> - 2016-09-12 17:10 +0200
  Re: Build failures in -next: sys_pkey_mprotect etc. undefined Arnd Bergmann <arnd@arndb.de> - 2016-09-12 17:10 +0200
  Re: Build failures in -next: sys_pkey_mprotect etc. undefined Dave Hansen <dave.hansen@linux.intel.com> - 2016-09-12 22:10 +0200
    Re: Build failures in -next: sys_pkey_mprotect etc. undefined Dave Hansen <dave.hansen@linux.intel.com> - 2016-09-12 22:40 +0200
    Re: Build failures in -next: sys_pkey_mprotect etc. undefined Guenter Roeck <linux@roeck-us.net> - 2016-09-12 22:40 +0200
    Re: Build failures in -next: sys_pkey_mprotect etc. undefined Guenter Roeck <linux@roeck-us.net> - 2016-09-12 22:40 +0200
    Re: Build failures in -next: sys_pkey_mprotect etc. undefined Arnd Bergmann <arnd@arndb.de> - 2016-09-12 22:40 +0200

csiph-web