On Fri, 20 Jan 2023 13:26:20 +0100
Corinna Vinschen wrote:
> On Jan 20 21:18, Takashi Yano via Cygwin wrote:
> > On Fri, 20 Jan 2023 12:30:29 +0100
> > Corinna Vinschen wrote:
> > > Also, your ffplay executable isn't high-entropy-VA enabled, by any
> > > chance?
> > 
> > I'm sorry, but the high-entropy-va is ebabled.
> > 
> > $ peflags -v /usr/bin/ff{mpeg,probe,play}
> > /usr/bin/ffmpeg: 
> > coff(0x022e[+executable_image,+line_nums_stripped,+local_syms_stripped,+bigaddr,+sepdbg])
> >  pe(0x8160[+high-entropy-va,+dynamicbase,+nxcompat,+tsaware])
> > /usr/bin/ffprobe: 
> > coff(0x022e[+executable_image,+line_nums_stripped,+local_syms_stripped,+bigaddr,+sepdbg])
> >  pe(0x8160[+high-entropy-va,+dynamicbase,+nxcompat,+tsaware])
> > /usr/bin/ffplay: 
> > coff(0x022e[+executable_image,+line_nums_stripped,+local_syms_stripped,+bigaddr,+sepdbg])
> >  pe(0x8160[+high-entropy-va,+dynamicbase,+nxcompat,+tsaware])
> 
> Btw., how did this happen?  The native Cygwin compiler/linker combo
> usually doesn't set the dynamicbase and high-entropy-VA flags by
> default...

Perhaps this is because configure of ffmpeg explicitly
has the following lines:

check_ldflags -Wl,--nxcompat,--dynamicbase
check_ldflags -Wl,--high-entropy-va # binutils 2.25

Removing these lines makes ff{mpeg,probe,play} disable
both high-entropy-va and dynamicbase flags.

-- 
Takashi Yano <takashi.y...@nifty.ne.jp>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to