Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp765956imm; Fri, 27 Jul 2018 05:52:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcljKJz7oYve5jy+q+JNLZhb//un2AbWUpOdc4HL0pQ/0qH//o6clP3lJ/NHg2F502qaRTv X-Received: by 2002:a17:902:bcc5:: with SMTP id o5-v6mr5941277pls.336.1532695943885; Fri, 27 Jul 2018 05:52:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532695943; cv=none; d=google.com; s=arc-20160816; b=M40S79l3gCv6Nzvb9wQu8/ztsLoR4ROPCQwvRo1T4tIcyegAyO1a7+xj3G/VLmkdUz ONdA4dJZIeo7pJYGyyoZ8gc/ddaglCpduregXnfbqEi6swrLtGc5qbgOgk7Wwrea2zXH rpIsrE2J6HTdxeHiOSk7I0USiyOavxotdCp5AGkOXu+1byhU39hyyyRQ3vR27MXSm1kI yUBw5uLv5lE+rH9AaXctpTBmYNMEq0wxwEQ+QJVGymE8qiwfNQuh7r3Nwse9bE0VrBSt tkYq0n4Fr9C19W8G+Yr03uIXvCnvi5i5HpDmyKguuIo9nAiOQ0A9ac7ARevBHmMvVXV6 0v8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date:arc-authentication-results; bh=VkwlnpvVdX+pS9/2+qB82w2RPU6RESGBJVhwkXmCktk=; b=mzbVs9zYfR8sRHry23CCyeNkmef1DzxeXt753tiRvzHsjkOI1baRjIe4ROHBKT00D2 2ZqN7Nl2GcqYcBA2C02PPzPyGFTCUYC4IufPKVVoVe6CDb5vAoHM2lROWJIqqrX9Erxk qCa/auTkdx6UIB/vzxoMR2Cb7uQZ4Lpm2Z0GWFKygIR2oD3t6Nz2XQSjMb+3b+hF8C9/ 1cCPSE/U31MvDDf1scnX+PhhaTLoICLcA5igh8vBzugRVD4upHmGTiSIxQ48cz84qo1z 8gL/Q7MHuYLKfb2jfpdGAPN+RsyhxJSe8FBbpXFdrXK2GkWHLcWOr5b9f/gFEMrqOjM7 btzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4-v6si3644089pgb.279.2018.07.27.05.52.08; Fri, 27 Jul 2018 05:52:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730709AbeG0ONA (ORCPT + 99 others); Fri, 27 Jul 2018 10:13:00 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:32788 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730314AbeG0ONA (ORCPT ); Fri, 27 Jul 2018 10:13:00 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id 53D2627E1C; Fri, 27 Jul 2018 08:51:11 -0400 (EDT) Date: Fri, 27 Jul 2018 22:51:21 +1000 (AEST) From: Finn Thain To: Andreas Schwab cc: Randy Dunlap , LKML , Geert Uytterhoeven , linux-m68k@lists.linux-m68k.org Subject: Re: m68k allmodconfig build errors In-Reply-To: <87in513wbt.fsf@igel.home> Message-ID: References: <28ebe45d-3dbd-2a82-f537-b0725f7a2bcf@infradead.org> <878t66idai.fsf@igel.home> <94dc0357-10d4-c3dc-ef2a-9643f08d2a09@infradead.org> <761399f0-0b10-716c-1e80-cfb19c06e455@infradead.org> <87in513wbt.fsf@igel.home> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Jul 2018, Andreas Schwab wrote: > On Jul 27 2018, Finn Thain 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. > >