Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-build gst-build
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-buildgst-build
  • Issues
  • #169
Closed
Open
Issue created Jun 10, 2021 by Orkam Mazambrak@orkam.mazambrak

Meson build error whilte attempting to cross-build gstreamer

I'm trying to cross-compile gstreamer using the tutorial at this page: https://www.collabora.com/news-and-blog/blog/2020/05/15/cross-compiling-with-gst-build-and-gstreamer/.

Currently I've created a SDK using Yocto with the whole toolchain meson-log.txt I've followed each step and as I launched meson, it fails during glib build step. The error is very weird.

subprojects/glib/meson.build:1233:2: ERROR: Problem encountered: Compiler provides no native 16-bit integer type

The meson cross file was generated with the command:

python generate-cross-file.py --cross-file cross_file.meson --toolchain-prefix aarch64-oe-linux- --custom-cflags "-O2 -pipe -g -feliminate-unused-debug-types" --custom-ldflags "-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" --sysroot /opt/tdx-oecore-x86_64/sysroots/aarch64-oe-linux/

The meson command looks like:

meson --prefix=/opt/build_gstreamer/deploy/apalis-imx8/gstreamer-1.18 -Dglib:libmount=false -Dgst-plugins-good=enabled -Dgst-plugins-good:qt5=enabled -Dgl=enabled --cross-file=cross_file.meson build-cross-arm64

Please find attached the meson-log.txt file.

Is there something wrong cross_file.mesonin the command above ?

Does the cross-compile require a certain type of toolchain ?

Marko.

Assignee
Assign to
Time tracking