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