GNOME Bugzilla – Bug 782716
Openh264 build failed using cerbero build for android-universal
Last modified: 2018-05-07 15:55:28 UTC
openh264 build failed while compiling for android-universal recipe using cerbero. error logs are: yasm -DX86_32 -f elf -I./codec/common/x86/ -o codec/common/x86/cpuid.o codec/common/x86/cpuid.asm yasm -DX86_32 -f elf -I./codec/common/x86/ -o codec/common/x86/dct.o codec/common/x86/dct.asm codec/common/x86/dct.asm:897: error: invalid combination of opcode and operands codec/common/x86/dct.asm:897: error: invalid combination of opcode and operands codec/common/x86/dct.asm:900: error: invalid combination of opcode and operands codec/common/x86/dct.asm:900: error: invalid combination of opcode and operands codec/common/x86/dct.asm:903: error: invalid combination of opcode and operands codec/common/x86/dct.asm:903: error: invalid combination of opcode and operands codec/common/x86/dct.asm:906: error: invalid combination of opcode and operands codec/common/x86/dct.asm:906: error: invalid combination of opcode and operands codec/common/x86/dct.asm:951: error: invalid combination of opcode and operands codec/common/x86/dct.asm:951: error: invalid combination of opcode and operands codec/common/x86/dct.asm:954: error: invalid combination of opcode and operands codec/common/x86/dct.asm:954: error: invalid combination of opcode and operands make: *** [codec/common/x86/dct.o] Error 1 make: *** Waiting for unfinished jobs.... Recipe 'openh264' failed at the build step 'compile'
Which version of cerbero are you using, do you have any custom configuration, and which Android NDK?
I am not using any custom configuration and Android NDK version is:android-ndk-r13b. the command I used for build is below: ./cerbero-uninstalled -c config/android-universal.cbs package gstreamer-1.0
Any update on this ??
That is strange, I have done this build from scratch few days ago and didn't had this issue. Did you run bootstrap without config first ? What Linux distribution is this running on ? (If Linux, what OS version otherwise)
(In reply to Nicolas Dufresne (stormer) from comment #4) > That is strange, I have done this build from scratch few days ago and didn't > had this issue. Did you run bootstrap without config first ? What Linux > distribution is this running on ? (If Linux, what OS version otherwise) I am using Ububtu 14.04 LTS 64bit distribution. Steps I followed is: ./cerbero-uninstalled -c config/cross-android-universal.cbc bootstrap ./cerbero-uninstalled -c config/android-universal.cbc package gstreamer-1.0 if wrong, can you please tell me right steps ??
you should use the same android config (cross-android-universal.cbc) for both commands
(In reply to Jan Schmidt from comment #6) > you should use the same android config (cross-android-universal.cbc) for > both commands ohh. that is a typing mistake. there is nothing like android-universal.cbc, actually I used same config for both commands.
Confirming that I was able to complete this build fine today on Fedora 25, so I suspect it's related to the underlying distro, but I'm not sure how that could be interacting here.
(In reply to Jan Schmidt from comment #8) > Confirming that I was able to complete this build fine today on Fedora 25, > so I suspect it's related to the underlying distro, but I'm not sure how > that could be interacting here. Please give me steps from scratch to build on Fedora 25. By the time, I am trying to build on Ubuntu 16.04 64 bit (Virtual machine)here. The steps I am using is: git clone git://anongit.freedesktop.org/gstreamer/cerbero (Done) git checkout Gstreamer version 1.12 (Done) ./cerbero-uninstall bootstrap (Done) ./cerbero-uninstall -c config/cross-android-universal.cbc bootstrap (Running) ./cerbero-uninstall -c config/cross-android-universal.cbc package gstreamer-1.0
Yes, those.
It took whole night and build completed SUCCESSFULLY with following warning messages. I modified config to support minimum android version is JELLY_BEAN. ------------ WARNING: No specific packager available for the distro version android_jelly_bean, using generic packager for distro android -----> Creating package for gstreamer-1.0 WARNING: Some libraries weren't found while searching! libvpx WARNING: Some libraries weren't found while searching! libgnutlsxx -----> Package successfully created in /home/~/cerbero/gstreamer-1.0-android-universal-1.12.0.1-runtime.tar.bz2 /home/~/cerbero/gstreamer-1.0-android-universal-1.12.0.1.tar.bz2 -------------------
If anyone has any idea how the underlying distro might result in the error above, that'd be good to know.
it sounds like this is not happening anymore? Please reopen otherwise with more details about the environment where it happens and how to reproduce