Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82275 - gcc-3.4.3.20050110's version string breaks mplayer-1.0_pre6's configure
Summary: gcc-3.4.3.20050110's version string breaks mplayer-1.0_pre6's configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 82472 82473 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-16 11:38 UTC by REMOVED ACCOUNT
Modified: 2005-06-17 06:09 UTC (History)
3 users (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 REMOVED ACCOUNT 2005-02-16 11:38:56 UTC
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.
"""
Comment 1 Max Powers 2005-02-16 18:21:09 UTC
Confirmed.
Comment 2 Fritz Heinrichmeyer 2005-02-16 23:44:53 UTC
same happens here when "emerge --newuse ..." tried to rebuild openoffice-1.1.4, i think this should cont as the same bug
Comment 3 REMOVED ACCOUNT 2005-02-17 01:11:01 UTC
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?
Comment 4 Fritz Heinrichmeyer 2005-02-17 01:56:46 UTC
compiling of kdegraphics again is possible after reemerging qt ..., also a bug?
Comment 5 Charles Pence 2005-02-18 06:58:01 UTC
Vaclav, that can be fixed by running fix_libtool_files.sh 3.4.3, I had the same problem.
Comment 6 moowei 2005-02-18 08:30:19 UTC
same problem here.
gcc 3.4.3-20050110
mplayer 1.0_pre6 won't compile
same error message
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-18 10:26:33 UTC
*** Bug 82473 has been marked as a duplicate of this bug. ***
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-18 10:27:57 UTC
*** Bug 82472 has been marked as a duplicate of this bug. ***
Comment 9 Guillaume Castagnino 2005-02-19 08:41:26 UTC
Adding "--disable-gcc-checking" to $myconf solves the problem (but adds a big warning and need to press enter to continue after this warning)
Comment 10 Mark Felder 2005-02-20 17:40:47 UTC
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
Comment 11 Guillaume Castagnino 2005-02-23 13:48:36 UTC
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)
Comment 12 Robert Führicht 2005-02-25 06:12:15 UTC
Guillaume: Same problem with rev. 1.29, doesn't appear to be fixed to me...
Comment 13 Chris White (RETIRED) gentoo-dev 2005-02-25 13:54:34 UTC
Already fixed in cvs.
Comment 14 runlevel0 2005-06-17 06:09:07 UTC
mplayer-1.0_pre7

bug is neither fixed nor does the workaround work.

GCC 3.4.4