From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753692AbbEaEFc (ORCPT ); Sun, 31 May 2015 00:05:32 -0400 Received: from mail.kapsi.fi ([217.30.184.167]:55125 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750703AbbEaEFX (ORCPT ); Sun, 31 May 2015 00:05:23 -0400 Date: Sun, 31 May 2015 07:05:20 +0300 From: Mikko Rapeli To: Richard Weinberger Cc: LKML Subject: Re: [PATCH v03 00/98] Userspace compile test and fixes for exported uapi header files Message-ID: <20150531040520.GK12550@lakka.kapsi.fi> References: <1433000370-19509-1-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:1bc8:1004::1 X-SA-Exim-Mail-From: mikko.rapeli@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 30, 2015 at 10:12:48PM +0200, Richard Weinberger wrote: > On Sat, May 30, 2015 at 5:37 PM, Mikko Rapeli wrote: > > v3: > > tried to fix all v2 review findings > > tried to guess how to fix a few more issue > > with a few hacks, 0 files fail and 760 files pass the compile test on 32bit x86 > > > > v2: > > https://lkml.org/lkml/2015/2/16/521 > > added cross compiler support with CROSS_COMPILE, > > detecting libc and GCC headers from compiler, > > more header file fixes > > > > v1: > > https://lkml.org/lkml/2014/8/21/665 > > > > Users of kernel header files would be happier if they did not contain > > kernel specific parts and would contain #include statements for all > > other header files that they depend on, and in general would compile. > > Maybe this is a stupid question, but does that mean that many of our uapi > headers never worked as expected and don't build at all? Yes. Many uapi headers do not compile in userspace and users of those headers need to either copy stuff out or do other tricks when including them. See patch nr 0002 for stats, or https://lkml.org/lkml/2015/5/30/98 -Mikko