Hi, when merging sys-kernel/linux-headers-2.6.8.1-r2 new (with emerge -vDae system), i get the following error: Korean charset (CP949, EUC-KR) (NLS_CODEPAGE_949) [N/m/y/?] n Thai charset (CP874, TIS-620) (NLS_CODEPAGE_874) [N/m/y/?] n Hebrew charsets (ISO-8859-8, CP1255) (NLS_ISO8859_8) [N/m/y/?] n Windows CP1250 (Slavic/Central European Languages) (NLS_CODEPAGE_1250) [N/m/y/?] n Windows CP1251 (Bulgarian, Belarusian) (NLS_CODEPAGE_1251) [N/m/y/?] n ASCII (United States) (NLS_ASCII) [N/m/y/?] (NEW) n NLS ISO 8859-1 (Latin 1; Western European Languages) (NLS_ISO8859_1) [Y/n/m/?] y NLS ISO 8859-2 (Latin 2; Slavic/Central European Languages) (NLS_ISO8859_2) [N/m/y/?] n NLS ISO 8859-3 (Latin 3; Esperanto, Galician, Maltese, Turkish) (NLS_ISO8859_3) [N/m/y/?] n NLS ISO 8859-4 (Latin 4; old Baltic charset) (NLS_ISO8859_4) [N/m/y/?] n NLS ISO 8859-5 (Cyrillic) (NLS_ISO8859_5) [N/m/y/?] n NLS ISO 8859-6 (Arabic) (NLS_ISO8859_6) [N/m/y/?] n NLS ISO 8859-7 (Modern Greek) (NLS_ISO8859_7) [N/m/y/?] n NLS ISO 8859-9 (Latin 5; Turkish) (NLS_ISO8859_9) [N/m/y/?] n NLS ISO 8859-13 (Latin 7; Baltic) (NLS_ISO8859_13) [N/m/y/?] n NLS ISO 8859-14 (Latin 8; Celtic) (NLS_ISO8859_14) [N/m/y/?] n NLS ISO 8859-15 (Latin 9; Western European Languages with Euro) (NLS_ISO8859_15) [N/m/y/?] n NLS KOI8-R (Russian) (NLS_KOI8_R) [N/m/y/?] n NLS KOI8-U/RU (Ukrainian, Belarusian) (NLS_KOI8_U) [N/m/y/?] n NLS UTF8 (NLS_UTF8) [N/m/y/?] n * * Profiling support * Profiling support (EXPERIMENTAL) (PROFILING) [Y/n/?] y OProfile system profiling (EXPERIMENTAL) (OPROFILE) [Y/n/m/?] y * * Kernel hacking * Kernel debugging (DEBUG_KERNEL) [N/y/?] n Sleep-inside-spinlock checking (DEBUG_SPINLOCK_SLEEP) [Y/n/?] y Compile the kernel with frame pointers (FRAME_POINTER) [N/y/?] n Use 4Kb for kernel stacks instead of 8Kb (4KSTACKS) [Y/n/?] y * * Security options * Enable different security models (SECURITY) [N/y/?] n * * Cryptographic options * Cryptographic API (CRYPTO) [N/y/?] n * * Library routines * CRC-CCITT functions (CRC_CCITT) [N/m/y/?] (NEW) n CRC32 functions (CRC32) [Y/?] y CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [M/n/y/?] m /var/tmp/portage/linux-headers-2.6.8.1-r2/work/linux-2.6.8.1/scripts/gcc-version.sh: line 1: i686-pc-linux-gnu-gcc: command not found /var/tmp/portage/linux-headers-2.6.8.1-r2/work/linux-2.6.8.1/scripts/gcc-version.sh: line 1: i686-pc-linux-gnu-gcc: command not found SPLIT include/linux/autoconf.h -> include/config/* CC scripts/mod/empty.o /bin/sh: line 1: i686-pc-linux-gnu-gcc: command not found make[2]: *** [scripts/mod/empty.o] Error 127 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2 !!! ERROR: sys-kernel/linux-headers-2.6.8.1-r2 failed. !!! Function compile_headers, Line 363, Exitcode 2 !!! prepare failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge -vDae system 2. 3. Actual Results: Function compile_headers, Line 363, Exitcode 2 Expected Results: Exitcode 0 :) Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 10 2005, 18:18:11)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: [Not Present] virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i486 -mcpu=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i486 -mcpu=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at ftp://gentoo.inode.at/source rsync://rsync.fhh.opensource-mirror.de/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ rsync://linux.rz.ruhr-uni-bochum.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo rsync://ftp.join.uni-muenster.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="en_IE@euro" MAKEOPTS="-j2" PKGDIR="/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://asterix/portage" USE="X X509 aalib acl acpi activefilter alsa amd apache2 apm arts avi berkdb bitmap-fonts bluetooth cdparanoia cdr cgi chroot clamav crypt cups curl dga dvd dvdr emboss encode esd ethereal fam fastcgi fax fbcon ffmpeg flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imap imlib innodb ipv6 isdn java javascript jpeg junit kde lcd ldap libg++ libwww mad maildir md5sum memlimit mikmod mmx motif mozcalendar mozilla moznocompose moznoirc mp3 mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls ogg oggvorbis opengl oss pam parse-clocks pcap pcmcia pdflib perl php png pnp postgres python qt quicktime readline samba sasl scanner sdl skey slang snmp socks5 spell sse ssl svga tcltk tcpd tiff transcode truetype truetype-fonts type1-fonts unicode usb vcd virus-scan vorbis wavelan wmf x86 xchattext xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
what does `i686-pc-linux-gnu-gcc --version` show ?
Hi, it shows: i686-pc-linux-gnu-gcc (GCC) 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
and if you run `gcc-config 1 && source /etc/profile && emerge linux-headers` does it work ?
Thank you, that command fixed the problem :) I close this bug