Fix for "x86, asm: Fix CFI macro invocations to deal with shortcomings in gas" It turns out to generate something like this: printk ( ("<3>") "something"); The extra parentheses here break the compile. Change the sed-program to add the parentheses only for numbers. Signed-off-by: Alexander van Heukelum diff --git a/Kbuild b/Kbuild index 3995939..431f7ca 100644 --- a/Kbuild +++ b/Kbuild @@ -53,7 +53,8 @@ targets += arch/$(SRCARCH)/kernel/asm-offsets.s # Default sed regexp - multiline due to syntax constraints define sed-y "/^->/{s:->#\(.*\):/* \1 */:; \ - s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 (\2) /* \3 */:; \ + s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 (\2) /* \3 */:; \ + s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \ s:->::; p;}" endef