[FFmpeg-devel] [PATCH]Fix PGC compilation

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Apr 17 14:47:56 CEST 2013


Michael Niedermayer <michaelni <at> gmx.at> writes:

> the output from make distclean ; ./configure && 
> make -k fate would be interresting

./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

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)

> also including config.h/mak

Only if you insist.

Carl Eugen


TEST    vsynth1-dnxhd-720p-rd
--- ./tests/ref/vsynth/vsynth1-dnxhd-720p-rd    2013-04-13
09:32:36.235993224 +0200
+++ tests/data/fate/vsynth1-dnxhd-720p-rd       2013-04-17
14:20:54.027255595 +0200
@@ -1,4 +1,4 @@
-276e5175376051218b0e3eb36f9e9a63 *tests/data/fate/vsynth1-dnxhd-720p-rd.dnxhd
+d8a9a3de256d56a79f86ecf6afb778d1 *tests/data/fate/vsynth1-dnxhd-720p-rd.dnxhd
 2293760 tests/data/fate/vsynth1-dnxhd-720p-rd.dnxhd
-28662df973b289798bf6069fbbee8071
*tests/data/fate/vsynth1-dnxhd-720p-rd.out.rawvideo
-stddev:    6.26 PSNR: 32.19 MAXDIFF:   65 bytes:  7603200/   760320
+26efa0307f420e8930e535d89b7adc45
*tests/data/fate/vsynth1-dnxhd-720p-rd.out.rawvideo
+stddev:    6.32 PSNR: 32.11 MAXDIFF:   65 bytes:  7603200/   760320
Test vsynth1-dnxhd-720p-rd failed. Look at
tests/data/fate/vsynth1-dnxhd-720p-rd.err for details.

TEST    vsynth2-dnxhd-720p-rd
--- ./tests/ref/vsynth/vsynth2-dnxhd-720p-rd    2013-04-13
09:32:36.236993211 +0200
+++ tests/data/fate/vsynth2-dnxhd-720p-rd       2013-04-17
14:21:12.922062043 +0200
@@ -1,4 +1,4 @@
-b305b03708e905717b42fc0b304367d4 *tests/data/fate/vsynth2-dnxhd-720p-rd.dnxhd
+3ca86674ba6a27de2f3f0a1eb0e19b51 *tests/data/fate/vsynth2-dnxhd-720p-rd.dnxhd
 2293760 tests/data/fate/vsynth2-dnxhd-720p-rd.dnxhd
-13de1c5ed025abb5120450e134aa623d
*tests/data/fate/vsynth2-dnxhd-720p-rd.out.rawvideo
-stddev:    1.32 PSNR: 45.66 MAXDIFF:   22 bytes:  7603200/   760320
+a86f5dc8eece1ecbe6671e9e6e14cc88
*tests/data/fate/vsynth2-dnxhd-720p-rd.out.rawvideo
+stddev:    1.50 PSNR: 44.57 MAXDIFF:   23 bytes:  7603200/   760320
Test vsynth2-dnxhd-720p-rd failed. Look at
tests/data/fate/vsynth2-dnxhd-720p-rd.err for details.

TEST    tiff-fax-g3
--- ./tests/ref/fate/tiff-fax-g3        2013-04-08 20:30:55.952829932 +0200
+++ tests/data/fate/tiff-fax-g3 2013-04-17 14:46:24.327775620 +0200
@@ -1,2 +1,2 @@
 #tb 0: 1/25
-0,          0,          0,        1,  1000384, 0xb758eb8b
+0,          0,          0,        1,  1000384, 0x472689c6
Test tiff-fax-g3 failed. Look at tests/data/fate/tiff-fax-g3.err for details.

TEST    tiff-fax-g3s
--- ./tests/ref/fate/tiff-fax-g3s       2013-04-08 20:30:55.952829932 +0200
+++ tests/data/fate/tiff-fax-g3s        2013-04-17 14:46:33.204678914 +0200
@@ -1,2 +1,2 @@
 #tb 0: 1/25
-0,          0,          0,        1,  1000384, 0xb758eb8b
+0,          0,          0,        1,  1000384, 0xd8885eca
Test tiff-fax-g3s failed. Look at tests/data/fate/tiff-fax-g3s.err for details.

TEST    smacker-video
--- ./tests/ref/fate/smacker-video      2013-04-13 09:32:36.214993510 +0200
+++ tests/data/fate/smacker-video       2013-04-17 14:41:50.684734288 +0200
@@ -1,101 +1,101 @@
 #tb 0: 71/1000
-0,          0,          0,        1,   192000, 0x8926d7fc
-0,          1,          1,        1,   192000, 0x2506d384
-0,          2,          2,        1,   192000, 0x9a8dc93a
-0,          3,          3,        1,   192000, 0x4badb7f2
-0,          4,          4,        1,   192000, 0xc1fc9631
-0,          5,          5,        1,   192000, 0xfc906592
-0,          6,          6,        1,   192000, 0xeddd28e2
-0,          7,          7,        1,   192000, 0xeee0dcf5
-0,          8,          8,        1,   192000, 0x76798c91
-0,          9,          9,        1,   192000, 0x8a034c1b
-0,         10,         10,        1,   192000, 0x4df3127c
-0,         11,         11,        1,   192000, 0x2eefd36f
-0,         12,         12,        1,   192000, 0x58a2a1d6
-0,         13,         13,        1,   192000, 0x1a3d7971
-0,         14,         14,        1,   192000, 0xa1a65bd5
-0,         15,         15,        1,   192000, 0x344957b9
-0,         16,         16,        1,   192000, 0xe23b5f4e
-0,         17,         17,        1,   192000, 0xb5c2710b
-0,         18,         18,        1,   192000, 0x7a25938f
-0,         19,         19,        1,   192000, 0x0a84e4c9
-0,         20,         20,        1,   192000, 0x94209b0d
-0,         21,         21,        1,   192000, 0xf940e51f
-0,         22,         22,        1,   192000, 0xb9fdec42
-0,         23,         23,        1,   192000, 0x7b04a376
-0,         24,         24,        1,   192000, 0x5fe0026b
-0,         25,         25,        1,   192000, 0x775aca39
-0,         26,         26,        1,   192000, 0xae14fb32
-0,         27,         27,        1,   192000, 0x661106e5
-0,         28,         28,        1,   192000, 0xe8658dbf
-0,         29,         29,        1,   192000, 0x5359f0f9
-0,         30,         30,        1,   192000, 0xc1ec80f4
-0,         31,         31,        1,   192000, 0xca53806b
-0,         32,         32,        1,   192000, 0xf0766b2e
-0,         33,         33,        1,   192000, 0x39962da8
-0,         34,         34,        1,   192000, 0x4171c37f
-0,         35,         35,        1,   192000, 0x3abf3b46
-0,         36,         36,        1,   192000, 0xecc68313
-0,         37,         37,        1,   192000, 0xea339baf
-0,         38,         38,        1,   192000, 0x616b8f16
-0,         39,         39,        1,   192000, 0xf77a8581
-0,         40,         40,        1,   192000, 0xb315678b
-0,         41,         41,        1,   192000, 0x0a4a5218
-0,         42,         42,        1,   192000, 0x98802be4
-0,         43,         43,        1,   192000, 0xa2f0fd94
-0,         44,         44,        1,   192000, 0x6671c84f
-0,         45,         45,        1,   192000, 0x38327e31
-0,         46,         46,        1,   192000, 0xb85d3e08
-0,         47,         47,        1,   192000, 0xdc69eba9
-0,         48,         48,        1,   192000, 0x8955a0b3
-0,         49,         49,        1,   192000, 0x714a548b
-0,         50,         50,        1,   192000, 0xc0471de9
-0,         51,         51,        1,   192000, 0x2e16e039
-0,         52,         52,        1,   192000, 0x9fa4b033
-0,         53,         53,        1,   192000, 0x4a0f9402
-0,         54,         54,        1,   192000, 0x1f3e6843
-0,         55,         55,        1,   192000, 0x31774850
-0,         56,         56,        1,   192000, 0x9d5336a2
-0,         57,         57,        1,   192000, 0xf7de27a2
-0,         58,         58,        1,   192000, 0x98c717ce
-0,         59,         59,        1,   192000, 0x615b10b8
-0,         60,         60,        1,   192000, 0xd5bc0e7e
-0,         61,         61,        1,   192000, 0xd5bc0e7e
-0,         62,         62,        1,   192000, 0xd5bc0e7e
-0,         63,         63,        1,   192000, 0xd5bc0e7e
-0,         64,         64,        1,   192000, 0xd5bc0e7e
-0,         65,         65,        1,   192000, 0xd5bc0e7e
-0,         66,         66,        1,   192000, 0xd5bc0e7e
-0,         67,         67,        1,   192000, 0xd5bc0e7e
-0,         68,         68,        1,   192000, 0xd5bc0e7e
-0,         69,         69,        1,   192000, 0xd5bc0e7e
-0,         70,         70,        1,   192000, 0xd5bc0e7e
-0,         71,         71,        1,   192000, 0xd5bc0e7e
-0,         72,         72,        1,   192000, 0xd5bc0e7e
-0,         73,         73,        1,   192000, 0xd5bc0e7e
-0,         74,         74,        1,   192000, 0xd5bc0e7e
-0,         75,         75,        1,   192000, 0xd5bc0e7e
-0,         76,         76,        1,   192000, 0xd5bc0e7e
-0,         77,         77,        1,   192000, 0xd5bc0e7e
-0,         78,         78,        1,   192000, 0xd5bc0e7e
-0,         79,         79,        1,   192000, 0xd5bc0e7e
-0,         80,         80,        1,   192000, 0xd5bc0e7e
-0,         81,         81,        1,   192000, 0xd5bc0e7e
-0,         82,         82,        1,   192000, 0xd5bc0e7e
-0,         83,         83,        1,   192000, 0xd5bc0e7e
-0,         84,         84,        1,   192000, 0xd5bc0e7e
-0,         85,         85,        1,   192000, 0xd5bc0e7e
-0,         86,         86,        1,   192000, 0xd5bc0e7e
-0,         87,         87,        1,   192000, 0xd5bc0e7e
-0,         88,         88,        1,   192000, 0xd5bc0e7e
-0,         89,         89,        1,   192000, 0xd5bc0e7e
-0,         90,         90,        1,   192000, 0xd5bc0e7e
-0,         91,         91,        1,   192000, 0xd5bc0e7e
-0,         92,         92,        1,   192000, 0xd5bc0e7e
-0,         93,         93,        1,   192000, 0xd5bc0e7e
-0,         94,         94,        1,   192000, 0xd5bc0e7e
-0,         95,         95,        1,   192000, 0xd5bc0e7e
-0,         96,         96,        1,   192000, 0xd5bc0e7e
-0,         97,         97,        1,   192000, 0xd5bc0e7e
-0,         98,         98,        1,   192000, 0xd5bc0e7e
-0,         99,         99,        1,   192000, 0xd5bc0e7e
+0,          0,          0,        1,   192000, 0xded7b154
+0,          1,          1,        1,   192000, 0xcac1b035
+0,          2,          2,        1,   192000, 0xeb0dab83
+0,          3,          3,        1,   192000, 0x0a46a21b
+0,          4,          4,        1,   192000, 0x8c4987ab
+0,          5,          5,        1,   192000, 0x793a5c1d
+0,          6,          6,        1,   192000, 0xa24e24c6
+0,          7,          7,        1,   192000, 0xb0c8dc32
+0,          8,          8,        1,   192000, 0x0be18e4e
+0,          9,          9,        1,   192000, 0xd85a4f2f
+0,         10,         10,        1,   192000, 0x0d761720
+0,         11,         11,        1,   192000, 0xc2cdd891
+0,         12,         12,        1,   192000, 0x40e7a6e0
+0,         13,         13,        1,   192000, 0x5e887ee3
+0,         14,         14,        1,   192000, 0x491860e3
+0,         15,         15,        1,   192000, 0x138d5abf
+0,         16,         16,        1,   192000, 0xc8ed609c
+0,         17,         17,        1,   192000, 0x63676f79
+0,         18,         18,        1,   192000, 0xe8529005
+0,         19,         19,        1,   192000, 0x5872e1f7
+0,         20,         20,        1,   192000, 0xc25a97d1
+0,         21,         21,        1,   192000, 0x6a87e093
+0,         22,         22,        1,   192000, 0x55fbe529
+0,         23,         23,        1,   192000, 0x06fc9baa
+0,         24,         24,        1,   192000, 0xbbbff4e9
+0,         25,         25,        1,   192000, 0x391cc07b
+0,         26,         26,        1,   192000, 0x8a90f3fc
+0,         27,         27,        1,   192000, 0xa3bb0285
+0,         28,         28,        1,   192000, 0x0f728ae6
+0,         29,         29,        1,   192000, 0x7eb6f7bc
+0,         30,         30,        1,   192000, 0x3eb78a67
+0,         31,         31,        1,   192000, 0xa2e689d1
+0,         32,         32,        1,   192000, 0xe3ce76c2
+0,         33,         33,        1,   192000, 0x71393b27
+0,         34,         34,        1,   192000, 0x5611d22b
+0,         35,         35,        1,   192000, 0xc5ba4cc7
+0,         36,         36,        1,   192000, 0x69409354
+0,         37,         37,        1,   192000, 0xbf2aace3
+0,         38,         38,        1,   192000, 0x3616a20d
+0,         39,         39,        1,   192000, 0x9f4d97ca
+0,         40,         40,        1,   192000, 0x21e77b57
+0,         41,         41,        1,   192000, 0xacc665e9
+0,         42,         42,        1,   192000, 0xd4903f74
+0,         43,         43,        1,   192000, 0x8a8712e3
+0,         44,         44,        1,   192000, 0xf450dd6b
+0,         45,         45,        1,   192000, 0x4b3d9252
+0,         46,         46,        1,   192000, 0x10e0526a
+0,         47,         47,        1,   192000, 0xbbbf016b
+0,         48,         48,        1,   192000, 0x9c4cb6a5
+0,         49,         49,        1,   192000, 0xbe706a01
+0,         50,         50,        1,   192000, 0xcf403383
+0,         51,         51,        1,   192000, 0x52b2f661
+0,         52,         52,        1,   192000, 0x25a9c657
+0,         53,         53,        1,   192000, 0x8488aac9
+0,         54,         54,        1,   192000, 0xc93c7f1c
+0,         55,         55,        1,   192000, 0x6a5c5f73
+0,         56,         56,        1,   192000, 0xb8954cf1
+0,         57,         57,        1,   192000, 0xae423d69
+0,         58,         58,        1,   192000, 0x0fab2d41
+0,         59,         59,        1,   192000, 0x0c0b2621
+0,         60,         60,        1,   192000, 0x32202404
+0,         61,         61,        1,   192000, 0x32202404
+0,         62,         62,        1,   192000, 0x32202404
+0,         63,         63,        1,   192000, 0x32202404
+0,         64,         64,        1,   192000, 0x32202404
+0,         65,         65,        1,   192000, 0x32202404
+0,         66,         66,        1,   192000, 0x32202404
+0,         67,         67,        1,   192000, 0x32202404
+0,         68,         68,        1,   192000, 0x32202404
+0,         69,         69,        1,   192000, 0x32202404
+0,         70,         70,        1,   192000, 0x32202404
+0,         71,         71,        1,   192000, 0x32202404
+0,         72,         72,        1,   192000, 0x32202404
+0,         73,         73,        1,   192000, 0x32202404
+0,         74,         74,        1,   192000, 0x32202404
+0,         75,         75,        1,   192000, 0x32202404
+0,         76,         76,        1,   192000, 0x32202404
+0,         77,         77,        1,   192000, 0x32202404
+0,         78,         78,        1,   192000, 0x32202404
+0,         79,         79,        1,   192000, 0x32202404
+0,         80,         80,        1,   192000, 0x32202404
+0,         81,         81,        1,   192000, 0x32202404
+0,         82,         82,        1,   192000, 0x32202404
+0,         83,         83,        1,   192000, 0x32202404
+0,         84,         84,        1,   192000, 0x32202404
+0,         85,         85,        1,   192000, 0x32202404
+0,         86,         86,        1,   192000, 0x32202404
+0,         87,         87,        1,   192000, 0x32202404
+0,         88,         88,        1,   192000, 0x32202404
+0,         89,         89,        1,   192000, 0x32202404
+0,         90,         90,        1,   192000, 0x32202404
+0,         91,         91,        1,   192000, 0x32202404
+0,         92,         92,        1,   192000, 0x32202404
+0,         93,         93,        1,   192000, 0x32202404
+0,         94,         94,        1,   192000, 0x32202404
+0,         95,         95,        1,   192000, 0x32202404
+0,         96,         96,        1,   192000, 0x32202404
+0,         97,         97,        1,   192000, 0x32202404
+0,         98,         98,        1,   192000, 0x32202404
+0,         99,         99,        1,   192000, 0x32202404
Test smacker-video failed. Look at tests/data/fate/smacker-video.err for
details.




More information about the ffmpeg-devel mailing list