Re: {PATCH] fix __packed in exported kernel headers

From: Mike Frysinger
Date: Thu Jun 30 2011 - 14:48:35 EST


On Thu, Jun 30, 2011 at 14:26, H. Peter Anvin wrote:
> On 06/24/2011 10:00 AM, Mike Frysinger wrote:
>>> We generally try to add no such requirements on user applications.
>>
>> the only real solution there is to export the compiler.h headers too
>>
>> plus, many compilers nowadays (like icc/llvm) tend to include support
>> for common gcc attributes ...
>
> Either that OR define a set of macros as being expected by the
> environment of the kernel ABI headers (to be provided by the library.)

without fallback logic (#ifndef xxx...#define xxx...#endif), i think
that's throwing an unreasonable amount of requirements onto userspace
consumers
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/