Gentoo Archives: gentoo-user-br

From: Fabiano - deStilaDo <fabianoengler@×××××.com>
To: gentoo-user-br@l.g.o
Subject: Re: [gentoo-user-br] ld.so seg fault??
Date: Sun, 11 Jun 2006 16:42:02
Message-Id: e4beb90c0606110941k67406e50l4207367c845edf0b@mail.gmail.com
In Reply to: Re: [gentoo-user-br] ld.so seg fault?? by Fabiano - deStilaDo
1 > Onde está o erro completo?
2
3 # emerge openoffice -v
4 > (...)
5 > ICU_DATA=../data/out/build
6 > LD_LIBRARY_PATH=../common:../i18n:../tools/toolutil:../layout:../layoutex:../extra/ustdio:../tools/ctestfw:../data/out:../data:../stubdata/:$LD_LIBRARY_PATH
7 > ../tools/genrb/genrb -k -q -p testdata -q -s ../test/testdata -d
8 > ../test/testdata/out/build idna_rules.txt
9 > Testing genrb -e option
10 > Finished testing genrb -e option
11 > cp ../test/testdata/out/build/testdata_te_IN.res
12 > ../test/testdata/out/testdata_nam.typ
13 > generating ../test/testdata/out/build/testdata.lst (list of data files)
14 > LD_LIBRARY_PATH=../common:../i18n:../tools/toolutil:../layout:../layoutex:../extra/ustdio:../tools/ctestfw:../data:../stubdata/:$LD_LIBRARY_PATH
15 > ../tools/pkgdata/pkgdata -O ../data/icupkg.inc -d
16 > /dados/portage/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9/build/OOO_2_0_2/icu/unxlngi6.pro/misc/build/icu/source/data/out
17 > -e icudt26 -T ../data/out/build -p icudata -m dll -r 26.0../data/out/build/icudata.lst
18 > Inconsistency detected by ld.so: dl-minimal.c: 137: realloc: Assertion
19 > `new == ptr' failed!
20 > make[2]: *** [packagedata] Error 127
21 > make[2]: Leaving directory `/dados/portage/tmp/portage/openoffice-2.0.2-r1
22 > /work/ooo-build-2.0.2.9
23 > /build/OOO_2_0_2/icu/unxlngi6.pro/misc/build/icu/source/data'
24 > make[1]: *** [all-recursive] Error 2
25 > make[1]: Leaving directory `/dados/portage/tmp/portage/openoffice-2.0.2-r1
26 > /work/ooo-build-2.0.2.9
27 > /build/OOO_2_0_2/icu/unxlngi6.pro/misc/build/icu/source'
28 > dmake: Error code 2, while making
29 > './unxlngi6.pro/misc/build/so_built_so_icu'
30 > '---* tg_merge.mk *---'
31 >
32 > ERROR: Error 65280 occurred while making
33 > /dados/portage/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9
34 > /build/OOO_2_0_2/icu
35 > make: *** [stamp/build] Error 1
36 >
37 > !!! ERROR: app-office/openoffice-2.0.2-r1 failed.
38 > Call stack:
39 > ebuild.sh, line 1539: Called dyn_compile
40 > ebuild.sh, line 939: Called src_compile
41 > openoffice-2.0.2-r1.ebuild, line 230: Called die
42 >
43 > !!! Build failed
44 > !!! If you need support, post the topmost build error, and the call stack
45 > if relevant.
46 >
47 >
48 > # emerge --info
49 > Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3,
50 > 2.6.16-gentoo-r9 i686)
51 > =================================================================
52 > System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2400+
53 > Gentoo Base System version 1.6.14
54 > ccache version 2.3 [enabled]
55 > dev-lang/python: 2.4.2
56 > dev-python/pycrypto: 2.0.1-r5
57 > dev-util/ccache: 2.3
58 > dev-util/confcache: [Not Present]
59 > sys-apps/sandbox: 1.2.17
60 > sys-devel/autoconf: 2.13, 2.59-r7
61 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
62 > sys-devel/binutils: 2.16.1-r2
63 > sys-devel/gcc-config: 1.3.13-r2
64 > sys-devel/libtool: 1.5.22
65 > virtual/os-headers: 2.6.11-r5
66 > ACCEPT_KEYWORDS="x86"
67 > AUTOCLEAN="yes"
68 > CBUILD="i686-pc-linux-gnu"
69 > CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
70 > CHOST="i686-pc-linux-gnu"
71 > CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
72 > /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
73 > /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
74 > /usr/share/config /usr/share/texmf/dvipdfm/config/
75 > /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
76 > /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
77 > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
78 > CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
79 > DISTDIR="/dados/portage/distfiles"
80 > FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms
81 > strict"
82 > GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/
83 > http://gentoo.mirrored.ca/ http://www.las.ic.unicamp.br/pub/gentoo/
84 > http://mirror.datapipe.net/gentoo http://distfiles.gentoo.org
85 > http://www.ibiblio.org/pub/Linux/distributions/gentoo"
86 > LANG="pt_BR.iso8859-1 pt_BR pt-BR"
87 > LC_ALL="pt_BR"
88 > LINGUAS="pt_BR.iso8859-1 pt_BR pt-BR"
89 > MAKEOPTS="-j2"
90 > PKGDIR="/usr/portage/packages"
91 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
92 > --compress --force --whole-file --delete --delete-after --stats
93 > --timeout=180 --exclude='/distfiles' --exclude='/local'
94 > --exclude='/packages'"
95 > PORTAGE_TMPDIR="/dados/portage/tmp"
96 > PORTDIR="/usr/portage"
97 > SYNC="rsync://rsync.gentoo.org/gentoo-portage"
98 > USE="x86 3dnow X alsa apache2 apm arts avi bash-completion berkdb
99 > bitmap-fonts bzip2 cdr cli crypt cups doc dri dvd dvdr dvdread eds emboss
100 > encode enconde esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk
101 > gtk2 imlib isdnlog java jpeg kde lcms libg++ libwww lua mad mikmod mmx motif
102 > mozilla mp3 mpeg mysql ncurses nls nptl nptlonly ogg openal opengl oss pam
103 > pcre pdflib perl png ppds pppd python qt quicktime readline real reflection
104 > samba sdl session spell spl sse ssl tcltk tcpd threads tiff truetype
105 > truetype-fonts type1-fonts udev unicode userlocales vcd vorbis wmf xml xmms
106 > xorg xv zlib elibc_glibc kernel_linux linguas_pt_BR.iso8859-1 linguas_pt_BR
107 > linguas_pt-BR userland_GNU"
108 > Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
109 > PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
110 >
111
112
113 On 6/11/06, Fabiano - deStilaDo <fabianoengler@×××××.com> wrote:
114 >
115 > > Onde está o erro completo?
116 >
117 > Eu não mandei porque o pc travou logo em seguida, e até recompilar o
118 > openoffice inteiro demorava muito. Mas sempre que eu tento, é o mesmo erro,
119 > na mesma linha.
120 > Inconsistency detected by ld.so: dl-minimal.c: 137: realloc:
121 > Assertion`new == ptr' failed!
122 > Estou compilando o openoffice novamente, mas até terminar vai demorar, mas
123 > achei na net um post com exatamente o mesmo erro que o meu:
124 > http://lists.debian.org/debian-glibc/2003/09/msg00195.html
125 >
126 >
127 > > Esse programa não é para ser executado diretamente pelo usuário.
128 >
129 > Eu sei, mas se for executado, ele deve mostrar uma mensagem dizendo isso,
130 > e não dar segmentation fault.
131 > O /lib/ld-2.4.so faz isso.
132 >
133 >
134 > > Envie o erro completo na lista, também com a saída do "emerge --info".
135 > > Fica difícil se não forem dadas mais informações.
136 >
137 > Minha pergunta inicial era basicamente como recompilar os /lib/ld-*
138 > Mas já que meu erro em particular interessa, abaixo segue o --info.
139 >
140 >
141 > > / * (i managed to compile it under glibc-2.4 and gcc 4.1 /arab@freenode)
142 > > Também tenho ele compilado com essa configuração.
143 >
144 > Aqui está gcc-3.4.6, glibc-2.4-r3, e não funciona.. =/
145 >
146 > Fabiano.
147 >
148 >
149 > # emerge --info
150 > Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3,
151 > 2.6.16-gentoo-r9 i686)
152 > =================================================================
153 > System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2400+
154 > Gentoo Base System version 1.6.14
155 > ccache version 2.3 [enabled]
156 > dev-lang/python: 2.4.2
157 > dev-python/pycrypto: 2.0.1-r5
158 > dev-util/ccache: 2.3
159 > dev-util/confcache: [Not Present]
160 > sys-apps/sandbox: 1.2.17
161 > sys-devel/autoconf: 2.13, 2.59-r7
162 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
163 > sys-devel/binutils: 2.16.1-r2
164 > sys-devel/gcc-config: 1.3.13-r2
165 > sys-devel/libtool: 1.5.22
166 > virtual/os-headers: 2.6.11-r5
167 > ACCEPT_KEYWORDS="x86"
168 > AUTOCLEAN="yes"
169 > CBUILD="i686-pc-linux-gnu"
170 > CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
171 > CHOST="i686-pc-linux-gnu"
172 > CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
173 > /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
174 > /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
175 > /usr/share/config /usr/share/texmf/dvipdfm/config/
176 > /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
177 > /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
178 > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
179 > CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
180 > DISTDIR="/dados/portage/distfiles"
181 > FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms
182 > strict"
183 > GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/
184 > http://gentoo.mirrored.ca/ http://www.las.ic.unicamp.br/pub/gentoo/
185 > http://mirror.datapipe.net/gentoo http://distfiles.gentoo.org
186 > http://www.ibiblio.org/pub/Linux/distributions/gentoo"
187 > LANG="pt_BR.iso8859-1 pt_BR pt-BR"
188 > LC_ALL="pt_BR"
189 > LINGUAS="pt_BR.iso8859-1 pt_BR pt-BR"
190 > MAKEOPTS="-j2"
191 > PKGDIR="/usr/portage/packages"
192 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
193 > --compress --force --whole-file --delete --delete-after --stats
194 > --timeout=180 --exclude='/distfiles' --exclude='/local'
195 > --exclude='/packages'"
196 > PORTAGE_TMPDIR="/dados/portage/tmp"
197 > PORTDIR="/usr/portage"
198 > SYNC="rsync://rsync.gentoo.org/gentoo-portage"
199 > USE="x86 3dnow X alsa apache2 apm arts avi bash-completion berkdb
200 > bitmap-fonts bzip2 cdr cli crypt cups doc dri dvd dvdr dvdread eds emboss
201 > encode enconde esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk
202 > gtk2 imlib isdnlog java jpeg kde lcms libg++ libwww lua mad mikmod mmx motif
203 > mozilla mp3 mpeg mysql ncurses nls nptl nptlonly ogg openal opengl oss pam
204 > pcre pdflib perl png ppds pppd python qt quicktime readline real reflection
205 > samba sdl session spell spl sse ssl tcltk tcpd threads tiff truetype
206 > truetype-fonts type1-fonts udev unicode userlocales vcd vorbis wmf xml xmms
207 > xorg xv zlib elibc_glibc kernel_linux linguas_pt_BR.iso8859-1 linguas_pt_BR
208 > linguas_pt-BR userland_GNU"
209 > Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
210 > PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
211 >
212 >
213 >
214 > On 6/11/06, Benigno B. Junior <bbj@g.o> wrote:
215 > >
216 > > On Sun, 11 Jun 2006 01:29:00 -0300
217 > > "Fabiano - deStilaDo" <fabianoengler@×××××.com> wrote:
218 > >
219 > > / Olá pessoal,
220 > > /
221 > > / não estava conseguindo compilar o openoffice aqui, tava dando um erro
222 > > / de inconsistência no ld.
223 > >
224 > > Onde está o erro completo?
225 > >
226 > > / Comecei tentar resolver, e descobri que ao tentar executar o arquivo
227 > > / /lib/ld-linux.so.1.9.11, dá segmentation fault.
228 > >
229 > > Esse programa não é para ser executado diretamente pelo usuário. Ele é
230 > > o "linkador" dinâmico do sistema operacional, que carrega bibliotecas
231 > > necessárias aos programas.
232 > >
233 > > / Estou sem idéias... sugestões?
234 > >
235 > > Envie o erro completo na lista, também com a saída do "emerge --info".
236 > > Fica difícil se não forem dadas mais informações.
237 > >
238 > > --
239 > > "Onde há o ser-humano, há a maldade."
240 > >
241 > > Benigno B. Junior <bbj@g.o>
242 > > Gentoo Developer - http://dev.gentoo.org/~bbj<http://dev.gentoo.org/%7Ebbj>
243 > > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3995B21
244 > >
245 > >
246 > >
247 >

Replies

Subject Author
Re: [gentoo-user-br] ld.so seg fault?? "Benigno B. Junior" <bbj@g.o>