[ANNOUNCE] 0.9.32-rc1 released

Rob Landley rob at landley.net
Wed Feb 23 04:41:35 UTC 2011


On 02/22/2011 05:23 PM, Mike Frysinger wrote:
> On Monday, December 27, 2010 15:30:21 Peter Korsgaard wrote:
>> There unfortunately seems to be an issue on ppc with NPTL and
>> UCLIBC_USE_NETLINK=y
>>
>>   CC libc/inet/herror.os
>>   CC libc/inet/if_index.os
>> In file included from libc/inet/if_index.c:37:
>> libc/inet/netlinkaccess.h:29: error: redefinition of typedef '__u8'
>> /home/peko/source/buildroot/output/toolchain/linux/include/asm-generic/int-
>> ll64.h:20: note: previous declaration of '__u8' was here
>>
>> stdio.h seems to eventually include asm/types.h, which then conflicts
>> with the local typedefs in netlinkaccess.h. The same config works on
>> ARM.
>>
>> Why are we adding those local typedefs in the first place? They were
>> added back in 2006 by Mike, but the commit message doesn't really
>> explain why:
> 
> i think you forget how screwed up kernel headers used to be
> -mike

Which is why Maszur provided sanitized headers and distros provided
sanitized headers before make headers_install was introduced (circa
2.6.15) to sanitize its own headers.  An environment that used
unsanitized (or improperly sanitized) 2.6 headers was always broken, and
adding bugs to uClibc to work around a broken toolchain or environment
was never the correct approach.

Rob


More information about the uClibc mailing list