[MPlayer-users] mplayer from svn fails to compile on Fedora rawhide gcc4.4

Antonio Olivares olivares14031 at yahoo.com
Mon Mar 23 23:28:15 CET 2009





--- On Tue, 3/17/09, Jakub Jelinek <jakub at redhat.com> wrote:

> From: Jakub Jelinek <jakub at redhat.com>
> Subject: Re: mplayer from svn fails to compile
> To: "Antonio Olivares" <olivares14031 at yahoo.com>
> Date: Tuesday, March 17, 2009, 11:53 AM
> On Tue, Mar 17, 2009 at 11:14:54AM -0700, Antonio Olivares
> wrote:
> > > Of course.  You need to grep for imdct.c in the
> make
> > > output, then assuming
> > > it was compiled say with
> > > gcc -O2 -m32 -march=core2 -mtune=generic
> -funroll-loops
> > > lib/imdct.c
> > > run
> > > /usr/bin/gcc -save-temps -O2 -m32 -march=core2
> > > -mtune=generic -funroll-loops lib/imdct.c
> > > and mail me imdct.i it creates (imdct.c is
> useless) and the
> > > list of options
> > > (i.e. in the above hypothetical case it would be
> > > gcc -O2 -m32 -march=core2 -mtune=generic
> -funroll-loops
> > > lib/imdct.c
> > > ).  See http://gcc.gnu.org/bugs.html for more
> details about
> > > preparing
> > > preprocessed testcase and whatever else is needed
> for a
> > > proper bug report.
> > > 
> > > 	Jakub
> > 
> > I have done part of it, but the program fails to
> compile :(
> 
> You still misunderstand what I said.  The
> "-O2 -m32 -march=core2 -mtune=generic
> -funroll-loops"
> in the above stands just as an example of compiler options
> used
> to compile the file.
> Just do
> find . -name imdct.o | xargs rm
> # Probably at mplayer's toplevel dir
> make 2>&1 | grep imdct.c > LOG
> and then copy&paste the compiler options from LOG, add
> -save-temps
> and replace gcc with /usr/bin/gcc.
> 
> 	Jakub

I updated to svn latest, using svn update 

and I still see the messages

In file included from liba52/imdct.c:729:                                       
liba52/imdct_3dnow.h: In function 'T.65':                                       
liba52/imdct_3dnow.h:289: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'                                                            
liba52/imdct_3dnow.h:283: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'                                                            
liba52/imdct_3dnow.h:289: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'                                                            
liba52/imdct_3dnow.h:283: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'                                                            
liba52/imdct_3dnow.h:289: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'                                                            
liba52/imdct_3dnow.h:283: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'                                                            
liba52/imdct_3dnow.h:289: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'                                                            
liba52/imdct_3dnow.h:257: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'                                                            
liba52/imdct_3dnow.h:283: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'                                                            
liba52/imdct_3dnow.h:289: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'                                                            
liba52/imdct_3dnow.h:257: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'                                                            
liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:283: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:289: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:292: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:292: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:93: error: 'asm' operand has impossible constraints        
liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:93: error: 'asm' operand has impossible constraints        
liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:257: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:258: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:258: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:93: error: 'asm' operand has impossible constraints        
liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:283: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:289: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:292: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:292: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:93: error: 'asm' operand has impossible constraints        
liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:283: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:289: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:292: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:292: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:257: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:258: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:93: error: 'asm' operand has impossible constraints        
liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:283: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:289: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:292: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:292: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:93: error: 'asm' operand has impossible constraints        
liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:93: error: 'asm' operand has impossible constraints        
liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:257: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:258: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:258: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:93: error: 'asm' operand has impossible constraints        
liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:283: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:289: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:292: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:292: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:93: error: 'asm' operand has impossible constraints        
liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:93: error: 'asm' operand has impossible constraints        
liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:257: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:258: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:258: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:257: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:258: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints       
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:263: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:262: error: 'asm' operand has impossible constraints
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

Sorry Jakub for not getting to you earlier(was on Spring Break now back at work), but here is what I did:

[olivares at riohigh mplayer]$ cd liba52/
[olivares at riohigh liba52]$ /usr/bin/gcc -save-temps -O2 -m32 -march=core2 -mtune=generic -funroll-loops lib/imdct.c
gcc: lib/imdct.c: No such file or directory
gcc: no input files
[olivares at riohigh liba52]$ /usr/bin/gcc -save-temps -O2 -m32 -march=core2 -mtune=generic -funroll-loops imdct.c
imdct.c:36:20: error: config.h: No such file or directory
imdct.c:51:20: error: mangle.h: No such file or directory
[olivares at riohigh liba52]$


Thank you in advance for your help. 
Also cc'd to you, and sent to mplayer-users at mplayerhq.hu for troubleshooting help :)

Regards,

Antonio 



      


More information about the MPlayer-users mailing list