[FFmpeg-cvslog] r18501 - trunk/configure

Måns Rullgård mans
Tue Apr 14 17:09:04 CEST 2009


Michael Kostylev <michael.kostylev at gmail.com> writes:

> 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.

Please enlighten us.

>  >      *-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.

What fails?

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

WTF?

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list