Re: mmots build error: version control conflict marker in file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 19, 2017 at 9:01 PM, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> 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 ‘stack’ 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.


FWIW syzbot relies on the git tree, pulling git trees is currently the
only way of getting kernel sources it supports.

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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux