[lkml]   [2019]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 00/15] kbuild: refactor headers_install and support compile-test of UAPI headers
On Tue, Jun 4, 2019 at 7:15 PM Masahiro Yamada
<> wrote:
> Multiple people have suggested to compile-test UAPI headers.
> Currently, Kbuild provides simple sanity checks by headers_check
> but they are not enough to catch bugs.
> The most recent patch I know is David Howells' work:
> I agree that we need better tests for UAPI headers,
> but I want to integrate it in a clean way.
> The idea that has been in my mind is to compile each header
> to make sure the selfcontainedness.

For convenience, I pushed this series at


(13/15 was replaced with v2)

If you want to test it quickly, please check-out it, then

$ make -j8 allmodconfig usr/

(As I noted in the commit log, you need to use
a compiler that provides <stdlib.h>, <sys/time.h>, etc.)

Best Regards
Masahiro Yamada

 \ /
  Last update: 2019-06-05 04:39    [W:0.112 / U:6.076 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site