From: Rainer Fiebig <jrf@mailbox.org>
To: linux-kernel@vger.kernel.org
Subject: [Solved] Building kernels under 5.10 takes twice as long as under 4.19
Date: Fri, 19 Mar 2021 21:27:39 +0100 [thread overview]
Message-ID: <f145bb8d-0dcd-bd7a-e80b-2f53dc3ce6d0@mailbox.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1088 bytes --]
Bit the bullet, bisected v5.5..v5.6 and found this:
0ddad21d3e99c743a3aa473121dc5561679e26bb is the first bad commit
commit 0ddad21d3e99c743a3aa473121dc5561679e26bb
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Mon Dec 9 09:48:27 2019 -0800
pipe: use exclusive waits when reading or writing
[...]
[ Note! This kernel improvement seems to be very good at triggering a
race condition in the make jobserver (in GNU make 4.2.1) for me. It's a
long known bug that was fixed back in June 2017 by GNU make commit
b552b0525198 ("[SV 51159] Use a non-blocking read with pselect to
avoid hangs.").
But there wasn't a new release of GNU make until 4.3 on Jan 19 2020,
so a number of distributions may still have the buggy version. Some
have backported the fix to their 4.2.1 release, though, and even
without the fix it's quite timing-dependent whether the bug actually
is hit. ]
[...]
After updating "make" to 4.3 all is well.
Feynman was right again. ;)
--
The truth always turns out to be simpler than you thought.
Richard Feynman
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
reply other threads:[~2021-03-19 20:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f145bb8d-0dcd-bd7a-e80b-2f53dc3ce6d0@mailbox.org \
--to=jrf@mailbox.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome