* [meta-oe][PATCH] mariadb: -native also needs gold workaround
@ 2015-12-30 13:57 Koen Kooi
2015-12-30 18:34 ` Khem Raj
2016-01-04 17:52 ` Martin Jansa
0 siblings, 2 replies; 12+ messages in thread
From: Koen Kooi @ 2015-12-30 13:57 UTC (permalink / raw)
To: openembedded-devel; +Cc: Koen Kooi
When the host distro uses gold mariadb-native fails to build.
Signed-off-by: Koen Kooi <koen@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"
+
EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
-DWITH_JEMALLOC=no \
-DWITHOUT_TOKUDB=TRUE \
--
2.0.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [meta-oe][PATCH] mariadb: -native also needs gold workaround
2015-12-30 13:57 [meta-oe][PATCH] mariadb: -native also needs gold workaround Koen Kooi
@ 2015-12-30 18:34 ` Khem Raj
2015-12-30 19:06 ` Koen Kooi
2015-12-31 8:14 ` Koen Kooi
2016-01-04 17:52 ` Martin Jansa
1 sibling, 2 replies; 12+ messages in thread
From: Khem Raj @ 2015-12-30 18:34 UTC (permalink / raw)
To: openembeded-devel; +Cc: Koen Kooi
On Wed, Dec 30, 2015 at 5:57 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
> When the host distro uses gold mariadb-native fails to build.
>
what is the failure ?
> Signed-off-by: Koen Kooi <koen@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"
> +
> EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
> -DWITH_JEMALLOC=no \
> -DWITHOUT_TOKUDB=TRUE \
> --
> 2.0.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [meta-oe][PATCH] mariadb: -native also needs gold workaround
2015-12-30 18:34 ` Khem Raj
@ 2015-12-30 19:06 ` Koen Kooi
2015-12-31 8:14 ` Koen Kooi
1 sibling, 0 replies; 12+ messages in thread
From: Koen Kooi @ 2015-12-30 19:06 UTC (permalink / raw)
To: Khem Raj; +Cc: openembeded-devel
> Op 30 dec. 2015 om 19:34 heeft Khem Raj <raj.khem@gmail.com> het volgende geschreven:
>
>> On Wed, Dec 30, 2015 at 5:57 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>> When the host distro uses gold mariadb-native fails to build.
>
> what is the failure ?
Not near a computer right now. The same one that you get for the regular recipe without the TARGET_CFLAGS. It's in the patchwork discussion between Martin and Paul for the version update.
>
>> Signed-off-by: Koen Kooi <koen@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"
>> +
>> EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
>> -DWITH_JEMALLOC=no \
>> -DWITHOUT_TOKUDB=TRUE \
>> --
>> 2.0.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [meta-oe][PATCH] mariadb: -native also needs gold workaround
2015-12-30 18:34 ` Khem Raj
2015-12-30 19:06 ` Koen Kooi
@ 2015-12-31 8:14 ` Koen Kooi
2015-12-31 8:39 ` Khem Raj
1 sibling, 1 reply; 12+ messages in thread
From: Koen Kooi @ 2015-12-31 8:14 UTC (permalink / raw)
To: Khem Raj; +Cc: openembeded-devel
> Op 30 dec. 2015, om 19:34 heeft Khem Raj <raj.khem@gmail.com> het volgende geschreven:
>
> On Wed, Dec 30, 2015 at 5:57 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>> When the host distro uses gold mariadb-native fails to build.
>>
>
> what is the failure ?
The same one as in http://lists.openembedded.org/pipermail/openembedded-devel/2014-August/097495.html
>
>> Signed-off-by: Koen Kooi <koen@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"
>> +
>> EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
>> -DWITH_JEMALLOC=no \
>> -DWITHOUT_TOKUDB=TRUE \
>> --
>> 2.0.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [meta-oe][PATCH] mariadb: -native also needs gold workaround
2015-12-31 8:14 ` Koen Kooi
@ 2015-12-31 8:39 ` Khem Raj
0 siblings, 0 replies; 12+ messages in thread
From: Khem Raj @ 2015-12-31 8:39 UTC (permalink / raw)
To: Koen Kooi; +Cc: openembeded-devel
[-- Attachment #1: Type: text/plain, Size: 1996 bytes --]
> On Dec 31, 2015, at 12:14 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>
>
>> Op 30 dec. 2015, om 19:34 heeft Khem Raj <raj.khem@gmail.com> het volgende geschreven:
>>
>> On Wed, Dec 30, 2015 at 5:57 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>>> When the host distro uses gold mariadb-native fails to build.
>>>
>>
>> what is the failure ?
>
> The same one as in http://lists.openembedded.org/pipermail/openembedded-devel/2014-August/097495.html
OK. So it seems that a linker script is being used by without specifying linker option -T to denote that
which will actually make ld.bfd to treat it as add-on to default linker script. however gold will fail
to generate same behavior in current form. If you added -T then gold will do it same as ld.bfd but same won’t
work for ld.bfd since -T will override the implicit/internal linker script that ld.bfd uses. I don’t see an easy common
solution :(
>
>>
>>> Signed-off-by: Koen Kooi <koen@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"
>>> +
>>> EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
>>> -DWITH_JEMALLOC=no \
>>> -DWITHOUT_TOKUDB=TRUE \
>>> --
>>> 2.0.1
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [meta-oe][PATCH] mariadb: -native also needs gold workaround
2015-12-30 13:57 [meta-oe][PATCH] mariadb: -native also needs gold workaround Koen Kooi
2015-12-30 18:34 ` Khem Raj
@ 2016-01-04 17:52 ` Martin Jansa
2016-01-04 18:15 ` Khem Raj
2016-01-18 9:47 ` Robert Yang
1 sibling, 2 replies; 12+ messages in thread
From: Martin Jansa @ 2016-01-04 17:52 UTC (permalink / raw)
To: openembedded-devel; +Cc: Koen Kooi
[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]
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@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?
> +
> EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
> -DWITH_JEMALLOC=no \
> -DWITHOUT_TOKUDB=TRUE \
> --
> 2.0.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [meta-oe][PATCH] mariadb: -native also needs gold workaround
2016-01-04 17:52 ` Martin Jansa
@ 2016-01-04 18:15 ` Khem Raj
2016-01-04 18:24 ` Martin Jansa
2016-01-18 9:47 ` Robert Yang
1 sibling, 1 reply; 12+ messages in thread
From: Khem Raj @ 2016-01-04 18:15 UTC (permalink / raw)
To: openembeded-devel; +Cc: Koen Kooi
On Mon, Jan 4, 2016 at 9:52 AM, Martin Jansa <martin.jansa@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@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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [meta-oe][PATCH] mariadb: -native also needs gold workaround
2016-01-04 18:15 ` Khem Raj
@ 2016-01-04 18:24 ` Martin Jansa
2016-01-04 18:30 ` Khem Raj
0 siblings, 1 reply; 12+ messages in thread
From: Martin Jansa @ 2016-01-04 18:24 UTC (permalink / raw)
To: openembedded-devel; +Cc: Koen Kooi
[-- Attachment #1: Type: text/plain, Size: 2344 bytes --]
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@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@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [meta-oe][PATCH] mariadb: -native also needs gold workaround
2016-01-04 18:24 ` Martin Jansa
@ 2016-01-04 18:30 ` Khem Raj
0 siblings, 0 replies; 12+ messages in thread
From: Khem Raj @ 2016-01-04 18:30 UTC (permalink / raw)
To: openembeded-devel; +Cc: Koen Kooi
On Mon, Jan 4, 2016 at 10:24 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> 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@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@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
yeah so 2017
> 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.
It can be dropped. we have explicitly state that 12.04 may not be used
anymore. or something like
mimimum supported ubuntu/debian-like distros or so. many large corps
have slow upgrade path. like we still carry patches
to support centos 5.x,
>
> FWIW: Poky already dropped it from SANITY_TESTED_DISTROS in Fido release:
>
> commit b528712a076ad2fd08ec8a3cbcd7aefd612d999f
> Author: Lucian Musat <george.l.musat@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@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [meta-oe][PATCH] mariadb: -native also needs gold workaround
2016-01-04 17:52 ` Martin Jansa
2016-01-04 18:15 ` Khem Raj
@ 2016-01-18 9:47 ` Robert Yang
2016-01-18 11:57 ` Martin Jansa
1 sibling, 1 reply; 12+ messages in thread
From: Robert Yang @ 2016-01-18 9:47 UTC (permalink / raw)
To: openembedded-devel; +Cc: Koen Kooi
On 01/05/2016 01:52 AM, Martin Jansa 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@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?
This patch has been merged, so we don't support Ubuntu 12.04 any more?
// Robert
>
>> +
>> EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
>> -DWITH_JEMALLOC=no \
>> -DWITHOUT_TOKUDB=TRUE \
>> --
>> 2.0.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [meta-oe][PATCH] mariadb: -native also needs gold workaround
2016-01-18 9:47 ` Robert Yang
@ 2016-01-18 11:57 ` Martin Jansa
2016-01-18 19:03 ` Khem Raj
0 siblings, 1 reply; 12+ messages in thread
From: Martin Jansa @ 2016-01-18 11:57 UTC (permalink / raw)
To: openembedded-devel; +Cc: Koen Kooi
[-- Attachment #1: Type: text/plain, Size: 2111 bytes --]
On Mon, Jan 18, 2016 at 05:47:17PM +0800, Robert Yang wrote:
>
>
> On 01/05/2016 01:52 AM, Martin Jansa 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@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?
>
> This patch has been merged, so we don't support Ubuntu 12.04 any more?
Correct, I don't want to push back incompatible changes anymore, so I've
upgraded my jenkins slaves and merge this change.
>
> // Robert
>
> >
> >> +
> >> EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
> >> -DWITH_JEMALLOC=no \
> >> -DWITHOUT_TOKUDB=TRUE \
> >> --
> >> 2.0.1
> >>
> >> --
> >> _______________________________________________
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> >
> >
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [meta-oe][PATCH] mariadb: -native also needs gold workaround
2016-01-18 11:57 ` Martin Jansa
@ 2016-01-18 19:03 ` Khem Raj
0 siblings, 0 replies; 12+ messages in thread
From: Khem Raj @ 2016-01-18 19:03 UTC (permalink / raw)
To: openembedded-devel; +Cc: Koen Kooi
On Jan 18, 2016 3:56 AM, "Martin Jansa" <martin.jansa@gmail.com> wrote:
>
> On Mon, Jan 18, 2016 at 05:47:17PM +0800, Robert Yang wrote:
> >
> >
> > On 01/05/2016 01:52 AM, Martin Jansa 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@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?
> >
> > This patch has been merged, so we don't support Ubuntu 12.04 any more?
>
> Correct, I don't want to push back incompatible changes anymore, so I've
> upgraded my jenkins slaves and merge this change.
This is fine it would avoid support question if you could add this info to
README
>
> >
> > // Robert
> >
> > >
> > >> +
> > >> EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
> > >> -DWITH_JEMALLOC=no \
> > >> -DWITHOUT_TOKUDB=TRUE \
> > >> --
> > >> 2.0.1
> > >>
> > >> --
> > >> _______________________________________________
> > >> Openembedded-devel mailing list
> > >> Openembedded-devel@lists.openembedded.org
> > >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > >
> > >
> > >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2016-01-18 19:03 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-30 13:57 [meta-oe][PATCH] mariadb: -native also needs gold workaround Koen Kooi
2015-12-30 18:34 ` Khem Raj
2015-12-30 19:06 ` Koen Kooi
2015-12-31 8:14 ` Koen Kooi
2015-12-31 8:39 ` Khem Raj
2016-01-04 17:52 ` Martin Jansa
2016-01-04 18:15 ` Khem Raj
2016-01-04 18:24 ` Martin Jansa
2016-01-04 18:30 ` Khem Raj
2016-01-18 9:47 ` Robert Yang
2016-01-18 11:57 ` Martin Jansa
2016-01-18 19:03 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.