Skip to contentSkip to conversation

linux-next: build failure after merge of the tip tree

PATCH Stephen Rothwell 2 participants 3 messages Sep 3, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the tip tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

Caused by commit

f670269a42bf ("x86: Fix early boot crash on gcc-10, next try")

interacting with commit

a9a3ed1eff36 ("x86: Fix early boot crash on gcc-10, third try")

from Linus' tree (v5.7-rc6) - the automatic merge did not go well.

I have added this patch for today (it removes the older version).

From: Stephen Rothwell <[email protected]>
Date: Thu, 3 Sep 2020 12:31:13 +1000
Subject: [PATCH] merge fix for compiler.h

---
 include/linux/compiler.h | 6 ------
 1 file changed, 6 deletions(-)
include/linux/compiler.h +0 -6
index d60365d4fb56..b78233fb1af7 100644
@@ -223,12 +223,6 @@ static inline void *offset_to_ptr(const int *off)
 /* &a[0] degrades to a pointer: a different type from an array */
 #define __must_be_array(a)	BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
 
-/*
- * This is needed in functions which generate the stack canary, see
- * arch/x86/kernel/smpboot.c::start_secondary() for an example.
- */
-#define prevent_tail_call_optimization()	mb()
-
 #include <asm/rwonce.h>
 
 /*
Signature · 5 lines
2.28.0

-- 
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 14 lines · Stephen Rothwell

Hi all,

After merging the tip tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

Caused by commit

f670269a42bf ("x86: Fix early boot crash on gcc-10, next try")

interacting with commit

a9a3ed1eff36 ("x86: Fix early boot crash on gcc-10, third try")

Quoted 7 lines

from Linus' tree (v5.7-rc6) - the automatic merge did not go well.

I have added this patch for today (it removes the older version).

From: Stephen Rothwell <[email protected]>
Date: Thu, 3 Sep 2020 12:31:13 +1000
Subject: [PATCH] merge fix for compiler.h

I've merged the old commit by mistake - it's removed now.

Thanks,

Ingo

#2 lore raw

Hi Ingo,

Quoted 2 lines · On Thu, 3 Sep 2020 05:51:08 +0200 Ingo Molnar <[email protected]> wrote:

I've merged the old commit by mistake - it's removed now.

Ah, OK, thanks.

Signature · 2 lines
Cheers,
Stephen Rothwell