The build dies with CC libc/inet/inet_net.os CC libc/inet/herror.os CC libc/inet/if_index.os In file included from /usr/include/linux/kernel.h:4:0, from /usr/include/linux/netlink.h:4, from /usr/include/linux/rtnetlink.h:5, from libc/inet/netlinkaccess.h:27, from libc/inet/if_index.c:37: /usr/include/linux/sysinfo.h:8:2: error: unknown type name '__kernel_long_t' /usr/include/linux/sysinfo.h:9:2: error: unknown type name '__kernel_ulong_t' /usr/include/linux/sysinfo.h:10:2: error: unknown type name '__kernel_ulong_t' /usr/include/linux/sysinfo.h:11:2: error: unknown type name '__kernel_ulong_t' /usr/include/linux/sysinfo.h:12:2: error: unknown type name '__kernel_ulong_t' /usr/include/linux/sysinfo.h:13:2: error: unknown type name '__kernel_ulong_t' /usr/include/linux/sysinfo.h:14:2: error: unknown type name '__kernel_ulong_t' /usr/include/linux/sysinfo.h:15:2: error: unknown type name '__kernel_ulong_t' /usr/include/linux/sysinfo.h:18:2: error: unknown type name '__kernel_ulong_t' /usr/include/linux/sysinfo.h:19:2: error: unknown type name '__kernel_ulong_t' /usr/include/linux/sysinfo.h:21:22: error: '__kernel_ulong_t' undeclared here (not in a function) make: *** [libc/inet/if_index.os] Error 1 I haven't traced this down (yet), but a simple grep of /usr/include doesn't show any changes between linux-headers-3.9 and 3.10 or 3.11. Reproducible: Always
I should probably add that this is arch independant. I hit it first on mips but reproduced it on amd64.
I believe this is fixed with upstream uclibc commits: 620908d8e5b2f9d0c32954e9fc5752d03cf37fc8 6a76edddaa62ff06f178143b582167734cb55c18 which we might want to backport to uclibc-0.9.33.2-r7 when/if it gets pushed out.
Created attachment 364024 [details, diff] uclibc upstream patch for this case
should be fixed in 0.9.33.2-r7 http://sources.gentoo.org/gentoo/src/patchsets/uclibc/0.9.33.2/10_all_linux-3.10.patch?rev=1.1