[lkml]   [2020]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 01/10] objtool: Move header sync-check ealier in build

On 4/1/20 1:32 PM, Miroslav Benes wrote:
> On Fri, 27 Mar 2020, Julien Thierry wrote:
>> Currently, the check of tools files against kernel equivalent is only
>> done after every object file has been built.
>> This means one might fix
>> build issues against outdated headers without seeing a warning about
>> this.
> Could you explain the above in more detail, please?

I must admit that this patch is more fixing the issues I've faced while
working on the arm64 support and sharing some kernel headers from the
arch/arm64 tree.

The annoying part was:
- Have build errors in objtool
- Fix them
- Objtool build succeeds, but have warning about outdated headers
- Update headers
- New errors come up, potentially making obsolete the ealier fixes

So it's not really a "must have" change. But it's nice to have when
bringing new kernel headers to objtool.

I hope this makes things clearer.


Julien Thierry

 \ /
  Last update: 2020-04-01 14:45    [W:0.101 / U:6.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site