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
Make sure the called c++ is actually the one from gcc-3.2.1 ...
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.
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.
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