On 06.02.2016 20:55, Helge Deller wrote: > Hi Andreas, > > On 06.02.2016 14:45, Andreas Cadhalpun wrote: >> ffmpeg 2.8.6-1 failed to build on hppa due to test failures [1]. >> Previous versions worked fine [2] and since not much changed in ffmpeg, I'm >> assuming it's actually a regression in gcc-5 5.3.1-7. >> Note that this version of gcc-5 also regressed on mips [3]. >> >> Among the many test failures, the following is most interesting: >> TEST crc >> /<<PKGBUILDDIR>>/debian/standard/libavutil/crc-test >> --- /<<PKGBUILDDIR>>/tests/ref/fate/crc 2015-06-19 20:44:54.000000000 >> <tel:54000000000> +0000 >> +++ tests/data/fate/crc 2016-02-05 08:02:22.455900119 +0000 >> @@ -1,6 +1,6 @@ >> -crc EDB88320 = 3D5CDD04 >> -crc 04C11DB7 = E0BAF5C0 >> -crc 00864CFB = 326039 >> -crc 0000A001 = BFD8 >> -crc 00008005 = BB1F >> -crc 00000007 = E3 >> +crc EDB88320 = 59A32BFE >> +crc 04C11DB7 = E8446376 >> +crc 00864CFB = 9AF97C >> +crc 0000A001 = CFEA >> +crc 00008005 = 8486 >> +crc 00000007 = A4 >> Test crc failed. Look at tests/data/fate/crc.err for details. >> >> So all computed crc values are wrong. It's not surprising that this crc >> mismatch >> causes many other tests to fail.
>> It would be great if someone with the necessary hardware could investigate >> what causes this problem. > > For now I've installed the latest gcc version on the buildds and > did a give-back on ffmpeg. If it fails again, I'll take a closer look. Yes, there seems to be a gcc bug/problem. I've manually rebuilt ffmpeg-2.8.5-1 with gcc-5_5.3.1-8 and it fails the same way (but it built earlier with gcc-5_5.3.1-6). So, gcc-5_5.3.1-7 (and higher) currently have the problem. Problem is (like you said) somewhere in the md5/crc code: TEST api-flac /<<PKGBUILDDIR>>/tests/fate-run.sh fate-api-flac "" "" "/<<PKGBUILDDIR>>/debian/standard" 'run tests/api/api-flac-test' 'null' '/dev/null' '' '1' '' '' '' '' '' '' '' '' /<<PKGBUILDDIR>>/debian/standard/tests/api/api-flac-test Test api-flac failed. Look at tests/data/fate/api-flac.err for details. channel layout: stereo, sample rate: 8000 OK channel layout: stereo, sample rate: 44100 OK channel layout: stereo, sample rate: 48000 OK channel layout: stereo, sample rate: 192000 [flac @ 0x383b0] header crc mismatch [flac @ 0x383b0] invalid frame header [flac @ 0x383b0] decode_frame() failed Error decoding audio packet /<<PKGBUILDDIR>>/tests/Makefile:203: recipe for target 'fate-api-flac' failed Helge >> 1: >> https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&arch=hppa&ver=7%3A2.8.6-1&stamp=1454663858 >> 2: >> https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&arch=hppa&ver=7%3A2.8.5-1&stamp=1453062430 >> 3: https://bugs.debian.org/813858 >> >

