On Thu, Oct 08, 2020 at 02:23:00PM -0700, Andi Kleen wrote: > > Basically you simply want to remove this line in the top-level > > Makefile: > > > > DEBUG_CFLAGS := $(call cc-option, -fno-var-tracking-assignments) > > It looks like this was needed as a workaround for a gcc bug that was there > from 4.5 to 4.9. > > So I guess could disable it for 5.0+ only. Yes, that would work. I don't know what the lowest supported GCC version is, but technically it was definitely fixed in 4.10.0, 4.8.4 and 4.9.2. And various distros would probably have backported the fix. But checking for 5.0+ would certainly give you a good version. How about the attached? Cheers, Mark