Failure to cross compile GStreamer v1.14 with config/cross-lin-arm.cbc

Nirbheek Chauhan nirbheek.chauhan at gmail.com
Fri Jun 29 06:35:19 UTC 2018


On Fri, Jun 29, 2018 at 11:51 AM Matthew Thyer
<matthew.thyer at adelaide.edu.au> wrote:
>
> I’ve given up on Cerbero for Linux builds after Nicolas Dufresne said (in this message https://lists.freedesktop.org/archives/gstreamer-devel/2018-May/067778.html) that the GStreamer project delegates packaging for Linux builds to the various distributions and that Cerbero is really for non-Linux systems.
>
> I’ve now written my own script to build GStreamer as a standard autoconf project that uses pkg-config.
>
> I’ve yet to extend this for cross compilation.
>

Like Nicolas said, the distro-specific packaging output of Cerbero is
not correct on Linux and is not supported, but the build output itself
(and packaging as tarballs) does work, is tested on our CI, and is
supported.

However, cross-linux is not tested on our CI so is not very well
tested, but should generally work except for minor bugs. As always,
patches are welcome, and should be added via a bug on bugzilla:
https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer . Sending
patches via the mailing list is generally not going to be helpful.

Cheers,
Nirbheek

> From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> On Behalf Of Vincenzo Bono
> Sent: Wednesday, 27 June 2018 3:53 AM
> To: gstreamer-devel at lists.freedesktop.org
> Subject: Re: Failure to cross compile GStreamer v1.14 with config/cross-lin-arm.cbc
>
>
>
> Hello,
>
>
>
> I had the same issue with GStreamer v1.15, while building direclty on my Raspberry.
>
>
>
> Looking inside the openssl.recipe, under your cerbero/recipes, I’ve found that a define was added form ARMv7 for the Android platform, but not for Linux in general.
>
>
>
> Adding a "or self.config.target_platform == Platform.LINUX” in the related check, inside the configure(self) function fixed the build for me:
>
>
>
> def configure(self):
>
>
>
>>
>
>
>     if self.config.target_platform == Platform.ANDROID or self.config.target_platform == Platform.LINUX:
>
>         if self.config.target_arch == Architecture.ARMv7:
>
>             # Openssl can't seem to figure this out anymore
>
>             config_sh += ' -D__ARM_MAX_ARCH__=7 '
>
>
>
> Vince
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list