1 |
Hi list! |
2 |
|
3 |
I have some strange problems with compilation of C++ apps. I've done |
4 |
numerous emerges today and it turns out that _only_ compilation of |
5 |
some C++ applications fail(?!). I get always the same error message: |
6 |
"internal compiler error: Segmentation fault". For example avidemux has |
7 |
some part of source written in C++. While compilation of .c part goes |
8 |
very well it suddenly breaks with compiling .cpp file (some of .cpp |
9 |
files actually pass) and emerge spits out: |
10 |
|
11 |
--------- |
12 |
ADM_vorbis::run(uint8_t*, unsigned int, uint8_t*, uint32_t*)': |
13 |
audiocodec_ogg.cpp:187: internal compiler error: Segmentation fault |
14 |
--------- |
15 |
|
16 |
I get the similar error with wxGTK, kdelibs, libvisual-plugins and few |
17 |
others, but not with filelight for example(see below). |
18 |
|
19 |
wxGTK |
20 |
*-------- |
21 |
from |
22 |
/var/tmp/portage/wxGTK-2.6.2-r1/work/wxWidgets-2.6.2/src/common/appbase.cpp:34: |
23 |
/var/tmp/portage/wxGTK-2.6.2-r1/work/wxWidgets-2.6.2/include/wx/longlong.h: |
24 |
In member function `bool wxULongLongNative::operator<(long unsigned int) const': |
25 |
/var/tmp/portage/wxGTK-2.6.2-r1/work/wxWidgets-2.6.2/include/wx/longlong.h:472: |
26 |
internal compiler error: Segmentation fault |
27 |
--------- |
28 |
|
29 |
kdelibs |
30 |
*-------- |
31 |
kshortcut.cpp: In member function `bool KKeySequence::init(const KKeySequence&)': |
32 |
kshortcut.cpp:262: internal compiler error: Segmentation fault |
33 |
--------- |
34 |
|
35 |
libvisual-plugins |
36 |
*-------- |
37 |
UtilStr.cpp: In member function `void UtilStr::Assign(CEgIStream&, long int)': |
38 |
UtilStr.cpp:299: internal compiler error: Segmentation fault |
39 |
--------- |
40 |
|
41 |
|
42 |
I have also successfully compiled some C applications today and none of |
43 |
them teased me as C++ ones had. |
44 |
|
45 |
[11] % genlop --list --date yesterday today |
46 |
* sys-fs/mdadm |
47 |
|
48 |
Wed Feb 1 14:51:52 2006 >>> sys-fs/mdadm-1.12.0 |
49 |
Wed Feb 1 15:07:09 2006 >>> media-sound/xmms-1.2.10-r15 |
50 |
Wed Feb 1 17:31:08 2006 >>> media-libs/libvisual-0.2.0 |
51 |
Wed Feb 1 17:31:42 2006 >>> media-plugins/xmms-libvisual-0.2.0 |
52 |
Wed Feb 1 18:09:02 2006 >>> www-client/elinks-0.10.6 |
53 |
Wed Feb 1 22:59:54 2006 >>> sys-apps/memtester-4.0.3 |
54 |
Wed Feb 1 23:21:02 2006 >>> net-analyzer/tcpdump-3.9.3 |
55 |
Wed Feb 1 23:22:41 2006 >>> media-fonts/terminus-font-4.14-r1 |
56 |
Wed Feb 1 23:29:16 2006 >>> net-news/liferea-1.0-r1 |
57 |
Wed Feb 1 23:30:13 2006 >>> media-sound/beep-media-player-0.9.7-r8 |
58 |
Thu Feb 2 02:14:24 2006 >>> media-libs/libvisual-0.2.0 |
59 |
Thu Feb 2 02:44:55 2006 >>> dev-libs/libcdio-0.73 |
60 |
Thu Feb 2 02:47:06 2006 >>> media-video/vcdimager-0.7.21 |
61 |
Thu Feb 2 03:32:14 2006 >>> media-video/mplayer-1.0_pre7-r1 |
62 |
Thu Feb 2 03:50:22 2006 >>> kde-misc/filelight-1.0_beta6 |
63 |
|
64 |
+ three manual kernel compilations. |
65 |
|
66 |
I have three RAM modules and memtest86+ doesn't report any error on |
67 |
either of them. I also don't experience any sudden application crashes |
68 |
(except emerging :) ). |
69 |
|
70 |
|
71 |
You might be interested at |
72 |
|
73 |
[12] % gcc-config -l |
74 |
[1] i686-pc-linux-gnu-3.3.6 * |
75 |
[2] i686-pc-linux-gnu-3.3.6-hardened |
76 |
[3] i686-pc-linux-gnu-3.3.6-hardenednopie |
77 |
[4] i686-pc-linux-gnu-3.3.6-hardenednopiessp |
78 |
[5] i686-pc-linux-gnu-3.3.6-hardenednossp |
79 |
|
80 |
[13] % eix '^glibc$' | grep Installed |
81 |
Installed: 2.3.5-r1 |
82 |
|
83 |
[14] % emerge info |
84 |
CBUILD="i686-pc-linux-gnu" |
85 |
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse |
86 |
-mmmx -msse2" |
87 |
CHOST="i686-pc-linux-gnu" |
88 |
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config |
89 |
/usr/share/config /var/ qmail/control" |
90 |
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" |
91 |
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse |
92 |
-mmmx -msse2" |
93 |
DISTDIR="/usr/portage/distfiles" |
94 |
FEATURES="autoconfig distlocks sandbox sfperms strict" |
95 |
GENTOO_MIRRORS="http://distfiles.gentoo.org |
96 |
http://distro.ibiblio.org/pub/Linux/distribution s/gentoo" |
97 |
PKGDIR="/usr/portage/packages" |
98 |
PORTAGE_TMPDIR="/var/tmp" |
99 |
PORTDIR="/usr/portage" |
100 |
PORTDIR_OVERLAY="/usr/local/portage" |
101 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
102 |
USE="x86 X abook apm audiofile avi berkdb bitmap-fonts bonobo bzip2 cdb |
103 |
cdparanoia cdr crypt cscope cups curl divx4linux doc dvd dvdr dvdread |
104 |
eds emboss encode exif expat fam ffmpeg fl ac foomaticdb fortran gd |
105 |
gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 gtkhtml guile idn |
106 |
imagemagick imlib ipv6 java jpeg ldap libg++ libwww lirc mad maildir |
107 |
matroska mbox mikmo d mmx mmx2 mmxext mng motif mp3 mpeg mysql ncurses |
108 |
nls nvidia ogg oggvorbis opengl oss pam p cre pdflib perl png python qt |
109 |
quicktime readline recode rtc ruby sblive sdl slang spell sse sse2 ssl |
110 |
svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb |
111 |
v4l v4l2 vo rbis win32codecs xgetdefault xine xml xml2 xmms xosd xv xvid |
112 |
zlib zvbi userland_GNU kernel_l inux elibc_glibc" |
113 |
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS |
114 |
|
115 |
|
116 |
The only significant thing I've done recently and think it's worth of |
117 |
mentioning is that I've moved / and /home from reiserfs to ext3. |
118 |
|
119 |
Please, can someone shed up some light on this. |
120 |
|
121 |
Cheers, |
122 |
-- |
123 |
Daniel Vrcic |
124 |
-- |
125 |
gentoo-user@g.o mailing list |