Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31952 - When compiled with -march=pentium4 the mythmusic ebuild fails
Summary: When compiled with -march=pentium4 the mythmusic ebuild fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-24 18:07 UTC by Chrispy
Modified: 2003-10-28 18:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chrispy 2003-10-24 18:07:26 UTC
With the -march=pentium4 CFLAG, the ebuild will fail at the visualisation compilation, complaining 
about "suffix or operands invalid for `add' " as follows :

gcc -c -pipe -Wall -W -O3 -march=pentium4 -fomit-frame-pointer -D_REENTRANT -fPIC 
-D_GNU_SOURCE -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/
usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/qt/3/include -I/usr/X11R6/include -o 
zoom_filter_mmx.o goom/zoom_filter_mmx.c 

gcc -c -pipe -Wall -W -O3 -march=pentium4 -fomit-frame-pointer -D_REENTRANT -fPIC 
-D_GNU_SOURCE -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/
usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/qt/3/include -I/usr/X11R6/include -o 
zoom_filter_xmmx.o goom/zoom_filter_xmmx.c 

{standard input}: Assembler messages: 

{standard input}:71: Error: suffix or operands invalid for `add' 

make[1]: *** [zoom_filter_xmmx.o] Error 1 

make[1]: *** Waiting for unfinished jobs.... 

make[1]: Leaving directory `/var/tmp/portage/mythmusic-cvs-0.10/work/mythmusic/mythmusic' 

make: *** [sub-mythmusic] Error 2

Reproducible: Always
Steps to Reproduce:
1. set your CFLAGS to "-march=pentium4"
2. emerge mythmusic
3. watch it fail
Actual Results:  
the ebuild fails

Expected Results:  
The The ebuild should strip any instance of "pentium4" in the CFLAGS and replace it with 
"pentium3"

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22-ac4)
============================================================
=====
System uname: 2.4.22-ac4 i686 Intel(R) Celeron(R) CPU 2.30GHz
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/
3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp http://gentoo.oregonstate.edu http://
www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="x86 crypt foomaticdb imlib kde libg++ mad motif quicktime xml2 zlib gdbm slang svga gpm 
tcpd libwww ssl python gtk alsa acpi -apm -arts avi berkdb -cups dga -directfb dvd encode -esd 
fbcon gif -gnome gtk2 -java jpeg -mikmod mmx mpeg mysql ncurses -nls oggvorbis opengl oss 
pam -pdflib perl png qt readline -samba -spell sse tiff truetype X xv apache2 -xmms sdl lirc 
video_cards_radeon"
Comment 1 Max Kalika (RETIRED) gentoo-dev 2003-10-27 20:21:41 UTC
Can you try it with -march=pentium3 ?  If that works, we'll filter it.
Comment 2 Chrispy 2003-10-27 20:26:57 UTC
it works with -march=pentium3
Comment 3 Max Kalika (RETIRED) gentoo-dev 2003-10-28 08:46:01 UTC
Fixed in cvs.
Comment 4 Chrispy 2003-10-28 18:14:54 UTC
thanks