[FFmpeg-cvslog] r18501 - trunk/configure

Ramiro Polla ramiro
Tue Apr 14 17:12:29 CEST 2009


Michael Kostylev wrote:
> At Tue, 14 Apr 2009 00:54:21 +0200 (CEST),
> ramiro wrote:
>  
>  > Log:
>  > win32, dos: Work around a bug in the GNU toolchain.
>  > The bug[1] is exposed when gcc decides to put some data in a common
>  > section (i.e. data that will be used by more than one object). It will
>  > suggest the data to be aligned, but binutils >= 2.19 will fail to
>  > properly align it. Thus if the data requires any alignment greater
>  > than 4, the application will crash.
>  > The workaround prevents gcc from putting data in a common section,
>  > instead putting it in a properly aligned section.
> 
> There is a much better way to get the necessary alignment on dos, 
> the binutils version doesn't matter at all.

Even for .comm? And what way is that?

>  >      *-dos|freedos|opendos)
>  >          disable ffplay ffserver
>  > @@ -1659,6 +1661,7 @@ case $target_os in
>  >          network_extralibs="-lsocket"
>  >          objformat="coff"
>  >          enable dos_paths
>  > +        check_cflags -fno-common
> 
> My FATE machine works almost perfectly (253/254) without that.

Is it safe to remove it then? I was under the impression the dos builds 
also used PE.

Ramiro Polla



More information about the ffmpeg-cvslog mailing list