Skip to contentSkip to conversation

chromium: disable generate_character_data for qemux86

PATCH Superseded Jacobo Aragunde Pérez 2 participants 3 messages Feb 22, 2017 – Feb 23, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chromium: disable generate_character_data for qemux86

Chromium-wayland fails with:
http://errors.yoctoproject.org/Errors/Build/32356/

Root cause seems to be ICU mixing host and target architectures, same as in: https://bugreports.qt.io/browse/QTBUG-57705

---
 recipes-browser/chromium/chromium.inc | 1 +
 1 file changed, 1 insertion(+)
recipes-browser/chromium/chromium.inc +1 -0
index 0e7250e..0076f3a 100644
@@ -15,6 +15,7 @@ inherit gettext pythonnative
 
 ARMFPABI_armv7a = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'arm_float_abi=hard', 'arm_float_abi=softfp', d)}"
 GYP_DEFINES += "${ARMFPABI} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''"
+GYP_DEFINES_append_qemux86 = " generate_character_data=0"
 
 do_configure() {
 	cd ${S}
Signature · 1 line
2.7.4
#1 lore raw
Quoted 16 lines · Jacobo Aragunde Pérez

Chromium-wayland fails with:
http://errors.yoctoproject.org/Errors/Build/32356/

Root cause seems to be ICU mixing host and target architectures, same as in: https://bugreports.qt.io/browse/QTBUG-57705

---
 recipes-browser/chromium/chromium.inc | 1 +
 1 file changed, 1 insertion(+)
recipes-browser/chromium/chromium.inc +0 -0
index 0e7250e..0076f3a 100644

recipes-browser/chromium/chromium.inc inherit gettext pythonnative · line 18

Quoted 4 lines
recipes-browser/chromium/chromium.inc +1 -0
@@ -15,6 +15,7 @@ inherit gettext pythonnative
 
 ARMFPABI_armv7a = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'arm_float_abi=hard', 'arm_float_abi=softfp', d)}"
 GYP_DEFINES += "${ARMFPABI} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''"
+GYP_DEFINES_append_qemux86 = " generate_character_data=0"

Any x86 will need this.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#2 lore raw
Quoted 10 lines · Otavio Salvador
Quoted 6 lines · Jacobo Aragunde Pérez

Chromium-wayland fails with:
http://errors.yoctoproject.org/Errors/Build/32356/

Root cause seems to be ICU mixing host and target architectures, same as in: https://bugreports.qt.io/browse/QTBUG-57705
...

Any x86 will need this.

You are totally right, I've reproduced build issues in third_party/icu with qemux86 and intel-core2-32 machines.

I'm sending an amended patch that covers both cases. Thanks for the review.

Best,

Signature · 2 lines
Jacobo Aragunde
Software Engineer at Igalia