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]
Message-ID: <2023112843-strep-goliath-875c@gregkh>
Date:   Tue, 28 Nov 2023 19:35:30 +0000
From:   Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:     François Valenduc <francoisvalenduc@...il.com>
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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ