Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15691 - xfree-4.2.1-r2 fails to compile with -mno-mmx with gcc 3.2.1
Summary: xfree-4.2.1-r2 fails to compile with -mno-mmx with gcc 3.2.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-14 07:36 UTC by Kim Nielsen
Modified: 2003-02-17 07:17 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 Kim Nielsen 2003-02-14 07:36:41 UTC
For some reason my compiler does not like the -mno-mmx set directly in the ebuild. Why is it 
here ? shouldn't it be something you should set in your CFLAGS ? 
 
make[5]: Entering directory 
`/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GL/mesa/src/drv/r128' 
install -c r128_dri.so /var/tmp/portage/xfree-4.2.1-r2/image//usr/X11R6/lib/modules/dri 
install in lib/GL/mesa/src/drv/r128 done 
make[5]: Leaving directory 
`/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GL/mesa/src/drv/r128' 
installing in lib/GL/mesa/src/drv/radeon... 
make[5]: Entering directory 
`/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GL/mesa/src/drv/radeon' 
install -c radeon_dri.so /var/tmp/portage/xfree-4.2.1-r2/image//usr/X11R6/lib/modules/dri 
install in lib/GL/mesa/src/drv/radeon done 
make[5]: Leaving directory 
`/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GL/mesa/src/drv/radeon' 
installing in lib/GL/mesa/src/drv/sis... 
make[5]: Entering directory 
`/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GL/mesa/src/drv/sis' 
install -c sis_dri.so /var/tmp/portage/xfree-4.2.1-r2/image//usr/X11R6/lib/modules/dri 
install in lib/GL/mesa/src/drv/sis done 
make[5]: Leaving directory 
`/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GL/mesa/src/drv/sis' 
make[4]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GL/mesa/src/drv' 
make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GL' 
installing in lib/GLU... 
make[3]: Entering directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GLU' 
making all in lib/GLU/include... 
make[4]: Entering directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GLU/include' 
make[4]: Nothing to be done for `all'. 
make[4]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GLU/include' 
making all in lib/GLU/libutil... 
make[4]: Entering directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GLU/libutil' 
make[4]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GLU/libutil' 
making all in lib/GLU/libtess... 
make[4]: Entering directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GLU/libtess' 
make[4]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GLU/libtess' 
making all in lib/GLU/libnurbs/internals... 
make[4]: Entering directory 
`/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GLU/libnurbs/internals' 
rm -f arc.o unshared/arc.o 
c++ -c   -I../nurbtess  -I../../libutil         -I../../include         -I../../../../include   
-I../../../../include/GL -I../../../.. -I../../../../exports/include  -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
-D_SVID_SOURCE  -D_GNU_SOURCE    -D_EXTENSIONS_       -DLIBRARYBUILD  -DNDEBUG  
-mno-mmx   arc.cc -o unshared/arc.o 
cc1plus: Invalid option `no-mmx' 
make[4]: *** [arc.o] Error 1 
make[4]: Leaving directory 
`/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GLU/libnurbs/internals' 
make[3]: *** [libnurbs/internals] Error 2 
make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib/GLU' 
make[2]: *** [install] Error 2 
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/lib' 
make[1]: *** [install] Error 2 
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc' 
make: *** [install] Error 2 
 
!!! ERROR: x11-base/xfree-4.2.1-r2 failed. 
!!! Function src_install, Line 331, Exitcode 2 
!!! (no error message) 
 

Reproducible: Always
Steps to Reproduce:
1.emerge xfree
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-16 00:55:22 UTC
Make sure the called c++ is actually the one from gcc-3.2.1 ...
Comment 2 Kim Nielsen 2003-02-16 13:42:24 UTC
thoth root # which gcc
/usr/bin/gcc
thoth root # gcc --version
gcc (GCC) 3.2.1 20021207 (Gentoo Linux 3.2.1-20021207)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.thoth root # g++ --version
g++ (GCC) 3.2.1 20021207 (Gentoo Linux 3.2.1-20021207)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-16 21:08:11 UTC
No, c++, not gcc ...

---------------------------------------------
$ c++ --version
c++ (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Comment 4 Kim Nielsen 2003-02-17 07:17:21 UTC
That was the problem .. c++ was still gcc 2.95.x .. I deleted the c++ and linked it to g++ 3.2.1 .. it this works .. must be some error in gcc-config. Anyway my problem is solved