gcc 3.4 causes reproducable hard lockups (have to cycle power to reboot -- can't with Alt-SysRq) when emerging specific programs. I can't remember all of the ebuilds that it locks up on, but the two most recent ones are media-video/mplayer-1.0_pre7-r1 and media-libs/libquicktime-0.9.4. The lockups always occur at the same point in the build process. Using gcc 3.3.6 does not produce these lockups. As well, these packages will not lockup the system if compiling them in a 32 bit chroot (ie, the problem is 64 bit specific). Reproducible: Always Steps to Reproduce: 1.emerge any 3.4 version of gcc 2."emerge mplayer" or "emerge libquicktime" 3. Actual Results: System locks up. Have to cycle power to reboot. Working config: Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6 .14-rc1 x86_64) ================================================================= System uname: 2.6.14-rc1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -m3dnow -pip e" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1 1/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -m3dnow -p ipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac alsa avi bash-completion berkdb bitmap-fonts cdparanoia cry pt curl dga dts dv dvd dvdread emboss encode fbcon ffmpeg foomaticdb fortran gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java javascript jpeg krb4 lzw lzw -tiff mad mjpeg mmap mng motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline real sdl spell ssl svg t cpd theora threads tiff tls truetype truetype-fonts type1-fonts usb userlocales vorbis xinerama xml2 xmms xpm xrandr xv xvid yv12 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS Non-Working config (hard-locks system): Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r1, 2.6.14-rc1 x86_64) ================================================================= System uname: 2.6.14-rc1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac alsa avi bash-completion berkdb bitmap-fonts cdparanoia crypt curl dga dts dv dvd dvdread emboss encode fbcon ffmpeg foomaticdb fortran gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java javascript jpeg krb4 lzw lzw-tiff mad mjpeg mmap mng motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline real sdl spell ssl svg tcpd theora threads tiff tls truetype truetype-fonts type1-fonts usb userlocales vorbis xinerama xml2 xmms xpm xrandr xv xvid yv12 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS That is the last version of gcc 3.4 I tried. The full list of gcc versions which I have tried (and produce the same lockup) are: sys-devel/gcc-3.4.1-r3 sys-devel/gcc-3.4.3-r1 sys-devel/gcc-3.4.3.20050110-r2 sys-devel/gcc-3.4.4-r1
try using MAKEOPTS=-j1 and/or remove -pipe from CFLAGS/CXXFLAGS
(In reply to comment #1) > try using MAKEOPTS=-j1 and/or remove -pipe from CFLAGS/CXXFLAGS Trying it without -pipe made me realize what the real cause of the lockups were (default memory settings in bios had too tight of timings).
sounds good