Gentoo Archives: gentoo-amd64

From: "Hemmann
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] glibc update problem
Date: Wed, 01 Mar 2006 17:49:13
Message-Id: 200603011845.14366.volker.armin.hemmann@tu-clausthal.de
In Reply to: [gentoo-amd64] glibc update problem by "Rupert Young (Restart)"
On Tuesday 28 February 2006 23:57, Rupert Young (Restart) wrote:
> Hi, > > > > Our server is getting stuck on updating packages. We can not seem to get > past the upgrade to glibc. Sometimes it fails, with an error, and sometimes > it actually kills the machine requiring reboot, examples of both below. > Sorry if this is a known problem, but I've been looking and struggling with > it for a couple of weeks. Any help would be appreciated, here's the info > from emerge, > > > > emerge --info > > > > > > Gentoo Base System version 1.6.14 > > Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r1, > 2.6.7-gentoo-r14 x86_64) > > ================================================================= > > System uname: 2.6.7-gentoo-r14 x86_64 AMD Opteron(tm) Processor 250 > > dev-lang/python: 2.3.5-r2, 2.4.2 > > 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-r1 > > sys-devel/binutils: 2.16.1 > > sys-devel/libtool: 1.5.22 > > virtual/os-headers: 2.6.11-r2 > > ACCEPT_KEYWORDS="x86" > > AUTOCLEAN="yes" > > CBUILD="x86_64-pc-linux-gnu" > > CFLAGS="-mtune=opteron -march=opteron -O3 -funroll-loops > -fomit-frame-pointer -fprefetch-loop-arrays -pipe -ftracer -mmmx -msse > -msse2 -m3dnow -mfpmath=sse"
-march=opteron -O2 -ftracer -pipe amd even that could be too much. Some of your flags are pointless (-mmmx, -msse. mfpmath=, fomit-frame-pointer) Some may be even dangerous (-O3, -fprefetsch-loop-arrays).
> > CHOST="x86_64-pc-linux-gnu" > > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config > /usr/lib/X11/xkb /usr/lib64/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="-mtune=opteron -march=opteron -O3 -funroll-loops > -fomit-frame-pointer -fprefetch-loop-arrays -pipe -ftracer -mmmx -msse > -msse2 -m3dnow -mfpmath=sse" > > DISTDIR="/usr/portage/distfiles" > > FEATURES="autoconfig distlocks 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="x86 3dnow X acpi alsa apache2 audiofile avi bitmap-fonts bzip2 crypt > cups dga eds emboss encode exif expat fam fbcon foomaticdb fortran gd gdbm > gif glut gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jikes jpeg > junit lcms libg++ libwww mad mailwrapper mhash mikmod mmx mng mozilla mp3 > mpeg mysql ncurses nptl ogg oggvorbis opengl pam pcre pdflib png python > quicktime readline samba sdl slang spell sse ssl tcpd tetex tiff truetype > truetype-fonts type1-fonts udev userlocales vorbis xml xml2 xmms xv zlib > userland_GNU kernel_linux elibc_glibc" > > Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS > > > > > > The error from dying machine is, > > > > CPU 0: Machine check Exception 4 Bank 0: f60c200000000136 > > TSC 177daa0cc8aof ADDR 1af80e80 > > Kernal panic: Machine check > > > > The error msg from (non-dying) > > Emerge -av sys-lib/glic > > > > x86_64-pc-linux-gnu-gcc iso_2033.c -c -std=gnu99 -O2 -Wall -Winline > -Wstrict-prototypes -Wwrite-strings -march=opteron -mtune=opteron -pipe > -fPIC -I../include -I. > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li >n uxthreads/iconvdata -I.. -I../libio > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li >n uxthreads -I../sysdeps/x86_64/elf > -I../linuxthreads/sysdeps/unix/sysv/linux/x86_64 > -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread > -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv > -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/x86_64 > -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/x86_64 > -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux > -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman > -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 > -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu > -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 > -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 > -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic > -nostdinc -isystem > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include -isystem /usr/include > -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED > -DNOT_IN_libc -o > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu >x threads/iconvdata/iso_2033.os -MD -MP -MF > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu >x threads/iconvdata/iso_2033.os.dt -MT > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu >x threads/iconvdata/iso_2033.os > > ../iconv/skeleton.c: In function `gconv_init': > > ../iconv/skeleton.c:350: internal compiler error: in expand_stmt, at > c-semantics.c:883 > > Please submit a full bug report, > > with preprocessed source if appropriate. > > See <URL:http://bugs.gentoo.org/> for instructions. > > x86_64-pc-linux-gnu-gcc iso_5427.c -c -std=gnu99 -O2 -Wall -Winline > -Wstrict-prototypes -Wwrite-strings -march=opteron -mtune=opteron -pipe > -fPIC -I../include -I. > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li >n uxthreads/iconvdata -I.. -I../libio > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li >n uxthreads -I../sysdeps/x86_64/elf > -I../linuxthreads/sysdeps/unix/sysv/linux/x86_64 > -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread > -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv > -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/x86_64 > -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/x86_64 > -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux > -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman > -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 > -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu > -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 > -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 > -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic > -nostdinc -isystem > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include -isystem /usr/include > -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED > -DNOT_IN_libc -o > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu >x threads/iconvdata/iso_5427.os -MD -MP -MF > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu >x threads/iconvdata/iso_5427.os.dt -MT > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu >x threads/iconvdata/iso_5427.os > > x86_64-pc-linux-gnu-gcc iso_5427-ext.c -c -std=gnu99 -O2 -Wall -Winline > -Wstrict-prototypes -Wwrite-strings -march=opteron -mtune=opteron -pipe > -fPIC -I../include -I. > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li >n uxthreads/iconvdata -I.. -I../libio > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li >n uxthreads -I../sysdeps/x86_64/elf > -I../linuxthreads/sysdeps/unix/sysv/linux/x86_64 > -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread > -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv > -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/x86_64 > -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/x86_64 > -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux > -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman > -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 > -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu > -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 > -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 > -I../sysdeps/ieee754 > > -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include -isystem /usr/include > -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED > -DNOT_IN_libc -o > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu >x threads/iconvdata/iso_5427-ext.os -MD -MP -MF > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu >x threads/iconvdata/iso_5427-ext.os.dt -MT > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu >x threads/iconvdata/iso_5427-ext.os > > The bug is not reproducible, so it is likely a hardware or OS problem. > > make[2]: *** > [/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-lin >u xthreads/iconvdata/iso_6937-2.os] Error 1 > > make[2]: *** Waiting for unfinished jobs.... > > make[2]: Leaving directory > `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5/iconvdata' > > make[1]: *** [iconvdata/others] Error 2 > > make[1]: Leaving directory > `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5' > > make: *** [all] Error 2 > >
if you are sure, that your ram is good and your cpu's not overheating, try a bigger/better PSU. -- gentoo-amd64@g.o mailing list