[opensuse-arm] ffmpeg build errors
Hi, I see that ffmpeg is failing for all arm versions (although for different reasons): arm6 and arm7: [ 6141s] libavcodec/libavcodec.so: undefined reference to `ff_avg_vc1_chroma_mc4_neon' [ 6141s] libavcodec/libavcodec.so: undefined reference to `ff_avg_vc1_chroma_mc8_neon' [ 6141s] libavcodec/libavcodec.so: undefined reference to `ff_put_vc1_chroma_mc8_neon' [ 6141s] libavcodec/libavcodec.so: undefined reference to `ff_put_vc1_chroma_mc4_neon' arm64: [ 875s] libavcodec/libavcodec.so: undefined reference to `ff_vc1dsp_init_aarch64' I tried to build it locally on my arm7 board but I got the same errors. Does anyone know how to fix that errors? Thanks! -- Cheers -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Oscar, Am 27.08.2016 um 23:37 schrieb Oscar C:
arm6 and arm7:
[ 6141s] libavcodec/libavcodec.so: undefined reference to `ff_avg_vc1_chroma_mc4_neon' [ 6141s] libavcodec/libavcodec.so: undefined reference to `ff_avg_vc1_chroma_mc8_neon' [ 6141s] libavcodec/libavcodec.so: undefined reference to `ff_put_vc1_chroma_mc8_neon' [ 6141s] libavcodec/libavcodec.so: undefined reference to `ff_put_vc1_chroma_mc4_neon'
For some reason armv6l and armv7l are detecting NEON: [ 3359s] NEON enabled yes [ 296s] NEON enabled yes NEON should be either disabled for %arm or better runtime-detected on armv7l. Doesn't explain the linker error, but might help you work around it. It might also help to ask ffmpeg maintainers to enable ARM builds in the devel project, so that they become aware of the errors. (CC'ing Jan) No idea about the aarch64 error. Regards, Andreas For convenience: https://build.opensuse.org/package/show/openSUSE:Factory:ARM/ffmpeg -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Monday 2016-08-29 19:44, Andreas Färber wrote:
[ 6141s] libavcodec/libavcodec.so: undefined reference to `ff_avg_vc1_chroma_mc4_neon'
someone already sent me some arm patch involving VC1 very recently. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am 29.08.2016 um 20:37 schrieb Jan Engelhardt:
On Monday 2016-08-29 19:44, Andreas Färber wrote:
[ 6141s] libavcodec/libavcodec.so: undefined reference to `ff_avg_vc1_chroma_mc4_neon'
someone already sent me some arm patch involving VC1 very recently.
Ah, Stefan Brüns: https://build.opensuse.org/package/view_file/multimedia:libs/ffmpeg/ffmpeg-f... Thanks, missed that one, not in Factory yet. While that may fix the build, NEON might still cause segfaults, e.g., on early Tegra hardware. Note that arm6l should be armv6l in the other patch name. Do you want an SR fixing that? Cheers, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Montag, 29. August 2016 20:51:29 CEST Andreas Färber wrote:
Am 29.08.2016 um 20:37 schrieb Jan Engelhardt:
On Monday 2016-08-29 19:44, Andreas Färber wrote:
[ 6141s] libavcodec/libavcodec.so: undefined reference to `ff_avg_vc1_chroma_mc4_neon'
someone already sent me some arm patch involving VC1 very recently.
Ah, Stefan Brüns:
https://build.opensuse.org/package/view_file/multimedia:libs/ffmpeg/ffmpeg-f ix-CONFIG_VC1DSP-changes.patch?expand=1
Thanks, missed that one, not in Factory yet. While that may fix the build, NEON might still cause segfaults, e.g., on early Tegra hardware.
Did not do a thourough check, but in at least one location I have seen an explicicit runtime check for NEON. In general, most/all? DSP routines are dispatched using tables of CPU specific (runtime) function pointers. Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 work: +49 2405 49936-424 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (4)
-
Andreas Färber
-
Jan Engelhardt
-
Oscar C
-
Stefan Bruens