Subject: Re: bug#47251: [core-updates] [patch] gnu: python: Enable optimizations.

From: Ludovic Courtès <[email-masked]>
Date: Thu, 03 Jun 2021 11:48:40 +0200

Hi,

Julien Lepiller <[email-masked]> skribis:

> But I noticed another file gained a lot of weight:
> lib/python3.9/config-3.9-x86_64-linux-gnu/libpython3.9.a weighs 39MB,
> whereas on master (for 3.8.2) it weighs 6MB. Here is what size has to
> say:

Yeah, the .o files in there likely contain serialized GIMPLE, as a
result of compiling with ‘-flto’.

How about removing *.a altogether in a separate patch?  Or moving it to
a “static” output?  This would be consistent with what’s done in other
packages.

Thanks,
Ludo’.