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

lance.lmwang at gmail.com lance.lmwang at gmail.com
Sat Jan 4 18:02:36 EET 2020


On Sat, Jan 04, 2020 at 03:35:42PM +0100, Hendrik Leppkes wrote:
> 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.

https://trac.macports.org/ticket/58776

> 
> - Hendrik
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".

-- 
Thanks,
Limin Wang


More information about the ffmpeg-devel mailing list