Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp404973pxb; Mon, 13 Sep 2021 23:24:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypVQfXWhV5u5u7pn/gF4LWIaqmsK+tu+XD6YX2+sFOzvvxdZ+wIwORXNyNue3grPqQKcqW X-Received: by 2002:a17:906:7cd8:: with SMTP id h24mr16612410ejp.185.1631600684611; Mon, 13 Sep 2021 23:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631600684; cv=none; d=google.com; s=arc-20160816; b=cX+zlpji4tc62cG+WPQQc1MHIbRw3bjoTe6OTHykm5fyIMwuv5jZPpOld2ordk/QEL BZN+5SKZKZFIv7yAHnisnHYjWWTNoybMA6lF3i7mu08cjAWjxi8m1bERHi3Zq7o3wrZ9 N1wteAPdy2VpgugoYzDLEWTb3/T1ke789VM7onqhnTzVQpeepUcGKGak3MXRulRjrs07 ICKb5f5WVpOkWQqlILipbcPl4JXC11WwkvHkxm6v5+g/3uBZ9XSPSfaHg/DN8x/cDhuJ BIaO6+pnSgRAKEbnXwh5PypRY45B3q5GlJRjU6RmqYbz/mQrxsDy63NvYkppgtkm9zcg gL5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=HJQTu66x3zmVdC/LjA4YQ3aUCZkRIjGXh97d4BVWhVI=; b=tfpTngdcQ6LH80+JKHY0qp9TqkmTNqSXX4xH+n+eQ2ftr2vVx8fC1p+TZlr1uE3kCW r5Rsbi+NqXQ8a+zjm4ZZmfYIAsvNnImSQJPcZk8dctRph7ysK8t83/lRVBba108P/xg5 lYWVAUYbFNLFHCAumjuMYiGfS4LSWlatmJeN2zLGt9MGKvr66/yPDCRJN96RRrj4vI6H 3kBrPx8YRUl5JzuFwdBRjM8lPPZoqcLRNuZtlo9RMzQ5Bxc1wcs5q7/Gt7uAETUxWB2F ej1hwYE8KWHmkyEZ+6TOouzweE/xZ8qx4sHrQIAIaFa4xJ0AVwM1bXOZJizNuKrHgnbe P8uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=r6MOddvS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si12447518eds.50.2021.09.13.23.24.20; Mon, 13 Sep 2021 23:24:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=r6MOddvS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240059AbhINGXr (ORCPT + 99 others); Tue, 14 Sep 2021 02:23:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239908AbhINGXq (ORCPT ); Tue, 14 Sep 2021 02:23:46 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3991AC061762; Mon, 13 Sep 2021 23:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1631600545; bh=HJQTu66x3zmVdC/LjA4YQ3aUCZkRIjGXh97d4BVWhVI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=r6MOddvS19+midSVt9Oralw4oock8sHMxeJLeBlhhacxTrpSX5Exg/LP1+7+XLACx 0B1ohfEd2jCa+s/KbfqHuRmA56BWOfyXSnBiY1hTK+Jyi2EnosanhrmkgRF3wgE4Ga yD/vq0CBbg7/8+9im5Tq6V4B2m+ezVb092GRQSj6X4FbIEuvL2TnPYBPGeEvKC2gkc SvxUa40kyTakmkb2+A18sO9pcuXWgc+Rfs2J/hM/XQ42baGXcXKpd9ad0N2kjEAWIN 3snz/leYj1chwtkR3MHhZaLlug9ll0H9LVZ+2svj5s2ONt5og0pT/k/Fae2ssBwhEE IdcVye6cN9B/A== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4H7tYY2fprz9sW4; Tue, 14 Sep 2021 16:22:25 +1000 (AEST) Date: Tue, 14 Sep 2021 16:22:23 +1000 From: Stephen Rothwell To: Abdul Haleem Cc: linux-kernel , linuxppc-dev , linux-next , Michael Ellerman , sachinp , ndesaulniers@google.com, ojeda@kernel.org Subject: Re: [5.15-rc1][PPC][bisected 6d2ef226] mainline build breaks at ./include/linux/compiler_attributes.h:62:5: warning: "__has_attribute" Message-ID: <20210914162223.363dd7c2@canb.auug.org.au> In-Reply-To: <50a91600-173f-ae8f-e194-4649a9f8176b@linux.vnet.ibm.com> References: <50a91600-173f-ae8f-e194-4649a9f8176b@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/njCH=GR_BjQ3APSXs8M14yw"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/njCH=GR_BjQ3APSXs8M14yw Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Abdul, On Tue, 14 Sep 2021 11:39:44 +0530 Abdul Haleem wrote: > > Today's mainline kernel fails to compile on my powerpc box with below err= ors >=20 > ././include/linux/compiler_attributes.h:62:5: warning: "__has_attribute" = is not defined, evaluates to 0 [-Wundef] > =C2=A0#if __has_attribute(__assume_aligned__) > =C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~~~~~~~~~ > ././include/linux/compiler_attributes.h:62:20: error: missing binary oper= ator before token "(" > =C2=A0#if __has_attribute(__assume_aligned__) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ > ././include/linux/compiler_attributes.h:88:5: warning: "__has_attribute" = is not defined, evaluates to 0 [-Wundef] > =C2=A0#if __has_attribute(__copy__) > =C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~~~~~~~~~ > ././include/linux/compiler_attributes.h:88:20: error: missing binary oper= ator before token "(" > =C2=A0#if __has_attribute(__copy__) >=20 > Kernel builds fine when below patch is reverted >=20 > commit 6d2ef22 : compiler_attributes.h: drop __has_attribute() support fo= r gcc4 Thanks for your report. This is known and being addressed. --=20 Cheers, Stephen Rothwell --Sig_/njCH=GR_BjQ3APSXs8M14yw Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmFAP58ACgkQAVBC80lX 0GyZ2wgAgkrc4BAXW9NL7ylTlrxNLIb6E4DF0hD9xQOuwWXfeIFQozZyrMtcDH/Z ZZXuJbJ2omSOyzAiFoQuo1aHAlAvPtbvoQCx7uqCHJHpuUhOn8N09XV1/uvRDvgF LAmdhMd7TUxIgRC8WBvKapmMGvLbtYRaqCnCrYb986V/nUcTEB3arai2fRPZF33h nBNvXewGtj6BasWIEQ3QTpxKdB6VLnPsDxjjRMJDdiYdZw3lCwwYfCBNrD0C78t5 zOVIgGU7stX2NXWiptCsGs8TFeHoPanKlTbmWg8HNNB4JM2KfRa4Wf5XxQAxDIg5 TwhN94ul8Q2jpPsfhK9sdcbSE+XZsA== =4u4P -----END PGP SIGNATURE----- --Sig_/njCH=GR_BjQ3APSXs8M14yw--