[OE-core] libav

Paul Eggleton paul.eggleton at linux.intel.com
Wed Sep 3 11:18:22 UTC 2014


On Wednesday 03 September 2014 07:05:18 Yi Qingliang wrote:
> why there are two versions libav in oe-core? what's the difference?
> why the opencv will use the 0.8.x version, but not 9.x version?
> does it should use the higher version?

Upstream libav changed its API in 9.x, and some software has not been updated 
to handle this change. When we get rid of everything that depends on libav 0.8 
we can drop it, but until then we are stuck with it. Note that if you need to 
select the version of libav to be built you would do that by setting e.g.  
PREFERRED_VERSION_libav = "9.%"
 
> libav 0.8.x has warning:
> 
> WARNING: QA Issue: ELF binary
> '/mnt/qt5-test/build/tmp/work/armv6-vfp-jilong-linux-gnueabi/libav/0.8.15-r0
> /packages-split/libswscale/usr/lib/libswscale.so.2.1.0' has relocations in
> .text [textrel]
> WARNING: QA Issue: ELF binary
> '/mnt/qt5-test/build/tmp/work/armv6-vfp-jilong-linux-gnueabi/libav/0.8.15-r0
> /packages-split/libpostproc/usr/lib/libpostproc.so.52.0.0' has relocations
> in .text [textrel]
> WARNING: QA Issue: ELF binary
> '/mnt/qt5-test/build/tmp/work/armv6-vfp-jilong-linux-gnueabi/libav/0.8.15-r0
> /packages-split/libavutil/usr/lib/libavutil.so.51.22.2' has relocations in
> .text [textrel]
> WARNING: QA Issue: ELF binary
> '/mnt/qt5-test/build/tmp/work/armv6-vfp-jilong-linux-gnueabi/libav/0.8.15-r0
> /packages-split/libavformat/usr/lib/libavformat.so.53.21.1' has relocations
> in .text [textrel]
> WARNING: QA Issue: ELF binary
> '/mnt/qt5-test/build/tmp/work/armv6-vfp-jilong-linux-gnueabi/libav/0.8.15-r0
> /packages-split/libavfilter/usr/lib/libavfilter.so.2.15.0' has relocations
> in .text [textrel]
> WARNING: QA Issue: ELF binary
> '/mnt/qt5-test/build/tmp/work/armv6-vfp-jilong-linux-gnueabi/libav/0.8.15-r0
> /packages-split/libavdevice/usr/lib/libavdevice.so.53.2.0' has relocations
> in .text [textrel]
> WARNING: QA Issue: ELF binary
> '/mnt/qt5-test/build/tmp/work/armv6-vfp-jilong-linux-gnueabi/libav/0.8.15-r0
> /packages-split/libavcodec/usr/lib/libavcodec.so.53.35.0' has relocations in
> .text [textrel]

Which architecture are you building for when you get these?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list