All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] icu: disable do_make_icudata parallel build
@ 2020-04-28  9:05 hongxu
  2020-04-28  9:22 ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 2+ messages in thread
From: hongxu @ 2020-04-28  9:05 UTC (permalink / raw)
  To: openembedded-core

Since commit [icu: Add knobs to generate a subset of ICU data][1]applied,
It caused Segmentation fault while executing genrb to generate *.res files
...
|1473 LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH
../bin/genrb -s ./misc -d ./out/build/icudt66l -i ./out/build/icudt66l
-k -q pluralRanges.txt
...
|1577 make[1]: *** [../data/rules.mk:732: out/build/icudt66l/pluralRanges.res]
Segmentation fault (core dumped)
|1578 make[1]: *** Waiting for unfinished jobs....
...

Follow Khem Raj's suggestion [2], disable do_make_icudata parallel build
and see if it makes help.

[1] https://git.openembedded.org/openembedded-core/commit/?id=5e5be67744d7ddf5a9ac433ecba02f697a84a325
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=13869

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta/recipes-support/icu/icu_66.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/icu/icu_66.1.bb b/meta/recipes-support/icu/icu_66.1.bb
index f2bb344e33..86afef3f04 100644
--- a/meta/recipes-support/icu/icu_66.1.bb
+++ b/meta/recipes-support/icu/icu_66.1.bb
@@ -55,7 +55,7 @@ do_make_icudata_class-target () {
     LDFLAGS='${BUILD_LDFLAGS}' \
     ICU_DATA_FILTER_FILE=${WORKDIR}/filter.json \
     ./runConfigureICU Linux --with-data-packaging=archive
-    oe_runmake ${PARALLEL_MAKE}
+    oe_runmake
     install -Dm644 ${S}/data/out/icudt${ICU_MAJOR_VER}l.dat ${S}/data/in/icudt${ICU_MAJOR_VER}l.dat
 }
 
-- 
2.18.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [OE-core] [PATCH] icu: disable do_make_icudata parallel build
  2020-04-28  9:05 [PATCH] icu: disable do_make_icudata parallel build hongxu
@ 2020-04-28  9:22 ` Alexander Kanavin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2020-04-28  9:22 UTC (permalink / raw)
  To: hongxu, Khem Raj; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

On Tue, 28 Apr 2020 at 11:06, hongxu <hongxu.jia@windriver.com> wrote:

> Since commit [icu: Add knobs to generate a subset of ICU data][1]applied,
> It caused Segmentation fault while executing genrb to generate *.res files
> ...
> |1473 LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH
> ../bin/genrb -s ./misc -d ./out/build/icudt66l -i ./out/build/icudt66l
> -k -q pluralRanges.txt
> ...
> |1577 make[1]: *** [../data/rules.mk:732:
> out/build/icudt66l/pluralRanges.res]
> Segmentation fault (core dumped)
> |1578 make[1]: *** Waiting for unfinished jobs....
> ...
>
> Follow Khem Raj's suggestion [2], disable do_make_icudata parallel build
> and see if it makes help.
>
> [1]
> https://git.openembedded.org/openembedded-core/commit/?id=5e5be67744d7ddf5a9ac433ecba02f697a84a325
> [2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=13869
>

Can this be fixed properly? What is the impact of disabling parallel build
on build times?

Alex

[-- Attachment #2: Type: text/html, Size: 1645 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-28  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28  9:05 [PATCH] icu: disable do_make_icudata parallel build hongxu
2020-04-28  9:22 ` [OE-core] " Alexander Kanavin

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.