[Pkg-openssl-devel] Bug#1000499: openssl: Build system does not respect -j6, launches 5 make instances with -j6 each

Julian Andres Klode jak at debian.org
Wed Nov 24 10:41:34 GMT 2021


On Wed, Nov 24, 2021 at 11:02:49AM +0100, Julian Andres Klode wrote:
> Package: src:openssl
> Version: 1.1.1l-1
> Severity: normal
> X-Debbugs-Cc: jak at debian.org
> 
> While building the Ubuntu merge, I noticed that the OpenSSL buildsystem
> actually invoked 5 make processes, each with -j6 instead of having a
> total of 6 parallel programs, it now compiles with 30.
> 
> 1001000  2754610  0.0  0.0   8008  1676 ?        S    10:56   0:00
> /usr/bin/make -f debian/rules binary
> 1001000  2754817  0.0  0.0   8008  1676 ?        S    10:56   0:00
> /usr/bin/make -f debian/rules override_dh_auto_build-arch
> 1001000  2754825  0.0  0.0  10620  3384 ?        S    10:56   0:00
> /usr/bin/make -C build_static all
> 1001000  2754832  0.0  0.0   2872   744 ?        S    10:56   0:00
> /bin/sh -c /usr/bin/make depend && /usr/bin/make _all
> 1001000  2754837  0.4  0.0   8436  6744 ?        S    10:56   0:00
> /usr/bin/make _all
> 1001000  2764276  0.0  0.0   3524  1932 ?        S    10:57   0:00 make
> -f /tmp/ccRz2ikh.mk -j6 all
> 1001000  2766262  0.0  0.0   3400  1960 ?        S    10:57   0:00 make
> -f /tmp/cchwIcnH.mk -j6 all
> 1001000  2766364  0.0  0.0   3408  1936 ?        S    10:57   0:00 make
> -f /tmp/ccadvbrD.mk -j6 all
> 1001000  2766464  0.0  0.0   3408  1932 ?        S    10:57   0:00 make
> -f /tmp/cc5ZuB5R.mk -j6 all
> 1001000  2766715  0.0  0.0   3412  1936 ?        S    10:58   0:00 make
> -f /tmp/ccdPcK6D.mk -j6 all
> 
> I believe this is somewhat of an upstream bug, but it's hard to say
> for sure.

Actually this seems to be the LTO linking that we have enabled in 
Ubuntu, ld launches make -j4 to link the binaries, sigh. Sorry for the
noise.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en



More information about the Pkg-openssl-devel mailing list