I downloaded kernel 2.6.5. I a manual config it is complaining about devfs with a kernel panic. So I tried genkernel. This leads to ash-2.05b# genkernel all * Gentoo Linux Genkernel; Version 3.0.2 * Compiling Linux Kernel 2.6.5-gentoo for x86... /usr/bin/genkernel: line 95: [: print_info: integer expression expected /usr/bin/genkernel: line 95: [: print_info: integer expression expected * ERROR: Load loop support! and abortion. emerge info prints out: Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -funroll-loops" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3ds X aalib acpi acpi4linux alsa apm arts avi berkdb bonobo cdr cmucl crypt cups dga directfb doc emacs emacs-w3 encode esd foomaticdb gb gdbm gif ginac glut gnome gpm gtk gtk2 guile icc icc-pgo ifc imagemagick imlib ipv6 java javascript jpeg kde leim libg++ libwww mad mikmod mmx motif mozilla mpeg mpeg4 ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb x86 xine xml xml2 xmms xv zlib"
have you ever considered lowering your CFLAGS, in particular, removing "-fforce-addr -funroll-loops" and changing "-O3" to "-O2", after which do emerge -e world what good is a clean compiled system, if it's broken
thank you for your answer. However, genkernel is a script. Do you think that the error in the script is due to the cflags? And regarding to the kernel panic when installing kernel 2.6.5: the kernel is to my knowledge *not* compiled with the cflags. The same behaviour of the kernel 2.6.5 (that it crashes complaining about defvs) is also reported by many other users in the forum (and not resolved yet). See here for the long thread: http://forums.gentoo.org/viewtopic.php?t=160518&highlight=defvs regards
Perhaps try reemerging?
I tried. It's OK now!
Great. Perhaps you could close the bug and leave it as resolved?
resolved