Web lists-archives.com

Re: [MPlayer-dev-eng] [PATCH] Added support for arm64




Hello,
I am having problems in building mplayer 1.2 for ARM64:

mpeg_packetizer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-linux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o stream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o sub/vobsub.o sub/font_load.o stream/dvb_tune.o stream/stream_dvb.o libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o libmpcodecs/vf_fspp.o libmpcodecs/vf_mcdeint.o libmpcodecs/vf_qp.o libmpcodecs/vf_spp.o libmpcodecs/vf_uspp.o stream/stream_ftp.o libmpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o stream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streaming.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o stream/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vf_pp.o stream/cache2.o stream/frequencies.o stream/stream_tv.o stream/tv.o stream/tvi_dummy.o sub/unrar_exec.o libmpcodecs/vd_xanim.o osdep/shmem.o ffmpeg/libpostproc/libpostproc.a ffmpeg/libavfilter/libavfilter.a ffmpeg/libavformat/libavformat.a ffmpeg/libavcodec/libavcodec.a ffmpeg/libswscale/libswscale.a ffmpeg/libswresample/libswresample.a ffmpeg/libavutil/libavutil.a -Wl,--version-script,binary.ver -Wl,-z,noexecstack   -lrt -lpthread -ldl -rdynamic -lm   -lSDL
ffmpeg/libavcodec/libavcodec.a(videodsp_init.o): In function `ff_videodsp_init_aarch64':
videodsp_init.c:(.text.unlikely+0x18): undefined reference to `ff_prefetch_aarch64'
videodsp_init.c:(.text.unlikely+0x1c): undefined reference to `ff_prefetch_aarch64'
collect2: error: ld returned 1 exit status
make[1]: *** [mplayer] Error 1
make[1]: Leaving directory `/media/Dev_Disk/juno-linaro-4.3/buildroot-2016.02/output/build/mplayer-1.2'
make: *** [/media/Dev_Disk/juno-linaro-4.3/buildroot-2016.02/output/build/mplayer-1.2/.stamp_built] Error 2

In the beginning I was having another problem... HAVE_ARMV8 was missing in the mplayer1.2/config.h. After adding it I am having this problem.

Is this a known issue?

Joao

-----Original Message-----
From: MPlayer-dev-eng [mailto:mplayer-dev-eng-bounces@xxxxxxxxxxxx] On Behalf Of Roberto Togni
Sent: Sunday, September 27, 2015 4:33 PM
To: mplayer-dev-eng@xxxxxxxxxxxx
Subject: Re: [MPlayer-dev-eng] [PATCH] Added support for arm64

On Wed, 16 Sep 2015 10:51:07 +0100
jpinto <Joao.Pinto@xxxxxxxxxxxx> wrote:

> Signed-off-by: Joao Pinto <jpinto@xxxxxxxxxxxx>
> Tested-by: Joao Pinto <jpinto@xxxxxxxxxxxx>
> ---
>  configure | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/configure b/configure
> index 722b8a4..d17e61e 100755
> --- a/configure
> +++ b/configure
> @@ -2493,6 +2493,11 @@ EOF
>      arch='generic'
>      ;;
>  
> +  aarch64)
> +    arch='arm64'
> +    iproc='arm64'
> +    ;;
> +
>    *)
>      echo "The architecture of your CPU ($host_arch) is not supported by this configure script"
>      echo "It seems nobody has ported MPlayer to your OS or CPU type yet."
Hi,
 there is already an aarch64 entry in configure, with arch and iproc = aarch64.

We can't have two architectures with the same name.

Is there any difference between your proposal and what is already in configure?
Is your patch based on svn head or on some older version of MPlayer?

Ciao,
 Roberto
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng