GNOME Bugzilla – Bug 782447
openh264: failed to build for linux-arm
Last modified: 2018-05-30 17:53:16 UTC
Created attachment 351559 [details] [review] openh264: add configuration for linux-arm cross-compile I used gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux toolchain to build openh264 plugin with cross-lin-arm.cbc. Problem is that there's no check for target_arch in openh264.recipe if target platform is linux. Without the fix, this error occurs: Running command 'make libraries' /opt/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux/bin/arm-linux-gnueabihf-g++ -Wall -g -O2 -march=armv7-a -Wl,-rpath-link=/opt/gstreamer-arm/lib -Wall -g -O2 -march=armv7-a -Wl,-rpath-link=/opt/gstreamer-arm/lib -O3 -DNDEBUG -m64 -DX86_ASM -Wall -fno-strict-aliasing -fPIC -MMD -MP -DGENERATED_VERSION_HEADER -Wall -g -O2 -march=armv7-a -Wall -g -O2 -march=armv7-a -I./codec/api/svc -I./codec/common/inc -Icodec/common/inc -c -o codec/common/src/common_tables.o codec/common/src/common_tables.cpp arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-m64’ codec/common/targets.mk:69: recipe for target 'codec/common/src/common_tables.o' failed make: *** [codec/common/src/common_tables.o] Error 1 Recipe 'openh264' failed at the build step 'compile'
Thanks for the patch! Sorry it fell through the cracks. I'm happy to report however that this has been fixed in git already. *** This bug has been marked as a duplicate of bug 787062 ***