lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 28 Nov 2023 20:37:49 +0100
From:   François Valenduc <francoisvalenduc@...il.com>
To:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
        torvalds@...ux-foundation.org, stable@...r.kernel.org, lwn@....net,
        jslaby@...e.cz
Subject: Re: Linux 6.1.64

Le 28/11/23 à 20:35, Greg Kroah-Hartman a écrit :
> On Tue, Nov 28, 2023 at 08:22:22PM +0100, François Valenduc wrote:
>> Build fails on my baremetal server on scaleway:
>>
>> In file included from arch/x86/kvm/vmx/vmx.c:54:
>> arch/x86/kvm/vmx/evmcs.h:215:20: note: previous definition of
>> ‘evmptr_is_valid’ with type ‘bool(u64)’ {aka ‘_Bool(long long unsigned
>> int)’}
>>    215 | static inline bool evmptr_is_valid(u64 evmptr)
>>        |                    ^~~~~~~~~~~~~~~
>> In file included from arch/x86/kvm/vmx/vmx.c:55:
>> arch/x86/kvm/vmx/hyperv.h:184:6: error: redeclaration of ‘enum
>> nested_evmptrld_status’
>>    184 | enum nested_evmptrld_status {
>>        |      ^~~~~~~~~~~~~~~~~~~~~~
>> In file included from arch/x86/kvm/vmx/vmx.c:54:
>> arch/x86/kvm/vmx/evmcs.h:220:6: note: originally defined here
>>    220 | enum nested_evmptrld_status {
>>        |      ^~~~~~~~~~~~~~~~~~~~~~
>> In file included from arch/x86/kvm/vmx/vmx.c:55:
>> arch/x86/kvm/vmx/hyperv.h:185:9: error: redeclaration of enumerator
>> ‘EVMPTRLD_DISABLED’
>>    185 |         EVMPTRLD_DISABLED,
>>        |         ^~~~~~~~~~~~~~~~~
>> In file included from arch/x86/kvm/vmx/vmx.c:54:
>> arch/x86/kvm/vmx/evmcs.h:221:9: note: previous definition of
>> ‘EVMPTRLD_DISABLED’ with type ‘enum nested_evmptrld_status’
>>    221 |         EVMPTRLD_DISABLED,
>>        |         ^~~~~~~~~~~~~~~~~
>> In file included from arch/x86/kvm/vmx/vmx.c:55:
>> arch/x86/kvm/vmx/hyperv.h:186:9: error: redeclaration of enumerator
>> ‘EVMPTRLD_SUCCEEDED’
>>    186 |         EVMPTRLD_SUCCEEDED,
>>        |         ^~~~~~~~~~~~~~~~~~
>> In file included from arch/x86/kvm/vmx/vmx.c:54:
>> arch/x86/kvm/vmx/evmcs.h:222:9: note: previous definition of
>> ‘EVMPTRLD_SUCCEEDED’ with type ‘enum nested_evmptrld_status’
>>    222 |         EVMPTRLD_SUCCEEDED,
>>        |         ^~~~~~~~~~~~~~~~~~
>> In file included from arch/x86/kvm/vmx/vmx.c:55:
>> arch/x86/kvm/vmx/hyperv.h:187:9: error: redeclaration of enumerator
>> ‘EVMPTRLD_VMFAIL’
>>    187 |         EVMPTRLD_VMFAIL,
>>        |         ^~~~~~~~~~~~~~~
>> In file included from arch/x86/kvm/vmx/vmx.c:54:
>> arch/x86/kvm/vmx/evmcs.h:223:9: note: previous definition of
>> ‘EVMPTRLD_VMFAIL’ with type ‘enum nested_evmptrld_status’
>>    223 |         EVMPTRLD_VMFAIL,
>>        |         ^~~~~~~~~~~~~~~
>> In file included from arch/x86/kvm/vmx/vmx.c:55:
>> arch/x86/kvm/vmx/hyperv.h:188:9: error: redeclaration of enumerator
>> ‘EVMPTRLD_ERROR’
>>    188 |         EVMPTRLD_ERROR,
>>        |         ^~~~~~~~~~~~~~
>> In file included from arch/x86/kvm/vmx/vmx.c:54:
>> arch/x86/kvm/vmx/evmcs.h:224:9: note: previous definition of
>> ‘EVMPTRLD_ERROR’ with type ‘enum nested_evmptrld_status’
>>    224 |         EVMPTRLD_ERROR,
>>        |         ^~~~~~~~~~~~~~
>> make[3]: *** [scripts/Makefile.build:250: arch/x86/kvm/vmx/vmx.o] Error 1
>> make[2]: *** [scripts/Makefile.build:500: arch/x86/kvm] Error 2
>> make[1]: *** [scripts/Makefile.build:500: arch/x86] Error 2
>>
>> The configuration file is attached. Kernel 6.1.62 compiled fine.
>> Does somebody have an idea about this ?
> I just tried your .config file here and it builds just fine for 6.1.64,
> what version of gcc are you using that causes failures?  I tried gcc-12
> successfully.
>
> thanks,
>
> greg k-h

I am currently running a bisection. In fact, kernel 6.1.63 builds fine 
but 6.1.64 fails. I am running ubuntu jammy, so is gcc 11.4.0.

François Valenduc

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ