Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427622 - sys-kernel/linux-headers-3.4-r1: ia64 misses asm/cmpxchg.h, breaks udev
Summary: sys-kernel/linux-headers-3.4-r1: ia64 misses asm/cmpxchg.h, breaks udev
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: IA64 Linux
: Normal major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-22 11:12 UTC by Tobias Ulmer
Modified: 2012-07-22 20:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_427622.txt,4.18 KB, text/plain)
2012-07-22 11:12 UTC, Tobias Ulmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Ulmer 2012-07-22 11:12:10 UTC
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.
Comment 2 SpanKY gentoo-dev 2012-07-22 20:12:43 UTC
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