Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22439 - mozilla-firebird-0.6 fails to compile if -msse2 is in the CFLAGS with the message "Error: suffix or operands invalid for `movd'"
Summary: mozilla-firebird-0.6 fails to compile if -msse2 is in the CFLAGS with the mes...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brad Laue (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-08 07:34 UTC by Christian Apolloni
Modified: 2003-06-08 12:12 UTC (History)
1 user (show)

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


Attachments
Output of the failed emerge (mozilla-firebird.log,73.86 KB, text/plain)
2003-06-08 07:36 UTC, Christian Apolloni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Apolloni 2003-06-08 07:34:48 UTC
The compile fails if -msse2 is in CFLAGS.
The emerge is successful if the -msse2 flag is removed.

I noticed the problem with -r3 and -r4 but I haven't tried other ebuilds with
the problematic flag. BTW in the forums I noticed a discussion that might be
related even if speaking about Mozilla:
http://forums.gentoo.org/viewtopic.php?t=15193

I attach the output of the failed emerge.

Reproducible: Always
Steps to Reproduce:
1. emerge mozilla-firebird with -msse2 in the CFLAGS
Actual Results:  
{standard input}: Assembler messages:
{standard input}:181: Error: suffix or operands invalid for `movd'

Expected Results:  
Successful emerge.

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="oss libg++ libwww mikmod ncurses nls spell zlib gdbm berkdb slang guile gpm
perl python imlib motif -3dfx -3dnow aalib -acpi alsa apache2 -apm -arts avi cdr
crypt cups dga dvd encode -esd gif gnome gpgme gtk gtk2 java jpeg -kde -matrox
mmx -mozilla mpeg oggvorbis opengl pam pdflib png -qt qtmt quicktime readline
samba sasl sdl snmp sse ssl -svga tcpd tiff truetype usb -voodoo3 wmf X xml2
xmms xv x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mfpmath=sse -mmmx -msse2 -Os -pipe"
CXXFLAGS="-march=pentium4 -mfpmath=sse -mmmx -msse2 -Os -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Christian Apolloni 2003-06-08 07:36:04 UTC
Created attachment 12939 [details]
Output of the failed emerge
Comment 2 Brad Laue (RETIRED) gentoo-dev 2003-06-08 11:17:11 UTC
Seems that filter-flags -msse2 should be added in the case where it ratchets Pentium4 down to Pentium3, otherwise evil things will happen.
Comment 3 Brad Laue (RETIRED) gentoo-dev 2003-06-08 11:21:05 UTC
This bug seems to affect the Mozilla ebuild as well
Comment 4 Brad Laue (RETIRED) gentoo-dev 2003-06-08 12:12:58 UTC
Fixed in -r5