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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.21.1807272229020.65@nippy.intranet>
Date:   Fri, 27 Jul 2018 22:51:21 +1000 (AEST)
From:   Finn Thain <fthain@...egraphics.com.au>
To:     Andreas Schwab <schwab@...ux-m68k.org>
cc:     Randy Dunlap <rdunlap@...radead.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Geert Uytterhoeven <geert@...ux-m68k.org>,
        linux-m68k@...ts.linux-m68k.org
Subject: Re: m68k allmodconfig build errors

On Fri, 27 Jul 2018, Andreas Schwab wrote:

> On Jul 27 2018, Finn Thain <fthain@...egraphics.com.au> wrote:
> 
> > Why doesn't gcc convert strncmp to __builtin_strcmp?
> 
> It does.  In fact, it first converts strncmp to __builtin_strncmp, then 
> optimizes it to __builtin_strcmp. Finally, __bultin_strcmp is expanded 
> to a call to strcmp.
> 

So either the static inline strcmp routine has to be dropped from 
arch/m68k/include/asm/string.h (along with #define __HAVE_ARCH_STRCMP), or 
else a static inline strncmp has to be added (along with #define 
__HAVE_ARCH_STRNCMP)?

-- 

> Andreas.
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ