Trying to emerge mplayer-1.0_pre6: """ Detected host architecture: i386 Checking for cc version ... 3.4.3-20050110, bad Checking for gcc version ... 3.4.3-20050110, bad Checking for gcc-3.4 version ... not found Checking for gcc-3.3 version ... not found Checking for gcc-3.2 version ... not found Checking for gcc-3.1 version ... not found Checking for gcc3 version ... not found Checking for gcc-3.0 version ... not found Checking for cc version ... 3.4.3-20050110, bad *** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! *** You are not using a supported compiler. We do not have the time to make sure everything works with compilers other than the ones we use. Use either the same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS unless you can reproduce them after recompiling with a 2.95.x or 3.x version! Note for gcc 2.96 users: Some versions of this compiler are known to miscompile mplayer and lame (which is used for mencoder). If you get compile errors, first upgrade to the latest 2.96 release (minimum 2.96-85) and try again. If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting bugs! GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US ! *** For details please read DOCS/HTML/en/users-vs-dev.html *** Error: Bad gcc version """ This appears to be caused by the use of "-20050110" suffix to the version number in gcc --version: """ wintermute / # gcc --version gcc (GCC) 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7) Copyright (C) 2004 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. """ In older versions of Gentoo ebuilds, " " was used instead and mplayer compiled just fine: """ wintermute / # /usr/i686-pc-linux-gnu/gcc-bin/3.3/gcc --version gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6) Copyright (C) 2003 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. """
Confirmed.
same happens here when "emerge --newuse ..." tried to rebuild openoffice-1.1.4, i think this should cont as the same bug
Even worse: trying to compile kdegraphics-3.3.2-r2: libtool: link: cannot find the library `/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la' Indeed, there's no /usr/lib/gcc/i686-pc-linux-gnu/3.4.3 directory, only /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110. Presumably, this breaks many more applications than those doing version checking, possibly even all libtool-based C++ ones?
compiling of kdegraphics again is possible after reemerging qt ..., also a bug?
Vaclav, that can be fixed by running fix_libtool_files.sh 3.4.3, I had the same problem.
same problem here. gcc 3.4.3-20050110 mplayer 1.0_pre6 won't compile same error message
*** Bug 82473 has been marked as a duplicate of this bug. ***
*** Bug 82472 has been marked as a duplicate of this bug. ***
Adding "--disable-gcc-checking" to $myconf solves the problem (but adds a big warning and need to press enter to continue after this warning)
After fighting with this problem too, I fixed it through the following. gcc-config -P 2 2 for me sets the Portage CHOST to gcc-3.4.3.20050110 for me (your results may vary) then i did an etc-update && source /etc/profile removed anything that was already in my /var/tmp/portage/mplayer* and re-emerged and it is compiling now. -Mark Felder
This seems to have been fixed but bug not yet closed (see revision 1.28 here http://www.gentoo.org/cgi-bin/viewcvs.cgi/media-video/mplayer/mplayer-1.0_pre6.ebuild?rev=1.28&view=log)
Guillaume: Same problem with rev. 1.29, doesn't appear to be fixed to me...
Already fixed in cvs.
mplayer-1.0_pre7 bug is neither fixed nor does the workaround work. GCC 3.4.4