Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4928109ybv; Mon, 17 Feb 2020 08:36:32 -0800 (PST) X-Google-Smtp-Source: APXvYqw+S7+xtJvQJvYdXl/Djb4Ih6GPYBu7Ym8KfdXk5XdLUx9qhFhA1Qy1taRKUGRoALGXuaVW X-Received: by 2002:a05:6830:1198:: with SMTP id u24mr12346796otq.215.1581957391873; Mon, 17 Feb 2020 08:36:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581957391; cv=none; d=google.com; s=arc-20160816; b=eIvXwcXDc7E9QbhW7IgyhrF/icV/Ep4e6HM6llOel6QbMal8fp00X8gr7q4ozJgOOC cE//8KTX04sI5zbf3Tm45r8b0y1kGhKUW8vHUdruYylzNDifWUSRSh/RSBR3+v2lP4oh gZVb3n+DbrZCIVTAfpJijiwzN7w+eBuTfNZaXQMhWcrGTf1v5W0frje/q2AfyPCuZnFv EBoCtqEc7rbXQaKzqgF9M42ve1F6mp8DnCcRejhj397uSkppC3jm2clm1Z4DBlmvhyVG gV1AUEGKbjfu1TmHoDaiC3GBTzt2sGbcpoLj4W+rJfC3CP1f5BeLoskhS6gnQqutmRGu Vtyw== 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=52jPAcnAoB9nyjNBUO8yybzpzXsdhabpDRivx/vqyIc=; b=PyaD+I9V/gCdMUWSEXpXQKD7pI8wCwH64K7pla3jg9qO1LSk4sS36hnnnV6ZT+xBa+ T1sCYMqXSHi7JBGBHc/CrVU75EknNTwRzc6nDLZtq44o2noe4rMfUrVFvbuL2/r5K9Cd 3zLkjZn470QYkZL9lmglZrD5b0gjn2UQ2KCtQqMQJkxfCWaOXVjFGz3zd6nM2r/PK/kx b/KioT2Ro6itmb8r2ZSjwHRFlT5jyBDOt2ohhO0Z+t+aPfL4c1eN9Jb8IGvJ7IcgsI1d 1bsVoGNkB2/EFrsnM6i0f+/eC9zT5BHAB4hZt1JuzVTT/yLIM2XV+gMOYEKnM2wcx89w rLiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=UUzhm7q1; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t28si403381otr.16.2020.02.17.08.36.19; Mon, 17 Feb 2020 08:36:31 -0800 (PST) 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=@google.com header.s=20161025 header.b=UUzhm7q1; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729425AbgBQQfp (ORCPT + 99 others); Mon, 17 Feb 2020 11:35:45 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:44265 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729080AbgBQQfp (ORCPT ); Mon, 17 Feb 2020 11:35:45 -0500 Received: by mail-wr1-f66.google.com with SMTP id m16so20479999wrx.11 for ; Mon, 17 Feb 2020 08:35:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=52jPAcnAoB9nyjNBUO8yybzpzXsdhabpDRivx/vqyIc=; b=UUzhm7q1EVvdF1Pd6XLhsq/6MA/y1xrp8bBCv3aUs70L/SB+mVD+PPnxZxSYvQ90JB habZdDrMlFUGlPZEspdHoOl1FN3HNbEa9eaXIk3OTxLHS7zBWOezzdlrQMPnpVfG53GP 6lpVCKlpBLuULKoT4lipuGr5cJ13bXi/W7sKxGmo0OlElT6DlPV0i1ogCy3ogJfj9n+Y q+lNWpLjWG9TFE+IQGWUlARMjMjmXJMalkhlb9l1VtOIqPjkd08t15nc/Da5fehNM1as ugGJrsLTzwklZlJDxJkoyDp5+PxlQNRq8CGt1JXZQZIjvepFR9S93/sJ8e8pH14kqKAX vgdA== 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=52jPAcnAoB9nyjNBUO8yybzpzXsdhabpDRivx/vqyIc=; b=Z3fZyt38wp8t6kzxgU2VX+N9hkGsLKqC8JNM0cYkNnkEHTtNglE/06WOAAt8owTCIN SFmNSFgA6lJ4vtWcY3/10PE/au+HqY+8L3bbjTBmfsi/8NeMmVSrt9GYFzBGfYh/xKZ+ rDC7P1PHusGh6HrmTXlGbB2zO0t0sBJtyisTMBYrxiQffEFCXc5IvAcMIT5eYE6tnxK5 9qKlFvKVkOnhL0K7TwNpQZheb6yfjDlovi6HPXne6fkGJHI/29BVx/YkMo3hHlgn8xRQ fX+GxPf43HiGx6yHmSmvI6OUsB/eVmPG3jc68caR1lL177tsT1DSyyrr2DLGfRp+GaYf QZoA== X-Gm-Message-State: APjAAAUdTDSqYq5aT8AyW5XgcXPgFrmdfRYab6JTWRM3Ejbsp6i8FGx4 cG7tnLTMoIPhhsVne3Z/q5QkNg== X-Received: by 2002:a5d:4d0a:: with SMTP id z10mr22888113wrt.253.1581957341244; Mon, 17 Feb 2020 08:35:41 -0800 (PST) Received: from google.com ([2a00:79e0:d:210:e8f7:125b:61e9:733d]) by smtp.gmail.com with ESMTPSA id r6sm1633466wrp.95.2020.02.17.08.35.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2020 08:35:40 -0800 (PST) Date: Mon, 17 Feb 2020 16:35:40 +0000 From: Matthias Maennich To: Nicolas Pitre Cc: Quentin Perret , masahiroy@kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, kernel-team@android.com, jeyu@kernel.org, hch@infradead.org Subject: Re: [PATCH v4 1/3] kbuild: allow symbol whitelisting with TRIM_UNUSED_KSYMS Message-ID: <20200217163540.GD48466@google.com> References: <20200212202140.138092-1-qperret@google.com> <20200212202140.138092-2-qperret@google.com> <20200217152201.GA48466@google.com> <20200217153023.GA71210@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 17, 2020 at 11:00:39AM -0500, Nicolas Pitre wrote: >On Mon, 17 Feb 2020, Quentin Perret wrote: > >> On Monday 17 Feb 2020 at 15:22:01 (+0000), Matthias Maennich wrote: >> > In case the whitelist file can't be found, the error message is >> > >> > cat: path/to/file: file not found >> > >> > I wonder whether we can make this error message a bit more specific by >> > telling the user that the KSYMS_WHITELIST is missing. >> >> +1, that'd be really useful. I'll check the file existence in v5 (in a >> POSIX-compliant way, I promise). > >In fact, if you explicitly provide a file that is not there, then this >is arguably a good reason to even fail the build. I agree, I would expect the build to fail in that case. Cheers, Matthias > > >Nicolas