[FFmpeg-cvslog] r18501 - trunk/configure

Michael Kostylev michael.kostylev
Tue Apr 14 16:51:53 CEST 2009


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.
OTOH -U__STRICT_ANSI__ is really needed but for a different reason.

Michael



More information about the ffmpeg-cvslog mailing list