Re: Bug#882490: mips/mipsel: enforce --param ggc-min-expand=10 in dpkg-buildflags

James Cowgill <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
Hi,

On 26/11/17 02:41, Guillem Jover wrote:
> Control: tags -1 moreinfo
> 
> [ CCing [email protected] for porters input. ]
> 
> Hi!
> 
> On Thu, 2017-11-23 at 13:59:01 +0100, Mathieu Malaterre wrote:
>> Package: dpkg
>> Version: 1.19.0.4
>> User: [email protected]
>> Usertags: mips mipsel
> 
>> On Thu, Nov 23, 2017 at 1:14 PM, James Cowgill <[email protected]> wrote:
>>> On 23/11/17 11:42, Mathieu Malaterre wrote:
>>>> YunQiang,
>>>>
>>>> Do you know of any drawbacks ?
>>>
>>> This has been raised before:
>>> https://lists.debian.org/debian-mips/2016/10/msg00049.html
>>>
>>> I think it's generally a good idea. You wouldn't want to "enforce" this
>>> - you would set it as an overridable default setting.
>>>
>>> I think the disadvantages are: compilation speed, I think there is no
>>> official way to do this so you would have to hack the gcc source a bit,
>>> and deviation from upstream / other distros.
> 
> Why isn't this considered a buildd issue, lacking enough memory? Or as
> hinted in the discussion, perhaps a leak in gcc?
> 
> If this is gcc on MIPS just requiring more memory, why isn't such
> value set as the default. Which would be overridable with the same
> command-line option?

Usually this is caused by gcc running out of virtual memory on 32-bit
MIPS (which has on 2GB of user vm). IMO this should be fixed in gcc by
adjusting the default values of the ggc-* params on 32-bit MIPS (or even
all 32-bit architectures).

James
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+Ixt5DaZ6POztUwQx/FnbeotAe8FAlocG00ACgkQx/Fnbeot
Ae/dag/7BsEpfCn3ZMA5yXI/EnXtoETkujm7LJQcQnqpckpdme/nhH9ZsBZFnYpJ
uBRrfisrSUOMrN6+KgvFWHQVfSilD1p4mP2ihAkcfGIR6ibfT+FkdvCORQIeZrGD
34ssBEeDb5M6n4OIZljK1CsOK1zgSPimkG8/1MCoEAU1g4C0k/Letn1o+gHyASWc
Qojp6vSkCuTvuk6+VZXX1cvO3QABl6ak2fl5o57CN2jkVHD74iHgN4JxF/4t+hU+
XR/HorXoF/T30JpLAd2/uMEuy3uCA7EwEjnPN33rxzqyywkgyM1CfqY2zj+h3o/c
oxnI6V9WIapCuXsPSbV+aoQUQK7rT9NlR16GwO00aer2D4irMx/pt1QRiH1oeqe+
demeLZ80OEidZ2VKd1CImvsvhNz7uCWBV8mBfVUY7mk7J40ZChGi//1J+3U5KiNa
rV63FvFPu2YdZv2aU4vaGMDQ6zNebWkF5HxjGNd53XF73vAds2ohxjZaiTx9jAmR
26Quoo+toxFWZre61PGzc5UgfoMVHEEedpMkp/x9wc6A5d+N9t4qMkDCfli7absK
RjbpIEB/InNNpKMLRm1/zrsSd10aTmiZoUw1o3/ToEMyjTuFIw1ce5QpNXZxBH5H
0unI2/VBZyUbHaOnPt5SsydETEqUDbtuITovgM5lbQIvF9jz6v0=
=/zZG
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.