[FFmpeg-devel] [PATCH] Workaround to build ffmpeg on MacOs 10.15

Hendrik Leppkes h.leppkes at gmail.com
Sat Jan 4 16:35:42 EET 2020


On Sat, Jan 4, 2020 at 3:27 PM Timo Rothenpieler <timo at rothenpieler.org> wrote:
>
> On 04.01.2020 14:37, Michael Niedermayer wrote:
> > I dont know how effective this is or what exactly this option does, i
> > couldnt find documentation for it quickly what it does in clang on macosx.
> > google keeps pointing to gcc
> > but
> >
> > a crash is better than arbitrary code execution, which IIUC is the idea
> > here, if the stack of a thread grows too much, crash instead of overwriting
> > something that comes after it.
> > Not crashing when the stack overlapps another threads stack or heap is
> > unlikely to be better.
> >
> > That said, thats when things work, IIUC theres some kind of bug in the
> > apple compiler.
> > If that is true the workaround of disablng the flag should only be
> > enabled when a affected compiler is used
>
> This seems to be a known bug for quite a while now, why did it not get
> fixed in the compiler yet?

Because it doesn't affect Apple themselves, and reaction time to
external bug reports is in months at best.

- Hendrik


More information about the ffmpeg-devel mailing list