Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182089 - UML doesn't build with recent linux-headers
Summary: UML doesn't build with recent linux-headers
Status: RESOLVED DUPLICATE of bug 170544
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
: 189616 191113 (view as bug list)
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
 
Reported: 2007-06-15 05:31 UTC by Arun Raghavan (RETIRED)
Modified: 2007-09-03 05:40 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arun Raghavan (RETIRED) gentoo-dev 2007-06-15 05:31:50 UTC
With linux-headers-2.6.20 or greater, and vanilla-sources-2.6.22-rc4, here's what I get when I do a "make linux ARCH=um". When I use  linux-headers-2.6.19,2-r2, this problem goes away and UML builds and runs just fine.

  CC      arch/um/sys-i386/user-offsets.s
arch/um/sys-i386/user-offsets.c:7:22: error: asm/user.h: No such file or directory
arch/um/sys-i386/user-offsets.c: In function 'foo':
arch/um/sys-i386/user-offsets.c:51: error: invalid application of 'sizeof' to incomplete type 'struct user_i387_struct' 
arch/um/sys-i386/user-offsets.c:52: error: invalid application of 'sizeof' to incomplete type 'struct user_fxsr_struct' 
arch/um/sys-i386/user-offsets.c:70: error: invalid application of 'sizeof' to incomplete type 'struct user_regs_struct' 
make[1]: *** [arch/um/sys-i386/user-offsets.s] Error 1
make: *** [arch/um/sys-i386/user-offsets.s] Error 2
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-06-15 20:23:55 UTC
This is a known issue with UML.  It's fixed in usermode-sources-2.6.18-r2, but the fix has not yet gone upstream.  One of the patches was submitted for 2.6.22

*** This bug has been marked as a duplicate of bug 170544 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-08-22 07:38:15 UTC
*** Bug 189616 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-03 05:40:59 UTC
*** Bug 191113 has been marked as a duplicate of this bug. ***