I'm getting a segmentation fault during build of qdvdauthor using gcc-4.1.1. My system has been upgraded and emerge -e world completed, with no success. Please see emerge --info below. Thank you. Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo- r7 i686) ================================================================= System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.12.4 Last Sync: Mon, 11 Sep 2006 22:30:07 +0000 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O4 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr /share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf /tex/platex/config/ /usr/share/texmf/xdvi/ /var/www/localhost/htdocs/mythweb/con fig" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms / /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O4 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/ distributions/gentoo" LC_ALL="en_US.UTF-8" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d istfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acl acpi alsa apache apache2 arts artswrappersuid asf avi bit map-fonts bzip2 cdr cgi cli crypt cups dba dbus dio directfb divx4linux dlloader doc dri dts dvb dvd dvdr dvdread eds elibc_glibc encode esd ethereal examples f bcon ffmpeg fftw firewire flac flash foomaticdb force-cgi-redirect fortran freet ds ftp gd gdbm gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk hal icq ieee13 94 imagemagick imlib imlib2 input_devices_keyboard input_devices_mouse ipod isdn log ithreads jack java jpeg kde kerberos kernel_linux krb4 libg++ libwww linguas _en lirc lirc_devices_hauppauge lzo mikmod mjpeg mmx motif mozilla mp3 mpeg mysq l mythtv ncurses nls nptl nptlonly nsplugin nvidia oav odbc ogg oggvorbis opengl oss pam pango pcre perl php png posix postgres povray ppds pppd python qt3 qt4 quicktime readline real reflection rtc rtsp samba scanner sdl server session slp snmp sockets spell spl ssl stream svga tcpd tetex theora threads tiff tk transc ode truetyppe truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales v4l v4l2 video_cards_nv video_cards_nvidia video_cards_vesa videos visualization vorbis win32codecs wma wmf wxgtk1 xine xinerama xml xml2 xmms xorg xv xvid xvmc zeroconf zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Preprocessed Source:
Created attachment 96763 [details] Preprocessed Source associated with Segmentation Fault This is the preprocessed source code produced when segmentation fault occurs.
(In reply to comment #1) > Created an attachment (id=96763) [edit] > Preprocessed Source associated with Segmentation Fault > > This is the preprocessed source code produced when segmentation fault occurs. > Sorry, didn't put the error itself. Here it is. >>> Install qdvdauthor-0.1.0 into /var/tmp/portage/qdvdauthor-0.1.0/image/ category media-video make: Entering directory `/var/tmp/portage/qdvdauthor-0.1.0/work/qdvdauthor-0.1.0/qdvdauthor' i686-pc-linux-gnu-g++ -c -pipe -Wall -W -Wno-non-virtual-dtor -O4 -march=pentium4 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -Iqplayer/engines -I. -Iqslideshow -Iqplayer -I.moc/ -o .obj/kxinewidget.o qplayer/engines/kxinewidget.cpp qplayer/engines/kxinewidget.cpp: In member function
(In reply to comment #1) > Created an attachment (id=96763) [edit] > Preprocessed Source associated with Segmentation Fault > > This is the preprocessed source code produced when segmentation fault occurs. > Sorry, didn't put the error itself. Here it is. >>> Install qdvdauthor-0.1.0 into /var/tmp/portage/qdvdauthor-0.1.0/image/ category media-video make: Entering directory `/var/tmp/portage/qdvdauthor-0.1.0/work/qdvdauthor-0.1.0/qdvdauthor' i686-pc-linux-gnu-g++ -c -pipe -Wall -W -Wno-non-virtual-dtor -O4 -march=pentium4 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -Iqplayer/engines -I. -Iqslideshow -Iqplayer -I.moc/ -o .obj/kxinewidget.o qplayer/engines/kxinewidget.cpp qplayer/engines/kxinewidget.cpp: In member function QTime KXineWidget::getLengthInfo(): qplayer/engines/kxinewidget.cpp:2820: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/qdvdauthor-0.1.0/temp/ccg1e1TP.out file, please attach this to your bugreport. make: *** [.obj/kxinewidget.o] Error 1 make: Leaving directory `/var/tmp/portage/qdvdauthor-0.1.0/work/qdvdauthor-0.1.0/qdvdauthor'
I attempted to emerge this same package on another machine and received the same error, however after reviewing the build of qdvdauthor, I found another error that may provide more information. Still another segmentation fault. ... ... ... i686-pc-linux-gnu-g++ -c -pipe -Wall -W -Wno-non-virtual-dtor -march=pentium4 -O3 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -Iqplayer/engines -I. -Iqslideshow -Iqplayer -I.moc/ -o .obj/kxinewidget.o qplayer/engines/kxinewidget.cpp i686-pc-linux-gnu-g++ -c -pipe -Wall -W -Wno-non-virtual-dtor -march=pentium4 -O3 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -Iqplayer/engines -I. -Iqslideshow -Iqplayer -I.moc/ -o .obj/qxinewidget.o qplayer/engines/qxinewidget.cpp qplayer/engines/kxinewidget.cpp: In member function 'QTime KXineWidget::getLengthInfo()': qplayer/engines/kxinewidget.cpp:2820: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions.
same error here for version media-video/qdvdauthor-0.1.2 and media-video/qdvdauthor-0.1.2-r1 (x86 pentium 4 with gcc-4.1.1)
since I'm able to compile all versions in portage w/o any problems with GCC 4.1.1 on different machines (Athlon-XP, P3, P4, etc.) I guess you haven't upgraded your system correctly after the switch to GCC 4.1 trust me, recompile *everything* on your system and your problems are gone. I know what I'm talking about. I also had serious problems after migration to GCC 4.x, when only a few libs were (re-)compiled with GCC 4.x and the rest was still GCC 3.x.
ok, other possibility could be, that there is a bug in GCC 4.1.1, but then the gcc-herd should be involved. because of this message: "internal compiler error: Segmentation fault" all I can say is, that it compiles fine here on my machines. So I can't reproduce it.
btw: CFLAGS="-O4 -march=pentium4 -pipe" would you be so kind please and try "-O2" instead of "-O4".
Got the same segfault while upgrading my system to gcc 4.1.1. I use CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" on my pc. After changing -O3 to -O2 qdvdauthor merged fine.
> After changing -O3 to -O2 qdvdauthor merged fine. ok, looks to me, that we have to use 'filter-flags' and friends. ;-) I will provide a fix.
ok, I fixed it in CVS. But no new release, it's still 0.1.2-r1. Please test it. Thanks!
no response? So I guess it's fixed...
(In reply to comment #11) > no response? So I guess it's fixed... > My apologies, I've had a few other issues with internet connectivity. My poor router went up in flames. At any rate, after changing optimizations on the compiler, this seems to have fixed the issue.