From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D74F5C10F14 for ; Tue, 23 Apr 2019 03:26:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A54AD20843 for ; Tue, 23 Apr 2019 03:26:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nifty.com header.i=@nifty.com header.b="rpBNEm11" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727610AbfDWD07 (ORCPT ); Mon, 22 Apr 2019 23:26:59 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:23029 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726638AbfDWD07 (ORCPT ); Mon, 22 Apr 2019 23:26:59 -0400 Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) (authenticated) by conssluserg-02.nifty.com with ESMTP id x3N3Qe1M022811; Tue, 23 Apr 2019 12:26:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com x3N3Qe1M022811 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1555990001; bh=+sM4okn7en/aXLTxk39Iv8cVSFLO5kMp2OmxveFMPqA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=rpBNEm11sedr4ZTTqn4DWKErS1jmsxU0wCFi0W4J5QIhcrg6UGyXJ0GPxeGxBm2Jk N7PzxyYAsMY4p5A9/yTYYmkUiTB/C40RxrMyYLm0K/gSEp1+Sdckyco7gus660Fi4g hgd9pqYd3Vm0IzUma7z1q8AyPdVLgj2QT6VDXVlH+pMpEzVZlRC+ecL0v37PFOYYVs IJ8mDqVFUteeWnZ5OpEcPkL3bDFH5tIMVernuNZGtxY9FSVumMNFqIUs5StTOolLap eGnxFSaCr2Z9sKcTYd4qXq1WFFQTcMV4kS7yRB9DDQWVOyaQo01I/QkYsKcqnkLrTK rPxED8Ccb4PXQ== X-Nifty-SrcIP: [209.85.217.44] Received: by mail-vs1-f44.google.com with SMTP id e2so7418299vsc.13; Mon, 22 Apr 2019 20:26:40 -0700 (PDT) X-Gm-Message-State: APjAAAXgK6QlEV1g+m1VhV85T/FV3SojGzrRcCmALAmx7ACPtAlecWhk 9yBFU+ZTZ4XSe0w8vSDRoihpQzJrHfV0Xxhu8QM= X-Google-Smtp-Source: APXvYqx2ley7uSFnGGyGDabU1ZUfPiuLyEbp0qC3i0OaiObNnBFjDDjfzPzXXacVJD6LAmdWjocvMILtntWiqRva/Zw= X-Received: by 2002:a67:ea89:: with SMTP id f9mr1367458vso.179.1555989999934; Mon, 22 Apr 2019 20:26:39 -0700 (PDT) MIME-Version: 1.0 References: <1553062828-27798-1-git-send-email-yamada.masahiro@socionext.com> <20190323092640.Horde.2lm4u26aZox5ialxuIRcYw2@messagerie.si.c-s.fr> <686abdd5-863a-02ce-5ac9-f573208b8315@c-s.fr> In-Reply-To: <686abdd5-863a-02ce-5ac9-f573208b8315@c-s.fr> From: Masahiro Yamada Date: Tue, 23 Apr 2019 12:26:03 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING To: Christophe Leroy Cc: linux-arch , linux-s390 , Dave Hansen , Arnd Bergmann , "the arch/x86 maintainers" , Linux Kernel Mailing List , linux-mips@vger.kernel.org, Paul Burton , Ingo Molnar , linux-mtd , Andrew Morton , linuxppc-dev , Linux ARM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Hi Christophe, On Tue, Mar 26, 2019 at 3:03 PM Christophe Leroy wrote: > > Hi Masahiro, > > Le 25/03/2019 =C3=A0 07:44, Masahiro Yamada a =C3=A9crit : > > Hi Christophe, > > > > > > On Sat, Mar 23, 2019 at 5:27 PM LEROY Christophe > > wrote: > >> > >> Arnd Bergmann a =C3=A9crit : > >> > >>> On Wed, Mar 20, 2019 at 10:41 AM Arnd Bergmann wrote: > >>>> > >>>> I've added your patch to my randconfig test setup and will let you > >>>> know if I see anything noticeable. I'm currently testing clang-arm32= , > >>>> clang-arm64 and gcc-x86. > >>> > >>> This is the only additional bug that has come up so far: > >>> > >>> `.exit.text' referenced in section `.alt.smp.init' of > >>> drivers/char/ipmi/ipmi_msghandler.o: defined in discarded section > >>> `exit.text' of drivers/char/ipmi/ipmi_msghandler.o > >> > >> Wouldn't it be useful to activate -Winline gcc warning to ease finding > >> out problematic usage of inline keyword ? > > > > > > Yes, it is useful to find out > > which function is causing the error. > > Thanks for the tip. > > > > I did a mass build on kisskb. Almost ok, see results at > http://kisskb.ellerman.id.au/kisskb/head/203d912edf8dde291977c71aa6402406= 5e197f79/ > > ps3_defconfig with GCC 5 fails > (http://kisskb.ellerman.id.au/kisskb/buildresult/13742711/) with: > > arch/powerpc/mm/tlb-radix.c:148:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > arch/powerpc/mm/tlb-radix.c:148:2: error: impossible constraint in 'asm' > arch/powerpc/mm/tlb-radix.c:118:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > arch/powerpc/mm/tlb-radix.c:104:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > > ps3_defconfig with GCC 4.6 fails > (http://kisskb.ellerman.id.au/kisskb/buildresult/13742591/) with: > > arch/powerpc/mm/tlb-radix.c:148:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > arch/powerpc/mm/tlb-radix.c:118:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > arch/powerpc/mm/tlb-radix.c:104:2: error: asm operand 3 probably doesn't > match constraints [-Werror] > > randconfig with GCC 4.6 fails > (http://kisskb.ellerman.id.au/kisskb/buildresult/13742698/) with: > > arch/powerpc/mm/tlb-radix.c:104:2: error: impossible constraint in 'asm' Thanks. I fixed these ppc errors, and separate out arch-fixes. Now, the latest version is v3. --=20 Best Regards Masahiro Yamada