fs/exec.c: In function `search_binary_handler': fs/exec.c:1014: error: syntax error before '/' token fs/exec.c:1014:21: missing terminating ' character fs/exec.c:1014:21: warning: character constant too long for its type fs/exec.c:972: warning: unused variable `try' fs/exec.c:973: warning: unused variable `fmt' fs/exec.c: At top level: fs/exec.c:1018: warning: type defaults to `int' in declaration of `fmt' fs/exec.c:1018: warning: data definition has no type or storage class fs/exec.c:1018: warning: type defaults to `int' in declaration of `fmt' fs/exec.c:1018: error: invalid type argument of `->' fs/exec.c:1018: error: syntax error before ')' token fs/exec.c:1025: warning: type defaults to `int' in declaration of `retval' fs/exec.c:1025: warning: implicit declaration of function `fn' fs/exec.c:1025: error: `bprm' undeclared here (not in a function) fs/exec.c:1025: error: `regs' undeclared here (not in a function) fs/exec.c:1025: error: initializer element is not constant fs/exec.c:1025: warning: data definition has no type or storage class fs/exec.c:1026: error: syntax error before "if" fs/exec.c:1028: error: syntax error before '->' token fs/exec.c:1028: warning: type defaults to `int' in declaration of `allow_write_access' fs/exec.c:1028: warning: function declaration isn't a prototype fs/exec.c:1028: error: conflicting types for `allow_write_access' include/linux/fs.h:1331: error: previous declaration of `allow_write_access' fs/exec.c:1028: warning: data definition has no type or storage class fs/exec.c:1032: error: syntax error before '->' token fs/exec.c:1036: warning: type defaults to `int' in declaration of `put_binfmt' fs/exec.c:1036: warning: parameter names (without types) in function declaration fs/exec.c:1036: error: conflicting types for `put_binfmt' fs/exec.c:109: error: previous declaration of `put_binfmt' fs/exec.c:1036: warning: data definition has no type or storage class fs/exec.c:1037: error: syntax error before "if" fs/exec.c:1055: error: syntax error before string constant make[1]: *** [fs/exec.o] Error 1 make: *** [fs] Error 2 Reproducible: Always Steps to Reproduce: 1.emerge gentoo-dev-sources 2. 3. Actual Results: failed compile Expected Results: compile ok I also had to remove a stary ctrlz from /usr/src/linux/scripts/kconfig/mconf.c line 94. emerge info Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r4) ================================================================= System uname: 2.6.7-gentoo-r4 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -funroll-loops -pipe" 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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache clean distcc fixpackages sandbox userpriv usersandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X X509 aac aalib acpi acpi4linux aim alsa apm arts avantgo avi berkdb bluetooth bonobo cddb cdr chroot crypt cups curl dga directfb divx4linux dvd encode esd ethereal evo faad fam fbcon fftw flac foomaticdb freetype gdbm gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imlib innodb ipv6 irda irmc jabber java joystick jpeg kde ldap libg++ libwww linguas_en_GB live mad mikmod mmx motif mozcalendar mozilla mozp3p mozsvg mpeg mpeg4 msn mysql nas ncurses nls nocd nptl offensive oggvorbis ooo-kde opengl opie oss pam pcap pda pdflib perl pic png postgres prelink pthreads python qt quicktime readline samba scanner sdl silc skey slang sox speedo speex spell sse ssl svg svga t1lib tcpd threads tiff transcode truetype type1 unicode usb v4l v4l2 vim-with-x wifi wmf x86 xfs xml2 xmms xprint xv xvid zlib zvbi"
Can you attach your .config that you used to build this?
Created attachment 33975 [details] Kernel config .config used to build the kernel
r3 and r4 build fine.
If you turn off the following config options, does everything work for you?: CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m Is there any reason you need them?
Please try the latest gentoo-dev-sources and try changing your configuration as Greg suggested in comment #4 - if you find you stil have the same issue then please reopen this bug. Thanks!