[FFmpeg-devel] [PATCH]Fix PGC compilation

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Apr 17 15:48:15 CEST 2013


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

It should be added that compilation of twinvq.o 
takes ages.

Carl Eugen


Warnings for movenc.c:
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 114)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 116)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 138)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 176)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 205)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 225)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 226)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 227)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 247)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 293)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 301)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 333)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 408)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 428)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 443)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 447)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 454)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 563)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 574)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 754)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 755)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 768)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 778)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 779)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 780)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 785)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 786)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 787)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 792)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 793)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 794)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1017)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1038)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1065)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1085)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1109)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1161)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1178)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1188)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1198)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1236)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1278)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1292)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1298)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1308)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1330)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1338)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1348)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1361)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1369)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1371)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1388)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1404)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1414)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1424)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1470)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1472)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1473)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1479)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1490)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1504)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1535)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1567)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1603)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1674)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1677)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1683)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1689)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1715)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1717)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1752)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1763)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1764)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1769)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1791)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1793)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1795)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1796)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1805)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1841)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1856)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1871)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1898)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1934)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1937)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1938)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1951)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1954)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1961)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1971)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2010)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2012)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2028)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2030)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2054)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2066)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2101)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2141)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2144)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2150)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2164)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2177)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2232)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2243)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2250)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2261)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2262)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2269)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2320)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2409)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2488)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2513)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2567)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2600)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2626)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2639)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2666)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2678)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2693)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2727)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2751)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2764)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2774)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2778)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2800)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2803)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2806)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2809)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2811)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2813)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2815)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2817)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2819)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2824)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2826)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2827)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2829)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2830)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2832)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2836)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2838)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2840)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2842)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2856)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2857)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2867)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2873)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2876)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2885)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2889)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2893)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 3030)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 3099)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 3412)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 3880)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 3901)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 114)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 116)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 138)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 176)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 205)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 225)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 226)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 227)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 247)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 293)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 301)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 333)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 408)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 428)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 443)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 447)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 454)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 563)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 574)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 754)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 755)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 768)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 778)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 779)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 780)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 785)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 786)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 787)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 792)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 793)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 794)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1017)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1038)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1065)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1085)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1161)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1178)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1188)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1198)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1236)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1278)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1292)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1298)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1308)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1330)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1338)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1348)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1369)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1371)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1388)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1404)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1414)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1424)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1470)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1473)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1490)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1504)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1535)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1567)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1603)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1674)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1677)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1683)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1689)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1715)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1717)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1752)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1763)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1764)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1769)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1791)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1793)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1795)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1805)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1841)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1856)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1871)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1898)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1934)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1937)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1938)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1951)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 1971)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2010)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2012)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2028)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2030)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2054)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2066)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2101)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2144)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2164)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2232)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2261)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2262)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2269)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2320)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2409)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2488)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2513)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2567)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2600)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2626)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2639)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2666)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2678)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2693)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2727)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2751)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2764)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2774)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2778)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2800)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2803)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2806)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2809)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2811)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2813)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2815)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2817)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2819)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2824)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2826)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2827)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2829)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2830)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2832)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2836)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2838)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2840)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2842)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2856)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2857)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2867)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2873)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2876)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2885)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2889)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 2893)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 3030)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 3099)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 3412)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 3880)
PGC-W-0095-Type cast required for this conversion (libavformat/movenc.c: 3901)

The crash:
Starting program: ffmpeg_g -i tests/lena.pnm out.mov
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
ffmpeg version N-52173-gb725202 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 17 2013 15:34:05 with PGI 13.4-0
  configuration: --enable-gpl --cc=/opt/pgi/linux86-64/13.4/bin/pgcc
--disable-asm
  libavutil      52. 26.100 / 52. 26.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  2.100 / 55.  2.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 56.102 /  3. 56.102
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from 'tests/lena.pnm':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
[New Thread 0x7ffff677a700 (LWP 4098)]
[New Thread 0x7ffff5f79700 (LWP 4099)]
[New Thread 0x7ffff5778700 (LWP 4100)]
[New Thread 0x7ffff4f77700 (LWP 4101)]
[New Thread 0x7ffff4776700 (LWP 4102)]
[New Thread 0x7ffff3f75700 (LWP 4103)]
[New Thread 0x7ffff3774700 (LWP 4104)]
[New Thread 0x7ffff2f73700 (LWP 4105)]
[New Thread 0x7ffff2772700 (LWP 4106)]
Output #0, mov, to 'out.mov':
  Metadata:
    encoder         : Lavf55.2.100
    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 256x256, q=2-31,
200 kb/s, 12800 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (ppm -> mpeg4)
Press [q] to stop, [?] for help

Program received signal SIGSEGV, Segmentation fault.
0x000000000051f5c1 in mov_write_stts_tag () at libavformat/movenc.c:1269
1269                    entries++;
(gdb) bt
#0  0x000000000051f5c1 in mov_write_stts_tag () at libavformat/movenc.c:1269
#1  0x000000000051e02d in mov_write_stbl_tag () at libavformat/movenc.c:1306
#2  0x000000000051d08c in mov_write_minf_tag ()
#3  0x000000000051b29b in mov_write_mdia_tag () at libavformat/movenc.c:1565
#4  0x0000000000519d85 in mov_write_trak_tag () at libavformat/movenc.c:1811
#5  0x00000000005170c5 in mov_write_moov_tag () at libavformat/movenc.c:2366
#6  0x00000000005160f6 in mov_write_trailer () at libavformat/movenc.c:3906
#7  0x00000000005365b1 in av_write_trailer () at libavformat/mux.c:794
#8  0x00000000004160f6 in transcode () at ./ffmpeg.c:3205
#9  0x0000000000415e49 in main () at ./ffmpeg.c:3353
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0x51f5a1 to 0x51f5e1:
   0x000000000051f5a1 <mov_write_stts_tag+161>: stos   %eax,%es:(%rdi)
   0x000000000051f5a2 <mov_write_stts_tag+162>: jmpq   0xffffffffdbd7f5a6
   0x000000000051f5a7 <mov_write_stts_tag+167>: mov    %eax,%ecx
   0x000000000051f5a9 <mov_write_stts_tag+169>: je     0x51f5b9
<mov_write_stts_tag+185>
   0x000000000051f5ab <mov_write_stts_tag+171>: cmp    0x4(%rbp,%r12,1),%eax
   0x000000000051f5b0 <mov_write_stts_tag+176>: jne    0x51f5b9
<mov_write_stts_tag+185>
   0x000000000051f5b2 <mov_write_stts_tag+178>: addl   $0x1,(%r12,%rbp,1)
   0x000000000051f5b7 <mov_write_stts_tag+183>: jmp    0x51f5d0
<mov_write_stts_tag+208>
   0x000000000051f5b9 <mov_write_stts_tag+185>: add    $0x8,%rbp
   0x000000000051f5bd <mov_write_stts_tag+189>: add    $0x1,%r13d
=> 0x000000000051f5c1 <mov_write_stts_tag+193>: mov    %ecx,0x4(%rbp,%r12,1)
   0x000000000051f5c6 <mov_write_stts_tag+198>: movl   $0x1,(%r12,%rbp,1)
   0x000000000051f5ce <mov_write_stts_tag+206>: xchg   %ax,%ax
   0x000000000051f5d0 <mov_write_stts_tag+208>: add    $0x1,%ebx
   0x000000000051f5d3 <mov_write_stts_tag+211>: cmp    0x4(%r15),%ebx
   0x000000000051f5d7 <mov_write_stts_tag+215>: jl     0x51f598
<mov_write_stts_tag+152>
   0x000000000051f5d9 <mov_write_stts_tag+217>: add    $0x1,%r13d
   0x000000000051f5dd <mov_write_stts_tag+221>: nopl   (%rax)
   0x000000000051f5e0 <mov_write_stts_tag+224>: mov    %r14,%rdi
End of assembler dump.
(gdb) info register
rax            0x200    512
rbx            0x0      0
rcx            0x200    512
rdx            0x0      0
rsi            0x7ffff7e23010   140737352183824
rdi            0x16c2ff0        23867376
rbp            0x800000000      0x800000000
rsp            0x7fffffffda10   0x7fffffffda10
r8             0x174d9b0        24435120
r9             0x0      0
r10            0x1      1
r11            0x0      0
r12            0x174d9e0        24435168
r13            0x0      0
r14            0x15eb070        22982768
r15            0x16c2ff0        23867376
rip            0x51f5c1 0x51f5c1 <mov_write_stts_tag+193>
eflags         0x10257  [ CF PF AF ZF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
st0            0        (raw 0x00000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            0        (raw 0x00000000000000000000)
st6            0        (raw 0x00000000000000000000)
st7            0        (raw 0x00000000000000000000)
fctrl          0x37f    895
fstat          0x0      0
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
mxcsr          0x9fe0   [ PE DAZ IM DM ZM OM UM PM FZ ]




More information about the ffmpeg-devel mailing list