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

Zuxy Meng zuxy.meng
Mon May 12 06:52:11 CEST 2008


2008/3/22 avcoder. net <ffmpeg at gmail.com>:
> On Sat, Mar 22, 2008 at 4:01 AM, Zuxy Meng <zuxy.meng at gmail.com> wrote:
>> 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.
>> Good news is that few are affected, though.
> Sadly, I am one of victims
> I spent a whole night to trace the bug!
> How to fix it?

Fixed in gcc 4.3.1

Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6

More information about the ffmpeg-devel mailing list