After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 782447 - openh264: failed to build for linux-arm
openh264: failed to build for linux-arm
Status: RESOLVED DUPLICATE of bug 787062
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-10 15:06 UTC by ozgunb
Modified: 2018-05-30 17:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
openh264: add configuration for linux-arm cross-compile (958 bytes, patch)
2017-05-10 15:06 UTC, ozgunb
none Details | Review

Description ozgunb 2017-05-10 15:06:09 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'
Comment 1 Tim-Philipp Müller 2018-05-30 17:53:16 UTC
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 ***