Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp397464ybn; Tue, 1 Oct 2019 23:19:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzI+pl3ctu1Jo1ELBRN1bo1DARby8uIRyb8kloTSbYP1Uofgrn6w5GCfXEKobFdiskth9v X-Received: by 2002:a17:906:5a96:: with SMTP id l22mr1564690ejq.310.1569997181980; Tue, 01 Oct 2019 23:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569997181; cv=none; d=google.com; s=arc-20160816; b=NCzq7OMUxXJM23svNDqH5buoDTNJG5Hcw1/73mXwW66CyEg9sWwzZp2xiKZ02ySsQd el3AkHCRn0uMPOiy6ZWgdg/+pe8FnyN3aRx04B1i8WReWqcRTR2OB16nA+iID3k5vbrk v9NaJVT05iPiZzjndvQmTRYkTWv87VDEikVm4q4oNMJHdh+Lz0JRAelP2R5vta0KIj4H Dgh0BNhNEQw2J2u4aPhxbAYzf9KEVbokr59YFoHgXD+Wo0wiehuieZQVC1oFLlgXqBhF Usy0grdDuReh7rXJ3d3V+4XT2O07e3j9osNY5FEdemn85Ehj9F50kvCE+N1BHNgiNEvb G+qw== 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=vXTRO1f51dgsXqDnzTMvAOy1VZP11Ly8hhLKToBULAo=; b=SI71Dn8eXYZZTNp76ks/x14X3uPdtBUMrpk7MMEkU/t9MvNAATH7CcBzu6AGuqHqar W7nsuHcJriNdR1QREIEtVTEjaf+q7BtBC3bBp+mZSmsX2Ls1iv4wKPRgSkBQRK/dE70I wRRCVHg9K/zDg+0Q3fAIZZq8OXjpDEzfWvqO4GR19O8jcCC0N6TQlW/o7ErRTrRn7SJb nhTYZmZcaZVujgnsqMxvcGRS42j8N/b6mNGPcUfxs8f6i3QGrocvgTG/fA8Sfsgjmx1H PdInlIIjqbHprUMNBGQVNONQDTWXjaemmIrkBEbADTmxEibL+vM3BeAwJBigqAUdMsga aDOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lX5IRl2R; 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 l1si9854134ejr.246.2019.10.01.23.19.17; Tue, 01 Oct 2019 23:19:41 -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=lX5IRl2R; 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 S1729495AbfJBATE (ORCPT + 99 others); Tue, 1 Oct 2019 20:19:04 -0400 Received: from mail-ed1-f52.google.com ([209.85.208.52]:45493 "EHLO mail-ed1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727772AbfJBATE (ORCPT ); Tue, 1 Oct 2019 20:19:04 -0400 Received: by mail-ed1-f52.google.com with SMTP id h33so13583405edh.12; Tue, 01 Oct 2019 17:19:03 -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=vXTRO1f51dgsXqDnzTMvAOy1VZP11Ly8hhLKToBULAo=; b=lX5IRl2RlNZha1HXLktMhgB/5k4qHFwvd9UqTf7hObClzrkt0eUpl8SXu7M2VBcGYd KuhENfxEunjTKlcjKvOV8liv/5oVtHoaPz/kx3gjYktm1+ekHBOqSDKwR6EzTUlp2LzL UJfXkWe9GFaDIqtaGM0LG4he/1D0LLp61aPSvfraa1muHW1UmBGP8458Y4G59jZBdOni fTeJ9W0R5JyWw5ZOY0hRNavfjpAwY1xAupzsdnZ6nocAf2WOxsmbtIy4XxNNKTGH/NiB 2qSoxB+qMrHaQYLic2A0YgF7TeLeOeydvdIHmoDTZGT5WSGpCTvBKycuBc6p995xxlki ZhhA== 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=vXTRO1f51dgsXqDnzTMvAOy1VZP11Ly8hhLKToBULAo=; b=DifVsFBQK4JWXH0zgE24PAbcWGSFIVXTDSJ4+ZhPQ9d49/fPjPv6saMM4DcPZG7MGf Fqc5Ez1feCGMIhWFV63MHIL/Svf3S5aDic1TVlDV5T9Lf9MuSTh1ph+vlF/o2gINEjYE czKNfPXPM1jSLQjcpa59kB1ZuFFSxNnhvZBAF2tQx/RqTgoz1L4C+OsNhl0/HLw2ZYAS sH1/SzMYHOBydUO+/j06jcrmPy5A5EIAqUfBtHWxXs0gA5RtaWFax5GncgzN954vk3TO uA0owI/naaJpaK0l4fKbgCQPyFEJwiZyOSzbLYO9upcSzKrozdRxIi9bsXr+fn4rh1H4 WuvQ== X-Gm-Message-State: APjAAAW0gaSlwQRzd2agFJ9m0pfLyXOppPY0Cfg5k/yqnpSzbzf7W/H4 je60IWJHnZ1x1DQYYfkfFqQS2hpm X-Received: by 2002:aa7:c4d0:: with SMTP id p16mr1014976edr.266.1569975542438; Tue, 01 Oct 2019 17:19:02 -0700 (PDT) Received: from desk.local ([2a02:a03f:4080:1900:c8a8:489c:8544:d3e4]) by smtp.gmail.com with ESMTPSA id z39sm3487833edd.46.2019.10.01.17.19.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 17:19:01 -0700 (PDT) Date: Wed, 2 Oct 2019 02:19:00 +0200 From: Luc Van Oostenryck To: Steve French Cc: LKML , linux-sparse@vger.kernel.org Subject: Re: Many unexpected warnings with current sparse Message-ID: <20191002001859.qeyo3btl7tosz3vo@desk.local> References: <20191001231017.67txq4dhrvhyzbu5@desk.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 01, 2019 at 06:14:23PM -0500, Steve French wrote: > It may be related to the following sparse make warning: > > No rule to make target > '/usr/include/x86_64-linux-gnu/bits/huge_val.h', needed by > 'sparse-llvm.o' > > I don't see huge_val.h in the Ubuntu 19 version of libc6-dev Yes, I've been bitten myself by this. It's fixed since a little while. So, just doing a clean build or removing all the deps (.*.d) should allow you to build sparse. I've verified the problem with asm and __inline in quota.h: it's autodetected by kconfig (CC_HAS_ASM_INLINE) so the exact config doesn't matter (only gcc's version does) but in all cases recent versions of sparse don't have a problem with it (an upstream version of `sparse --version` should return "v0.6.1-rc1-37-gd466a0281"). Best regards, -- Luc