Received: by 10.192.165.148 with SMTP id m20csp2993434imm; Mon, 7 May 2018 05:00:24 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrj6X4Xr0mTpAEhTlVZU9Z7W7vWqKtZZtv/55aNeFx8Bku+bN2jM7dTmeHqmgkEVcAOKk7C X-Received: by 10.98.70.81 with SMTP id t78mr12523799pfa.46.1525694424629; Mon, 07 May 2018 05:00:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525694424; cv=none; d=google.com; s=arc-20160816; b=MxCF8vcz/emHUDtnWZxs6d6rbNpmUH9yK7Cq33MesyY062q6qTXtPf5xtzboNkZ6+G J9yGnOR8BKW+IABurOI3WY3PSuSFtkaprofofi2Xs48e3eAtcTVS+mEOG8uzGF8P1I3c o0xrFNy1i/3bxInry42cuPoz3saJ2sheDpScgZpdypLU/AgSgq2oGm3IVKp2dYzZYDcN D7lKfsn10+LBTF32II1YCitvpnuthal5Wh2pySA5SuwzfrL1ZXl8yndr0mxvC+HjjEzm t2kwr02wxd6Ok4NbopiB6aMsR0nQvikXbNyAbHDudAaNMl0ZUAj5tbQG4v+XbCDVWfXw DMkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=4Nhc1flI+no2wTBlXj2zjBxWmf73J7KOI8t53lSuv8k=; b=Qd0HCKLYm0HJlhsZusw7eiXoxbeZkJqk5ghHgo7loZZlGYELiyXVYahG7iCgMENtun gYU+XpEkxN66EKa1L6u2MKFelbV13YfXAp2iTIy+W1J0742iif13SK7i2nOCCHl0/LJo vtQATVdk37+upLYMqKebtNiQTrR0eN1D1SYdoytZ7DzELisPGrnR0jQ9YgKM/1BKUxZr 80ErOzIyHE4stjCeGlJvVnuup+E++IWaRPBcEtlu8gzM6iqfD0+7MkEXkrA4KLkRzbnC DDKsKMfeokSO221Lm3p6zgS42qmFqhjdcntJtB4WprAqkCTLODMabWBFxao4qg+0GRTa x7Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@icloud.com header.s=04042017 header.b=OBPt87P/; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=icloud.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a33-v6si21033193plc.507.2018.05.07.05.00.09; Mon, 07 May 2018 05:00:24 -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=@icloud.com header.s=04042017 header.b=OBPt87P/; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=icloud.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751901AbeEGL6v (ORCPT + 99 others); Mon, 7 May 2018 07:58:51 -0400 Received: from pv33p00im-asmtp002.me.com ([17.142.194.251]:56113 "EHLO pv33p00im-asmtp002.me.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750913AbeEGL6t (ORCPT ); Mon, 7 May 2018 07:58:49 -0400 X-Greylist: delayed 3641 seconds by postgrey-1.27 at vger.kernel.org; Mon, 07 May 2018 07:58:49 EDT Received: from process-dkim-sign-daemon.pv33p00im-asmtp002.me.com by pv33p00im-asmtp002.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0P8C00I00U8TVI00@pv33p00im-asmtp002.me.com> for linux-kernel@vger.kernel.org; Mon, 07 May 2018 10:57:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=04042017; t=1525690671; bh=4Nhc1flI+no2wTBlXj2zjBxWmf73J7KOI8t53lSuv8k=; h=Date:From:To:Subject:Message-id:MIME-version:Content-type; b=OBPt87P/A6WwY0r0lk83XD5ECI5/Yzspr7aNLa4KpZh2s5Yq6fCUmlgRw061GpauW 0lkD3qGhaV88Z1nJeUIu6xBLRJqj6x3i9pTB+mKdzifDQhNWn21BquSYm1YeUtpLyF pXtxGNMuAmpMM8vQn21zAabxw4ENU32rBuahXjOM0Aaulbc+b+SMPyjGWKsMsa39bD wefA2DBG7WF7PheMtNdyOYUeddGo0twO6moV3VYN3dazb6+ErNgRvbxP1yWBavKjZz a68249i7ruLuXSJRL0Lvsv3dF2znS+0M+/rfFue19/qWfPUqi7KTLUxM4WbJGoXuFg gQutK+m/xt9uQ== Received: from icloud.com ([127.0.0.1]) by pv33p00im-asmtp002.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPSA id <0P8C00I48UG91910@pv33p00im-asmtp002.me.com>; Mon, 07 May 2018 10:57:49 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-05-07_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1011 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1805070113 Date: Mon, 07 May 2018 12:57:44 +0200 From: damian To: Josh Poimboeuf Cc: peterz@infradead.org, linux-kernel@vger.kernel.org Subject: Re: Kernel build with gcc 8 a lot of warnings Message-id: <20180507105744.GA8586@zrhn9910b> Mail-followup-to: Josh Poimboeuf , peterz@infradead.org, linux-kernel@vger.kernel.org References: <20180505192112.GA18728@zrhn9910b> <20180507045453.leou4zypnlcck4vr@treble> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline In-reply-to: <20180507045453.leou4zypnlcck4vr@treble> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 06. May 23:54, Josh Poimboeuf wrote: > On Sat, May 05, 2018 at 09:21:12PM +0200, damian wrote: > > Helllo together, > > > > Hello everybody, > > > > is something special to note when kernel build with gcc 8? I receive various warnings from the objtool: > > With GCC 7 works all fine. > > > > kernel/cgroup/cgroup.o: warning: objtool: parse_cgroup_root_flags()+0x40: sibling call from callable instruction with modified stack frame > > kernel/cgroup/cgroup.o: warning: objtool: cgroup_addrm_files()+0x2a3: sibling call from callable instruction with modified stack frame > > kernel/cgroup/cgroup.o: warning: objtool: cgroup_apply_control_enable()+0x20b: sibling call from callable instruction with modified stack frame > > kernel/cgroup/cgroup.o: warning: objtool: rebind_subsystems()+0x296: sibling call from callable instruction with modified stack frame > > kernel/cgroup/cgroup.o: warning: objtool: cgroup_sk_alloc_disable()+0x10: sibling call from callable instruction with modified stack frame > > kernel/cgroup/cgroup.o: warning: objtool: parse_cgroup_root_flags.cold.45()+0xa: call without frame pointer save/setup > > kernel/cgroup/cgroup.o: warning: objtool: cgroup_addrm_files.cold.46()+0x17: call without frame pointer save/setup > > kernel/cgroup/cgroup.o: warning: objtool: cgroup_apply_control_enable.cold.47()+0x24: call without frame pointer save/setup > > kernel/cgroup/cgroup.o: warning: objtool: rebind_subsystems.cold.48()+0x10: call without frame pointer save/setup > > kernel/cgroup/cgroup.o: warning: objtool: cgroup_sk_alloc_disable.cold.49()+0x7: call without frame pointer save/setup > > CC kernel/cgroup/stat.o > > CC [M] arch/x86/kvm/../../../virt/kvm/kvm_main.o > > arch/x86/kernel/acpi/boot.o: warning: objtool: acpi_register_lapic()+0x10: sibling call from callable instruction with modified stack frame > > arch/x86/kernel/acpi/boot.o: warning: objtool: acpi_map_cpu()+0x2c: sibling call from callable instruction with modified stack frame > > arch/x86/kernel/acpi/boot.o: warning: objtool: acpi_register_lapic.cold.6()+0x7: call without frame pointer save/setup > > arch/x86/kernel/acpi/boot.o: warning: objtool: acpi_map_cpu.cold.7()+0x7: call without frame pointer save/setup > > Thanks, this is a known issue with GCC 8 that I haven't gotten a chance > to fix yet. They're related to the fact that GCC 8 is splitting out > 'unlikely' code into 'cold' subfunctions in .text.unlikely. > > I've got some old patches that fix it. Now that GCC 8 is out, I'll need > get the patches dusted off and cleaned up for merging. > > -- > Josh Hello Josh, if you need any additional information, please feel free and contact me. Best regards Damian