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

Khem Raj raj.khem at gmail.com
Mon Jan 4 18:15:23 UTC 2016


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.



More information about the Openembedded-devel mailing list