Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86472 - mplayer-1.0_pre6-r1/-r2 -frename-registers not valid on gcc-2.95
Summary: mplayer-1.0_pre6-r1/-r2 -frename-registers not valid on gcc-2.95
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 23:24 UTC by Matt Taylor
Modified: 2005-09-02 15:26 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 Matt Taylor 2005-03-23 23:24:19 UTC
fix from bug 75690 adds -frename-registers to the mplayer compile, but that's not valid on gcc-2.95 giving this output:

>>> Source unpacked.
 * No LINGUAS given, defaulting to English
 * You have 3dnowex support enabled but your processor doesn't
 * Seem to support it!  You might be cross compiling or do not have /proc filesystem
 * enabled.  If either is the case, set CROSSCOMPILE to 1 to disable this warning.
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 2.95.3, ok
Checking for host cc ... cc
Checking for CPU vendor ... AuthenticAMD (6:10:0)
Checking for CPU type ...  AMD Athlon(tm) 
Checking for GCC & CPU optimization abilities ... Your cc does not even support "i386" for '-march' and '-mcpu'.
error
Checking for kernel support of mmx ... failed
It seems that your kernel does not correctly support mmx.
To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of mmx2 ... failed
It seems that your kernel does not correctly support mmx2.
To use mmx2 extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of 3dnow ... failed
It seems that your kernel does not correctly support 3dnow.
To use 3dnow extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of 3dnowex ... failed
It seems that your kernel does not correctly support 3dnowex.
To use 3dnowex extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of sse ... failed
It seems that your kernel does not correctly support sse.
To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
and no for every other thing configure checks for

also the bug number refereced in the comment about adding this flag in the ebuild is wrong...it has bug 75960 when it should be bug 75690
Comment 1 Luca Barbato gentoo-dev 2005-08-04 11:01:04 UTC
is this problem still valid?
Comment 2 Matt Taylor 2005-08-07 20:32:57 UTC
# emerge mplayer
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/mplayer-1.0_pre7 to /
>>> md5 files   ;-) mplayer-1.0_pre7.ebuild
>>> md5 files   ;-) mplayer-1.0_pre6-r4.ebuild
>>> md5 files   ;-) mplayer-1.0_pre6-r5.ebuild
>>> md5 files   ;-) mplayer-1.0_pre6-r6.ebuild
>>> md5 files   ;-) files/mplayer.desktop
>>> md5 files   ;-) files/mplayer-nl.patch
>>> md5 files   ;-) files/mplayer-1.0_pre6-configure.patch
>>> md5 files   ;-) files/digest-mplayer-1.0_pre7
>>> md5 files   ;-) files/mplayer-1.0_pre6-ppc64.patch
>>> md5 files   ;-) files/mplayer-avi_crash.patch
>>> md5 files   ;-) files/mplayer-gcc_detection.patch
>>> md5 files   ;-) files/mplayer-jack.patch
>>> md5 files   ;-) files/mplayer-1.0_pre7-gcc4.patch
>>> md5 files   ;-) files/mplayer-1.0_pre6-codecs.patch
>>> md5 files   ;-) files/mplayer-1.0_pre7-gcc_detection.patch
>>> md5 files   ;-) files/mmst_fix_20050415.diff
>>> md5 files   ;-) files/mplayer-1.0_pre6-pic.patch
>>> md5 files   ;-) files/mplayer-mythtv.patch
>>> md5 files   ;-) files/digest-mplayer-1.0_pre6-r4
>>> md5 files   ;-) files/digest-mplayer-1.0_pre6-r5
>>> md5 files   ;-) files/digest-mplayer-1.0_pre6-r6
>>> md5 files   ;-) files/rtsp_fix_20050415.diff
>>> md5 src_uri ;-) MPlayer-1.0pre7.tar.bz2
>>> md5 src_uri ;-) font-arial-iso-8859-1.tar.bz2
>>> md5 src_uri ;-) font-arial-iso-8859-2.tar.bz2
>>> md5 src_uri ;-) font-arial-cp1250.tar.bz2
>>> md5 src_uri ;-) svgalib_helper-1.9.17-mplayer.tar.bz2
>>> md5 src_uri ;-) Blue-1.4.tar.bz2
>>> Unpacking source...
>>> Unpacking MPlayer-1.0pre7.tar.bz2 to
/mnt/portage/tmp/portage/mplayer-1.0_pre7/work
>>> Unpacking font-arial-iso-8859-1.tar.bz2 to
/mnt/portage/tmp/portage/mplayer-1.0_pre7/work
>>> Unpacking font-arial-iso-8859-2.tar.bz2 to
/mnt/portage/tmp/portage/mplayer-1.0_pre7/work
>>> Unpacking font-arial-cp1250.tar.bz2 to
/mnt/portage/tmp/portage/mplayer-1.0_pre7/work
>>> Unpacking svgalib_helper-1.9.17-mplayer.tar.bz2 to
/mnt/portage/tmp/portage/mplayer-1.0_pre7/work
>>> Unpacking Blue-1.4.tar.bz2 to /mnt/portage/tmp/portage/mplayer-1.0_pre7/work

 * Enabling vidix non-root mode.
 * (You need a proper svgalib_helper.o module for your kernel
 *  to actually use this)

 * Applying mplayer-1.0_pre6-ppc64.patch ...                              [ ok ]
 * Applying mplayer-1.0_pre7-gcc4.patch ...                               [ ok ]
 * Applying mplayer-1.0_pre7-gcc_detection.patch ...                      [ ok ]
>>> Source unpacked.
 * No LINGUAS given, defaulting to English
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 2.95, bad
Checking for gcc version ... 2.95, bad
Checking for gcc-3.4 version ... ./configure: line 1: gcc-3.4: command not
found, bad
Checking for gcc-3.3 version ... ./configure: line 1: gcc-3.3: command not
found, bad
Checking for gcc-3.2 version ... ./configure: line 1: gcc-3.2: command not
found, bad
Checking for gcc-3.1 version ... ./configure: line 1: gcc-3.1: command not
found, bad
Checking for gcc3 version ... ./configure: line 1: gcc3: command not found, bad
Checking for gcc-3.0 version ... ./configure: line 1: gcc-3.0: command not
found, bad
Checking for cc version ... 2.95, 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

Check "configure.log" if you do not understand why it failed.

!!! ERROR: media-video/mplayer-1.0_pre7 failed.
!!! Function src_compile, Line 480, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



# emerge info
Portage 2.0.51.22-r2 (!/usr/portage/profiles/default-linux/x86/gcc2, gcc-2.95.3,
glibc-2.2.5-r9, 2.6.11-gentoo-r10 i686)
=================================================================
System uname: 2.6.11-gentoo-r10 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/mnt/portage/portage/distfiles"
FEATURES="autoconfig digest distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/
http://ftp-mirror.internap.com/pub/gentoo/ http://gentoo.mirrors.pair.com/
http://mirror.clarkson.edu/pub/distributions/gentoo/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/portage/tmp"
PORTDIR="/mnt/portage/portage"
PORTDIR_OVERLAY="/mnt/portage/portage-local"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apm avi bash-completion berkdb bitmap-fonts
bonobo canna cdr crypt cups curl directfb dvd eds emboss encode esd fam flac
font-server foomaticdb fortran gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml
guile imagemagick imlib ipv6 jpeg ldap libg++ libwww mad mikmod mmx mmxext motif
mozilla mp3 mpeg ncurses ogg oggvorbis opengl oss pam pdflib perl png python
readline samba sdl slang snmp spell sse ssl svga tcltk tcpd tiff truetype
truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-02 15:26:13 UTC
pre7 doesn't use it