Gentoo Archives: gentoo-user-br

From: Magno Torres <magnotorres@×××××.com>
To: gentoo-user-br@l.g.o
Subject: Re: [gentoo-user-br] Problemas compilando o KDE (seg. fault no gcc)
Date: Tue, 07 Jun 2005 23:18:47
Message-Id: edb804ee050607161969f18a4@mail.gmail.com
In Reply to: Re: [gentoo-user-br] Problemas compilando o KDE (seg. fault no gcc) by Daniel van Ham Colchete
1 Dependendo das USE Flags, o kde pode instalar mais ou menos modulos, e algum
2 pode ser incompativel com alguma otimização nas CFLAGS/CXXFLAGS
3
4 Tenha cuidado com isso, tente fazer um teste compilando o pacote que estava
5 dando problemas com as USE flags, mas usando os parametros CFLAGS q te
6 enviei (Estou considerando que o seu make.conf esta fazendo
7 CXXFLAGS="${CFLAGS}")
8
9 A seguir as USE que uso:
10
11 magno root # cat /etc/make.conf|grep ^USE -A 2
12 USE="zeroconf acl apache2 audiofile cddb cdparanoia dga dv dvb dvd dvdr
13 dvdread ftp
14 javascript live mmx mmx2 mpeg4 mythtv network nptl softmmu theora
15 unicode vnc winbind xvid"
16
17 Usar o kde sem as USE pode ser muito chato, faltam algumas coisas legais,
18 tipo ripar CDs
19
20
21
22 2005/6/7, Daniel van Ham Colchete <daniel.colchete@×××××.com>:
23 >
24 > Magno,
25 >
26 > eu resolvi o problema comentando as linha do USE hoje a tarde. Na
27 > verdade eu j'a estou ate com o meu KDE rodando (falta fazer alguns
28 > ajustes).
29 >
30 > Estranho ne? Isso nao poderia ser um bug no ebuild do KDE?
31 >
32 > Valeu!
33 > Daniel
34 >
35 > 2005/6/7, Magno Torres <magnotorres@×××××.com>:
36 > > Daniel,
37 > >
38 > > Tenta comentar a linha no make.conf do CFLAGS, deixe assim:
39 > > #CFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer"
40 > >
41 > > Se compilar, é problema com alguma flag do gcc
42 > > As minhas flags:
43 > > CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
44 > >
45 > >
46 > >
47 > > 2005/6/7, Daniel van Ham Colchete <daniel.colchete@×××××.com>:
48 > > >
49 > > > Pessoal,
50 > > >
51 > > > eu nao estou conseguindo dar um "emerge kde" aqui. O erro que da e:
52 > > >
53 > > > /bin/sh ../../libtool --silent --mode=compile --tag=CXX
54 > > i686-pc-linux-gnu-g++ -D
55 > > > HAVE_CONFIG_H -I. -I. -I../.. -I../interfaces -I./../lib
56 > > -I/usr/kde/3.3/include
57 > > > -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT
58 > > -D_REENTRANT -D_FILE_OFFSET_BITS=
59 > > > 64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
60 > > -D_BSD_S
61 > > > OURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
62 > -Wpointer-arith
63 > > -Wwri
64 > > > te-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=pentium4
65 > > -fomit-frame-pointe
66 > > > r -Wformat-security -Wmissing-format-attribute -fno-exceptions
67 > > -fno-check-new -f
68 > > > no-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
69 > > -DQT_NO_COMPAT -DQ
70 > > > T_NO_TRANSLATION -D_GNU_SOURCE -c -o katemainwindow.lo
71 > katemainwindow.cpp
72 > > > katefileselector.cpp: In member function `void
73 > > > KateFileSelector::readConfig(KConfig*, const
74 > > QString&)':
75 > > > katefileselector.cpp:263: internal compiler error: Segmentation fault
76 > > > Please submit a full bug report,
77 > > > with preprocessed source if appropriate.
78 > > > See <URL:http://bugs.gentoo.org/> for instructions.
79 > > > /bin/sh ../../libtool --silent --mode=compile --tag=CXX
80 > > i686-pc-linux-gnu-g++ -D
81 > > > HAVE_CONFIG_H -I. -I. -I../.. -I../interfaces -I./../lib
82 > > -I/usr/kde/3.3/include
83 > > > -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT
84 > > -D_REENTRANT -D_FILE_OFFSET_BITS=
85 > > > 64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
86 > > -D_BSD_S
87 > > > OURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
88 > -Wpointer-arith
89 > > -Wwri
90 > > > te-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=pentium4
91 > > -fomit-frame-pointe
92 > > > r -Wformat-security -Wmissing-format-attribute -fno-exceptions
93 > > -fno-check-new -f
94 > > > no-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
95 > > -DQT_NO_COMPAT -DQ
96 > > > T_NO_TRANSLATION -D_GNU_SOURCE -c -o katepluginmanager.lo
97 > > katepluginmanager.cpp
98 > > > The bug is not reproducible, so it is likely a hardware or OS problem.
99 > > > make[3]: *** [katefileselector.lo] Error 1
100 > > > make[3]: *** Waiting for unfinished jobs....
101 > > > make[3]: Leaving directory
102 > > `/var/tmp/portage/kdebase-3.3.2-r2/work/kdebase-3.3.2
103 > > > /kate/app'
104 > > > make[2]: *** [all-recursive] Error 1
105 > > > make[2]: Leaving directory
106 > > `/var/tmp/portage/kdebase-3.3.2-r2/work/kdebase-3.3.2
107 > > > /kate'
108 > > > make[1]: *** [all-recursive] Error 1
109 > > > make[1]: Leaving directory
110 > > `/var/tmp/portage/kdebase-3.3.2-r2/work/kdebase-3.3.2
111 > > > '
112 > > > make: *** [all] Error 2
113 > > >
114 > > > !!! ERROR: kde-base/kdebase-3.3.2-r2 failed.
115 > > > !!! Function kde_src_compile, Line 162, Exitcode 2
116 > > > !!! died running emake, kde_src_compile:make
117 > > > !!! If you need support, post the topmost build error, NOT this status
118 > > message.
119 > > >
120 > > > O pior e que isso se repete toda hora e para no mesmo lugar.
121 > > >
122 > > > make.conf:
123 > > > CFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer"
124 > > > CHOST="i686-pc-linux-gnu"
125 > > > CXXFLAGS="${CFLAGS}"
126 > > > LINGUAS="pt_BR"
127 > > > MAKEOPTS="-j2"
128 > > > GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/
129 > > > http://www.las.ic.unicamp.br/pub/gentoo/
130 > > > ftp://ftp.las.ic.unicamp.br/pub/gentoo/"
131 > > > SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage "
132 > > > USE="-gnome 3dfx a52 aac acpi apache2 apm arts bash-completion cdr
133 > > > cups dvd dvdr dvdread fam ffmpeg freetype gif java javascript jpeg kde
134 > > > maildir mime mozilla mp3 msn mysql mysqli ncurses pcre perl png qt
135 > > > readline samba truetype zlib x86"
136 > > >
137 > > > Eu nunca tinha visto o gcc dar erro de seg. fault. Eu recopilei o gcc
138 > > > sem otimizacoes mas nao resolveu.
139 > > >
140 > > > gcc -v:
141 > > > Reading specs from
142 > > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/specs
143 > > > Configured with:
144 > > > /var/tmp/portage/gcc-3.3.5.20050130-r1/work/gcc-3.3.5/configure
145 > > > --enable-version-specific-runtime-libs --prefix=/usr
146 > > > --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130
147 > > >
148 > > --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include
149 > > >
150 > > --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130
151 > > >
152 > > --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man
153 > > >
154 > > --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info
155 > > >
156 > >
157 > --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3
158 > > > --host=i686-pc-linux-gnu --disable-altivec --enable-nls
159 > > > --without-included-gettext --with-system-zlib --disable-checking
160 > > > --disable-werror --disable-libunwind-exceptions --disable-multilib
161 > > > --disable-libgcj --enable-languages=c,c++,f77 --enable-shared
162 > > > --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
163 > > > Thread model: posix
164 > > > gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1,
165 > > > ssp-3.3.5.20050130-1, pie-8.7.7.1)
166 > > >
167 > > > Valeu!
168 > > >
169 > > > Um abraco
170 > > > Daniel Colchete
171 > > >
172 > > > --
173 > > > gentoo-user-br@g.o mailing list
174 > > >
175 > > >
176 > >
177 > >
178 > >
179 > > --
180 > > []s Magno
181 > > Linux user: #123834
182 > > http://counter.li.org
183 > >
184 >
185 > --
186 > Daniel van Ham Colchete
187 > =====================
188 > Visite meu site: http://www.daniel.colchete.nom.br/
189 > Meu e-mail: daniel.colchete@×××××.com
190 >
191 > --
192 > gentoo-user-br@g.o mailing list
193 >
194 >
195
196
197 --
198 []s Magno
199 Linux user: #123834
200 http://counter.li.org