I am running a Gentoo installation inside VMWare to check out gcc 4.0.0. During emerge system the following error ocurred: i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -ftree-vectorize -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmds.o cmds.c In file included from /usr/include/linux/prefetch.h:15, from /usr/include/linux/list.h:5, from /usr/include/linux/wait.h:12, from /usr/include/linux/fs.h:12, from cmds.c:21: /usr/include/asm/processor.h:89: error: array type has incomplete element type make: *** [cmds.o] Error 1 !!! ERROR: app-shells/sash-3.7 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.Start installation 2.unmask and emerge gcc-4.0.0 3.follow installation process 4.'emerge system' step in installation Actual Results: compilation error Expected Results: compilation successful Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-4.0.0, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r3 i686) ================================================================= System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 3 2005, 13:47:44)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -ftree-vectorize" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnowext X acl acpi alsa apm arts avi berkdb bitmap-fonts chroot cjk crypt cups dvd emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 3dnow imap imlib ipv6 jpeg kde libg++ libwww mad maildir mikmod mmx motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline samba sdl spell sse ssh ssl svga tcpd truetype truetype-fonts type1-fonts unicode xml2 xmms xv zlib userland_GNU kernel_linux libc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Upgrade your linux-headers to 2.6.11. That should fix the issue.
yes, it fixed. thanks!
Fixed.