[FFmpeg-devel] r12525 crashes with gcc 4.3.0 on mingw32, due to a bug in compiler

Måns Rullgård mans
Fri Mar 21 21:45:04 CET 2008


"Zuxy Meng" <zuxy.meng at gmail.com> writes:

> Hi,
>
> I just found that GCC 4.3.0 on MinGW32 incorrectly marks the
> .text.unlikely section as "writable" instead of "executable", which
> causes as to believe it should pad the section with zeros instead of
> nops. The result is catastrophic.

What instruction do zeros decode to?  On most CPUs I've seen, they are
some nop or other.

Whatever the answer, this is clearly a gcc/binutils bug.  Have you
reported it?

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




More information about the ffmpeg-devel mailing list