I'm using gentoo 1.4 with the gs-gentoo kernel 2.4.23_pre8-gss. I'm getting compiler errors during "emerge tvtime" Reproducible: Always Steps to Reproduce: 1.emerge tvtime 2. 3. Actual Results: source='vbidata.c' object='vbidata.o' libtool=no \ depfile='.deps/vbidata.Po' tmpdepfile='.deps/vbidata.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/SDL -D_REENTRANT `/usr/bin/freetype-config --cflags` -Wall -I. -pedantic -DDATADIR="\"/usr/share/tvtime\"" -DCONFDIR="\"/etc/tvtime\"" -DFIFODIR="\"/var/run/tvtime\"" -D_LARGEFILE64_SOURCE -I../plugins `directfb-config --cflags` -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/directfb -D_REENTRANT -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -O3 -fomit-frame-pointer -std=gnu99 -mcpu=pentiumpro -c `test -f 'vbidata.c' || echo './'`vbidata.c {standard input}: Assembler messages: {standard input}:10241: Error: suffix or operands invalid for `movd' make[3]: *** [speedy.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/tvtime-0.9.10-r1/work/tvtime-0.9.10/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/tvtime-0.9.10-r1/work/tvtime-0.9.10/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/tvtime-0.9.10-r1/work/tvtime-0.9.10' make: *** [all] Error 2 !!! ERROR: media-tv/tvtime-0.9.10-r1 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! compile problem Expected Results: an installed tvtime I called "make" in the working directory manually. The problem is the file speedy.c and the -O3 flag. If I compile just this file with -O1 and then compile the rest with -O3 everything compiles and links like expected. Here is my emerge info: Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23_pre8-gss) ================================================================= System uname: 2.4.23_pre8-gss i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://212.219.56.146/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 crypt cups foomaticdb libg++ spell directfb gdbm berkdb slang tetex bonobo tcltk postgres sdl gpm tcpd pam imlib motif opengl cdr X -gtk kde -gnome mysql apm alsa arts crd avi curl doc dvd dvdr encode esd fbcon gif gphoto2 java jikes jpeg libwww lirc mad matrox mikmod mpeg nas ncurses nls oggvorbis oss pdflib perl png python qt quicktime readline ruby samba ssl svga tiff truetype usb xml xml2 xmms xv zlib sse"
yes, it looks like with gcc 3.2.3 often times you'll need -mno-sse2 in your CFLAGS this has been fixed in 3.3.2
Created attachment 21264 [details] config.log
Is this still a problem with 0.9.12?
Can't answer this, I'm sorry. This was for a personal video recorder based on mythtv. I had to switch to a ready-to-install mythtv distrubution (based on knoppix), because of my pretty complicated hardware setup. So I can't retry the compilation, because I don't have a P4 gentoo system anymore. I'm pretty sure I could set everything up based on gentoo now, but it was hard work and get it running, so I wll not touch it again :-)
then closing this bug
I have this problem now as well (using gcc 3.2.3). The maintainer of tvtime was just made aware of this bug. It's a problem, for sure... request that this bug be reopened.
reopened at user request
In speaking with Max on IRC, we discovered that changing my -march=pentium4 to -march=pentium3 in /etc/make.conf yielded a successful compile of tvtime-0.9.10-r1 and 0.9.12. Looks like the choices are to set that temporarily and compile it or just upgrade your gcc to 3.3.2.
See comment #8.
*** Bug 38833 has been marked as a duplicate of this bug. ***