Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1996274pxa; Sun, 16 Aug 2020 19:22:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhgfW+HuokT/Z4nqJ5egCP1Q9snKtlwyn0faU2yZuHjVJLB+Rlspva7/XDXeFNw7ILtZK2 X-Received: by 2002:a05:6402:31a3:: with SMTP id dj3mr13176607edb.73.1597630941637; Sun, 16 Aug 2020 19:22:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597630941; cv=none; d=google.com; s=arc-20160816; b=NFyfFuswFRJIHioEYA1IvQnqLVYl5JVjdHNI3oZizs12HzdsjqkDYx2hm0SQSVV/pi Aplo7vPZIluUxNbYxOZhLYTRcX+qHBpENP3/KNcZjHXXTHYA8Idj+fNZ5NdNwTLHUCkl O/JMptbk4X73vA+OKOodjdYBW8ROtAAD6cGL+e4yjRNbwgEC8a+4HuDsob+S+wFDYKks xad/l70ft2AYXsYWCqromz3bGGSRZgkkF/8zw1pWFm3f01tAa0KHJb/Q5uHZE155uaKT 4vBDcUqpDomb28CKXi9kllhabKbA4CNOvUa9HIGvWPc8WJPCZ3zmuUFzpOqwWxvfQmBr FcDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=nZCcwv0Wht/iKzqSZJvMvvq50B64/ROu+qMNB5S+xD8=; b=U7/s5sS5IgHIpo6/Dmnvyra/1/71iNvhvZJp7q3RKP5Mj62WnwEtOGVdN7K7gnnHFE d/AYA12XmdF4/hTco4FoYFe7N97O5QhCq7FvauBqDHwdNpwZk1omPI/TDBWSiRvfC1Bd Eno0FiTmJJ1tu/GaOgBtUN4Q0eh/ide19wH9+bubgawm/zBOrVneSIpna0cK3S7ywPuE i1AG7fnW18H0f1w7aeCeW0X5WnCk8vtcQnkLE/Isce90t/k6WsSkR7vu4v6GDbWGjsm8 BrW7wjYj4CX1AeM4sWzgefOQ7YXKb5crQnUD9V3B20M60T9t75Meki7TurgUoFXUcXNF sY7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=UyyqrFf6; 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 z13si10162049ejc.304.2020.08.16.19.21.59; Sun, 16 Aug 2020 19:22:21 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=UyyqrFf6; 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 S1726845AbgHQCSE (ORCPT + 99 others); Sun, 16 Aug 2020 22:18:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726631AbgHQCSB (ORCPT ); Sun, 16 Aug 2020 22:18:01 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09731C061786 for ; Sun, 16 Aug 2020 19:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=nZCcwv0Wht/iKzqSZJvMvvq50B64/ROu+qMNB5S+xD8=; b=UyyqrFf6za4T8JtyGcq62iHHnI PsoHGMZPAQYPKmhe5s9FWD1LcmLlDYPjLTuVZ/+6QptE5jgYxwIX19/tbKH5NNWnwY/cxLHb+qDNe 6uBaDFq3OE/EBDlFJ6dMJpkYNA4gc2Tt9mrwhAgRUw+0JdQp37QfJjAky03naAlYP7zUnminWOWRj 4KTT/WGDmKhzsKhvOsIMTcqD5pLn+2jkcKPYGE2q867m51LnNv99LxPRPIUgfNENHV5UEaP7r4E6a C2INh8JuuIMDd3xx7sMBgUlVoHZlJlAovn9WSlhnmNg/snjxmYKSYnAE5GXIJ12r8pkkTsLBFaVKB 35mBaEng==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k7Uik-0000mz-TH; Mon, 17 Aug 2020 02:17:59 +0000 Subject: Re: Linux 5.9-rc1 (sparse? kernel/time/timekeeping.c) To: Luc Van Oostenryck Cc: Linus Torvalds , Linux Kernel Mailing List , Jeff Layton References: <83b35552-d1a2-e4ce-9a41-2b5cf688ccf0@infradead.org> <20200817021518.q3petwc277m3uqxz@ltop.local> From: Randy Dunlap Message-ID: Date: Sun, 16 Aug 2020 19:17:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200817021518.q3petwc277m3uqxz@ltop.local> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/16/20 7:15 PM, Luc Van Oostenryck wrote: > On Sun, Aug 16, 2020 at 06:35:26PM -0700, Randy Dunlap wrote: >> >> on x86_64, allmodconfig: >> >> $ gcc --version >> gcc (SUSE Linux) 7.5.0 >> >> $ sparse --version >> 0.6.2 >> >> >> I seem to be having some problems with kernel/time/timekeeping.c, >> including a segfault. >> >> a. Is it sparse that segfaults? > > It's most probably the one fixed in: > eb6779f6f621 ("generic: fix missing inlining of generic expression") > > On the main tree there is a branch with a few fixes since the last release: > git://git.kernel.org/pub/scm/devel/sparse/sparse.git maint-v0.6.2 > >> b. what prints this message? >> make[3]: *** Deleting file 'kernel/time/timekeeping.o' > > It seems like a typical message from make when a command fails. > >> c. I would prefer to be able to tell the source of warning/error messages, >> i.e., gcc or sparse. Especially when they are intermixed. > > You can use the option -fdiagnostic-prefix[=PREFIX] for this. It will > just prefix all messages from from sparse with the given PREFIX or > 'sparse: ' if none is given. You can pass this option via 'make CF=...'. > > It may be a good idea to directly add it to CHECKFLAGS. > > Best regards, > -- Luc Thank you, Luc. I'll get the latest and also use PREFIX. -- ~Randy