Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp757815pxb; Tue, 14 Sep 2021 08:08:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFH8bu/zktWUi7tpr9hWWQ5+82fEr/QnlqLetI0aKeCj3ioYcjBElMV+tkIgDa+fMZzGrr X-Received: by 2002:a05:6e02:144c:: with SMTP id p12mr7423749ilo.292.1631632087923; Tue, 14 Sep 2021 08:08:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631632087; cv=none; d=google.com; s=arc-20160816; b=e+GDnrMzTpip93nQF0d7Rwadg4Uege8XUXT9qTQHdJfAWNPuzAhLMOPT++u9h1MqdF ciWb20PhPQT2yUYgkbDYgkmopXhlxZMd5nuSrqAzgEPE6UAqOFKaij7BKGj3CyWojqdU Lk/sPxLSpWVncCdPhdbbHZBRZwQWY6GhTCSEeYoc1ocze/yu3fGTyvgn24OUrQ8/pD5w M+burtfU5xYUAlHQ4AGizkjcLCyhpltRZb3zf2+A6dVFNNoaYJVwC0PVP0Nj36WgQnGy +5VN5W5nfs9q7MAHgnckhv7vFCaAkmOldbTRdhwjVpXv3LZLrGkiRJ4i/ehbf2+95Xm8 ttTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=EzJJglIKGC48QdUN7q/bO92tR/bPSNOmcPTOelyHSLI=; b=TkdG1qPOIlpGSPtGgZNOynjusXzJSx1fzJg/PO7eCsPCjNxREaqpax8QMKkAn0aWGJ WVClTnEJTpsLPmPr61gF8Sp1xpBoIVACNc9NsE2NWJnCBIcUDSmWmW5b2OVYqHTKlgF5 7gbJZXgqTKdFqQ199ves0lypzVAb2ZFvV9UDpjAqgHbnqvC0gXYFULXOsx8PELZ2nOCn g9rqeISqa7FsD7bigs6phN3VrbB4d5Gsq/oc+tU9UrywQ9WLLEdJe8uKZQ3THkJb903l edFezGc3zBOhw+lHSzOdkbcJgfHe5VbVmBnNXzyVmpDstAVAgFI35Tr05rx8zxWHcW9O GK8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=QyiBaTXq; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si11278598ilu.143.2021.09.14.08.07.53; Tue, 14 Sep 2021 08:08:07 -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=@google.com header.s=20210112 header.b=QyiBaTXq; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233584AbhINPHz (ORCPT + 99 others); Tue, 14 Sep 2021 11:07:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233437AbhINPHy (ORCPT ); Tue, 14 Sep 2021 11:07:54 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 668F0C061574 for ; Tue, 14 Sep 2021 08:06:36 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id i4so12386236lfv.4 for ; Tue, 14 Sep 2021 08:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EzJJglIKGC48QdUN7q/bO92tR/bPSNOmcPTOelyHSLI=; b=QyiBaTXqJT3tfSj4FPnn3N5NJbOe8F+Cu+G+6IjAqi1mR6mzzmZRvnorZfNh67EhgA E0kmmFugaVyuhHWBDxX1l7I+O8WXBOV2L4Z+uUWbE6+aB3Aglp62OhtimUbqhHFm7JEG OFKxbo3qvCrdOzHN6gHAlI/xSVf+/qxXpALTbxz9eU9/8C6R0mH80f4oTEibxIdtjGJX SuAtDKyMruCYj438VU1jDvmCVcoomgJSNJEuCINoVMe5TJNmefdcbBT02IEPDGYSQPjC 7mUJMxirCuXltF2UDOy3ZJMzjVcmfCpiIE/AJAmNQKpi5iQLyoGI9yHg4VL5Gz974KeL WAgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EzJJglIKGC48QdUN7q/bO92tR/bPSNOmcPTOelyHSLI=; b=Qwchh763E6FZr5dTqij1FxLuZeagO2Kg9EDPMT6kSe5YL+6fQyefmRNBpMC1Akjlmq on8AeXyTEoGQTLNQtFUpQVt6Q4/GT24jKPhJ+jj0u+AMAW1Qu34qab6Ph0zijNd6SLSP h2WhjicmaZCmA2oovIDrjFGNlVbpAP2U3HwtejY0KoIrWrx3FakqzO96gBI0gov41Mi9 SuqbOF+VaOxvIFFwTGET0QC7MXHj/TjhGQffdJrj4/znHGGaKR8xWwkZSwgFBwaOi+CN 8nSMiKPlkqfOVJXCuxMAGEgz/D7A7nzizprnF7Bj42XmlkyAvCDaWOFRwXJYu/zjEszW USPg== X-Gm-Message-State: AOAM532JWi8jJdXKu2L9vJ0aUciI+LthIOQIHRqSfYBSIDDeUZe8Fr6P jXHxq9SmpzqIcOIpdu+oXujeITfR/a48wwnEyqI+uw== X-Received: by 2002:a05:6512:14f:: with SMTP id m15mr8378352lfo.82.1631631994438; Tue, 14 Sep 2021 08:06:34 -0700 (PDT) MIME-Version: 1.0 References: <50a91600-173f-ae8f-e194-4649a9f8176b@linux.vnet.ibm.com> <20210914162223.363dd7c2@canb.auug.org.au> In-Reply-To: <20210914162223.363dd7c2@canb.auug.org.au> From: Nick Desaulniers Date: Tue, 14 Sep 2021 08:06:22 -0700 Message-ID: Subject: Re: [5.15-rc1][PPC][bisected 6d2ef226] mainline build breaks at ./include/linux/compiler_attributes.h:62:5: warning: "__has_attribute" To: Stephen Rothwell Cc: Abdul Haleem , linux-kernel , linuxppc-dev , linux-next , Michael Ellerman , sachinp , ojeda@kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 13, 2021 at 11:22 PM Stephen Rothwell wrote: > > 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 errors > > > > ././include/linux/compiler_attributes.h:62:5: warning: "__has_attribute" is not defined, evaluates to 0 [-Wundef] > > #if __has_attribute(__assume_aligned__) > > ^~~~~~~~~~~~~~~ > > ././include/linux/compiler_attributes.h:62:20: error: missing binary operator before token "(" > > #if __has_attribute(__assume_aligned__) > > ^ > > ././include/linux/compiler_attributes.h:88:5: warning: "__has_attribute" is not defined, evaluates to 0 [-Wundef] > > #if __has_attribute(__copy__) > > ^~~~~~~~~~~~~~~ > > ././include/linux/compiler_attributes.h:88:20: error: missing binary operator before token "(" > > #if __has_attribute(__copy__) > > > > Kernel builds fine when below patch is reverted > > > > commit 6d2ef22 : compiler_attributes.h: drop __has_attribute() support for gcc4 > > Thanks for your report. > > This is known and being addressed. Thanks for the report. Support for GCC 4.X has been dropped. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=76ae847497bc5207c479de5e2ac487270008b19b -- Thanks, ~Nick Desaulniers