[oe] [meta-oe][PATCH] mariadb: -native also needs gold workaround

Martin Jansa martin.jansa at gmail.com
Mon Jan 4 18:24:58 UTC 2016


On Mon, Jan 04, 2016 at 10:15:23AM -0800, Khem Raj wrote:
> On Mon, Jan 4, 2016 at 9:52 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> > On Wed, Dec 30, 2015 at 02:57:55PM +0100, Koen Kooi wrote:
> >> When the host distro uses gold mariadb-native fails to build.
> >>
> >> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> >> ---
> >>  meta-oe/recipes-support/mysql/mariadb.inc | 3 +++
> >>  1 file changed, 3 insertions(+)
> >>
> >> diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc
> >> index a6826c3..6a55476 100644
> >> --- a/meta-oe/recipes-support/mysql/mariadb.inc
> >> +++ b/meta-oe/recipes-support/mysql/mariadb.inc
> >> @@ -60,6 +60,9 @@ PACKAGECONFIG[setupdb] = ", ,,${PN}-setupdb"
> >>  # https://mariadb.atlassian.net/browse/MDEV-5982
> >>  TARGET_CFLAGS += "-fuse-ld=bfd"
> >>
> >> +BUILD_CFLAGS += "-fuse-ld=bfd"
> >> +BUILD_CXXFLAGS += "-fuse-ld=bfd"
> >
> > Unfortunately this breaks builds on older hosts with older gcc
> >
> > |   cc1: error: unrecognized command line option '-fuse-ld=bfd'
> > http://errors.yoctoproject.org/Errors/Details/25859/
> >
> > Should we consider Ubuntu-12.04 insanely old?
> >
> 
> Its still maintained and supported until 2017 I believe.

By Canonical yes:
http://www.ubuntu.com/info/release-end-of-life
but that doesn't automatically make it good distribution for OE builds, I'm playing
devils advocate here, because most jenkins slaves I have access to are
currently using 12.04 (that's why I've noticed this issue in first place).

I was already considering upgrading them to 14.04 and people can use
build-appliance-image if they cannot just upgrade their host distro.

FWIW: Poky already dropped it from SANITY_TESTED_DISTROS in Fido release:

commit b528712a076ad2fd08ec8a3cbcd7aefd612d999f
Author: Lucian Musat <george.l.musat at intel.com>
Date:   Mon Mar 23 12:35:12 2015 +0200

    meta-yocto/distro: Updated SANITY_TESTED_DISTROS.
    
    Added OpenSUSE-13.2, Fedora 21. Removed poky 1.6 and Ubuntu 12.04.

> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160104/b8ee2517/attachment-0002.sig>


More information about the Openembedded-devel mailing list