[MPlayer-users] mplayer liba52 can not compile on the gcc 4.4.0

Kevin DeKorte kdekorte at gmail.com
Mon Apr 27 20:32:50 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/27/2009 12:21 PM, Guillaume POIRIER wrote:
> Hi,
> 
> On Mon, Apr 27, 2009 at 6:33 PM, ginkgo_w <ginkgo_w at yahoo.com.cn> wrote:
>> hello everyone,
>>  I just try install the gcc 4.4.0. and I find the liba52 can not
>> compile on 4.4.0, but on the 4.3.3 it ok.
>>
>> error log
>> ----------------------------------------------------------
>> liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints
>> liba52/imdct.c: In function 'ifft16':
>> liba52/imdct.c:294: warning: array subscript is below array bounds
>> liba52/imdct.c: In function 'ifft64_c':
>> liba52/imdct.c:310: warning: array subscript is below array bounds
>> liba52/imdct.c: In function 'ifft128_c':
>> liba52/imdct.c:318: warning: array subscript is below array bounds
>> liba52/imdct.c:322: warning: array subscript is below array bounds
>> make: *** [liba52/imdct.o] error 1
>> ----------------------------------------------------
>>
>> Can anyone give a suggestion?
> 
> Works fine here on AMD64, without fiddling with compilation flags. Did
> you fiddle with compilation flags? Whatever you did, please give the
> full compilation commandline sent to GCC.
> 
> Guillaume

Guillaume,

It only appears to happen when compiling with gcc 4.4 in 32bit mode.
I've ran into this situation about 2-3 weeks ago using Fedora rawhide.
As compilation of mplayer just quit working after gcc 4.4 was upgraded.
I've went back several versions in SVN, even to known working (ie could
compile) versions and so far it seems to be a register starvation issue
with the new GCC.

For now disabling internal liba52 seems to be one workaround for
compiling 32bit mplayer with gcc 4.4.

Kevin

- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkn1+lIACgkQ6w2kMH0L1dEDkQCfZ8VpC9t3lAs4IMF6LUEAjFTH
uaoAn1Ptsm41UopfPAgFtA7AO9N1zLNt
=m4st
-----END PGP SIGNATURE-----


More information about the MPlayer-users mailing list