[MPlayer-dev-eng] mplayer/mencoder on Mac OS X

Diego Biurrun diego at biurrun.de
Fri Aug 25 00:41:12 CEST 2006


On Fri, Aug 25, 2006 at 12:02:08AM +0200, phildev wrote:
> 
> A recent change seems to have introduced an issue with the .align  
> macro instruction. On Mac OS X, the .align requires that the  
> parameter is a power of 2.
> 
> I discovered the configure script had a problem:  when the test is  
> made, a simple line "asm { .align 3 } ;" is compiled that give an  
> error, saying main() is not defined. The .align 1<<x macro expansion  
> is guessed and will generate a lot of nop instructions when used.
> 
> Applying a simple change in the configure script (changing the line  
> to: main() { asm { .align 3 }; } , the Mac OS X Intel and PowerPC  
> versions compiled fine and I got similar results on my two Macs.

Thanks, fixed.

Diego



More information about the MPlayer-dev-eng mailing list