Created attachment 318894 [details] emerge --info compiling udev 171-r6 breaks with the following error message: /usr/include/asm/intrinsics.h:21:25: fatal error: asm/cmpxchg.h: No such file or directory The file is missing from sys-kernel/linux-headers, presumably because the kernel patch that introduced this header (http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=85f8f7759e418c814ee2ceacf73eddb9bed39492) didn't install the file. A simple fix was committed here: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=98e4cff73a18af27f0d40d0b0d37f105dfc1994a I can confirm that copying cmpxchg.h from the work directory of sys-kernel/linux-headers to /usr/include/asm allows udev to build again.
http://sources.gentoo.org/gentoo/src/patchsets/gentoo-headers/3.4/00_all_0010-IA64-Add-cmpxchg.h-to-exported-userspace-headers.patch?rev=1.1
should be all set now in the tree; thanks for the report! Commit message: Fix from upstream for missing asm/cmpxchg.h on ia64 http://sources.gentoo.org/sys-kernel/linux-headers/linux-headers-3.4-r2.ebuild?rev=1.1