lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 12 Sep 2016 13:32:29 -0700
From:   Guenter Roeck <linux@...ck-us.net>
To:     Dave Hansen <dave.hansen@...ux.intel.com>
Cc:     Thomas Gleixner <tglx@...utronix.de>,
        Arnd Bergmann <arnd@...db.de>,
        "open list:ABI/API" <linux-api@...r.kernel.org>,
        linux-arch <linux-arch@...r.kernel.org>,
        linux-kernel@...r.kernel.org
Subject: Re: Build failures in -next: sys_pkey_mprotect etc. undefined

Hi Dave,

On Mon, Sep 12, 2016 at 01:09:17PM -0700, Dave Hansen wrote:
> 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?
> 
Works for both h8300 and c6x. Feel free to add

Tested-by: Guenter Roeck <linux@...ck-us.net>

> 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.
> 
Try http://server.roeck-us.net/toolchains/. Should be position independent.

Guenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ