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 765186 - bootstrap: Install gcc-arm-linux-gnueabi if building for ARM linux
bootstrap: Install gcc-arm-linux-gnueabi if building for ARM linux
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: cerbero
1.8.0
Other Linux
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-17 19:50 UTC by Marcin Lewandowski
Modified: 2018-11-03 10:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that adds gcc-arm-linux-gnueabi to bootstrap for linux/arm (1.25 KB, patch)
2016-04-17 19:50 UTC, Marcin Lewandowski
none Details | Review

Description Marcin Lewandowski 2016-04-17 19:50:35 UTC
Created attachment 326211 [details] [review]
Patch that adds gcc-arm-linux-gnueabi to bootstrap for linux/arm

When building for ARM Linux, Cerbero should install gcc-arm-linux-gnueabi during bootstrap phase, otherwise compilations will fail.
Comment 1 Nicolas Dufresne (ndufresne) 2016-04-17 21:35:51 UTC
Review of attachment 326211 [details] [review]:

This is updating for a single distribution. But before we go to far in review, which case needs this ? Will it conflict with toolchain for Android and iOS builds ?
Comment 2 Marcin Lewandowski 2016-04-17 23:58:16 UTC
The rationale behind this is that if I do ./cerbero-uninstalled -c config/cross-lin-arm.cbc bootstrap I expect it will fetch all necessary tools, as it happens with all other configs, instead of crashing with unreadable error on first build.

AFAIK it should not conflict with Android/iOS builds as they use separate toolchains fetched during bootstrap phase (but not via apt-get).
Comment 3 Sebastian Dröge (slomo) 2016-04-18 07:21:55 UTC
Yes this doesn't conflict with Android/iOS at all.
Comment 4 Nicolas Dufresne (ndufresne) 2016-04-18 13:49:10 UTC
Ok, then my review is the following, can you do that for Fedora/Arch/etc. No need to test it, we'll fix if there is a problem. If you can't find the package name, or there is no cross-toolchain package, add a warning.
Comment 5 Marcin Lewandowski 2016-04-18 17:08:02 UTC
Ok, I've been using Fedora last time in 2010, I have to see how it goes and I'll update the patch.
Comment 6 Nicolas Dufresne (ndufresne) 2016-04-18 17:34:49 UTC
(In reply to Marcin Lewandowski from comment #5)
> Ok, I've been using Fedora last time in 2010, I have to see how it goes and
> I'll update the patch.

For Fedora, package is called "gcc-arm-linux-gnu". If unsure, just add a assertions, we'll fix when we hit that (it's trivial fix after all).
Comment 7 Nicolas Dufresne (ndufresne) 2016-04-18 17:38:54 UTC
Note that to be extra complete, we'd need to introduce a way to create a sysroot in the bootstrap, is that you intention ? That of course only apply to distro with ARM support.
Comment 8 GStreamer system administrator 2018-11-03 10:20:48 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/30.