Skip to content

Update make #2053

Merged
merged 5 commits into from
Mar 19, 2021
Merged

Update make #2053

merged 5 commits into from
Mar 19, 2021

Conversation

donald
Copy link
Collaborator

@donald donald commented Mar 19, 2021

Make make great again.

Update make to avoid race condition which is relevant in newer Linux kernels.

Update automake, the worst software on earth, as GNU make version 4.3
requires automake 1.16.1 or higher.
Update make to avoid a race condition which occurs in newer Linux
kernels.

Quote [1]:

[ 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. ]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ddad21d3e99c743a3aa473121dc5561679e26bb
For some reason, version 4.2 is only available as a gz archive on the
gnu server, so adapt the URL.
@donald donald merged commit 38ad693 into master Mar 19, 2021
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant