[FFmpeg-cvslog] r18501 - trunk/configure

Diego Biurrun diego
Tue Apr 14 17:10:02 CEST 2009


On Tue, Apr 14, 2009 at 06:51:53PM +0400, 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.
> 
>  >      *-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.

Are the Windows FATE machines using -fno-common?

> OTOH -U__STRICT_ANSI__ is really needed but for a different reason.

Which reason?

Diego



More information about the ffmpeg-cvslog mailing list