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=-11.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 903AFC433E1 for ; Mon, 17 Aug 2020 02:18:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6A97D2075D for ; Mon, 17 Aug 2020 02:18:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="UyyqrFf6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726858AbgHQCSE (ORCPT ); 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