remove -reduce-relocations on arm platform
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:
recipes-qt/qt5/qtbase.inc +0 -1
@@ -126,7 +126,6 @@ PACKAGECONFIG[nis] = "-nis,-no-nis" PACKAGECONFIG[widgets] = "-widgets,-no-widgets" QT_CONFIG_FLAGS += " \ - -reduce-relocations \ -shared \ -silent \ -no-pch \
Quoted 8 lines · Neuer User
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:
This doesn't remove it only for arm and it's also missing SOB line.
Quoted 21 lines
recipes-qt/qt5/qtbase.inc +0
-1@@ -126,7 +126,6 @@ PACKAGECONFIG[nis] = "-nis,-no-nis" PACKAGECONFIG[widgets] = "-widgets,-no-widgets" QT_CONFIG_FLAGS += " \ - -reduce-relocations \ -shared \ -silent \ -no-pch \Signature · 5 lines
-- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 7 lines · Neuer User
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.
I'm building for Wandboard, ARM Cortex-A9, but I haven't had any problems building qtbase.
Is this more of a runtime bug ?
/Jacob
Quoted 5 lines · Jacob Kroon
Quoted 3 lines · Neuer User
On arm platform the compiler does not implement "-reduce-relocations", see here: https://bugreports.qt-project.org/browse/QTBUG-36129
Quoted 7 lines
Quoted 4 lines
The meta-qt5 layer, however, uses this option, so configure will fail for qtbase.
I'm building for Wandboard, ARM Cortex-A9, but I haven't had any problems building qtbase.
Is this more of a runtime bug ?
It's catched in configure in 5.3.* version - not sure if it influences older versions as well - we were seeing runtime issues with older gcc and 5.2.1 (but we've upgraded gcc and haven't tried to remove -reduce-relocations).
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 3 lines · Jacob Kroon
I'm building for Wandboard, ARM Cortex-A9, but I haven't had any problems building qtbase.
Is this more of a runtime bug ?
are you using Linaro toolchain ?
Quoted 8 lines · Khem Raj
Quoted 3 lines · Jacob Kroon
I'm building for Wandboard, ARM Cortex-A9, but I haven't had any problems building qtbase.
Is this more of a runtime bug ?are you using Linaro toolchain ?
No, I've been using the vanilla gcc toolchain that is built by OE, without meta-linaro. But I may not have exercised Qt5 enough in my application to have noticed this bug.
Quoted 14 lines · Neuer User
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:
recipes-qt/qt5/qtbase.inc +0
-0
recipes-qt/qt5/qtbase.inc PACKAGECONFIG[nis] = "-nis,-no-nis" · line 131
Quoted 7 lines
recipes-qt/qt5/qtbase.inc +0
-1@@ -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