Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708988

Summary: sys-devel/make-4.2.1-r4: Known race will become problematic with Linux 5.6
Product: Gentoo Linux Reporter: Daniel Santos <daniel.santos>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=664632
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Santos 2020-02-10 15:24:27 UTC
Linus has added a nice optimization for those of us with lots of CPU cores/threads/ALUs, but testing reveals that it tends to express the (known) race condition in GNU make 4.2.1.  As such, an ebuild warning, uname -r check, or DEPEND restriction should probably be added to sys-devel/make.  Or maybe ">=sys-devel/make-4.3" added to gentoo-sources-5.6?  It's currently at RC1.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ddad21d3e99c743a3aa473121dc5561679e26bb
Comment 1 Mike Gilbert gentoo-dev 2020-02-10 15:51:07 UTC
I'm pretty sure we already have the necessary patch backported to make-4.2.1. See bug 664632.