linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Michal Hocko <mhocko@kernel.org>, Dmitry Vyukov <dvyukov@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Linux-MM <linux-mm@kvack.org>,
	Johannes Weiner <hannes@cmpxchg.org>
Subject: Re: mmots build error: version control conflict marker in file
Date: Tue, 19 Dec 2017 12:01:51 -0800	[thread overview]
Message-ID: <1352454e-bdb1-fcb0-8410-a89799c2f1b9@infradead.org> (raw)
In-Reply-To: <7cec6594-94c7-a238-4046-0061a9adc20d@infradead.org>

On 12/19/2017 12:00 PM, Randy Dunlap wrote:
> On 12/19/2017 01:03 AM, Michal Hocko wrote:
>> [CC Johannes]
>>
>> On Tue 19-12-17 09:36:20, Dmitry Vyukov wrote:
>>> Hello,
>>>
>>> syzbot hit the following crash on 80f3359313dfd0e574d0d245dd93a7c3bf39e1fa
>>> git://git.cmpxchg.org/linux-mmots.git master
>>>
>>> failed to run /usr/bin/make [make bzImage -j 32
>>> CC=/syzkaller/gcc/bin/gcc]: exit status 2
>>> scripts/kconfig/conf  --silentoldconfig Kconfig
>>>   CHK     include/config/kernel.release
>>>   CHK     include/generated/uapi/linux/version.h
>>>   UPD     include/config/kernel.release
>>>   CHK     scripts/mod/devicetable-offsets.h
>>>   CHK     include/generated/utsrelease.h
>>>   UPD     include/generated/utsrelease.h
>>>   CHK     include/generated/bounds.h
>>>   CHK     include/generated/timeconst.h
>>>   CC      arch/x86/kernel/asm-offsets.s
>>> In file included from ./arch/x86/include/asm/cpufeature.h:5:0,
>>>                  from ./arch/x86/include/asm/thread_info.h:53,
>>>                  from ./include/linux/thread_info.h:38,
>>>                  from ./arch/x86/include/asm/preempt.h:7,
>>>                  from ./include/linux/preempt.h:81,
>>>                  from ./include/linux/spinlock.h:51,
>>>                  from ./include/linux/mmzone.h:8,
>>>                  from ./include/linux/gfp.h:6,
>>>                  from ./include/linux/slab.h:15,
>>>                  from ./include/linux/crypto.h:24,
>>>                  from arch/x86/kernel/asm-offsets.c:9:
>>> ./arch/x86/include/asm/processor.h:340:1: error: version control
>>> conflict marker in file
>>>  <<<<<<< HEAD
>>>  ^~~~~~~
>>> ./arch/x86/include/asm/processor.h:346:24: error: field a??stacka?? has
>>> incomplete type
>>>   struct SYSENTER_stack stack;
>>>                         ^~~~~
>>> ./arch/x86/include/asm/processor.h:347:1: error: version control
>>> conflict marker in file
>>>  =======
>>>  ^~~~~~~
>>> Kbuild:56: recipe for target 'arch/x86/kernel/asm-offsets.s' failed
>>> make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
>>> Makefile:1090: recipe for target 'prepare0' failed
>>> make: *** [prepare0] Error 2
>>
> 
> Wow. arch/x86/include/asm/processor.h around line 340++ looks like this:
> 
> <<<<<<< HEAD
> struct SYSENTER_stack {
> 	unsigned long		words[64];
> };
> 
> struct SYSENTER_stack_page {
> 	struct SYSENTER_stack stack;
> =======
> struct entry_stack {
> 	unsigned long		words[64];
> };
> 
> struct entry_stack_page {
> 	struct entry_stack stack;
>>>>>>>> linux-next/akpm-base
> } __aligned(PAGE_SIZE);

That's only in the git tree.  The mmots that I get from tarballs/patches
does not have this problem.


-- 
~Randy

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2017-12-19 20:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-19  8:36 Dmitry Vyukov
2017-12-19  9:03 ` Michal Hocko
2017-12-19 20:00   ` Randy Dunlap
2017-12-19 20:01     ` Randy Dunlap [this message]
2017-12-20  9:16       ` Dmitry Vyukov
2017-12-19 23:53     ` Andrew Morton
2017-12-20  9:17       ` Dmitry Vyukov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1352454e-bdb1-fcb0-8410-a89799c2f1b9@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=dvyukov@google.com \
    --cc=hannes@cmpxchg.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox