Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-dev@g.o
From: Matt Turner <mattst88@g.o>
Subject: Re: Reducing glibc's default locale.gen
Date: Wed, 8 Jun 2011 09:14:23 -0400
<p>On Wed, Jun 8, 2011 at 3:40 AM, &quot;PaweĊ‚ Hajdan, Jr.&quot; &lt;<a href="mailto:phajdan.jr@g.o">phajdan.jr@g.o</a>&gt; wrote:<br>
&gt; On 6/7/11 9:53 PM, Matt Turner wrote:<br>
&gt;&gt; Building 400~ locales is not fun on mips when building stages.<br>
&gt; Do you have some data to quantify &quot;not fun&quot;? How long does it take?</p>
<p>To build glibc</p>
<p>- once for the n32 ABI with only the en_US.UTF-8 locale: 1h 15m<br>
- three times for o32/n32/n64 ABIs with only en_US.UTF-8: 4h 50m<br>
- three times for o32/n32/n64 ABIs with all locales: 6h</p>
<p>I can reconfirm how long it takes just by running locale-gen on all locales, but according to my numbers it takes 1h 10m to generate all the locales.</p>
<p>The o32/n32/n64 configuration is what I&#39;ve been planning to ship as a compromise between shipping only a single ABI and a set of stages for every ABI, but each ABI adds significant time, and n32 replaces o32 so I&#39;ll just plan to drop o32.</p>

<p>So roughly the time required to build all the locales is equal to the time to build glibc for a single ABI.</p>
<p>&gt;&gt; No user has a need for more than some small subset of the total<br>
&gt;&gt; available locales.<br>
&gt;&gt; I filed bug [1] to request the ability to select locales in catalyst<br>
&gt;&gt; spec files, but no responses after six months -- which is totally<br>
&gt;&gt; typical of catalyst bugs.<br>
&gt;&gt; I commented in bug [2] suggesting that we perhaps reduce the default<br>
&gt;&gt; locale.gen to only &#39;en_US.UTF-8 UTF-8&#39; or some other limited subset.<br>
&gt; It makes sense to me, especially for &quot;exotic&quot; arches. It seems that<br>
&gt; locale-gen is cheap anyway on x86 and amd64, where it probably matters most.</p>
<p>Good, thanks for your feedback.</p>
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Council 2011 / 2012 election nomination
Next by thread:
Gentoo package statistics -- GSoC 2011
Previous by date:
Re: Re: [gentoo-commits] gentoo-x86 commit in app-arch/bzip2: bzip2-1.0.5-r1.ebuild
Next by date:
Re: RFC: remove annoying "You should enable -g (or higher) for debugging!" message

Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.