[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200217163540.GD48466@google.com>
Date: Mon, 17 Feb 2020 16:35:40 +0000
From: Matthias Maennich <maennich@...gle.com>
To: Nicolas Pitre <nico@...xnic.net>
Cc: Quentin Perret <qperret@...gle.com>, masahiroy@...nel.org,
linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
kernel-team@...roid.com, jeyu@...nel.org, hch@...radead.org
Subject: Re: [PATCH v4 1/3] kbuild: allow symbol whitelisting with
TRIM_UNUSED_KSYMS
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
Powered by blists - more mailing lists