* [thud/master][PATCH 1/2] chromium-wayland: adjust build flags to disable debug and fix size issue
@ 2019-04-19 23:17 Denys Dmytriyenko
2019-04-19 23:17 ` [thud/master][PATCH 2/2] packagegroup-*-graphics: re-enable chromium Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Denys Dmytriyenko @ 2019-04-19 23:17 UTC (permalink / raw)
To: meta-arago
Normally binaries are built with debug symbols and then those are stripped out
into corresponding -dbg packages for debugging purposes.
Chromium builds in a lot of components and that leads to a large binary size:
* with gcc7 it was 3.9GB with debugging info, stripped down to 80MB w/o it
* with gcc8 it became 4.3GB and that is larger than 32-bit addressing, so it
becomes corrupted and cannot be stripped or executed
By disabling generation of the debugging info in the first place, it is now
possible to get a working chromium, but w/o the ability to debug it.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
meta-arago-distro/recipes-browser/chromium/chromium-wayland_%.bbappend | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-arago-distro/recipes-browser/chromium/chromium-wayland_%.bbappend b/meta-arago-distro/recipes-browser/chromium/chromium-wayland_%.bbappend
index d13606d..923db03 100644
--- a/meta-arago-distro/recipes-browser/chromium/chromium-wayland_%.bbappend
+++ b/meta-arago-distro/recipes-browser/chromium/chromium-wayland_%.bbappend
@@ -8,3 +8,5 @@ OZONE_WAYLAND_EXTRA_PATCHES = " \
USEGOLD = ""
DEPENDS += "gperf-native bison-native"
+
+FULL_OPTIMIZATION = "-O2 -pipe"
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [thud/master][PATCH 2/2] packagegroup-*-graphics: re-enable chromium
2019-04-19 23:17 [thud/master][PATCH 1/2] chromium-wayland: adjust build flags to disable debug and fix size issue Denys Dmytriyenko
@ 2019-04-19 23:17 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2019-04-19 23:17 UTC (permalink / raw)
To: meta-arago
This reverts commit 33a759c5cc7c3786908b417c68132d67f582b381.
---
.../packagegroups/packagegroup-arago-tisdk-graphics.bb | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
index ae70633..e12c42a 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
@@ -11,13 +11,13 @@ GRAPHICS_WAYLAND = "\
weston-examples \
"
-#GRAPHICS_WAYLAND_append_omap-a15 = "\
-# chromium-wayland \
-#"
+GRAPHICS_WAYLAND_append_omap-a15 = "\
+ chromium-wayland \
+"
-#GRAPHICS_WAYLAND_append_k3 = "\
-# chromium-wayland \
-#"
+GRAPHICS_WAYLAND_append_k3 = "\
+ chromium-wayland \
+"
GRAPHICS_RDEPENDS = "\
libgbm \
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-19 23:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-19 23:17 [thud/master][PATCH 1/2] chromium-wayland: adjust build flags to disable debug and fix size issue Denys Dmytriyenko
2019-04-19 23:17 ` [thud/master][PATCH 2/2] packagegroup-*-graphics: re-enable chromium Denys Dmytriyenko
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.