Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10772 - Mozilla 1.1 ebuild - Some CCFLAGS set by the user need to be removed
Summary: Mozilla 1.1 ebuild - Some CCFLAGS set by the user need to be removed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL: http://www.mozilla.org Mozilla 1.1 eb...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-15 07:34 UTC by Adrian Almenar
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 Adrian Almenar 2002-11-15 07:34:36 UTC
if these flags are set: "-msse -msse2 -mmmx" 
 
the ebuild its going to fail with this message: 
 
gcc -o prdtoa.o -c    -O3 -march=pentium3 -pipe -msse -msse2 -mmmx -mfpmath=sse  
-Wno-return-type -w -pipe -ansi  -pthread -O2 -fPIC  -UDEBUG  -DMOZILLA_CLIENT=1 
-DNDEBUG=1 -DXP_UNIX=1 -D_POSIX_SOURCE=1 -D_BSD_SOURCE=1 
-D_SVID_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_FCNTL_FILE_LOCKING=1 
-DLINUX=1 -Di386=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1  
-DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_PR_INET6 
-D_NSPR_BUILD_ -I/var/tmp/portage/mozilla-1.1-r1/work/mozilla/dist/include/nspr 
-I../../../pr/include -I../../../pr/include/private  prdtoa.c 
{standard input}: Assembler messages: 
{standard input}:186: Error: suffix or operands invalid for `movd' 
make[5]: *** [prdtoa.o] Error 1 
make[5]: Leaving directory `/var/tmp/portage/mozilla-1.1-r1/work/mozilla/nsprpub/pr/src/misc' 
make[4]: *** [export] Error 2 
make[4]: Leaving directory `/var/tmp/portage/mozilla-1.1-r1/work/mozilla/nsprpub/pr/src' 
make[3]: *** [export] Error 2 
make[3]: Leaving directory `/var/tmp/portage/mozilla-1.1-r1/work/mozilla/nsprpub/pr' 
make[2]: *** [export] Error 2 
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.1-r1/work/mozilla/nsprpub' 
make[1]: *** [nspr] Error 2 
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.1-r1/work/mozilla' 
make: *** [default] Error 2 
 
!!! ERROR: net-www/mozilla-1.1-r1 failed. 
!!! Function src_compile, Line 221, Exitcode 2 
!!! (no error message)
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-15 12:04:46 UTC
Its not my job to fix gcc, or teach the user sense ?
Comment 2 SpanKY gentoo-dev 2002-11-15 19:08:06 UTC
the sse flags usually break a lot of packages ... 
Comment 3 Adrian Almenar 2002-11-15 22:50:56 UTC
Well, i have been using these flags, and everything compiled ok (gcc-3.2-r4 adn
glibc-2.3.1-r2) the only thing that never compiled ok with these flags was mozilla.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-16 14:31:06 UTC
So as well glibc and xfree.  They however have the strip-flags.  My point is
thus:

  Should we have multiple filter-flags lines in ebuilds ?  What happens if
  gcc devs actually fix the broken optimization in gcc3 ?

I do not really want to strip-flags mozilla as well, as it can get sorda slow
on older boxes, and using saver flags might improve speed.  I am however *not*
going to clutter it with removing every flag that makes it fail.

I am also not going to test it with each flag, as its going to waiste my time.

Also, some -march's cause some flags to fail more than for others ...
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-20 09:08:15 UTC
Ok, done (added strip-flags).