[FFmpeg-devel] Patch: Inline asm fixes for Intel compiler on Windows

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Mar 29 14:37:49 CET 2014


On Sat, Mar 29, 2014 at 02:30:05PM +0100, Michael Niedermayer wrote:
> On Sat, Mar 29, 2014 at 02:14:00PM +0100, Reimar Döffinger wrote:
> > On Sat, Mar 29, 2014 at 01:58:01PM +0100, Michael Niedermayer wrote:
> > > On Sat, Dec 28, 2013 at 03:23:51PM +0100, Reimar Döffinger wrote:
> > > > > -    __asm__ ("cltd                   \n\t"      \
> > > > > +    __asm__ ("cdq                    \n\t"      \
> > > > 
> > > > This one will break Solaris for example.
> > > 
> > > have you tested this ?
> > > 
> > > i get no error when compiling asm cdq on opensolaris
> > 
> > Not recently, it's a bit hard to get my hands on.
> > Note that I mean using suncc on Solaris, in case you only
> > tested gcc.
> 
> i tried both but i havnt checked what they generated
> 
> version is
> Sun Ceres C 5.10 SunOS_i386 2009/03/06

Strange. Seems they must have fixed it shortly after my tests (and
it's actually/of course binutils that causes the issues, not the compiler).
See:
http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2008-February/046323.html
Though maybe it's reasonable to just change it back then.


More information about the ffmpeg-devel mailing list