Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57179 - Glibc build problems with distcc during locale building
Summary: Glibc build problems with distcc during locale building
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-15 06:49 UTC by Gabriel Devenyi
Modified: 2005-02-10 02:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Devenyi 2004-07-15 06:49:52 UTC
When glibc is built on a distcc system, the compile is corectly distributed. When the install comes to building locale data, it is ALSO built with whatever makeopts are set (MAKEOPTS="-j4" for me) this is *very* *very* slow since it is not distributed via distcc. Is it possible to check for distcc in the ebuild and not use MAKEOPTS when building locale data?
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2004-07-15 13:58:54 UTC
So having it run as -j1 on the same machine, is quicker than -j4 if distcc
is running ?
Comment 2 Gabriel Devenyi 2004-07-15 14:17:00 UTC
Yes, but *only* for the locale building.
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2004-07-23 19:03:00 UTC
please cc me on distcc issues.

Personally this sounds like a Portage or Makefile thing.
Comment 4 Gabriel Devenyi 2004-07-23 19:46:44 UTC
Yes it is, portage *thinks* that MAKEOPTS="-j4" means it can build 4 locales at a time. Locale building is running a program, not using gcc, so the intended distcc distribution does not happen, and the system is heavily taxed and builds locales very slowly.
Comment 5 Ben Anderson 2004-07-28 18:12:03 UTC
In my case, "very slowly" means 12 locales in 48 HOURS. Four hours per locale is rediculous, even for a 333Mhz PII. Currently the only way I've found around this during installation is to not distribute during bootstrapping, and then MAKEOPTS="-j1" emerge glibc before emerging system.
Comment 6 Gabriel Devenyi 2004-08-07 20:22:53 UTC
Seems to be no movement here...

Isn't it just a matter of making the glibc ebuild use a single locale build at a time.
Comment 7 L'Ecluse Filip 2004-10-14 11:33:22 UTC
I wanted to emerge the latest glibc using distcc and it gave an error during the process, when i disabled distcc it emerged fine. Maybe interesting to do a distcc check before emerging and if needed not using distcc

Filip
Comment 8 SpanKY gentoo-dev 2004-11-23 22:24:50 UTC
lv: maybe it's just me, but installing in parallel is a bad idea

perhaps install_locales() should be updated to read:
PARALLELMFLAGS="${MAKEOPTS} -j1"
instead of:
PARALLELMFLAGS="${MAKEOPTS}"

can the people with this problem verify this fix ?
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-10 02:37:46 UTC
I had that problem a while ago and added in that fix, so closing.