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 21:13:36
Message-Id: edb804ee050607141440e18c29@mail.gmail.com
In Reply to: [gentoo-user-br] Problemas compilando o KDE (seg. fault no gcc) by Daniel van Ham Colchete
1 Daniel,
2
3 Tenta comentar a linha no make.conf do CFLAGS, deixe assim:
4 #CFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer"
5
6 Se compilar, é problema com alguma flag do gcc
7 As minhas flags:
8 CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
9
10
11
12 2005/6/7, Daniel van Ham Colchete <daniel.colchete@×××××.com>:
13 >
14 > Pessoal,
15 >
16 > eu nao estou conseguindo dar um "emerge kde" aqui. O erro que da e:
17 >
18 > /bin/sh ../../libtool --silent --mode=compile --tag=CXX
19 > i686-pc-linux-gnu-g++ -D
20 > HAVE_CONFIG_H -I. -I. -I../.. -I../interfaces -I./../lib
21 > -I/usr/kde/3.3/include
22 > -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT
23 > -D_FILE_OFFSET_BITS=
24 > 64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
25 > -D_BSD_S
26 > OURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
27 > -Wwri
28 > te-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=pentium4
29 > -fomit-frame-pointe
30 > r -Wformat-security -Wmissing-format-attribute -fno-exceptions
31 > -fno-check-new -f
32 > no-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
33 > -DQT_NO_COMPAT -DQ
34 > T_NO_TRANSLATION -D_GNU_SOURCE -c -o katemainwindow.lo katemainwindow.cpp
35 > katefileselector.cpp: In member function `void
36 > KateFileSelector::readConfig(KConfig*, const QString&)':
37 > katefileselector.cpp:263: internal compiler error: Segmentation fault
38 > Please submit a full bug report,
39 > with preprocessed source if appropriate.
40 > See <URL:http://bugs.gentoo.org/> for instructions.
41 > /bin/sh ../../libtool --silent --mode=compile --tag=CXX
42 > i686-pc-linux-gnu-g++ -D
43 > HAVE_CONFIG_H -I. -I. -I../.. -I../interfaces -I./../lib
44 > -I/usr/kde/3.3/include
45 > -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT
46 > -D_FILE_OFFSET_BITS=
47 > 64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
48 > -D_BSD_S
49 > OURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
50 > -Wwri
51 > te-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=pentium4
52 > -fomit-frame-pointe
53 > r -Wformat-security -Wmissing-format-attribute -fno-exceptions
54 > -fno-check-new -f
55 > no-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
56 > -DQT_NO_COMPAT -DQ
57 > T_NO_TRANSLATION -D_GNU_SOURCE -c -o katepluginmanager.lo
58 > katepluginmanager.cpp
59 > The bug is not reproducible, so it is likely a hardware or OS problem.
60 > make[3]: *** [katefileselector.lo] Error 1
61 > make[3]: *** Waiting for unfinished jobs....
62 > make[3]: Leaving directory `/var/tmp/portage/kdebase-3.3.2-r2
63 > /work/kdebase-3.3.2
64 > /kate/app'
65 > make[2]: *** [all-recursive] Error 1
66 > make[2]: Leaving directory `/var/tmp/portage/kdebase-3.3.2-r2
67 > /work/kdebase-3.3.2
68 > /kate'
69 > make[1]: *** [all-recursive] Error 1
70 > make[1]: Leaving directory `/var/tmp/portage/kdebase-3.3.2-r2
71 > /work/kdebase-3.3.2
72 > '
73 > make: *** [all] Error 2
74 >
75 > !!! ERROR: kde-base/kdebase-3.3.2-r2 failed.
76 > !!! Function kde_src_compile, Line 162, Exitcode 2
77 > !!! died running emake, kde_src_compile:make
78 > !!! If you need support, post the topmost build error, NOT this status
79 > message.
80 >
81 > O pior e que isso se repete toda hora e para no mesmo lugar.
82 >
83 > make.conf:
84 > CFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer"
85 > CHOST="i686-pc-linux-gnu"
86 > CXXFLAGS="${CFLAGS}"
87 > LINGUAS="pt_BR"
88 > MAKEOPTS="-j2"
89 > GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/
90 > http://www.las.ic.unicamp.br/pub/gentoo/
91 > ftp://ftp.las.ic.unicamp.br/pub/gentoo/"
92 > SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
93 > USE="-gnome 3dfx a52 aac acpi apache2 apm arts bash-completion cdr
94 > cups dvd dvdr dvdread fam ffmpeg freetype gif java javascript jpeg kde
95 > maildir mime mozilla mp3 msn mysql mysqli ncurses pcre perl png qt
96 > readline samba truetype zlib x86"
97 >
98 > Eu nunca tinha visto o gcc dar erro de seg. fault. Eu recopilei o gcc
99 > sem otimizacoes mas nao resolveu.
100 >
101 > gcc -v:
102 > Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/specs
103 > Configured with:
104 > /var/tmp/portage/gcc-3.3.5.20050130-r1/work/gcc-3.3.5/configure
105 > --enable-version-specific-runtime-libs --prefix=/usr
106 > --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130
107 > --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include
108 > --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130
109 > --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man
110 > --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info
111 >
112 > --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3
113 > --host=i686-pc-linux-gnu --disable-altivec --enable-nls
114 > --without-included-gettext --with-system-zlib --disable-checking
115 > --disable-werror --disable-libunwind-exceptions --disable-multilib
116 > --disable-libgcj --enable-languages=c,c++,f77 --enable-shared
117 > --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
118 > Thread model: posix
119 > gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1,
120 > ssp-3.3.5.20050130-1, pie-8.7.7.1)
121 >
122 > Valeu!
123 >
124 > Um abraco
125 > Daniel Colchete
126 >
127 > --
128 > gentoo-user-br@g.o mailing list
129 >
130 >
131
132
133 --
134 []s Magno
135 Linux user: #123834
136 http://counter.li.org

Replies

Subject Author
Re: [gentoo-user-br] Problemas compilando o KDE (seg. fault no gcc) Daniel van Ham Colchete <daniel.colchete@×××××.com>