[MPlayer-dev-eng] [PATCH] gcc 4.4.0 and liba52 internal

Andrew Savchenko bircoph at gmail.com
Sun May 10 12:02:33 CEST 2009


Hi,

On Sunday 10 May 2009, KO Myung-Hun wrote:
> Hi/2.
>
> Andrew Savchenko wrote:
> > Hi,
> >
> > On Sunday 10 May 2009, KO Myung-Hun wrote:
> >> Hi/2.
> >>
> >> This patch fixes the error as the attachment when compiling 
liba52
> >> internal version with gcc 4.4.0 with -O4.
> >>
> >> We can avoid the error using -O2 instead of -O4.
> >
> > -Ox is set of flags. Can you tell which flag exactly triggers 
this?
> > It is important to understand whether this is gcc bug or bug in
> > liba52.
>
> I'm sorry what I tried are just -O2, -O3 and -O4. Of them, only -O2
> succeeded.

Ok, but you misunderstood me. As of gcc-4.3.3 -O3 differs from -O2 by 
the following flags: -finline-functions, -funswitch-loops,
-fpredictive-commoning, -fgcse-after-reload, -ftree-vectorize.
For gcc-4.4.0 this may differ, so please refer to gcc manual. -O4 has 
no difference from -O3 in gcc for now.

Then, please, try to compile with -O2 and wiht one of the -O3-specific 
flags consecutively in order to find flag causing this problem. In 
theory it is possible that not a single flag, but combination of some 
flags causes this issue, but likelihood of latter event is rather 
low.

-- 
Best regards,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090510/da56d96b/attachment.pgp>


More information about the MPlayer-dev-eng mailing list