Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3942311img; Mon, 25 Mar 2019 23:05:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9br5f+fKQbTA7rxcznlNKXw3fa+JXpH6dpkoBMGEC2ePN3cARfPEh4newfUHzJOZe2usI X-Received: by 2002:a17:902:6907:: with SMTP id j7mr27964885plk.32.1553580304461; Mon, 25 Mar 2019 23:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553580304; cv=none; d=google.com; s=arc-20160816; b=bxFVVWvB68CRTQuF3BF/ZxEPH4rjevVAqgzHtS66xxh3XdI7dA0e9PKck0I/Du/HK3 Ul3rnYq1PnqJmwGfXZXrEY1ZAd+Lnlm6TAFrV2jAdP6GhiGaQURvEmwKiUolAj29qTO3 4qdADwUyFtNG4y06lpJRf3qhsMGk6Cc8m1PQ8wtfkXFrxPixUb9I6H7sOkgvw6GCkEak CBAXtwWpOSTKCiE9Hp6SBtci67TCrttuckZmnEXJgKnp7QOvlwnmgIB+/a1O0/wk3HHg ijMew+aB2tiDTFztsL9RkDmC0E+Ny6lA+3RX0Mc+Qn7iQZ7UoctfO4Tp2TAPUBVUVTkP 1DzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Fy6LPoOdBs73WrsGgbOPU6qskDPR3fq9ggj5GTIfUTI=; b=EDaLMH6rw1CszimEL4H+FWqstQSh7KotUWfWEHEazDIKzhyvkETW9T1MdaEXELYQi3 WRoZ4IE7871uf9ckn4FhtX4T5IZasWambJiK3U9iOT9yCGlTyHQreqAlbPWFUbiGyvty 1w+ztj/vo2E7YCPW3B3G8HpNh+PxuPHYRzkFSU15AxrXGERSV5G3Hjot7AxPamnufqGe FWQ9s6u7Nz6ceJccUVHHyXA5YplR86QygdpAfT2lJit/BfJ7eK+f2VmYKqCHfp4PwiJl zmHjsbEEXnvYUhVtxmLNaKv2sOam9V74swJZ4FLchAuQHfxSd1ZRkeFeSnPv1WmNZBib EtjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b="STYA/823"; 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 e1si7212138pls.228.2019.03.25.23.04.48; Mon, 25 Mar 2019 23:05:04 -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; dkim=pass header.i=@c-s.fr header.s=mail header.b="STYA/823"; 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 S1726279AbfCZGC7 (ORCPT + 99 others); Tue, 26 Mar 2019 02:02:59 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:5345 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725766AbfCZGC7 (ORCPT ); Tue, 26 Mar 2019 02:02:59 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44T0sq3PSJz9v1Lc; Tue, 26 Mar 2019 07:02:55 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=STYA/823; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id SgS_Hp3vGlkR; Tue, 26 Mar 2019 07:02:55 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 44T0sq2HRtz9v1L3; Tue, 26 Mar 2019 07:02:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1553580175; bh=Fy6LPoOdBs73WrsGgbOPU6qskDPR3fq9ggj5GTIfUTI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=STYA/823aLEMykfaZpZWjkFn6b0mXN5WeJmw/gopLjkZ9xPdnJHqW/2fN4QkjK8+H aFfQ/gKFPQlQr+r/j3C0W52SxHyDLn2bjka6i6Q8pOL1E/Tgym8ze1f4USXZ31xhQA l3QrHTc+eO/hKyaXoRy2t7HJa/xd3SId7zeM4jls= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 1330E8B77C; Tue, 26 Mar 2019 07:02:56 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id xor2vUAwR2nm; Tue, 26 Mar 2019 07:02:55 +0100 (CET) Received: from PO15451 (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 0CE1D8B74C; Tue, 26 Mar 2019 07:02:55 +0100 (CET) Subject: Re: [PATCH] compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING To: Masahiro Yamada Cc: Arnd Bergmann , linux-arch , linux-s390 , Dave Hansen , 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 References: <1553062828-27798-1-git-send-email-yamada.masahiro@socionext.com> <20190323092640.Horde.2lm4u26aZox5ialxuIRcYw2@messagerie.si.c-s.fr> From: Christophe Leroy Message-ID: <686abdd5-863a-02ce-5ac9-f573208b8315@c-s.fr> Date: Tue, 26 Mar 2019 07:02:54 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masahiro, Le 25/03/2019 à 07:44, Masahiro Yamada a écrit : > Hi Christophe, > > > On Sat, Mar 23, 2019 at 5:27 PM LEROY Christophe > wrote: >> >> Arnd Bergmann a écrit : >> >>> 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/203d912edf8dde291977c71aa64024065e197f79/ 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' Christophe