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)"
1 On Tuesday 28 February 2006 23:57, Rupert Young (Restart) wrote:
2 > Hi,
3 >
4 >
5 >
6 > Our server is getting stuck on updating packages. We can not seem to get
7 > past the upgrade to glibc. Sometimes it fails, with an error, and sometimes
8 > it actually kills the machine requiring reboot, examples of both below.
9 > Sorry if this is a known problem, but I've been looking and struggling with
10 > it for a couple of weeks. Any help would be appreciated, here's the info
11 > from emerge,
12 >
13 >
14 >
15 > emerge --info
16 >
17 >
18 >
19 >
20 >
21 > Gentoo Base System version 1.6.14
22 >
23 > Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r1,
24 > 2.6.7-gentoo-r14 x86_64)
25 >
26 > =================================================================
27 >
28 > System uname: 2.6.7-gentoo-r14 x86_64 AMD Opteron(tm) Processor 250
29 >
30 > dev-lang/python: 2.3.5-r2, 2.4.2
31 >
32 > sys-apps/sandbox: 1.2.12
33 >
34 > sys-devel/autoconf: 2.13, 2.59-r6
35 >
36 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
37 >
38 > sys-devel/binutils: 2.16.1
39 >
40 > sys-devel/libtool: 1.5.22
41 >
42 > virtual/os-headers: 2.6.11-r2
43 >
44 > ACCEPT_KEYWORDS="x86"
45 >
46 > AUTOCLEAN="yes"
47 >
48 > CBUILD="x86_64-pc-linux-gnu"
49 >
50 > CFLAGS="-mtune=opteron -march=opteron -O3 -funroll-loops
51 > -fomit-frame-pointer -fprefetch-loop-arrays -pipe -ftracer -mmmx -msse
52 > -msse2 -m3dnow -mfpmath=sse"
53
54 -march=opteron -O2 -ftracer -pipe
55
56 amd even that could be too much.
57 Some of your flags are pointless (-mmmx, -msse. mfpmath=, fomit-frame-pointer)
58
59 Some may be even dangerous (-O3, -fprefetsch-loop-arrays).
60
61 >
62 > CHOST="x86_64-pc-linux-gnu"
63 >
64 > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
65 > /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
66 > /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
67 > /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
68 > /usr/share/texmf/xdvi/ /var/qmail/control"
69 >
70 > CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
71 >
72 > CXXFLAGS="-mtune=opteron -march=opteron -O3 -funroll-loops
73 > -fomit-frame-pointer -fprefetch-loop-arrays -pipe -ftracer -mmmx -msse
74 > -msse2 -m3dnow -mfpmath=sse"
75 >
76 > DISTDIR="/usr/portage/distfiles"
77 >
78 > FEATURES="autoconfig distlocks sandbox sfperms strict"
79 >
80 > GENTOO_MIRRORS="http://distfiles.gentoo.org
81 > http://distro.ibiblio.org/pub/linux/distributions/gentoo"
82 >
83 > MAKEOPTS="-j4"
84 >
85 > PKGDIR="/usr/portage/packages"
86 >
87 > PORTAGE_TMPDIR="/var/tmp"
88 >
89 > PORTDIR="/usr/portage"
90 >
91 > PORTDIR_OVERLAY="/usr/local/portage"
92 >
93 > SYNC="rsync://rsync.gentoo.org/gentoo-portage"
94 >
95 > USE="x86 3dnow X acpi alsa apache2 audiofile avi bitmap-fonts bzip2 crypt
96 > cups dga eds emboss encode exif expat fam fbcon foomaticdb fortran gd gdbm
97 > gif glut gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jikes jpeg
98 > junit lcms libg++ libwww mad mailwrapper mhash mikmod mmx mng mozilla mp3
99 > mpeg mysql ncurses nptl ogg oggvorbis opengl pam pcre pdflib png python
100 > quicktime readline samba sdl slang spell sse ssl tcpd tetex tiff truetype
101 > truetype-fonts type1-fonts udev userlocales vorbis xml xml2 xmms xv zlib
102 > userland_GNU kernel_linux elibc_glibc"
103 >
104 > Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
105 >
106 >
107 >
108 >
109 >
110 > The error from dying machine is,
111 >
112 >
113 >
114 > CPU 0: Machine check Exception 4 Bank 0: f60c200000000136
115 >
116 > TSC 177daa0cc8aof ADDR 1af80e80
117 >
118 > Kernal panic: Machine check
119 >
120 >
121 >
122 > The error msg from (non-dying)
123 >
124 > Emerge -av sys-lib/glic
125 >
126 >
127 >
128 > x86_64-pc-linux-gnu-gcc iso_2033.c -c -std=gnu99 -O2 -Wall -Winline
129 > -Wstrict-prototypes -Wwrite-strings -march=opteron -mtune=opteron -pipe
130 > -fPIC -I../include -I.
131 > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li
132 >n uxthreads/iconvdata -I.. -I../libio
133 > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li
134 >n uxthreads -I../sysdeps/x86_64/elf
135 > -I../linuxthreads/sysdeps/unix/sysv/linux/x86_64
136 > -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
137 > -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
138 > -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/x86_64
139 > -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/x86_64
140 > -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux
141 > -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
142 > -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64
143 > -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu
144 > -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96
145 > -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
146 > -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
147 > -nostdinc -isystem
148 > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include -isystem /usr/include
149 > -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED
150 > -DNOT_IN_libc -o
151 > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu
152 >x threads/iconvdata/iso_2033.os -MD -MP -MF
153 > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu
154 >x threads/iconvdata/iso_2033.os.dt -MT
155 > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu
156 >x threads/iconvdata/iso_2033.os
157 >
158 > ../iconv/skeleton.c: In function `gconv_init':
159 >
160 > ../iconv/skeleton.c:350: internal compiler error: in expand_stmt, at
161 > c-semantics.c:883
162 >
163 > Please submit a full bug report,
164 >
165 > with preprocessed source if appropriate.
166 >
167 > See <URL:http://bugs.gentoo.org/> for instructions.
168 >
169 > x86_64-pc-linux-gnu-gcc iso_5427.c -c -std=gnu99 -O2 -Wall -Winline
170 > -Wstrict-prototypes -Wwrite-strings -march=opteron -mtune=opteron -pipe
171 > -fPIC -I../include -I.
172 > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li
173 >n uxthreads/iconvdata -I.. -I../libio
174 > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li
175 >n uxthreads -I../sysdeps/x86_64/elf
176 > -I../linuxthreads/sysdeps/unix/sysv/linux/x86_64
177 > -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
178 > -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
179 > -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/x86_64
180 > -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/x86_64
181 > -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux
182 > -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
183 > -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64
184 > -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu
185 > -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96
186 > -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
187 > -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
188 > -nostdinc -isystem
189 > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include -isystem /usr/include
190 > -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED
191 > -DNOT_IN_libc -o
192 > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu
193 >x threads/iconvdata/iso_5427.os -MD -MP -MF
194 > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu
195 >x threads/iconvdata/iso_5427.os.dt -MT
196 > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu
197 >x threads/iconvdata/iso_5427.os
198 >
199 > x86_64-pc-linux-gnu-gcc iso_5427-ext.c -c -std=gnu99 -O2 -Wall -Winline
200 > -Wstrict-prototypes -Wwrite-strings -march=opteron -mtune=opteron -pipe
201 > -fPIC -I../include -I.
202 > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li
203 >n uxthreads/iconvdata -I.. -I../libio
204 > -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-li
205 >n uxthreads -I../sysdeps/x86_64/elf
206 > -I../linuxthreads/sysdeps/unix/sysv/linux/x86_64
207 > -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
208 > -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
209 > -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/x86_64
210 > -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/x86_64
211 > -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux
212 > -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
213 > -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64
214 > -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu
215 > -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96
216 > -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
217 > -I../sysdeps/ieee754
218 >
219 > -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem
220 > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include -isystem /usr/include
221 > -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED
222 > -DNOT_IN_libc -o
223 > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu
224 >x threads/iconvdata/iso_5427-ext.os -MD -MP -MF
225 > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu
226 >x threads/iconvdata/iso_5427-ext.os.dt -MT
227 > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-linu
228 >x threads/iconvdata/iso_5427-ext.os
229 >
230 > The bug is not reproducible, so it is likely a hardware or OS problem.
231 >
232 > make[2]: ***
233 > [/var/tmp/portage/glibc-2.3.5-r2/work/build-default-x86_64-pc-linux-gnu-lin
234 >u xthreads/iconvdata/iso_6937-2.os] Error 1
235 >
236 > make[2]: *** Waiting for unfinished jobs....
237 >
238 > make[2]: Leaving directory
239 > `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5/iconvdata'
240 >
241 > make[1]: *** [iconvdata/others] Error 2
242 >
243 > make[1]: Leaving directory
244 > `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5'
245 >
246 > make: *** [all] Error 2
247 >
248 >
249
250 if you are sure, that your ram is good and your cpu's not overheating, try a
251 bigger/better PSU.
252 --
253 gentoo-amd64@g.o mailing list