Skip to contentSkip to conversation

glibc_2.9: disable parallel make

PATCH In review Steffen Sledz 3 participants 6 messages Oct 26, 2009 – Oct 28, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibc_2.9: disable parallel make

Parallel make for glibc_2.9.bb fails on different multi-cpu build hosts (e.g. AMD Phenom(tm) 9150e Quad-Core Processor running openSUSE 11.1) with various errors. :(

---
 recipes/glibc/glibc_2.9.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
recipes/glibc/glibc_2.9.bb +2 -0
index cddae98..428af03 100644
@@ -75,6 +75,8 @@ SRC_URI_append_sh4 = " file://no-z-defs.patch;patch=1"
 #powerpc patches to add support for soft-float
 SRC_URI_append_powerpc= " file://powerpc-sqrt-hack.diff;patch=1"
 
+PARALLEL_MAKE = " "
+
 S = "${WORKDIR}/glibc-${PV}"
 B = "${WORKDIR}/build-${TARGET_SYS}"
 
Signature · 1 line
1.6.4.2
#1 lore raw
Quoted 3 lines · Steffen Sledz

Parallel make for glibc_2.9.bb fails on different multi-cpu build hosts (e.g. AMD Phenom(tm) 9150e Quad-Core Processor running openSUSE 11.1) with various errors. :(

It would make bootstrap longer on multi-CPU machines. :-(

I never seen such failure with PARALLEL_MAKE = "-j 8" and BB_NUMBER_THREADS = "8", 8x Xeon, at least with glibc-2.9-r35.2 and not before 4249269b.

Does it happen in the same directory every time? Is there any common error or missing library?

Signature · 2 lines
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus
#2 lore raw
Quoted 6 lines · Stanislav Brabec
Quoted 3 lines · Steffen Sledz

Parallel make for glibc_2.9.bb fails on different multi-cpu build hosts (e.g. AMD Phenom(tm) 9150e Quad-Core Processor running openSUSE 11.1) with various errors. :(

It would make bootstrap longer on multi-CPU machines. :-(

Yes, i know. But i found no other solution for it. :(

Quoted 6 lines

I never seen such failure with PARALLEL_MAKE = "-j 8" and BB_NUMBER_THREADS = "8", 8x Xeon, at least with glibc-2.9-r35.2 and not before 4249269b.

Does it happen in the same directory every time? Is there any common error or missing library?

Sorry, no.

See thread
<http://thread.gmane.org/gmane.comp.handhelds.openembedded/26781>

Steffen

#3 lore raw
In reply to Steffen Sledz
Quoted 6 lines · Steffen Sledz

Parallel make for glibc_2.9.bb fails on different multi-cpu build hosts (e.g. AMD Phenom(tm) 9150e Quad-Core Processor running openSUSE 11.1) with various errors. :(

...

BTW: It is the first time i proposed a patch this way and i expected to see it in the patchwork queue but it doesn't. :(

Steffen

#4 lore raw
Quoted 4 lines · Steffen Sledz
Quoted 3 lines · Steffen Sledz

Parallel make for glibc_2.9.bb fails on different multi-cpu build hosts (e.g. AMD Phenom(tm) 9150e Quad-Core Processor running openSUSE 11.1) with various errors. :(

I would suggest to refrain from applying this patch as it affects people who do not suffer from this problem
and compile time for glibc is quite huge that everyone will feel the pinch. I would still urge to
debug the real problem and fix it. May be there is something wrong with the OS on the box or even in the
parallel build mechanism of glibc. Or if there is a way to say 'only disable parallel build when build machine is
"AMD Phenom(tm) 9150e Quad-Core Processor running openSUSE 11.1" would be ok too.

Thanks

-Khem

Quoted 16 lines
Quoted 3 lines

...

BTW: It is the first time i proposed a patch this way and i expected to see it in the patchwork queue but it doesn't. :(

Steffen

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#5 lore raw
Quoted 4 lines · Khem Raj
Quoted 3 lines
Quoted 3 lines

Parallel make for glibc_2.9.bb fails on different multi-cpu build hosts (e.g. AMD Phenom(tm) 9150e Quad-Core Processor running openSUSE 11.1) with various errors. :(

Quoted 10 lines

I would suggest to refrain from applying this patch as it affects people who do not suffer from this problem
and compile time for glibc is quite huge that everyone will feel the pinch. I would still urge to
debug the real problem and fix it. May be there is something wrong with the OS on the box or even in the
parallel build mechanism of glibc. Or if there is a way to say 'only disable parallel build when build machine is
"AMD Phenom(tm) 9150e Quad-Core Processor running openSUSE 11.1" would be ok too.

I agree. As long as nobody else has this problem i'll not push this patch.

Quoted 2 lines
Quoted 2 lines

BTW: It is the first time i proposed a patch this way and i expected to see it in the patchwork queue but it doesn't. :(

Any idea why this ptach suggestion is not visible in the patchwork queue?

Steffen