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

Zuxy Meng zuxy.meng
Fri Mar 21 21:54:54 CET 2008


2008/3/22, M?ns Rullg?rd <mans at mansr.com>:
> "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?

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35661

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




More information about the ffmpeg-devel mailing list