[oe] [meta-qt5]remove -reduce-relocations on arm platform

Khem Raj raj.khem at gmail.com
Sat Apr 26 19:44:26 UTC 2014


On Thu, Apr 24, 2014 at 11:16 PM, Neuer User <auslands-kv at gmx.de> wrote:
> On arm platform the compiler does not implement "-reduce-relocations",
> see here: https://bugreports.qt-project.org/browse/QTBUG-36129
>
> The meta-qt5 layer, however, uses this option, so configure will fail
> for qtbase.
>
> This patch fixes the problem for me, but it should better test on the
> platform and only apply it, when it is an arm platform:
>
> diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc
> index 89736be..f23236a 100644
> --- a/recipes-qt/qt5/qtbase.inc
> +++ b/recipes-qt/qt5/qtbase.inc
> @@ -126,7 +126,6 @@ PACKAGECONFIG[nis] = "-nis,-no-nis"
>  PACKAGECONFIG[widgets] = "-widgets,-no-widgets"
>
>  QT_CONFIG_FLAGS += " \
> -    -reduce-relocations \
>      -shared \
>      -silent \
>      -no-pch \

i would rather prefer
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=97323ad11305610185a0265392cabcd37510f50e

to be back ported to OE-Core master/daisy binutils instead



More information about the Openembedded-devel mailing list