Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147250 - [4.1/ICE] media-video/qdvdauthor fails to compile
Summary: [4.1/ICE] media-video/qdvdauthor fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-11 18:19 UTC by Eric Bosch
Modified: 2006-10-10 17:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Preprocessed Source associated with Segmentation Fault (ccmvmsij.out.gz,193.03 KB, application/x-gzip-compressed)
2006-09-11 18:28 UTC, Eric Bosch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Bosch 2006-09-11 18:19:07 UTC
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:
Comment 1 Eric Bosch 2006-09-11 18:28:06 UTC
Created attachment 96763 [details]
Preprocessed Source associated with Segmentation Fault

This is the preprocessed source code produced when segmentation fault occurs.
Comment 2 Eric Bosch 2006-09-11 21:13:18 UTC
(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 
Comment 3 Eric Bosch 2006-09-11 21:13:18 UTC
(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'

Comment 4 Eric Bosch 2006-09-12 12:30:53 UTC
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.
Comment 5 Geert Vanhaute 2006-09-16 04:40:37 UTC
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)
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2006-09-16 19:04:02 UTC
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.
Comment 7 Stefan Briesenick (RETIRED) gentoo-dev 2006-09-16 19:07:58 UTC
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.
Comment 8 Stefan Briesenick (RETIRED) gentoo-dev 2006-09-17 14:55:40 UTC
btw: CFLAGS="-O4 -march=pentium4 -pipe"

would you be so kind please and try "-O2" instead of "-O4".
Comment 9 Arndt Wills 2006-09-18 10:16:48 UTC
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.
Comment 10 Stefan Briesenick (RETIRED) gentoo-dev 2006-09-18 13:11:30 UTC
> 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.
Comment 11 Stefan Briesenick (RETIRED) gentoo-dev 2006-09-18 14:16:37 UTC
ok, I fixed it in CVS. But no new release, it's still 0.1.2-r1.
Please test it. Thanks!
Comment 12 Stefan Briesenick (RETIRED) gentoo-dev 2006-10-08 12:00:40 UTC
no response? So I guess it's fixed...
Comment 13 Eric Bosch 2006-10-10 17:59:42 UTC
(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.