[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: give back for ffmpeg on ppc64



Hi,

Buildd machine's CPU is PPC970MP, so it supports AltiVec.

ppc64 buildd nodes add no additional build option,
so, ppc64 port fundamentally does not support AltiVec
except intentionally being added AltiVec option by package maintainer in source package.

The source package of ffmpeg seems to add AltiVec option intentionally,
so it was compiled as AltiVec enabled (-maltivec -mabi=altivec).

https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&arch=ppc64&ver=7%3A3.0.2-4&stamp=1466611924

 *** standard ***
install prefix            /usr
source path               /«PKGBUILDDIR»
C compiler                cc
C library                 glibc
ARCH                      ppc (generic)
version string suffix     4
big-endian                yes
runtime cpu detection     yes
AltiVec enabled           yes
VSX enabled               no
POWER8 enabled            no
PPC 4xx optimizations     no
dcbzl available           yes
debug symbols             yes
strip symbols             no
optimize for size         no
optimizations             yes
static                    yes
shared                    yes
postprocessing support    yes
new filter support        yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
SDL support               yes
opencl enabled            no
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          yes
makeinfo supports HTML    yes

(snip)

cc -I. -Isrc/ -Wdate-time -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-overflow -fstack-protector-all   -std=c99 -fomit-frame-pointer -fPIC -maltivec -mabi=altivec -pthread -I/usr/include/p11-kit-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/powerpc64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/freetype2  -I/usr/include/bs2b  -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/fribidi  -I/usr/include/opus -D_REENTRANT -I/usr/include/p11-kit-1  -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4             -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized  -MMD -MF tools/qt-faststart.d -MT tools/qt-faststart.o -c -o tools/qt-faststart.o src/tools/qt-faststart.c


Mathieu Malaterre wrote:
> Hi,
> 
> On Tue, Jun 21, 2016 at 1:57 PM, Hiroyuki Yamamoto <yama1066@gmail.com> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> Hi, Mathieu,
>>
>> Mathieu Malaterre wrote:
>>> It looks like ffmpeg fails to build on ppc64 due to a timeout:
>>>
>>> https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&arch=ppc64&ver=7%3A3.0.2-4&stamp=1465651053
>>>
>>> gb ffmpeg_7:3.0.2-4 . ppc64
>>>
>>> comments ?
>>>
>>>
>>
>> To be certain, I will give back ffmpeg_7:3.0.2-4 after gcc-6_6.1.1-7 has been built,
>> but ffmpeg has failed to build on ppc64 from changing to ver. 3.0 by same point:
>>
>> TEST    ffprobe_xml
>> /?PKGBUILDDIR?/tests/fate-run.sh fate-ffprobe_xml "" "" "/?PKGBUILDDIR?/debian/standard" 'run ffprobe -show_streams -show_packets -show_format -show_frames -bitexact tests/data/ffprobe-test.nut -of xml' '' '' '' '1' '' '' '' '' '' '' '' ''
>>  /?PKGBUILDDIR?/debian/standard/ffprobe -show_streams -show_packets -show_format -show_frames -bitexact tests/data/ffprobe-test.nut -of xml
>> make[2]: Target 'check' not remade because of errors.
>> make[2]: Leaving directory '/?PKGBUILDDIR?/debian/standard'
>> dh_auto_test: make -j1 check -k returned exit code 2
>> debian/rules:225: recipe for target 'override_dh_auto_test-arch' failed
>> make[1]: *** [override_dh_auto_test-arch] Error 2
>> make[1]: Leaving directory '/?PKGBUILDDIR?'
>> debian/rules:185: recipe for target 'build-arch' failed
>> make: *** [build-arch] Error 2
>> dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
> 
> Indeed. What are the machine amaterasu and tsukuyomi, do they have altivec ?
> 
> I cannot reproduce FTBFS on the sole ppc64 porterbox we have: pizzetti.d.o:
> 
> malat@pizzetti ~ % cat /proc/cpuinfo
> processor : 0
> cpu : POWER8E (raw), altivec supported
> clock : 3425.000000MHz
> revision : 2.1 (pvr 004b 0201)
> 
> processor : 1
> cpu : POWER8E (raw), altivec supported
> clock : 3425.000000MHz
> revision : 2.1 (pvr 004b 0201)
> 
> processor : 2
> cpu : POWER8E (raw), altivec supported
> clock : 3425.000000MHz
> revision : 2.1 (pvr 004b 0201)
> 
> processor : 3
> cpu : POWER8E (raw), altivec supported
> clock : 3425.000000MHz
> revision : 2.1 (pvr 004b 0201)
> 
> timebase : 512000000
> platform : pSeries
> model : IBM pSeries (emulated by qemu)
> 
> -M
> 


-- 
Hiroyuki Yamamoto
A75D B285 7050 4BF9 AEDA  91AC 3A10 59C6 5203 04DC

Reply to: