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=-18.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_IN_DEF_DKIM_WL autolearn=unavailable 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 8EDD2C433EF for ; Tue, 7 Sep 2021 23:17:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6E0AA60F14 for ; Tue, 7 Sep 2021 23:17:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347618AbhIGXS0 (ORCPT ); Tue, 7 Sep 2021 19:18:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234094AbhIGXSW (ORCPT ); Tue, 7 Sep 2021 19:18:22 -0400 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFCA5C061575 for ; Tue, 7 Sep 2021 16:17:15 -0700 (PDT) Received: by mail-ot1-x329.google.com with SMTP id c42-20020a05683034aa00b0051f4b99c40cso520392otu.0 for ; Tue, 07 Sep 2021 16:17:15 -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=JnN+0NgFzidA6gPRetr+XvlpBJGnWHmkwX9iiDoK1Bk=; b=FJmMcleaW8tOSF7BlxlT9ZDLA7yxhClji31QRCClMXnEnD5LcH87At0hZiejtNhxeG +bq9ZGk0Mjb5z95X+UM1a2e+r1XObB0IgKaUeaBPXy+v/hFZEdOfvY5SwpPhb7N2+qUO zRxAyEvhYDL8S/XUmIAwal3siFQdaaC+X3NYr4icBhMv4F/VrUwt8LVJ07cfDYJr7QTJ EghtHQPBMzJ/FXRO2MIFSIyC4bpfnZ5ow9JYZ69nBt2DSbx/Mveo1sBT73KINegIfvnB +PnN6ySg+g2pcp2prEQJmHCyG+EgUgbuo8fgM1bT1FmEIIDJcneLn4SLsjFEakygSxbm I+PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JnN+0NgFzidA6gPRetr+XvlpBJGnWHmkwX9iiDoK1Bk=; b=i89EWOCHhzERiBu3SdP1GjrThmRB7aQ7TbooaBvJhQsQlZ3vJSeQgZctmngSuERKoZ CfR3SwQ9bX0ZT4YMc+jLR0HgHLfKy3fOwtZwGgNF4jckbxGQETYdeZHqrxwJb599Na6I tOkGrlnUWu/08C9GII2CHTZtoguK2mvbw102YffxDJpsuBsRyRzzmSz+aztYCSrFKhRD yJVnD2tcvxdg9GGNFN2oEDv0cX/7hGjS6JWPpEWDEFu2C2lt9lgfppQIEBE1ud+LXrrT X0GH4RhfWB2wahtugY3376n57fWWz/7LZfnJh3v/TmwXK3aMq/bYuAA4EIvns2KzOFRn ZOSQ== X-Gm-Message-State: AOAM532SLrHvAbf0RKc5dlFeJMFEfYdkyUltXKritn1XZB4Gnu+KQ7di QQDeqBco7vk4n/vaB99ZG7EJKRXhGfXAY9yAclvAzQzJlZOycA== X-Google-Smtp-Source: ABdhPJwOUTDmNi2ASfHPSyKT2mocfaP+CX48DJXl2frGEcxshg1NbaggzQ2fkgN+9myaB/RCbcM5yJL4OgCqgOKVdRw= X-Received: by 2002:a9d:71db:: with SMTP id z27mr711371otj.292.1631056635100; Tue, 07 Sep 2021 16:17:15 -0700 (PDT) MIME-Version: 1.0 References: <20210908090720.0748b861@canb.auug.org.au> <20210908090907.74edb3a4@canb.auug.org.au> In-Reply-To: <20210908090907.74edb3a4@canb.auug.org.au> From: Marco Elver Date: Wed, 8 Sep 2021 01:17:03 +0200 Message-ID: Subject: Re: linux-next: build failure after merge of the origin tree To: Stephen Rothwell Cc: Andrew Morton , "Peter Zijlstra (Intel)" , Miguel Ojeda , Nathan Chancellor , Linus Torvalds , Linux Kernel Mailing List , Linux Next Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 8 Sept 2021 at 01:09, Stephen Rothwell wrote: > Hi all, > > On Wed, 8 Sep 2021 09:07:20 +1000 Stephen Rothwell wrote: > > > > Building Linus' tree, today's linux-next build (mips > > allmodconfig) failed like this: > > > > In file included from /kisskb/src/include/linux/compiler_types.h:65:0, > > from :0: > > include/linux/compiler_attributes.h:29:29: error: "__GCC4_has_attribute___no_sanitize_coverage__" is not defined [-Werror=undef] > > # define __has_attribute(x) __GCC4_has_attribute_##x > > ^ > > include/linux/compiler-gcc.h:125:29: note: in expansion of macro '__has_attribute' > > #if defined(CONFIG_KCOV) && __has_attribute(__no_sanitize_coverage__) > > ^ > > cc1: all warnings being treated as errors > > > > Caused by commit > > > > 540540d06e9d ("kcov: add __no_sanitize_coverage to fix noinstr for all architectures") > > > > This ia a gcc 4.9 build, so presumably this? > > > > diff -ru a/include/linux/compiler_attributes.h b/include/linux/compiler_attributes.h > > --- a/include/linux/compiler_attributes.h 2021-09-08 09:03:35.169225661 +1000 > > +++ b/include/linux/compiler_attributes.h 2021-09-08 09:05:47.790907780 +1000 > > @@ -36,6 +36,7 @@ > > # define __GCC4_has_attribute___no_profile_instrument_function__ 0 > > # define __GCC4_has_attribute___nonstring__ 0 > > # define __GCC4_has_attribute___no_sanitize_address__ 1 > > +# define __GCC4_has_attribute___no_sanitize_coverage__ 0 > > # define __GCC4_has_attribute___no_sanitize_undefined__ 1 > > # define __GCC4_has_attribute___fallthrough__ 0 > > #endif > > Just to be clear, I haven't tested the above in any way. I see this in next-20210907: "Compiler Attributes: fix __has_attribute(__no_sanitize_coverage__) for GCC 4" Which does the same fix. Not sure what happened to it. I would have also expected this to be merged as a fix into mainline by now? Miguel? Thanks, -- Marco