[FFmpeg-devel] [PATCH]Fix PGC compilation

Michael Niedermayer michaelni at gmx.at
Thu Apr 18 12:32:03 CEST 2013


On Wed, Apr 17, 2013 at 01:48:15PM +0000, Carl Eugen Hoyos wrote:
> Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
> 
> > ./configure --enable-gpl --cc=/opt/pgi/linux86/13.4/bin/pgcc 
> > --disable-asm --host-cc=gcc
> > 
> > asm is limited to 1024 characters (and has to be disabled), 
> > tiny_psnr is miscompiled and always shows a very large PSNR.
> > 
> > 32bit:
> > 
> > smacker.c needs -O1 to pass fate
> 
> This is no problem on 64bit.
> 
> > Originally, -Mdse (dead store elimination) was not used for 
> > compilation with pgc, this was changed in 8f23907 (also see 
> > the very enlightening commit message), the following fate 
> > tests fail since:
> > vsynth*-dnxhd-720p-rd (dnxhdenc.c)
> > fate-tiff-fax-g3* (faxcompr.c)
> 
> These are also reproducible with 64bit.
> 
> Additionally, 64bit has the following problems:
> movenc.o needs -O1, it segfaults with an illegal 
> instruction (?) in mov_write_stts_tag()
> 
> The following fate tests also fail, I was unable 
> to find a workaround:
> fate-acodec-ra144
> fate-lavf-ogg

some random options i found in the manual that could be tried to
see if they fix any tests
-Kieee
-alias=traditional
-­Mreentrant
-­Mstride0

None of above tried (i dont have pgc installed currently)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130418/a68a3af8/attachment.asc>


More information about the ffmpeg-devel mailing list