Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99453 - gcc 3.4.4 (i686-pc-linux-gnu) fails to compile user-mode kernel (usermode-sources 2.6.12)
Summary: gcc 3.4.4 (i686-pc-linux-gnu) fails to compile user-mode kernel (usermode-sou...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-18 11:45 UTC by Ricardo
Modified: 2005-08-02 09:25 UTC (History)
0 users

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 Ricardo 2005-07-18 11:45:18 UTC
Usermode-sources compiles without a hitch.  make menuconfig ARCH=um works as
well.  However, make linux ARCH=um fails quite loudly after the line:

 HOSTCC  arch/um/util/mk_constants_kern.o

It seems that whatever libraries make is directed to either do not exist or are
terribly corrupted.  Every problem has to do with a .h file

Reproducible: Always
Steps to Reproduce:
1. Emerge usermode-sources
2. cd /usr/src/linux
3. make menuconfig ARCH=um (save configuration as normal)
4. make linux ARCH=um

Actual Results:  
Look in the "Additional Information" section.  You'll get an idea of the ugliness.

Expected Results:  
Compiled without a hitch and given me a user-mode kernel.

This is the full output, from command call to exit.  Be warned that this segment
is quite long (and comprised of mostly errors).

|42| /usr/src/linux $ make linux ARCH=um
  CHK     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/*
make[1]: `arch/um/sys-i386/util/mk_sc' is up to date.
  CHK     arch/um/include/skas_ptregs.h
  CHK     arch/um/include/sysdep-i386/sc.h
  CHK     arch/um/include/uml-config.h
  UPD     arch/um/include/uml-config.h
  HOSTCC  arch/um/util/mk_constants_kern.o
In file included from include/linux/posix_types.h:47,
                 from include/linux/types.h:13,
                 from include/linux/kernel.h:13,
                 from arch/um/util/mk_constants_kern.c:1:
include/asm/posix_types.h:4:34: include/asm/asm/arch/posix_types.h: Too many lev
                                 
els of symbolic links
In file included from include/linux/types.h:14,
                 from include/linux/kernel.h:13,
                 from arch/um/util/mk_constants_kern.c:1:
include/asm/types.h:4:28: include/asm/asm/arch/types.h: Too many levels of symbo
                                 
lic links
In file included from include/linux/kernel.h:13,
                 from arch/um/util/mk_constants_kern.c:1:
include/linux/types.h:18: error: parse error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration of `__k
                                 
ernel_dev_t'
include/linux/types.h:18: warning: data definition has no type or storage class
include/linux/types.h:21: error: parse error before "dev_t"
include/linux/types.h:21: warning: type defaults to `int' in declaration of `dev
                                 
_t'
include/linux/types.h:21: warning: data definition has no type or storage class
include/linux/types.h:22: error: parse error before "ino_t"
include/linux/types.h:22: warning: type defaults to `int' in declaration of `ino
                                 
_t'
include/linux/types.h:22: warning: data definition has no type or storage class
include/linux/types.h:23: error: parse error before "mode_t"
include/linux/types.h:23: warning: type defaults to `int' in declaration of `mod
                                 
e_t'
include/linux/types.h:23: warning: data definition has no type or storage class
include/linux/types.h:24: error: parse error before "nlink_t"
include/linux/types.h:24: warning: type defaults to `int' in declaration of `nli
                                 
nk_t'
include/linux/types.h:24: warning: data definition has no type or storage class
include/linux/types.h:25: error: parse error before "off_t"
include/linux/types.h:25: warning: type defaults to `int' in declaration of `off
                                 
_t'
include/linux/types.h:25: warning: data definition has no type or storage class
include/linux/types.h:26: error: parse error before "pid_t"
include/linux/types.h:26: warning: type defaults to `int' in declaration of `pid
                                 
_t'
include/linux/types.h:26: warning: data definition has no type or storage class
include/linux/types.h:27: error: parse error before "daddr_t"
include/linux/types.h:27: warning: type defaults to `int' in declaration of `dad
                                 
dr_t'
include/linux/types.h:27: warning: data definition has no type or storage class
include/linux/types.h:29: error: parse error before "suseconds_t"
include/linux/types.h:29: warning: type defaults to `int' in declaration of `sus
                                 
econds_t'
include/linux/types.h:29: warning: data definition has no type or storage class
include/linux/types.h:30: error: parse error before "timer_t"
include/linux/types.h:30: warning: type defaults to `int' in declaration of `tim
                                 
er_t'
include/linux/types.h:30: warning: data definition has no type or storage class
include/linux/types.h:31: error: parse error before "clockid_t"
include/linux/types.h:31: warning: type defaults to `int' in declaration of `clo
                                 
ckid_t'
include/linux/types.h:31: warning: data definition has no type or storage class
include/linux/types.h:35: error: parse error before "uid_t"
include/linux/types.h:35: warning: type defaults to `int' in declaration of `uid
                                 
_t'
include/linux/types.h:35: warning: data definition has no type or storage class
include/linux/types.h:36: error: parse error before "gid_t"
include/linux/types.h:36: warning: type defaults to `int' in declaration of `gid
                                 
_t'
include/linux/types.h:36: warning: data definition has no type or storage class
include/linux/types.h:37: error: parse error before "uid16_t"
include/linux/types.h:37: warning: type defaults to `int' in declaration of `uid
                                 
16_t'
include/linux/types.h:37: warning: data definition has no type or storage class
include/linux/types.h:38: error: parse error before "gid16_t"
include/linux/types.h:38: warning: type defaults to `int' in declaration of `gid
                                 
16_t'
include/linux/types.h:38: warning: data definition has no type or storage class
include/linux/types.h:42: error: parse error before "old_uid_t"
include/linux/types.h:42: warning: type defaults to `int' in declaration of `old
                                 
_uid_t'
include/linux/types.h:42: warning: data definition has no type or storage class
include/linux/types.h:43: error: parse error before "old_gid_t"
include/linux/types.h:43: warning: type defaults to `int' in declaration of `old
                                 
_gid_t'
include/linux/types.h:43: warning: data definition has no type or storage class
include/linux/types.h:55: error: parse error before "loff_t"
include/linux/types.h:55: warning: type defaults to `int' in declaration of `lof
                                 
f_t'
include/linux/types.h:55: warning: data definition has no type or storage class
include/linux/types.h:64: error: parse error before "size_t"
include/linux/types.h:64: warning: type defaults to `int' in declaration of `siz
                                 
e_t'
include/linux/types.h:64: warning: data definition has no type or storage class
include/linux/types.h:69: error: parse error before "ssize_t"
include/linux/types.h:69: warning: type defaults to `int' in declaration of `ssi
                                 
ze_t'
include/linux/types.h:69: warning: data definition has no type or storage class
include/linux/types.h:74: error: parse error before "ptrdiff_t"
include/linux/types.h:74: warning: type defaults to `int' in declaration of `ptr
                                 
diff_t'
include/linux/types.h:74: warning: data definition has no type or storage class
include/linux/types.h:79: error: parse error before "time_t"
include/linux/types.h:79: warning: type defaults to `int' in declaration of `tim
                                 
e_t'
include/linux/types.h:79: warning: data definition has no type or storage class
include/linux/types.h:84: error: parse error before "clock_t"
include/linux/types.h:84: warning: type defaults to `int' in declaration of `clo
                                 
ck_t'
include/linux/types.h:84: warning: data definition has no type or storage class
include/linux/types.h:89: error: parse error before "caddr_t"
include/linux/types.h:89: warning: type defaults to `int' in declaration of `cad
                                 
dr_t'
include/linux/types.h:89: warning: data definition has no type or storage class
include/linux/types.h:107: error: parse error before "u_int8_t"
include/linux/types.h:107: warning: type defaults to `int' in declaration of `u_
                                 
int8_t'
include/linux/types.h:107: warning: data definition has no type or storage class
include/linux/types.h:108: error: parse error before "int8_t"
include/linux/types.h:108: warning: type defaults to `int' in declaration of `in
                                 
t8_t'
include/linux/types.h:108: warning: data definition has no type or storage class
include/linux/types.h:109: error: parse error before "u_int16_t"
include/linux/types.h:109: warning: type defaults to `int' in declaration of `u_
                                 
int16_t'
include/linux/types.h:109: warning: data definition has no type or storage class
include/linux/types.h:110: error: parse error before "int16_t"
include/linux/types.h:110: warning: type defaults to `int' in declaration of `in
                                 
t16_t'
include/linux/types.h:110: warning: data definition has no type or storage class
include/linux/types.h:111: error: parse error before "u_int32_t"
include/linux/types.h:111: warning: type defaults to `int' in declaration of `u_
                                 
int32_t'
include/linux/types.h:111: warning: data definition has no type or storage class
include/linux/types.h:112: error: parse error before "int32_t"
include/linux/types.h:112: warning: type defaults to `int' in declaration of `in
                                 
t32_t'
include/linux/types.h:112: warning: data definition has no type or storage class
include/linux/types.h:116: error: parse error before "uint8_t"
include/linux/types.h:116: warning: type defaults to `int' in declaration of `ui
                                 
nt8_t'
include/linux/types.h:116: warning: data definition has no type or storage class
include/linux/types.h:117: error: parse error before "uint16_t"
include/linux/types.h:117: warning: type defaults to `int' in declaration of `ui
                                 
nt16_t'
include/linux/types.h:117: warning: data definition has no type or storage class
include/linux/types.h:118: error: parse error before "uint32_t"
include/linux/types.h:118: warning: type defaults to `int' in declaration of `ui
                                 
nt32_t'
include/linux/types.h:118: warning: data definition has no type or storage class
include/linux/types.h:121: error: parse error before "uint64_t"
include/linux/types.h:121: warning: type defaults to `int' in declaration of `ui
                                 
nt64_t'
include/linux/types.h:121: warning: data definition has no type or storage class
include/linux/types.h:122: error: parse error before "u_int64_t"
include/linux/types.h:122: warning: type defaults to `int' in declaration of `u_
                                 
int64_t'
include/linux/types.h:122: warning: data definition has no type or storage class
include/linux/types.h:123: error: parse error before "int64_t"
include/linux/types.h:123: warning: type defaults to `int' in declaration of `in
                                 
t64_t'
include/linux/types.h:123: warning: data definition has no type or storage class
include/linux/types.h:156: error: parse error before "__le16"
include/linux/types.h:156: warning: type defaults to `int' in declaration of `__
                                 
le16'
include/linux/types.h:156: warning: data definition has no type or storage class
include/linux/types.h:157: error: parse error before "__be16"
include/linux/types.h:157: warning: type defaults to `int' in declaration of `__
                                 
be16'
include/linux/types.h:157: warning: data definition has no type or storage class
include/linux/types.h:158: error: parse error before "__le32"
include/linux/types.h:158: warning: type defaults to `int' in declaration of `__
                                 
le32'
include/linux/types.h:158: warning: data definition has no type or storage class
include/linux/types.h:159: error: parse error before "__be32"
include/linux/types.h:159: warning: type defaults to `int' in declaration of `__
                                 
be32'
include/linux/types.h:159: warning: data definition has no type or storage class
include/linux/types.h:161: error: parse error before "__le64"
include/linux/types.h:161: warning: type defaults to `int' in declaration of `__
                                 
le64'
include/linux/types.h:161: warning: data definition has no type or storage class
include/linux/types.h:162: error: parse error before "__be64"
include/linux/types.h:162: warning: type defaults to `int' in declaration of `__
                                 
be64'
include/linux/types.h:162: warning: data definition has no type or storage class
include/linux/types.h:166: error: parse error before "__kernel_daddr_t"
include/linux/types.h:166: warning: no semicolon at end of struct or union
include/linux/types.h:167: warning: type defaults to `int' in declaration of `f_
                                 
tinode'
include/linux/types.h:167: warning: data definition has no type or storage class
include/linux/types.h:170: error: parse error before '}' token
In file included from include/linux/bitops.h:77,
                 from include/linux/kernel.h:15,
                 from arch/um/util/mk_constants_kern.c:1:
include/asm/bitops.h:4:29: include/asm/asm/arch/bitops.h: Too many levels of sym
               
bolic links
In file included from include/linux/kernel.h:15,
                 from arch/um/util/mk_constants_kern.c:1:
include/linux/bitops.h: In function `get_bitmask_order':
include/linux/bitops.h:83: warning: implicit declaration of function `fls'
include/linux/bitops.h: At top level:
include/linux/bitops.h:116: error: parse error before "w"
include/linux/bitops.h:117: warning: function declaration isn't a prototype
include/linux/bitops.h: In function `generic_hweight64':
include/linux/bitops.h:119: error: `w' undeclared (first use in this function)
include/linux/bitops.h:119: error: (Each undeclared identifier is reported only
                                  
once
include/linux/bitops.h:119: error: for each function it appears in.)
In file included from include/linux/kernel.h:16,
                 from arch/um/util/mk_constants_kern.c:1:
include/asm/byteorder.h:4:32: include/asm/asm/arch/byteorder.h: Too many levels
                                  
of symbolic links
In file included from arch/um/util/mk_constants_kern.c:1:
include/linux/kernel.h: At top level:
include/linux/kernel.h:85: error: parse error before "size_t"
include/linux/kernel.h:86: warning: function declaration isn't a prototype
include/linux/kernel.h:87: error: parse error before "size_t"
include/linux/kernel.h:87: warning: function declaration isn't a prototype
include/linux/kernel.h:88: error: parse error before "size_t"
include/linux/kernel.h:89: warning: function declaration isn't a prototype
include/linux/kernel.h:90: error: parse error before "size_t"
include/linux/kernel.h:90: warning: function declaration isn't a prototype
In file included from arch/um/util/mk_constants_kern.c:1:
include/linux/kernel.h:203:2: #error "Please fix asm/byteorder.h"
In file included from include/asm/thread_info.h:12,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/seqlock.h:30,
                 from include/linux/time.h:7,
                 from arch/um/util/mk_constants_kern.c:3:
include/asm/processor.h:20:27: include/asm/asm/arch/user.h: Too many levels of s
                                 
ymbolic links
include/asm/processor.h:33:35: include/asm/asm/processor-generic.h: Too many lev
                                 
els of symbolic links
In file included from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/seqlock.h:30,
                 from include/linux/time.h:7,
                 from arch/um/util/mk_constants_kern.c:3:
include/asm/thread_info.h:19: error: parse error before "__u32"
include/asm/thread_info.h:19: warning: no semicolon at end of struct or union
include/asm/thread_info.h:20: warning: type defaults to `int' in declaration of
                                  
`preempt_count'
include/asm/thread_info.h:20: warning: data definition has no type or storage cl
                                 
ass
include/asm/thread_info.h:22: error: parse error before "addr_limit"
include/asm/thread_info.h:22: warning: type defaults to `int' in declaration of
                                  
`addr_limit'
include/asm/thread_info.h:22: warning: data definition has no type or storage cl
                                 
ass
include/asm/thread_info.h:26: error: parse error before '}' token
include/asm/thread_info.h: In function `current_thread_info':
include/asm/thread_info.h:48: error: `PAGE_SIZE' undeclared (first use in this f
                                 
unction)
In file included from include/linux/spinlock.h:12,
                 from include/linux/seqlock.h:30,
                 from include/linux/time.h:7,
                 from arch/um/util/mk_constants_kern.c:3:
include/linux/thread_info.h: In function `set_thread_flag':
include/linux/thread_info.h:32: warning: implicit declaration of function `set_b
                                 
it'
include/linux/thread_info.h:32: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: In function `clear_thread_flag':
include/linux/thread_info.h:37: warning: implicit declaration of function `clear
                                 
_bit'
include/linux/thread_info.h:37: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: In function `test_and_set_thread_flag':
include/linux/thread_info.h:42: warning: implicit declaration of function `test_
                                 
and_set_bit'
include/linux/thread_info.h:42: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: In function `test_and_clear_thread_flag':
include/linux/thread_info.h:47: warning: implicit declaration of function `test_
                                 
and_clear_bit'
include/linux/thread_info.h:47: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: In function `test_thread_flag':
include/linux/thread_info.h:52: warning: implicit declaration of function `test_
                                 
bit'
include/linux/thread_info.h:52: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: In function `set_ti_thread_flag':
include/linux/thread_info.h:57: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: In function `clear_ti_thread_flag':
include/linux/thread_info.h:62: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: In function `test_and_set_ti_thread_flag':
include/linux/thread_info.h:67: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: In function `test_and_clear_ti_thread_flag':
include/linux/thread_info.h:72: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: In function `test_ti_thread_flag':
include/linux/thread_info.h:77: error: dereferencing pointer to incomplete type
In file included from include/linux/spinlock.h:17,
                 from include/linux/seqlock.h:30,
                 from include/linux/time.h:7,
                 from arch/um/util/mk_constants_kern.c:3:
include/asm/system.h:4:32: include/asm/asm/system-generic.h: Too many levels of
                                  
symbolic links
In file included from include/linux/spinlock.h:43,
                 from include/linux/seqlock.h:30,
                 from include/linux/time.h:7,
                 from arch/um/util/mk_constants_kern.c:3:
include/asm/spinlock.h:4:31: include/asm/asm/arch/spinlock.h: Too many levels of
                                 
 symbolic links
In file included from include/linux/seqlock.h:30,
                 from include/linux/time.h:7,
                 from arch/um/util/mk_constants_kern.c:3:
include/linux/spinlock.h: At top level:
include/linux/spinlock.h:45: error: parse error before '*' token
include/linux/spinlock.h:45: warning: function declaration isn't a prototype
include/linux/spinlock.h:46: error: parse error before '*' token
include/linux/spinlock.h:46: warning: function declaration isn't a prototype
include/linux/spinlock.h:47: error: parse error before '*' token
include/linux/spinlock.h:47: warning: function declaration isn't a prototype
include/linux/spinlock.h:49: error: parse error before '*' token
include/linux/spinlock.h:49: warning: function declaration isn't a prototype
include/linux/spinlock.h:50: error: parse error before '*' token
include/linux/spinlock.h:50: warning: function declaration isn't a prototype
include/linux/spinlock.h:51: error: parse error before '*' token
include/linux/spinlock.h:51: warning: function declaration isn't a prototype
include/linux/spinlock.h:53: error: parse error before '*' token
include/linux/spinlock.h:53: warning: function declaration isn't a prototype
include/linux/spinlock.h:54: error: parse error before '*' token
include/linux/spinlock.h:54: warning: function declaration isn't a prototype
include/linux/spinlock.h:55: error: parse error before '*' token
include/linux/spinlock.h:55: warning: function declaration isn't a prototype
include/linux/spinlock.h:57: error: parse error before '*' token
include/linux/spinlock.h:57: warning: function declaration isn't a prototype
include/linux/spinlock.h:58: error: parse error before '*' token
include/linux/spinlock.h:58: warning: function declaration isn't a prototype
include/linux/spinlock.h:59: error: parse error before '*' token
include/linux/spinlock.h:59: warning: function declaration isn't a prototype
include/linux/spinlock.h:61: error: parse error before '*' token
include/linux/spinlock.h:61: warning: function declaration isn't a prototype
include/linux/spinlock.h:62: error: parse error before '*' token
include/linux/spinlock.h:62: warning: function declaration isn't a prototype
include/linux/spinlock.h:63: error: parse error before '*' token
include/linux/spinlock.h:63: warning: function declaration isn't a prototype
include/linux/spinlock.h:64: error: parse error before '*' token
include/linux/spinlock.h:64: warning: function declaration isn't a prototype
include/linux/spinlock.h:65: error: parse error before '*' token
include/linux/spinlock.h:65: warning: function declaration isn't a prototype
include/linux/spinlock.h:66: error: parse error before '*' token
include/linux/spinlock.h:66: warning: function declaration isn't a prototype
include/linux/spinlock.h:68: error: parse error before '*' token
include/linux/spinlock.h:68: warning: function declaration isn't a prototype
include/linux/spinlock.h:69: error: parse error before '*' token
include/linux/spinlock.h:69: warning: function declaration isn't a prototype
include/linux/spinlock.h:70: error: parse error before '*' token
include/linux/spinlock.h:70: warning: function declaration isn't a prototype
include/linux/spinlock.h:71: error: parse error before '*' token
include/linux/spinlock.h:71: warning: function declaration isn't a prototype
include/linux/spinlock.h:72: error: parse error before '*' token
include/linux/spinlock.h:72: warning: function declaration isn't a prototype
include/linux/spinlock.h:73: error: parse error before '*' token
include/linux/spinlock.h:73: warning: function declaration isn't a prototype
include/linux/spinlock.h:74: error: parse error before '*' token
include/linux/spinlock.h:74: warning: function declaration isn't a prototype
include/linux/spinlock.h:75: error: parse error before '*' token
include/linux/spinlock.h:75: warning: function declaration isn't a prototype
include/linux/spinlock.h:76: error: parse error before '*' token
include/linux/spinlock.h:76: warning: function declaration isn't a prototype
include/linux/spinlock.h:78: error: parse error before '*' token
include/linux/spinlock.h:78: warning: function declaration isn't a prototype
include/linux/spinlock.h:79: error: parse error before '*' token
include/linux/spinlock.h:79: warning: function declaration isn't a prototype
In file included from include/linux/spinlock.h:519,
                 from include/linux/seqlock.h:30,
                 from include/linux/time.h:7,
                 from arch/um/util/mk_constants_kern.c:3:
include/asm/atomic.h:9:29: include/asm/asm/arch/atomic.h: Too many levels of sym
                                 
bolic links
In file included from include/linux/seqlock.h:30,
                 from include/linux/time.h:7,
                 from arch/um/util/mk_constants_kern.c:3:
include/linux/spinlock.h:520: error: parse error before '*' token
include/linux/spinlock.h:520: warning: function declaration isn't a prototype
include/linux/spinlock.h: In function `bit_spin_lock':
include/linux/spinlock.h:545: warning: implicit declaration of function `cpu_rel
                                 
ax'
include/linux/spinlock.h: In function `bit_spin_unlock':
include/linux/spinlock.h:576: warning: implicit declaration of function `smp_mb_
                                 
_before_clear_bit'
In file included from include/linux/time.h:7,
                 from arch/um/util/mk_constants_kern.c:3:
include/linux/seqlock.h: At top level:
include/linux/seqlock.h:35: error: parse error before "spinlock_t"
include/linux/seqlock.h:35: warning: no semicolon at end of struct or union
include/linux/seqlock.h:36: warning: type defaults to `int' in declaration of `s
                                 
eqlock_t'
include/linux/seqlock.h:36: warning: data definition has no type or storage clas
                                 
s
include/linux/seqlock.h:50: error: parse error before '*' token
include/linux/seqlock.h:51: warning: function declaration isn't a prototype
include/linux/seqlock.h: In function `write_seqlock':
include/linux/seqlock.h:52: error: `sl' undeclared (first use in this function)
include/linux/seqlock.h:54: warning: implicit declaration of function `smp_wmb'
include/linux/seqlock.h: At top level:
include/linux/seqlock.h:57: error: parse error before '*' token
include/linux/seqlock.h:58: warning: function declaration isn't a prototype
include/linux/seqlock.h: In function `write_sequnlock':
include/linux/seqlock.h:60: error: `sl' undeclared (first use in this function)
include/linux/seqlock.h: At top level:
include/linux/seqlock.h:64: error: parse error before '*' token
include/linux/seqlock.h:65: warning: function declaration isn't a prototype
include/linux/seqlock.h: In function `write_tryseqlock':
include/linux/seqlock.h:66: error: `sl' undeclared (first use in this function)
include/linux/seqlock.h: At top level:
include/linux/seqlock.h:76: warning: type defaults to `int' in declaration of `s
                                 
eqlock_t'
include/linux/seqlock.h:76: error: parse error before '*' token
include/linux/seqlock.h:77: warning: function declaration isn't a prototype
include/linux/seqlock.h: In function `read_seqbegin':
include/linux/seqlock.h:78: error: `sl' undeclared (first use in this function)
include/linux/seqlock.h:79: warning: implicit declaration of function `smp_rmb'
include/linux/seqlock.h: At top level:
include/linux/seqlock.h:91: warning: type defaults to `int' in declaration of `s
                                 
eqlock_t'
include/linux/seqlock.h:91: error: parse error before '*' token
include/linux/seqlock.h:92: warning: function declaration isn't a prototype
include/linux/seqlock.h: In function `read_seqretry':
include/linux/seqlock.h:94: error: `iv' undeclared (first use in this function)
include/linux/seqlock.h:94: error: `sl' undeclared (first use in this function)
In file included from arch/um/util/mk_constants_kern.c:3:
include/linux/time.h: At top level:
include/linux/time.h:13: error: parse error before "time_t"
include/linux/time.h:13: warning: no semicolon at end of struct or union
include/linux/time.h:15: error: parse error before '}' token
include/linux/time.h:19: error: parse error before "time_t"
include/linux/time.h:19: warning: no semicolon at end of struct or union
include/linux/time.h:20: warning: type defaults to `int' in declaration of `tv_u
                                 
sec'
include/linux/time.h:20: warning: data definition has no type or storage class
include/linux/time.h: In function `timespec_equal':
include/linux/time.h:45: error: dereferencing pointer to incomplete type
include/linux/time.h:45: error: dereferencing pointer to incomplete type
include/linux/time.h:45: error: dereferencing pointer to incomplete type
include/linux/time.h:45: error: dereferencing pointer to incomplete type
include/linux/time.h: At top level:
include/linux/time.h:83: error: parse error before "xtime_lock"
include/linux/time.h:83: warning: type defaults to `int' in declaration of `xtim
                                 
e_lock'
include/linux/time.h:83: warning: data definition has no type or storage class
include/linux/time.h: In function `get_seconds':
include/linux/time.h:87: error: invalid use of undefined type `struct timespec'
include/linux/time.h: At top level:
include/linux/time.h:107: warning: parameter has incomplete type
include/linux/time.h:110: error: parse error before "time_t"
include/linux/time.h:111: warning: function declaration isn't a prototype
include/linux/time.h: In function `set_normalized_timespec':
include/linux/time.h:112: error: `nsec' undeclared (first use in this function)
include/linux/time.h:114: error: `sec' undeclared (first use in this function)
include/linux/time.h:120: error: `ts' undeclared (first use in this function)
include/linux/time.h: At top level:
include/linux/time.h:143: error: field `it_interval' has incomplete type
include/linux/time.h:144: error: field `it_value' has incomplete type
include/linux/time.h:148: error: field `it_interval' has incomplete type
include/linux/time.h:149: error: field `it_value' has incomplete type
make[1]: *** [arch/um/util/mk_constants_kern.o] Error 1
make: *** [arch/um/util] Error 2

I'm bewildered.  I also tried emerging vanilla-sources and performing the same
task (make menuconfig ARCH=um, make linux ARCH=um) with the exact same failure.
 Something is terribly wrong here.  People with compilers below the grade of
3.4.4 (I think someone was successful with 3.3.5, or something along those
lines) do not seem to have such problems.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-07-19 02:06:15 UTC
Which usermode-sources version are you using?

I'm also confused the way you contradict yourself...

"Usermode-sources compiles without a hitch."
...
"However, make linux ARCH=um fails quite loudly"

Isn't that the compilation process, or am I missing something?
Comment 2 Ricardo 2005-07-19 09:10:15 UTC
Sorry, that's my error.  The first line should read, "Usermode-sources EMERGES
without a hitch."  So, emerge usermode-sources works well, but make linux
ARCH=um does not.

The version of usermode-linux emerged is 2.6.12, which I believe is the latest one.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-07-20 16:56:30 UTC
Please try usermode-sources-2.6.12-r1.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-08-02 09:25:52 UTC
Please reopen when you have tested the latest version (currently
usermode-sources-2.6.12-r1)