Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2919183imm; Mon, 10 Sep 2018 08:18:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbayRXm7cQ8QuD4dEZcgz295DGLVPjVi3XaU3abpOSmVMtcGqtfwRR0RnH8NqE8Sz/RzbHQ X-Received: by 2002:a63:4d21:: with SMTP id a33-v6mr23362826pgb.408.1536592686484; Mon, 10 Sep 2018 08:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536592686; cv=none; d=google.com; s=arc-20160816; b=D9L7Jq5wvkI+7GpM+uPOY3lIGuanzvMOnzw5C0/N9glVcI4tVjIy78lnUzwFJRcWBV MvE3lemJ0zQEEazME5GkqeEsCoVvLo7Tw77nSVPZwEV8mQeJa1k2WrZhF0te8BDNWBHI kL64hsd6CC/NDShJPBQiPZOxUOZc82pFfgYVVTZ+3sp+JXVXowcpMzSHEZsYxTaTRh7Y HemUSTznvbuIoCTp4qUXzOPs1Yilf8xvMuO3iih/V4Ee4KSBHzwoGJqhPOA6YW9HZ4EW ZFoMDFo+KIbuQ3oxqcP58TZSx6FHtzht5/B+B1nQstpLbQ9XhkaBs8wGeCe7/TNMe54n si8w== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=57P2rLV+EaCX+uKsFOIlAE7+5O8NhI9O+hbKZdChz9g=; b=0h3uZ/IiusHLcO27w64f168f0/+0PyO4PWe132dpCVOtb6r6LOapqrk5gYc3N9Am+W 6stprPS0vV98wX6/1DlDMjE5r9iKVvEFxQuZyygmB9xizN1kRmlCPXbI12ZEzHoVPjjo fReiz57K71sT3Tjhj6G+IcEnNSdZRyVmHt5D0O6mC8J9DmR5qpHim8JHMVW4IM+dwFj8 VW/+ForTfZJ1SeKcgN4Li1TnHYrjZNLxvQc3fTHve0lW8cmm9O4broUrOq6bggimLL8j S19JIHn+ekAkBPasn+vwLzK+5fADjyYBdDdYyJq0qRHGQ466BMdVD/7PpwXb8l10hoaK bK8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VUhP4krK; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x32-v6si16529846pld.356.2018.09.10.08.17.50; Mon, 10 Sep 2018 08:18:06 -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=@gmail.com header.s=20161025 header.b=VUhP4krK; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728643AbeIJUKF (ORCPT + 99 others); Mon, 10 Sep 2018 16:10:05 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:40385 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728468AbeIJUKF (ORCPT ); Mon, 10 Sep 2018 16:10:05 -0400 Received: by mail-wm0-f53.google.com with SMTP id 207-v6so21757700wme.5; Mon, 10 Sep 2018 08:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=57P2rLV+EaCX+uKsFOIlAE7+5O8NhI9O+hbKZdChz9g=; b=VUhP4krKDFexqXx+I3nKz3ftseiC/XEnyu2W9x4J6pe1sDdzbwycjlrPJjr0HgOoh4 kBYoj2kH0A4R4JG0I79CzBymEv9CH8luifx7tqZ7VopEI1+v7PRQ6AmlHNId1hGWyni8 MX7kd4mU0CUYfYteaeodYyjXHlAo3X6deDPuigiD8h8T44QYRfOQGpwue0DUt9x5XO+S WC2bIweuhcnTXBjH64cFmV6rWkyzH/P1Vg8DDcxCNuE6kv1D0BX6jPoPhR3vIT6PLnXp 1Z24hUxig0N9hqLyHJ0+8opJqbQGXdhuNTxXyMuX0+2keVp6NqZ/6nRT+Wnc+AuIuQd8 dncA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=57P2rLV+EaCX+uKsFOIlAE7+5O8NhI9O+hbKZdChz9g=; b=k9HFrfTp0Ik/0LWAPU7ADN2jLD050HoADBCdDhEca9Z2wgat+mXXqGnAGrxd/QEIx8 LFK7dTVn8HPcXByGCY+fVU4DkBaqSJIorFiUqzEXnexSkZYvvadFwW57XWnZ8Vpuv3vO QAa2GJ8wJs9k5FS0wrI4qPrS9aA2q62Nk8QbwnbrSrb9jAjUEMXGmxZz6MW9S2yDUJr7 io2tp//j4xG0DWh92EnHEdiwnlyA9MWwbV+kmS4RWeOIXzmRfo5GDdy2+dWc/uz3CEUi COJigpiNW7yRtKZTQtNQjXAEUVl71e/XsKxdSDmSOo4AwsJcghMQbqgEW0aySQrgTyDX yL8A== X-Gm-Message-State: APzg51D2CDfaUHgr84LE8idf4SbytDYCmz4HzkTRIuwHNhZhGEsL4gbZ b4sZj/xGOiAhNar0mit4lWk= X-Received: by 2002:a1c:3351:: with SMTP id z78-v6mr1086137wmz.23.1536592530448; Mon, 10 Sep 2018 08:15:30 -0700 (PDT) Received: from ltop.local ([2a02:a03f:4006:df00:81e:af75:e036:d35f]) by smtp.gmail.com with ESMTPSA id y128-v6sm17252812wmy.26.2018.09.10.08.15.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 08:15:29 -0700 (PDT) Date: Mon, 10 Sep 2018 17:15:27 +0200 From: Luc Van Oostenryck To: Christophe LEROY Cc: Nick Desaulniers , joe@perches.com, Kees Cook , LKML , linux-sparse@vger.kernel.org, sparse@chrisli.org, linuxppc-dev@lists.ozlabs.org Subject: Re: Conflict between sparse and commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6") Message-ID: <20180910151526.ljp3nynngprdmlkb@ltop.local> References: <20180907181337.peyfq7yvhahduvmq@ltop.local> <20180910092835.v5nex5nzfgtl475m@ltop.local> <061b3056-1a9a-af6b-de2a-49fea394320d@c-s.fr> <20180910113448.dxnfvznyimtj3tkv@ltop.local> <9409138a-dc14-2b12-edc0-cfa0b471da6e@c-s.fr> <20180910135604.j2phe7r3k5vs6cik@ltop.local> <6191f6dc-1819-60e4-d4e8-f815f04325f0@c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6191f6dc-1819-60e4-d4e8-f815f04325f0@c-s.fr> User-Agent: NeoMutt/20180622 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 10, 2018 at 04:05:34PM +0200, Christophe LEROY wrote: > > This time it works, thanks for your help. You're welcome. > Should we find a may to automate that in the Makefile when > CROSS_COMPILE is defined ? The situation here with an old gcc is really an oddity. I was instead thinking to update sparse so that it repports a GCC version of at least 4.6, maybe something even more recent. But maybe, yes, kbuild could pass GCC_VERSION to sparse so that both the compiler used and sparse will repport the same. I'll see. The problem is not tied to cross-compilation, though, just that sparse may be compiled with an older compiler. -- Luc