When I run 'emerge mythtv' the compilation fails after ~3hrs and the login shell crashes. Reproducible: Always Steps to Reproduce: 1. emerge mythtv Actual Results: Logged out after ~3hrs compilation Expected Results: ! Gentoo Base System version 1.6.8 Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102- r0, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Pentium III (Katmai) Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 18 2004, 19:12:14)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config / usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo ftp://ftp6.uni- erlangen.de/pub/mirrors/gentoo ftp://chod.cwru.edu/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/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 alsa apm arts avi berkdb bitmap-fonts crypt cups encode f77 foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ithreads jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"
so basically your shell closes? I've never heard of this. And without more info, it's going to be impossible to track this down. One thing I can tell you is to lower from -O3 to -O2 in CFLAGS. Also based on the fact that it's taking 3 hours to compile and the fact you've got a Katmai based P3 means you've got a really slow setup. Straight from the MythTV user guide, if you've got a PIII/733mhz it will allow for encoding 1 stream and NOT watch it at the sametime. If bash is crashing from a compile, it sounds like you have deeper issues. Try running memtest overnight.
Something ferringb and I noticed, that I forgot to comment on before is that you have CHOST set for i386 yet an -march=Pentium3. So you've got some interesting binaries coming out. You're CHOST should really be i686 if you're going to target the Pentium3.
FYI The latest stable cflags for pentium3 are: /etc/make.conf CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -mfpmath=sse"
stable according to who? stable is "-march=pentium3 -O2 -pipe" and that's it. MythTV is KNOWN to have issues with -O3, so there's no way to say that -O3 is stable. -mfpmath=sse has also been called into question because of another set of directly written assembly code. So your statement is about as far off the mark as it can get.
Thanks for your help. I already resolved the problem myself, but I forgot to change the status of this bug-report. I tried using a 2.4 kernel first (since it was in the example of the gentoo installation handbook) and later realized I needed a 2.6 kernel to get the ivtv-drivers working. I then made the mistake to use 'The complete Gentoo Linux 2.6 migration guide' , http://www.gentoo.org/doc/en/migration-to-2.6.xml, where the line 'emerge -a glibc' put gremlins in my machine. I now have an even slower setup: PII 450 MHz. This is possible since I use the Hauppauge PVR350 with mpeg2 hardware decoder+encoder. Except from stability problems (possibly) with the ivtv-fb driver it is working fine.