On 15 May 2014 17:08, Janne Grunau <[email protected]> wrote: > On 2014-05-15 10:13:01 +0800, James Yu wrote: > > On 15 May 2014 02:13, Janne Grunau <[email protected]> wrote: > > > > > On 2014-05-15 00:16:48 +0800, James Yu wrote: > > > > On 14 May 2014 21:12, James Yu <[email protected]> wrote: > > > > > > > > I found this fails even in master branch. Could you help check? > Thanks > > > > > > > > commit 7e90133f6420b1c53652f972b9561600822881ee > > > > Author: Janne Grunau <[email protected]> > > > > Date: Wed May 14 00:05:27 2014 +0200 > > > > > > > > build: do not append $(FFLIBS-) to $(FFLIBS) if $(NAME) is not > > > defined > > > > > > > > Avoids including disabled library Makefiles. > > > > > > > > ..... > > > > TEST vsynth1-mpeg4 > > > > --- ./tests/ref/vsynth/vsynth1-mpeg4 2014-05-13 12:17:43.000000000 > +0000 > > > > +++ tests/data/fate/vsynth1-mpeg4 2014-05-15 00:12:50.220000001 +0000 > > > > @@ -1,4 +0,0 @@ > > > > -dc927acd770e19a97456ecbd4d786938 *tests/data/fate/vsynth1-mpeg4.mp4 > > > > -540180 tests/data/fate/vsynth1-mpeg4.mp4 > > > > -8828a375448dc5c2215163ba70656f89 > > > > *tests/data/fate/vsynth1-mpeg4.out.rawvideo > > > > -stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200 > > > > make: *** [fate-vsynth1-mpeg4] Error 127 > > > > > > a simple make fate-* only works for native builds. It's a more > complicated > > > for cross builds and requires extra configuration. > > > > > > If you're using qemu-aarch64 something like > > > make TARGET_EXEC='qemu-aarch64 -L $SYSROOT' make fate should work. you > can > > > set --target-exec at configure time. > > > > > > If you have a real target, the build directory needs to be available on > > > target. If you can't mount to the same path use > > > --target-path=/path/to/build_dir/on_target . As --target-exec something > > > like > > > 'ssh target' should work. > > > > > > Hi, > > > > Yes, I'm using a real armv7 target for rewrite to intrinsics. > > > > Here is my configure argument > > ====================================== > > ./configure --prefix=/home/james/src/libav/install-armv7 > > --samples=/home/james/src/libav/fate-suite --enable-gpl > > --enable-cross-compile --cc=arm-linux-gnueabihf-gcc > > --extra-cflags='-mfpu=neon' --disable-debug --arch=arm --target-os=linux > > --enable-thumb --disable-doc --enable-shared --enable-pic > > --logfile=/home/james/src/libav/config.log --target-exec='ssh > > [email protected]' --target-path=/home/linaro/libav/libav > > --target-samples=/home/linaro/libav/fate-suite > > ===================================== > > > > It still have same fail when I run "make fate-vsynth1-mpeg4" on my host. > > Do I miss something? Thanks. > > probably missing libraries on the target as it is a shared build. You have > to set LD_LIBRARY_PATH on the target or install them so that the runtime > linker finds them. Or remove the --enable-shared. > > make sure `ssh [email protected] /home/linaro/libav/libav/avconv -h` works > > Hi,
I remove --enable-shared and confirmed that `ssh [email protected] /home/linaro/libav/libav/avconv -h` works. But when I run make V=2 fate-vsynth1-mpeg4 still failed. The different is "Error 1" not 127. ============== james:~/src/libav/libav$ make V=2 fate-vsynth1-mpeg4 TEST vsynth1-mpeg4 ./tests/fate-run.sh fate-vsynth1-mpeg4 "/home/james/src/libav/fate-suite" "ssh [email protected] " "/home/linaro/libav/libav" 'enc_dec "rawvideo -s 352x288 -pix_fmt yuv420p" tests/data/vsynth1.yuv mp4 "-c mpeg4 -qscale 10 -flags +mv4 -mbd bits" rawvideo "-s 352x288 -pix_fmt yuv420p " -keep' '' './tests/ref/vsynth/vsynth1-mpeg4' '' '' '' '' '' '' '' '1' '' ssh [email protected] /home/linaro/libav/libav/avconv -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -thread_type frame+slice -i /home/linaro/libav/libav/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 10 -flags +mv4 -mbd bits -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f mp4 -y /home/linaro/libav/libav/tests/data/fate/vsynth1-mpeg4.mp4 [email protected]'s password: ssh [email protected] /home/linaro/libav/libav/avconv -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -thread_type frame+slice -i /home/linaro/libav/libav/tests/data/fate/vsynth1-mpeg4.mp4 -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/linaro/libav/libav/tests/data/fate/vsynth1-mpeg4.out.rawvideo [email protected]'s password: --- ./tests/ref/vsynth/vsynth1-mpeg4 2014-05-12 23:18:23.649483652 +0800 +++ tests/data/fate/vsynth1-mpeg4 2014-05-15 21:28:40.346841978 +0800 @@ -1,4 +1 @@ -dc927acd770e19a97456ecbd4d786938 *tests/data/fate/vsynth1-mpeg4.mp4 -540180 tests/data/fate/vsynth1-mpeg4.mp4 -8828a375448dc5c2215163ba70656f89 *tests/data/fate/vsynth1-mpeg4.out.rawvideo -stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200 + make: *** [fate-vsynth1-mpeg4] Error 1 ============================ i'm on master branch commit 3b2fbe67bd63b00331db2a9b213f6d420418a312 Author: Anton Khirnov <[email protected]> Date: Sat Apr 5 07:40:49 2014 +0200 lavc: properly handle subtitle_header in avcodec_copy_context() Where I should check again? -James Janne > _______________________________________________ > libav-devel mailing list > [email protected] > https://lists.libav.org/mailman/listinfo/libav-devel > _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
