when emergeing samba 3.0.8, it stops with an internal compiler error (Segmentation fault) Reproducible: Always Steps to Reproduce: 1. emerge samba Actual Results: (I copy the last lines of output, as I don't know how to attach a "preprocessed source" - the bugwriting doc is not available at the moment - I will make a bug report for this too) Compiling libsmb/clioplock.c Compiling libsmb/errormap.c In file included from include/includes.h:114, from libsmb/errormap.c:23: /usr/include/sys/un.h:34: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Compiling libsmb/clirap2.c The bug is not reproducible, so it is likely a hardware or OS problem. make: *** [libsmb/errormap.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: net-fs/samba-3.0.8 failed. !!! Function src_compile, Line 213, Exitcode 2 !!! SAMBA make everything error !!! If you need support, post the topmost build error, NOT this status message. Expected Results: installed samba Portage 2.0.51-r3 (default-ppc-2004.1, gcc-3.4.1, glibc-2.3.3.20040420-r2, 2.6. 9n ppc) ================================================================= System uname: 2.6.9n ppc 750FX Gentoo Base System version 1.4.16 distcc 2.13 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.3-r3 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -mcpu=750" CHOST="powerpc-unknown-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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="-O3 -pipe -mcpu=750" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks usepkg" GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib berkdb bonobo cdr cups dvd esd f77 fortran gdbm gif gnome gnome- libs gpm gtk gtk2 gtkhtml guile hbci imlib java jpeg libwww motif mozilla mpeg mule nls oggvorbis opengl pam pda pdflib perl png ppc python quicktime readline ruby samba sdl slang ssl tcltk tcpd tetex truetype xemacs video_cards_radeon"
Please ensure that you do not have preempt on in your kernel as it can cause this type of behaviour. If this isn't the problem, please let us know since I can't reproduce the problem here.
Yes, I had preempt CONFIG_PREEMPT on in my kernel, as the help text for this setting says "activate this on desktops" (this seems to be not a very good advice). After switching this off and compiled a new kernel (with an old kernel, as kernel compilation broke too), the problem was gone, as several others too. Thanks for your help!