[Bug 782447] New: openh264: failed to build for linux-arm

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 10 15:06:09 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=782447

            Bug ID: 782447
           Summary: openh264: failed to build for linux-arm
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: cerbero
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ozgunbal at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 351559
  --> https://bugzilla.gnome.org/attachment.cgi?id=351559&action=edit
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'

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list